Skip to content

Commit 53741d5

Browse files
authored
Merge pull request #950 from LIT-Protocol/feature/jss-110-security-pin-all-versions-v8
Feature/jss 110 security pin all versions v8
2 parents 513aa4b + 8c1c72a commit 53741d5

File tree

19 files changed

+4632
-2560
lines changed

19 files changed

+4632
-2560
lines changed

.vscode/settings.json

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,25 @@
33
"todo-tree.tree.scanMode": "workspace",
44
"conventionalCommits.scopes": ["contracts-sdk", "lit-node-client", "core"],
55
"workbench.colorCustomizations": {
6-
"activityBar.activeBackground": "#2f7c47",
76
"actiÇvityBar.background": "#2f7c47",
7+
"activityBar.activeBackground": "#e7520f",
8+
"activityBar.background": "#e7520f",
89
"activityBar.foreground": "#e7e7e7",
910
"activityBar.inactiveForeground": "#e7e7e799",
10-
"activityBarBadge.background": "#422c74",
11+
"activityBarBadge.background": "#065a20",
1112
"activityBarBadge.foreground": "#e7e7e7",
1213
"commandCenter.border": "#e7e7e799",
13-
"sash.hoverBorder": "#2f7c47",
14-
"statusBar.background": "#215732",
14+
"sash.hoverBorder": "#e7520f",
15+
"statusBar.background": "#b7410c",
1516
"statusBar.foreground": "#e7e7e7",
16-
"statusBarItem.hoverBackground": "#2f7c47",
17-
"statusBarItem.remoteBackground": "#215732",
17+
"statusBarItem.hoverBackground": "#e7520f",
18+
"statusBarItem.remoteBackground": "#b7410c",
1819
"statusBarItem.remoteForeground": "#e7e7e7",
19-
"titleBar.activeBackground": "#215732",
20+
"titleBar.activeBackground": "#b7410c",
2021
"titleBar.activeForeground": "#e7e7e7",
21-
"titleBar.inactiveBackground": "#21573299",
22+
"titleBar.inactiveBackground": "#b7410c99",
2223
"titleBar.inactiveForeground": "#e7e7e799"
2324
},
24-
"peacock.color": "#215732"
25+
"peacock.color": "#215732",
26+
"peacock.remoteColor": "#B7410C"
2527
}

package.json

