Skip to content

Commit

Permalink
feat: migrated and tested on v6.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
anshss committed Oct 26, 2024
1 parent 3ecf11a commit 1304608
Show file tree
Hide file tree
Showing 29 changed files with 8,290 additions and 5,310 deletions.
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/**/*/node_modules
/**/*/.env
node_modules
/**/**/.yarn
/**/*/.yarnrc.yml

node_modules
.nx
.yarn
.secrets
.pnp.*

.pnp.*
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
yarnPath: ".yarn/releases/yarn-berry.cjs"
yarnPath: "scripts/yarn-berry.cjs"
17 changes: 0 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,3 @@ Test the examples
yarn
yarn test-lit
```
<<<<<<< HEAD
=======

# Tools

Reports the versions of dependencies starting with `@lit-protocol`

```
node ./scripts/report.mjs --tag=latest
node ./scripts/report.mjs --tag=datil-dev
```

Update lit sdk on a specific subdirectory
```
./scripts/update-lit.sh conditional-signing/nodejs
```
>>>>>>> 6c326c5 (fix: making update-lit callable with directory context)
4 changes: 2 additions & 2 deletions btc-trigger/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"test": "npx @dotenvx/dotenvx run -- mocha test/**/*.spec.ts"
},
"dependencies": {
"@lit-protocol/constants": "^6.6.0",
"@lit-protocol/lit-node-client": "^6.6.0",
"@lit-protocol/constants": "^6.11.0",
"@lit-protocol/lit-node-client": "^6.11.0",
"@mempool/mempool.js": "^2.3.0",
"@simplewebauthn/browser": "^10.0.0",
"@types/elliptic": "^6.4.18",
Expand Down
2 changes: 1 addition & 1 deletion conditional-signing/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
"@lit-protocol/lit-node-client": "^6.4.10",
"@lit-protocol/lit-node-client": "^6.11.0",
"@simplewebauthn/browser": "^10.0.0",
"@vitejs/plugin-react-swc": "^3.7.0",
"react": "^18.3.1",
Expand Down
8 changes: 4 additions & 4 deletions conditional-signing/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
},
"dependencies": {
"@dotenvx/dotenvx": "^0.37.1",
"@lit-protocol/auth-helpers": "^6.4.10",
"@lit-protocol/constants": "^6.4.10",
"@lit-protocol/contracts-sdk": "^6.4.10",
"@lit-protocol/lit-node-client": "^6.4.10",
"@lit-protocol/auth-helpers": "^6.11.0",
"@lit-protocol/constants": "^6.11.0",
"@lit-protocol/contracts-sdk": "^6.11.0",
"@lit-protocol/lit-node-client": "^6.11.0",
"ethers": "5.7.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion custom-auth/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"parcel-bundler": "^1.12.5"
},
"dependencies": {
"@lit-protocol/lit-node-client": "^6.4.10",
"@lit-protocol/lit-node-client": "^6.11.0",
"ipfs-helpers": "^0.0.5"
}
}
8 changes: 4 additions & 4 deletions decrypt-api-key-in-action/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
},
"dependencies": {
"@dotenvx/dotenvx": "^0.44.1",
"@lit-protocol/auth-helpers": "^6.4.10",
"@lit-protocol/constants": "^6.4.10",
"@lit-protocol/contracts-sdk": "^6.4.10",
"@lit-protocol/lit-node-client": "^6.4.10"
"@lit-protocol/auth-helpers": "^6.11.0",
"@lit-protocol/constants": "^6.11.0",
"@lit-protocol/contracts-sdk": "^6.11.0",
"@lit-protocol/lit-node-client": "^6.11.0"
}
}
2 changes: 1 addition & 1 deletion eip-191-signing/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
"@lit-protocol/lit-node-client": "^6.2.2",
"@lit-protocol/lit-node-client": "^6.11.0",
"@simplewebauthn/browser": "^10.0.0",
"@vitejs/plugin-react-swc": "^3.7.0",
"react": "^18.3.1",
Expand Down
8 changes: 4 additions & 4 deletions eip-191-signing/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
},
"dependencies": {
"@dotenvx/dotenvx": "^0.37.1",
"@lit-protocol/auth-helpers": "^6.5.1",
"@lit-protocol/constants": "^6.5.1",
"@lit-protocol/contracts-sdk": "^6.5.1",
"@lit-protocol/lit-node-client": "^6.5.1",
"@lit-protocol/auth-helpers": "^6.11.0",
"@lit-protocol/constants": "^6.11.0",
"@lit-protocol/contracts-sdk": "^6.11.0",
"@lit-protocol/lit-node-client": "^6.11.0",
"ethers": "5.7.2"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions lit-action-claim-key/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
},
"dependencies": {
"@dotenvx/dotenvx": "^0.44.1",
"@lit-protocol/auth-helpers": "^6.4.10",
"@lit-protocol/constants": "^6.4.10",
"@lit-protocol/contracts-sdk": "^6.4.10",
"@lit-protocol/lit-node-client": "^6.4.10",
"@lit-protocol/auth-helpers": "^6.11.0",
"@lit-protocol/constants": "^6.11.0",
"@lit-protocol/contracts-sdk": "^6.11.0",
"@lit-protocol/lit-node-client": "^6.11.0",
"ethers": "v5"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions lit-action-using-fetch/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
},
"dependencies": {
"@dotenvx/dotenvx": "^0.37.1",
"@lit-protocol/auth-browser": "^6.4.10",
"@lit-protocol/auth-helpers": "^6.4.10",
"@lit-protocol/constants": "^6.4.10",
"@lit-protocol/contracts-sdk": "^6.4.10",
"@lit-protocol/lit-node-client": "^6.4.10",
"@lit-protocol/auth-browser": "^6.11.0",
"@lit-protocol/auth-helpers": "^6.11.0",
"@lit-protocol/constants": "^6.11.0",
"@lit-protocol/contracts-sdk": "^6.11.0",
"@lit-protocol/lit-node-client": "^6.11.0",
"ethers": "5.7.2"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions lit-action-using-fetch/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
},
"dependencies": {
"@dotenvx/dotenvx": "^0.44.1",
"@lit-protocol/auth-helpers": "^6.4.10",
"@lit-protocol/constants": "^6.4.10",
"@lit-protocol/contracts-sdk": "^6.4.10",
"@lit-protocol/lit-node-client": "^6.4.10",
"@lit-protocol/auth-helpers": "^6.11.0",
"@lit-protocol/constants": "^6.11.0",
"@lit-protocol/contracts-sdk": "^6.11.0",
"@lit-protocol/lit-node-client": "^6.11.0",
"ethers": "v5"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions paying-for-lit/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
},
"dependencies": {
"@dotenvx/dotenvx": "^0.44.1",
"@lit-protocol/auth-helpers": "^6.4.10",
"@lit-protocol/constants": "^6.4.10",
"@lit-protocol/contracts-sdk": "^6.4.10",
"@lit-protocol/lit-auth-client": "^6.4.10",
"@lit-protocol/lit-node-client": "^6.4.10",
"@lit-protocol/auth-helpers": "^6.11.0",
"@lit-protocol/constants": "^6.11.0",
"@lit-protocol/contracts-sdk": "^6.11.0",
"@lit-protocol/lit-auth-client": "^6.11.0",
"@lit-protocol/lit-node-client": "^6.11.0",
"ethers": "v5"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions payment-delegation-db-relayer/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
},
"dependencies": {
"@dotenvx/dotenvx": "^0.44.1",
"@lit-protocol/auth-helpers": "^6.4.10",
"@lit-protocol/lit-node-client": "^6.4.10",
"@lit-protocol/types": "^6.4.10",
"@lit-protocol/auth-helpers": "^6.11.0",
"@lit-protocol/lit-node-client": "^6.11.0",
"@lit-protocol/types": "^6.11.0",
"ethers": "v5"
}
}
6 changes: 3 additions & 3 deletions pkp-migration/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
},
"dependencies": {
"@dotenvx/dotenvx": "^0.44.1",
"@lit-protocol/contracts-sdk": "^6.4.10",
"@lit-protocol/lit-auth-client": "^6.4.10",
"@lit-protocol/types": "^6.4.10",
"@lit-protocol/contracts-sdk": "^6.11.0",
"@lit-protocol/lit-auth-client": "^6.11.0",
"@lit-protocol/types": "^6.11.0",
"ethers": "v5"
}
}
934 changes: 934 additions & 0 deletions scripts/yarn-berry.cjs

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions session-signatures/getLitActionSessionSigs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
},
"dependencies": {
"@dotenvx/dotenvx": "^0.44.1",
"@lit-protocol/auth-helpers": "^6.4.10",
"@lit-protocol/constants": "^6.4.10",
"@lit-protocol/lit-auth-client": "^6.4.10",
"@lit-protocol/lit-node-client": "^6.4.10",
"@lit-protocol/auth-helpers": "^6.11.0",
"@lit-protocol/constants": "^6.11.0",
"@lit-protocol/lit-auth-client": "^6.11.0",
"@lit-protocol/lit-node-client": "^6.11.0",
"ethers": "v5",
"typestub-ipfs-only-hash": "^4.0.0"
},
Expand Down
Loading

0 comments on commit 1304608

Please sign in to comment.