Skip to content

Commit

Permalink
Maintenance work and deps fixes (#1214)
Browse files Browse the repository at this point in the history
* account deps fix

* dep fixes up to procaptcha-react

* up to provider bumps

* All packages deps corrected

* node modules fix

* Removing config from contract

* Removing config from env

* fixing cli

* Removing config from deps

* Bundle building
  • Loading branch information
HughParry authored May 15, 2024
1 parent 7a933a1 commit 6419135
Show file tree
Hide file tree
Showing 21 changed files with 8,065 additions and 5,613 deletions.
13,566 changes: 8,013 additions & 5,553 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions packages/account/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"@fingerprintjs/fingerprintjs": "^3.3.6",
"@polkadot/api": "10.13.1",
"@polkadot/extension-base": "0.46.9",
"@polkadot/extension-dapp": "0.46.9",
"@polkadot/extension-inject": "0.46.9",
"@polkadot/keyring": "12.6.2",
"@polkadot/rpc-provider": "10.13.1",
Expand Down
5 changes: 0 additions & 5 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,7 @@
"author": "Prosopo Limited",
"license": "Apache-2.0",
"dependencies": {
"@polkadot/api": "10.13.1",
"@polkadot/keyring": "12.6.2",
"@polkadot/types": "10.13.1",
"@polkadot/util": "12.6.2",
"@polkadot/util-crypto": "12.6.2",
"@prosopo/util": "0.3.39",
"consola": "^3.2.3",
"i18next": "^21.9.2",
"i18next-browser-languagedetector": "^7.2.1",
Expand Down
5 changes: 1 addition & 4 deletions packages/contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,8 @@
"@polkadot/api": "10.13.1",
"@polkadot/api-contract": "10.13.1",
"@polkadot/keyring": "12.6.2",
"@polkadot/rpc-provider": "10.13.1",
"@polkadot/typegen": "10.13.1",
"@polkadot/types": "10.13.1",
"@polkadot/types-create": "10.13.1",
"@polkadot/types-codec": "10.13.1",
"@polkadot/util": "12.6.2",
"@polkadot/util-crypto": "12.6.2",
"@prosopo/common": "0.3.39",
Expand All @@ -67,7 +65,6 @@
},
"devDependencies": {
"@polkadot/api-augment": "10.13.1",
"ts-node": "^10.9.1",
"tslib": "2.6.2",
"typescript": "5.1.6"
},
Expand Down
10 changes: 3 additions & 7 deletions packages/datasets-fs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,22 @@
},
"types": "./dist/index.d.ts",
"dependencies": {
"@noble/hashes": "1.3.3",
"@polkadot/util": "12.6.2",
"@polkadot/util-crypto": "12.6.2",
"@prosopo/common": "0.3.39",
"@prosopo/config": "0.3.39",
"@prosopo/types": "0.3.39",
"@prosopo/util": "0.3.39",
"bcrypt": "^5.1.0",
"cli-progress": "^3.12.0",
"fs": "^0.0.1-security",
"lodash": "^4.17.21",
"noble-hashes": "^0.3.1",
"node-fetch": "^3.3.2",
"seedrandom": "^3.0.5",
"sharp": "^0.32.1",
"vitest": "^1.3.1",
"yargs": "^17.7.2",
"zod": "^3.22.3"
},
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/cli-progress": "^3.11.2",
"@types/node-fetch": "^3.0.2",
"dotenv": "^16.0.1",
"tslib": "2.6.2",
"typescript": "5.1.6"
Expand Down
1 change: 1 addition & 0 deletions packages/datasets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"@polkadot/util": "12.6.2",
"@prosopo/common": "0.3.39",
"@prosopo/types": "0.3.39",
"@prosopo/util": "0.3.39",
"vitest": "^1.3.1"
},
"devDependencies": {
Expand Down
8 changes: 6 additions & 2 deletions packages/env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,19 @@
"lint:fix": "npm run eslint:fix && npm run prettier:fix"
},
"dependencies": {
"@polkadot/api": "10.13.1",
"@polkadot/keyring": "12.6.2",
"@polkadot/rpc-provider": "10.13.1",
"@polkadot/util": "12.6.2",
"@polkadot/util-crypto": "12.6.2",
"@prosopo/captcha-contract": "0.3.39",
"@prosopo/common": "0.3.39",
"@prosopo/contract": "0.3.39",
"@prosopo/database": "0.3.39",
"@prosopo/types": "0.3.39",
"@prosopo/types-database": "0.3.39",
"@prosopo/types-env": "0.3.39",
"@prosopo/util": "0.3.39",
"dotenv": "^16.0.1"
"@prosopo/util": "0.3.39"
},
"overrides": {
"@polkadot/keyring": "12.6.2"
Expand Down
1 change: 1 addition & 0 deletions packages/file-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"lint:fix": "npm run eslint:fix && npm run prettier:fix"
},
"dependencies": {
"@prosopo/util": "0.3.39",
"dotenv": "^16.0.1",
"express": "^4.18.2",
"node-fetch": "^3.3.2",
Expand Down
3 changes: 3 additions & 0 deletions packages/procaptcha-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"@prosopo/procaptcha-react": "0.3.39",
"@prosopo/types": "0.3.39",
"@prosopo/util": "^0.3.39",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"repository": {
Expand All @@ -59,7 +60,9 @@
},
"devDependencies": {
"@prosopo/config": "0.3.39",
"@prosopo/cli": "0.3.39",
"tslib": "2.6.2",
"vite": "^5.1.7",
"typescript": "^5.1.6"
}
}
3 changes: 1 addition & 2 deletions packages/procaptcha-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
],
"dependencies": {
"@prosopo/common": "0.3.39",
"@prosopo/types": "0.3.39",
"@prosopo/util": "0.3.39"
"@prosopo/types": "0.3.39"
},
"devDependencies": {
"tslib": "2.6.2",
Expand Down
1 change: 1 addition & 0 deletions packages/procaptcha-frictionless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"@fingerprintjs/botd": "^1.9.0",
"@prosopo/procaptcha-pow": "0.3.39",
"@prosopo/procaptcha-react": "0.3.39",
"@prosopo/types": "0.3.39",
"@prosopo/web-components": "0.3.39",
"react": "^18.3.1"
},
Expand Down
8 changes: 6 additions & 2 deletions packages/procaptcha-pow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,16 @@
],
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@polkadot/extension-inject": "0.46.9",
"@prosopo/account": "0.3.39",
"@polkadot/api": "10.13.1",
"@polkadot/keyring": "12.6.2",
"@polkadot/rpc-provider": "10.13.1",
"@prosopo/api": "0.3.39",
"@prosopo/captcha-contract": "0.3.39",
"@prosopo/common": "0.3.39",
"@prosopo/contract": "0.3.39",
"@prosopo/procaptcha": "0.3.39",
"@prosopo/procaptcha-common": "0.3.39",
"@prosopo/types": "0.3.39",
"@prosopo/util": "0.3.39",
"@prosopo/web-components": "0.3.39",
Expand Down
11 changes: 3 additions & 8 deletions packages/procaptcha-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,13 @@
],
"dependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.0",
"@polkadot/extension-dapp": "0.46.9",
"@polkadot/extension-inject": "0.46.9",
"@prosopo/api": "0.3.39",
"@prosopo/common": "0.3.39",
"@prosopo/procaptcha": "0.3.39",
"@prosopo/procaptcha-common": "0.3.39",
"@prosopo/types": "0.3.39",
"@prosopo/util": "0.3.39",
"@prosopo/web-components": "0.3.39",
"react": "^18.3.1",
"react-dom": "^18.3.1"
"react": "^18.3.1"
},
"overrides": {
"@polkadot/extension-inject": {
Expand All @@ -61,8 +57,7 @@
},
"devDependencies": {
"tslib": "2.6.2",
"typescript": "5.1.6",
"vite-plugin-dts": "^3.7.3"
"typescript": "5.1.6"
},
"repository": {
"type": "git",
Expand Down
13 changes: 5 additions & 8 deletions packages/procaptcha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,26 +35,21 @@
}
},
"dependencies": {
"@fingerprintjs/fingerprintjs": "^3.3.6",
"@polkadot/api": "10.13.1",
"@polkadot/api-contract": "10.13.1",
"@polkadot/extension-base": "0.46.9",
"@polkadot/extension-dapp": "0.46.9",
"@polkadot/extension-inject": "0.46.9",
"@polkadot/keyring": "12.6.2",
"@polkadot/rpc-provider": "10.13.1",
"@polkadot/types": "10.13.1",
"@polkadot/util": "12.6.2",
"@polkadot/util-crypto": "12.6.2",
"@prosopo/account": "0.3.39",
"@prosopo/api": "0.3.39",
"@prosopo/captcha-contract": "0.3.39",
"@prosopo/common": "0.3.39",
"@prosopo/contract": "0.3.39",
"@prosopo/datasets": "0.3.39",
"@prosopo/procaptcha-common": "0.3.39",
"@prosopo/types": "0.3.39",
"@prosopo/util": "0.3.39",
"rxjs": "7.8.1"
"@prosopo/util": "0.3.39"
},
"overrides": {
"@polkadot/extension-inject": {
Expand All @@ -69,8 +64,10 @@
}
},
"devDependencies": {
"dotenv": "^16.0.1",
"tslib": "2.6.2",
"typescript": "5.1.6"
"typescript": "5.1.6",
"vitest": "^1.3.1"
},
"keywords": [],
"repository": {
Expand Down
15 changes: 10 additions & 5 deletions packages/provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,13 @@
"lint:fix": "npm run eslint:fix && npm run prettier:fix"
},
"dependencies": {
"@noble/hashes": "^1.3.3",
"@polkadot/api": "10.13.1",
"@polkadot/api-contract": "10.13.1",
"@polkadot/keyring": "12.6.2",
"@polkadot/types": "10.13.1",
"@polkadot/types-create": "10.13.1",
"@polkadot/types-codec": "10.13.1",
"@polkadot/util": "12.6.2",
"@polkadot/util-crypto": "12.6.2",
"@prosopo/captcha-contract": "0.3.39",
Expand All @@ -45,15 +49,14 @@
"@prosopo/datasets": "0.3.39",
"@prosopo/env": "0.3.39",
"@prosopo/tx": "0.3.39",
"@prosopo/typechain-types": "1.1.15",
"@prosopo/types": "0.3.39",
"@prosopo/types-database": "0.3.39",
"@prosopo/types-env": "0.3.39",
"@prosopo/util": "0.3.39",
"cron": "^2.1.0",
"cron-parser": "^4.5.0",
"express": "^4.18.1",
"jsonwebtoken": "^9.0.1",
"yargs": "^17.5.1",
"yargs-parser": "^21.0.1"
"zod": "^3.22.3"
},
"devDependencies": {
"@types/chai-as-promised": "^7.1.5",
Expand All @@ -68,7 +71,9 @@
"fs-extra": "^10.1.0",
"sinon": "^15.2.0",
"tslib": "2.6.2",
"typescript": "5.1.6"
"typescript": "5.1.6",
"vite": "^5.1.7",
"vitest": "^1.3.1"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@
"@polkadot/api": "10.13.1",
"@polkadot/keyring": "12.6.2",
"@polkadot/rpc-provider": "10.13.1",
"@polkadot/types": "10.13.1",
"@prosopo/api": "0.3.39",
"@prosopo/common": "0.3.39",
"@prosopo/contract": "0.3.39",
"@prosopo/captcha-contract": "0.3.39",
"@prosopo/util": "0.3.39",
"@prosopo/types": "0.3.39"
},
"devDependencies": {
Expand Down
14 changes: 1 addition & 13 deletions packages/tx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,11 @@
},
"dependencies": {
"@polkadot/api": "10.13.1",
"@polkadot/api-contract": "10.13.1",
"@polkadot/keyring": "12.6.2",
"@polkadot/rpc-provider": "10.13.1",
"@polkadot/typegen": "10.13.1",
"@polkadot/types": "10.13.1",
"@polkadot/types-create": "10.13.1",
"@polkadot/util": "12.6.2",
"@polkadot/util-crypto": "12.6.2",
"@prosopo/common": "0.3.39",
"@prosopo/types": "0.3.39",
"@prosopo/util": "0.3.39",
"@prosopo/captcha-contract": "0.3.39",
"@prosopo/typechain-types": "1.1.15",
"rxjs": "^7.8.1"
"@prosopo/common": "0.3.39"
},
"devDependencies": {
"@polkadot/api-augment": "10.13.1",
"tslib": "2.6.2",
"typescript": "5.1.6"
},
Expand Down
1 change: 0 additions & 1 deletion packages/types-database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
},
"homepage": "https://github.com/prosopo/captcha#readme",
"dependencies": {
"@polkadot/types": "10.13.1",
"@prosopo/common": "0.3.39",
"@prosopo/types": "0.3.39",
"@prosopo/captcha-contract": "0.3.39",
Expand Down
4 changes: 3 additions & 1 deletion packages/types-env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@
},
"homepage": "https://github.com/prosopo/captcha#readme",
"dependencies": {
"@polkadot/api": "10.13.1",
"@polkadot/keyring": "12.6.2",
"@polkadot/types": "10.13.1",
"@polkadot/rpc-provider": "10.13.1",
"@prosopo/contract": "0.3.39",
"@prosopo/common": "0.3.39",
"@prosopo/types": "0.3.39",
"@prosopo/types-database": "0.3.39"
Expand Down
4 changes: 3 additions & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@
"dependencies": {
"@polkadot/api": "10.13.1",
"@polkadot/api-contract": "10.13.1",
"@polkadot/extension-inject": "0.46.9",
"@polkadot/keyring": "12.6.2",
"@polkadot/types": "10.13.1",
"@polkadot/types-codec": "10.13.1",
"@polkadot/util": "12.6.2",
"@prosopo/common": "0.3.39",
"@prosopo/captcha-contract": "0.3.39",
"consola": "^3.2.3",
"zod": "^3.22.3"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@noble/hashes": "^1.3.3",
"@polkadot/util": "12.6.2",
"lodash": "^4.17.21",
"seedrandom": "^3.0.5"
},
Expand Down

0 comments on commit 6419135

Please sign in to comment.