Lines changed: 60 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"scripts": {
66
"sync:contracts": "nx run contracts:sync",
77
"sync:docs-changelog": "node tools/sync-docs-changelog.js",
8-
"reset": "rimraf .nx dist node_modules packages/**/node_modules tmp",
8+
"sync:check": "sh -c 'if [ -n \"$PKG\" ]; then pnpm syncpack list-mismatches --types prod,dev,peer --filter \"$PKG\"; else pnpm syncpack list-mismatches --types prod,dev,peer; fi'",
9+
"sync:fix": "sh -c 'if [ -n \"$PKG\" ]; then pnpm syncpack fix-mismatches --types prod,dev,peer --filter \"$PKG\"; else pnpm syncpack fix-mismatches --types prod,dev,peer; fi'",
10+
"reset": "rimraf dist pnpm-lock.yaml node_modules tmp yarn-error.log yarn.lock package-lock.json learn-debug.log .nx lit-auth-storage pkp-tokens lit-auth-local ./e2e/dist ./e2e/node_modules",
911
"build": "nx run-many --parallel=false --target=build --all --exclude=wrapped-keys,wrapped-keys-lit-actions",
1012
"gen:local-network-context": "dotenvx run --env-file=.env -- node --conditions=import --import tsx packages/networks/src/networks/vNaga/shared/scripts/generate-abi-signatures.ts",
1113
"prettier": "npx nx format:write --all",
@@ -20,86 +22,87 @@
2022
},
2123
"private": true,
2224
"dependencies": {
23-
"@babel/core": "^7.28.4",
24-
"@babel/preset-env": "^7.28.3",
25-
"@babel/preset-typescript": "^7.27.1",
26-
"@dotenvx/dotenvx": "^1.6.4",
27-
"@lit-protocol/lit-status-sdk": "^0.1.8",
25+
"@babel/core": "7.28.5",
26+
"@babel/preset-env": "7.28.3",
27+
"@babel/preset-typescript": "7.27.1",
28+
"@dotenvx/dotenvx": "1.6.4",
29+
"@ethersproject/contracts": "5.7.0",
30+
"@lit-protocol/contracts": "workspace:*",
2831
"@lit-protocol/nacl": "7.1.1",
2932
"@lit-protocol/uint8arrays": "7.1.1",
3033
"@metamask/eth-sig-util": "5.0.2",
31-
"@noble/curves": "^1.8.1",
32-
"@openagenda/verror": "^3.1.4",
33-
"@simplewebauthn/browser": "^7.2.0",
34-
"@simplewebauthn/typescript-types": "^7.0.0",
35-
"@wagmi/core": "^2.17.1",
36-
"ajv": "^8.12.0",
37-
"babel-jest": "^29",
38-
"base64url": "^3.0.1",
39-
"bs58": "^6.0.0",
40-
"cbor-web": "^9.0.2",
34+
"@noble/curves": "1.8.1",
35+
"@openagenda/verror": "3.1.4",
36+
"@simplewebauthn/browser": "7.2.0",
37+
"@simplewebauthn/typescript-types": "7.0.0",
38+
"@wagmi/core": "2.22.1",
39+
"ajv": "8.12.0",
40+
"babel-jest": "30.2.0",
41+
"base64url": "3.0.1",
42+
"bs58": "6.0.0",
43+
"cbor-web": "9.0.2",
4144
"cross-fetch": "3.1.8",
42-
"depcheck": "^1.4.7",
43-
"depd": "^2.0.0",
44-
"ethers": "^5.7.1",
45-
"jose": "^4.14.4",
46-
"pako": "^2.1.0",
47-
"pino": "^9.6.0",
48-
"pino-caller": "^4.0.0",
49-
"siwe": "^2.3.2",
45+
"depcheck": "1.4.7",
46+
"depd": "2.0.0",
47+
"ethers": "5.7.2",
48+
"jose": "4.14.4",
49+
"pako": "2.1.0",
50+
"pino": "9.6.0",
51+
"pino-caller": "4.0.0",
52+
"siwe": "2.3.2",
5053
"siwe-recap": "0.0.2-alpha.0",
51-
"stytch": "^12.4.0",
52-
"tslib": "^2.8.1",
53-
"uint8arrays": "^4.0.3",
54-
"viem": "2.38.x",
55-
"wagmi": "^2.15.4",
54+
"stytch": "12.4.0",
55+
"syncpack": "13.0.4",
56+
"tslib": "2.8.1",
57+
"uint8arrays": "4.0.3",
58+
"viem": "2.38.3",
59+
"wagmi": "2.18.1",
5660
"zod": "3.24.3",
57-
"zod-validation-error": "3.4.0",
58-
"@ethersproject/contracts": "5.8.0"
61+
"zod-validation-error": "3.4.0"
5962
},
6063
"devDependencies": {
61-
"@changesets/cli": "^2.29.4",
64+
"@changesets/cli": "2.29.4",
6265
"@nx/esbuild": "21.2.1",
6366
"@nx/eslint-plugin": "21.2.1",
6467
"@nx/jest": "21.2.1",
6568
"@nx/js": "21.2.1",
6669
"@nx/node": "21.2.1",
6770
"@nx/plugin": "21.2.1",
6871
"@solana/web3.js": "1.95.3",
69-
"@types/depd": "^1.1.36",
70-
"@types/events": "^3.0.3",
71-
"@types/inquirer": "^9.0.8",
72-
"@types/jest": "27.4.1",
73-
"@types/node": "20",
74-
"@types/node-localstorage": "^1.3.3",
75-
"@types/secp256k1": "^4.0.6",
72+
"@types/depd": "1.1.36",
73+
"@types/events": "3.0.3",
74+
"@types/inquirer": "9.0.8",
75+
"@types/jest": "30.0.0",
76+
"@types/node": "20.0.0",
77+
"@types/node-localstorage": "1.3.3",
78+
"@types/secp256k1": "4.0.6",
7679
"@typescript-eslint/eslint-plugin": "6.21.0",
7780
"@typescript-eslint/parser": "6.21.0",
78-
"artillery": "^2.0.23",
79-
"axios": "^1.6.0",
80-
"esbuild": "^0.19.2",
81-
"esbuild-node-builtins": "^0.1.0",
82-
"esbuild-node-externals": "^1.14.0",
83-
"esbuild-plugin-tsc": "^0.4.0",
81+
"artillery": "2.0.23",
82+
"axios": "1.6.0",
83+
"esbuild": "0.19.2",
84+
"esbuild-node-builtins": "0.1.0",
85+
"esbuild-node-externals": "1.14.0",
86+
"esbuild-plugin-tsc": "0.4.0",
8487
"eslint": "9.34.0",
8588
"eslint-config-prettier": "9.1.0",
8689
"eslint-import-resolver-typescript": "3.6.3",
87-
"eslint-plugin-import": "^2.29.1",
90+
"eslint-plugin-import": "2.29.1",
8891
"eslint-plugin-jsx-a11y": "6.9.0",
8992
"ipfs-unixfs-importer": "12.0.1",
90-
"jest": "^29.2.2",
91-
"jest-environment-jsdom": "^29.7.0",
92-
"node-fetch": "^2.6.1",
93-
"node-localstorage": "^3.0.5",
93+
"jest": "30.2.0",
94+
"jest-environment-jsdom": "29.7.0",
95+
"node-fetch": "2.6.1",
96+
"node-localstorage": "3.0.5",
9497
"nx": "21.2.1",
95-
"path": "^0.12.7",
96-
"pino-pretty": "^13.0.0",
97-
"prettier": "^2.6.2",
98-
"rimraf": "^6.0.1",
98+
"path": "0.12.7",
99+
"pino-pretty": "13.0.0",
100+
"prettier": "2.8.8",
101+
"rimraf": "6.0.1",
99102
"ts-jest": "29.2.5",
100-
"ts-node": "^10.9.2",
101-
"tsx": "^4.20.5",
102-
"typedoc": "^0.28.12",
103+
"ts-node": "10.9.2",
104+
"tsx": "4.20.5",
105+
"typedoc": "0.28.12",
103106
"typescript": "5.8.3"
104107
},
105108
"workspaces": [

packages/access-control-conditions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"main": "./src/index.js",
2626
"typings": "./src/index.d.ts",
2727
"dependencies": {
28-
"ethers": "^5.7.1",
28+
"ethers": "5.7.2",
2929
"zod": "3.24.3",
3030
"@ethersproject/providers": "5.7.0"
3131
}

packages/artillery/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"type": "commonjs",
66
"dependencies": {
7-
"artillery": "^2.0.23",
7+
"artillery": "2.0.23",
88
"@lit-protocol/e2e": "workspace:*"
99
}
1010
}

packages/auth-helpers/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929
"main": "./src/index.js",
3030
"typings": "./src/index.d.ts",
3131
"dependencies": {
32-
"@wagmi/core": "^2.17.1",
33-
"ethers": "^5.7.1",
34-
"siwe": "^2.3.2",
32+
"@wagmi/core": "2.22.1",
33+
"ethers": "5.7.2",
34+
"siwe": "2.3.2",
3535
"siwe-recap": "0.0.2-alpha.0",
3636
"zod": "3.24.3",
3737
"@ethersproject/transactions": "5.7.0"
3838
},
3939
"peerDependencies": {
40-
"viem": "2.38.x"
40+
"viem": "2.38.3"
4141
}
4242
}

packages/auth-services/package.json

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,32 @@
1414
"@lit-protocol/logger": "workspace:*",
1515
"@simplewebauthn/server": "6.2.1",
1616
"@t3-oss/env-core": "0.13.8",
17-
"bs58": "^6.0.0",
18-
"bullmq": "^5.52.3",
19-
"cbor-web": "^9.0.2",
20-
"cors": "^2.8.5",
21-
"dotenv": "^16.6.1",
17+
"bs58": "6.0.0",
18+
"bullmq": "5.52.3",
19+
"cbor-web": "9.0.2",
20+
"cors": "2.8.5",
21+
"dotenv": "16.6.1",
2222
"ethers": "5.7.2",
23-
"express": "^5.1.0",
24-
"express-rate-limit": "^8.1.0",
25-
"google-auth-library": "^9.15.1",
26-
"helmet": "^8.1.0",
27-
"jose": "^6.0.7",
28-
"json-with-bigint": "^2.4.2",
29-
"redis": "^4.6.13",
30-
"stytch": "^12.4.0",
31-
"tslib": "^2.8.1",
32-
"viem": "2.38.x",
33-
"wagmi": "^2.14.11",
34-
"zod": "^3.24.3",
23+
"express": "5.1.0",
24+
"express-rate-limit": "8.1.0",
25+
"google-auth-library": "9.15.1",
26+
"helmet": "8.1.0",
27+
"jose": "4.14.4",
28+
"json-with-bigint": "2.4.2",
29+
"redis": "4.6.13",
30+
"stytch": "12.4.0",
31+
"tslib": "2.8.1",
32+
"wagmi": "2.18.1",
33+
"zod": "3.24.3",
3534
"zod-validation-error": "3.4.0"
3635
},
36+
"peerDependencies": {
37+
"viem": "2.38.3"
38+
},
3739
"devDependencies": {
38-
"@types/cors": "^2.8.19",
39-
"@types/express": "^5.0.3",
40-
"concurrently": "^9.1.2",
41-
"tsx": "^4.20.5"
40+
"@types/cors": "2.8.19",
41+
"@types/express": "5.0.3",
42+
"concurrently": "9.1.2",
43+
"tsx": "4.20.5"
4244
}
4345
}

packages/auth/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,21 @@
2424
"dependencies": {
2525
"@noble/hashes": "1.8.0",
2626
"@noble/curves": "1.8.1",
27-
"@simplewebauthn/browser": "^7.2.0",
28-
"@simplewebauthn/typescript-types": "^7.0.0",
29-
"@wagmi/core": "^2.17.1",
30-
"base64url": "^3.0.1",
31-
"cbor-web": "^9.0.2",
32-
"depd": "^2.0.0",
33-
"ethers": "^5.7.1",
34-
"jose": "^4.14.4",
35-
"siwe": "^2.3.2",
36-
"stytch": "^12.4.0",
27+
"@simplewebauthn/browser": "7.2.0",
28+
"@simplewebauthn/typescript-types": "7.0.0",
29+
"@wagmi/core": "2.22.1",
30+
"base64url": "3.0.1",
31+
"cbor-web": "9.0.2",
32+
"depd": "2.0.0",
33+
"ethers": "5.7.2",
34+
"jose": "4.14.4",
35+
"siwe": "2.3.2",
36+
"stytch": "12.4.0",
3737
"zod": "3.24.3"
3838
},
3939
"peerDependencies": {
40-
"tslib": "^2.3.0",
41-
"viem": "2.38.x"
40+
"tslib": "2.8.1",
41+
"viem": "2.38.3"
4242
},
4343
"browser": {
4444
"crypto": false,

packages/constants/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
},
1515
"type": "commonjs",
1616
"dependencies": {
17-
"@openagenda/verror": "^3.1.4",
18-
"tslib": "^2.8.1",
17+
"@openagenda/verror": "3.1.4",
18+
"tslib": "2.8.1",
1919
"zod": "3.24.3",
2020
"@lit-protocol/contracts": "workspace:*"
2121
},

packages/contracts/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -189,17 +189,17 @@
189189
"directory": "../../dist/packages/contracts"
190190
},
191191
"devDependencies": {
192-
"@t3-oss/env-core": "^0.13.8",
193-
"@typechain/ethers-v6": "^0.5.1",
194-
"esbuild": "^0.19.2",
195-
"ethers": "^6.13.5",
196-
"tsx": "^4.20.5",
197-
"typechain": "^8.3.2",
198-
"typescript": "^5.8.3",
199-
"viem": "2.38.x",
200-
"zod": "^3.24.3"
192+
"@t3-oss/env-core": "0.13.8",
193+
"@typechain/ethers-v6": "0.5.1",
194+
"esbuild": "0.19.2",
195+
"ethers": "5.7.2",
196+
"tsx": "4.20.5",
197+
"typechain": "8.3.2",
198+
"typescript": "5.8.3",
199+
"zod": "3.24.3"
201200
},
202201
"peerDependencies": {
203-
"typescript": "^5.0.0"
202+
"typescript": "5.8.3",
203+
"viem": "2.38.3"
204204
}
205205
}

packages/crypto/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
"dependencies": {
2828
"@lit-protocol/nacl": "7.1.1",
2929
"@lit-protocol/uint8arrays": "7.1.1",
30-
"@noble/curves": "^1.8.1",
31-
"@noble/hashes": "^1.8.0",
32-
"ajv": "^8.12.0",
30+
"@noble/curves": "1.8.1",
31+
"@noble/hashes": "1.8.0",
32+
"ajv": "8.12.0",
3333
"zod": "3.24.3",
34-
"tslib": "^2.8.1"
34+
"tslib": "2.8.1"
3535
}
3636
}

0 commit comments

Comments
 (0)