From 67c9ef744e209d9474832d4f6b89abdbc9e0b1f0 Mon Sep 17 00:00:00 2001 From: Nikita Yutanov Date: Fri, 20 Sep 2024 18:34:51 +0300 Subject: [PATCH] Bump idea packages polkadot api --- idea/common/package.json | 2 +- idea/faucet/package.json | 2 +- idea/frontend/package.json | 4 +- idea/indexer/package.json | 4 +- idea/meta-storage-2/package.json | 2 +- idea/meta-storage/package.json | 2 +- idea/squid/package.json | 2 +- idea/test-balance/package.json | 2 +- idea/tests/package.json | 2 +- yarn.lock | 221 ++----------------------------- 10 files changed, 23 insertions(+), 220 deletions(-) diff --git a/idea/common/package.json b/idea/common/package.json index 8174b66b2f..b391bdde89 100644 --- a/idea/common/package.json +++ b/idea/common/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "@gear-js/api": "0.38.1", - "@polkadot/api": "11.0.2", + "@polkadot/api": "12.0.1", "winston": "3.7.2" }, "license": "ISC", diff --git a/idea/faucet/package.json b/idea/faucet/package.json index 858f7ec7a9..a481360c20 100644 --- a/idea/faucet/package.json +++ b/idea/faucet/package.json @@ -14,7 +14,7 @@ "dependencies": { "@gear-js/api": "0.38.1", "@gear-js/common": "workspace:^", - "@polkadot/api": "11.0.2", + "@polkadot/api": "12.0.1", "chalk": "4.1.2", "class-transformer": "0.5.1", "cron": "^3.1.6", diff --git a/idea/frontend/package.json b/idea/frontend/package.json index 08696ea78d..7ce7127c21 100644 --- a/idea/frontend/package.json +++ b/idea/frontend/package.json @@ -38,7 +38,7 @@ "react-router-dom": "6.16.0", "react-transition-group": "4.4.5", "sails-js": "0.2.0", - "sails-js-parser": "^0.0.1", + "sails-js-parser": "0.0.1", "simplebar-react": "3.2.4", "yup": "1.3.2", "zod": "3.22.4" @@ -63,7 +63,7 @@ "eslint-plugin-react": "7.33.2", "eslint-plugin-react-hooks": "4.6.0", "eslint-plugin-react-refresh": "0.4.3", - "sails-js-types": "^0.0.1", + "sails-js-types": "0.0.1", "sass": "1.69.1", "typescript": "5.5.3", "vite": "4.4.11", diff --git a/idea/indexer/package.json b/idea/indexer/package.json index 6bdb186a69..1fd99d8955 100644 --- a/idea/indexer/package.json +++ b/idea/indexer/package.json @@ -16,7 +16,7 @@ "dependencies": { "@gear-js/api": "^0.38.1", "@gear-js/common": "workspace:^", - "@polkadot/api": "11.0.2", + "@polkadot/api": "12.0.1", "amqplib": "0.10.3", "class-transformer": "0.5.1", "cron": "^3.1.6", @@ -26,7 +26,7 @@ "winston": "3.8.2" }, "devDependencies": { - "@polkadot/types": "11.0.2", + "@polkadot/api": "12.0.1", "@types/amqplib": "0.10.1", "@types/node": "18.15.11", "jest": "29.5.0", diff --git a/idea/meta-storage-2/package.json b/idea/meta-storage-2/package.json index fd40d93b97..74ba757a2e 100644 --- a/idea/meta-storage-2/package.json +++ b/idea/meta-storage-2/package.json @@ -14,7 +14,7 @@ "dependencies": { "@gear-js/api": "0.38.1", "@gear-js/common": "workspace:^", - "@polkadot/api": "11.0.2", + "@polkadot/api": "12.0.1", "dotenv": "^16.3.1", "express": "4.18.1", "pg": "8.10.0", diff --git a/idea/meta-storage/package.json b/idea/meta-storage/package.json index 42d2afd6bf..06b987ab8f 100644 --- a/idea/meta-storage/package.json +++ b/idea/meta-storage/package.json @@ -8,7 +8,7 @@ "dependencies": { "@gear-js/api": "0.38.1", "@gear-js/common": "workspace:^", - "@polkadot/api": "11.0.2", + "@polkadot/api": "12.0.1", "amqplib": "0.10.3", "dotenv": "^16.3.1", "pg": "8.10.0", diff --git a/idea/squid/package.json b/idea/squid/package.json index 8032ecdfd8..a6b138a931 100644 --- a/idea/squid/package.json +++ b/idea/squid/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@gear-js/api": "0.38.1", - "@polkadot/api": "11.0.2", + "@polkadot/api": "12.0.1", "@subsquid/graphql-server": "4.5.1", "@subsquid/ss58": "2.0.2", "@subsquid/substrate-processor": "8.3.0", diff --git a/idea/test-balance/package.json b/idea/test-balance/package.json index 36952d5bdf..a0b77f991e 100644 --- a/idea/test-balance/package.json +++ b/idea/test-balance/package.json @@ -13,7 +13,7 @@ "dependencies": { "@gear-js/api": "0.38.1", "@gear-js/common": "workspace:^", - "@polkadot/api": "11.0.2", + "@polkadot/api": "12.0.1", "@types/amqplib": "0.8.2", "amqplib": "0.10.3", "chalk": "4.1.2", diff --git a/idea/tests/package.json b/idea/tests/package.json index d3178a9949..ff13b117ef 100644 --- a/idea/tests/package.json +++ b/idea/tests/package.json @@ -14,7 +14,7 @@ "@babel/preset-typescript": "7.18.6", "@gear-js/api": "0.38.1", "@gear-js/common": "workspace:^", - "@polkadot/api": "11.0.2", + "@polkadot/api": "12.0.1", "babel-jest": "28.1.3", "dotenv": "16.0.3", "jest": "^29.1.2", diff --git a/yarn.lock b/yarn.lock index 1f76606d08..e129773ba8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2489,7 +2489,7 @@ __metadata: resolution: "@gear-js/common@workspace:idea/common" dependencies: "@gear-js/api": 0.38.1 - "@polkadot/api": 11.0.2 + "@polkadot/api": 12.0.1 typescript: 4.7.4 winston: 3.7.2 languageName: unknown @@ -2501,7 +2501,7 @@ __metadata: dependencies: "@gear-js/api": 0.38.1 "@gear-js/common": "workspace:^" - "@polkadot/api": 11.0.2 + "@polkadot/api": 12.0.1 "@types/express": 4.17.13 "@types/jest": ^29.5.12 "@types/supertest": ^6.0.2 @@ -2583,8 +2583,8 @@ __metadata: react-router-dom: 6.16.0 react-transition-group: 4.4.5 sails-js: 0.2.0 - sails-js-parser: ^0.0.1 - sails-js-types: ^0.0.1 + sails-js-parser: 0.0.1 + sails-js-types: 0.0.1 sass: 1.69.1 simplebar-react: 3.2.4 typescript: 5.5.3 @@ -2603,8 +2603,7 @@ __metadata: dependencies: "@gear-js/api": ^0.38.1 "@gear-js/common": "workspace:^" - "@polkadot/api": 11.0.2 - "@polkadot/types": 11.0.2 + "@polkadot/api": 12.0.1 "@types/amqplib": 0.10.1 "@types/node": 18.15.11 amqplib: 0.10.3 @@ -2628,7 +2627,7 @@ __metadata: dependencies: "@gear-js/api": 0.38.1 "@gear-js/common": "workspace:^" - "@polkadot/api": 11.0.2 + "@polkadot/api": 12.0.1 "@types/express": 4.17.13 "@types/jest": ^29.5.12 "@types/supertest": ^6.0.2 @@ -2652,7 +2651,7 @@ __metadata: dependencies: "@gear-js/api": 0.38.1 "@gear-js/common": "workspace:^" - "@polkadot/api": 11.0.2 + "@polkadot/api": 12.0.1 amqplib: 0.10.3 dotenv: ^16.3.1 pg: 8.10.0 @@ -2707,7 +2706,7 @@ __metadata: dependencies: "@gear-js/api": 0.38.1 "@gear-js/common": "workspace:^" - "@polkadot/api": 11.0.2 + "@polkadot/api": 12.0.1 "@types/amqplib": 0.8.2 "@types/express": 4.17.13 "@typescript-eslint/eslint-plugin": 4.33.0 @@ -2804,7 +2803,7 @@ __metadata: "@babel/preset-typescript": 7.18.6 "@gear-js/api": 0.38.1 "@gear-js/common": "workspace:^" - "@polkadot/api": 11.0.2 + "@polkadot/api": 12.0.1 "@types/jest": 29.2.3 babel-jest: 28.1.3 dotenv: 16.0.3 @@ -3571,21 +3570,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-augment@npm:11.0.2": - version: 11.0.2 - resolution: "@polkadot/api-augment@npm:11.0.2" - dependencies: - "@polkadot/api-base": 11.0.2 - "@polkadot/rpc-augment": 11.0.2 - "@polkadot/types": 11.0.2 - "@polkadot/types-augment": 11.0.2 - "@polkadot/types-codec": 11.0.2 - "@polkadot/util": ^12.6.2 - tslib: ^2.6.2 - checksum: 5da64a991f5eb81eba12afc412a4b7b7d324fe76f2ad5610e7bfab60276c2750fe4c0e27c1e321cdcb9aa4f0fea480c80dff217a5178e5b9fde113bd29e97f49 - languageName: node - linkType: hard - "@polkadot/api-augment@npm:12.0.1": version: 12.0.1 resolution: "@polkadot/api-augment@npm:12.0.1" @@ -3616,19 +3600,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-base@npm:11.0.2": - version: 11.0.2 - resolution: "@polkadot/api-base@npm:11.0.2" - dependencies: - "@polkadot/rpc-core": 11.0.2 - "@polkadot/types": 11.0.2 - "@polkadot/util": ^12.6.2 - rxjs: ^7.8.1 - tslib: ^2.6.2 - checksum: 7a7f30031be9261262413bba1765f40f60c0f0890475b1ff7789c0b628d8531808588091b46f9420e82aee4935045ddf359fd39280a7530a5550ac588fefe6bc - languageName: node - linkType: hard - "@polkadot/api-base@npm:12.0.1": version: 12.0.1 resolution: "@polkadot/api-base@npm:12.0.1" @@ -3655,24 +3626,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-derive@npm:11.0.2": - version: 11.0.2 - resolution: "@polkadot/api-derive@npm:11.0.2" - dependencies: - "@polkadot/api": 11.0.2 - "@polkadot/api-augment": 11.0.2 - "@polkadot/api-base": 11.0.2 - "@polkadot/rpc-core": 11.0.2 - "@polkadot/types": 11.0.2 - "@polkadot/types-codec": 11.0.2 - "@polkadot/util": ^12.6.2 - "@polkadot/util-crypto": ^12.6.2 - rxjs: ^7.8.1 - tslib: ^2.6.2 - checksum: 80fd722cca61c774ff0ebc315ae960626b24ae7085e02b8f25715fb177f3c812a6bd2978dcff272aa6f2c191885e358108577af86e852c3abf0c1b8f9c18509d - languageName: node - linkType: hard - "@polkadot/api-derive@npm:12.0.1": version: 12.0.1 resolution: "@polkadot/api-derive@npm:12.0.1" @@ -3709,31 +3662,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/api@npm:11.0.2": - version: 11.0.2 - resolution: "@polkadot/api@npm:11.0.2" - dependencies: - "@polkadot/api-augment": 11.0.2 - "@polkadot/api-base": 11.0.2 - "@polkadot/api-derive": 11.0.2 - "@polkadot/keyring": ^12.6.2 - "@polkadot/rpc-augment": 11.0.2 - "@polkadot/rpc-core": 11.0.2 - "@polkadot/rpc-provider": 11.0.2 - "@polkadot/types": 11.0.2 - "@polkadot/types-augment": 11.0.2 - "@polkadot/types-codec": 11.0.2 - "@polkadot/types-create": 11.0.2 - "@polkadot/types-known": 11.0.2 - "@polkadot/util": ^12.6.2 - "@polkadot/util-crypto": ^12.6.2 - eventemitter3: ^5.0.1 - rxjs: ^7.8.1 - tslib: ^2.6.2 - checksum: 32d230f2e02bfacb9a81b7928e5d483d5ad7073cb5698269928c20f79e001a17b38e8563eaf34ec4f43095b20a34d1ca7bcb6f91782d32a80906ab5509f4a420 - languageName: node - linkType: hard - "@polkadot/api@npm:12.0.1": version: 12.0.1 resolution: "@polkadot/api@npm:12.0.1" @@ -3877,19 +3805,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-augment@npm:11.0.2": - version: 11.0.2 - resolution: "@polkadot/rpc-augment@npm:11.0.2" - dependencies: - "@polkadot/rpc-core": 11.0.2 - "@polkadot/types": 11.0.2 - "@polkadot/types-codec": 11.0.2 - "@polkadot/util": ^12.6.2 - tslib: ^2.6.2 - checksum: ab5b8c6faaeafc7bedc973820e717a93ed5715aeae4412ff7d6359391961bbd7d2d24e7b46f6926617a135a5659c352f4c3a7fd3cff70a11269be26bcf9ab255 - languageName: node - linkType: hard - "@polkadot/rpc-augment@npm:12.0.1": version: 12.0.1 resolution: "@polkadot/rpc-augment@npm:12.0.1" @@ -3916,20 +3831,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-core@npm:11.0.2": - version: 11.0.2 - resolution: "@polkadot/rpc-core@npm:11.0.2" - dependencies: - "@polkadot/rpc-augment": 11.0.2 - "@polkadot/rpc-provider": 11.0.2 - "@polkadot/types": 11.0.2 - "@polkadot/util": ^12.6.2 - rxjs: ^7.8.1 - tslib: ^2.6.2 - checksum: 100cfbd87b4088f4bd56fb1927c475038855158742b211faf210a722390f1721a7fcf15697f7af9c6c3a92b96bec35d48d9c52c6d8a9db6f367f5a1a665e4b0c - languageName: node - linkType: hard - "@polkadot/rpc-core@npm:12.0.1": version: 12.0.1 resolution: "@polkadot/rpc-core@npm:12.0.1" @@ -3958,30 +3859,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-provider@npm:11.0.2": - version: 11.0.2 - resolution: "@polkadot/rpc-provider@npm:11.0.2" - dependencies: - "@polkadot/keyring": ^12.6.2 - "@polkadot/types": 11.0.2 - "@polkadot/types-support": 11.0.2 - "@polkadot/util": ^12.6.2 - "@polkadot/util-crypto": ^12.6.2 - "@polkadot/x-fetch": ^12.6.2 - "@polkadot/x-global": ^12.6.2 - "@polkadot/x-ws": ^12.6.2 - "@substrate/connect": 0.8.10 - eventemitter3: ^5.0.1 - mock-socket: ^9.3.1 - nock: ^13.5.0 - tslib: ^2.6.2 - dependenciesMeta: - "@substrate/connect": - optional: true - checksum: e6354d7e34e51ec551e9de10a3450d7498ceb6a067d714d1cfaedce5586d03d3e7c6ea0ecd0bd1b1cf8090fa20379987fd67e31975cda62b0d0b7dd248a9e5dd - languageName: node - linkType: hard - "@polkadot/rpc-provider@npm:12.0.1": version: 12.0.1 resolution: "@polkadot/rpc-provider@npm:12.0.1" @@ -4030,18 +3907,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-augment@npm:11.0.2": - version: 11.0.2 - resolution: "@polkadot/types-augment@npm:11.0.2" - dependencies: - "@polkadot/types": 11.0.2 - "@polkadot/types-codec": 11.0.2 - "@polkadot/util": ^12.6.2 - tslib: ^2.6.2 - checksum: fe8ddf90ca9d4438a0e7012500ce6acb0de17decb77b23f91c30644decc2694c1ae04dcac10ec3d934df597de014f63583e31c7a847f9431a217a19f3c0ec9de - languageName: node - linkType: hard - "@polkadot/types-augment@npm:12.0.1": version: 12.0.1 resolution: "@polkadot/types-augment@npm:12.0.1" @@ -4066,17 +3931,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-codec@npm:11.0.2": - version: 11.0.2 - resolution: "@polkadot/types-codec@npm:11.0.2" - dependencies: - "@polkadot/util": ^12.6.2 - "@polkadot/x-bigint": ^12.6.2 - tslib: ^2.6.2 - checksum: ff991126a092a012f800b83ba82b9d1560b4fe74781ca1fc3c74f4b4ff0b98819fa6af909eabb753781eae8c897b83fd7e01efc699a96148aed765b60e70ef37 - languageName: node - linkType: hard - "@polkadot/types-codec@npm:12.0.1": version: 12.0.1 resolution: "@polkadot/types-codec@npm:12.0.1" @@ -4099,17 +3953,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-create@npm:11.0.2": - version: 11.0.2 - resolution: "@polkadot/types-create@npm:11.0.2" - dependencies: - "@polkadot/types-codec": 11.0.2 - "@polkadot/util": ^12.6.2 - tslib: ^2.6.2 - checksum: b1c22b5270b0e7e63ddcf9c9bef7ca56db862f4f31dfd039b78ba7d5c249c068b58c84419bbe2315eabf48454db612a668557fed630e9c386656b9658eeff5ab - languageName: node - linkType: hard - "@polkadot/types-create@npm:12.0.1": version: 12.0.1 resolution: "@polkadot/types-create@npm:12.0.1" @@ -4132,20 +3975,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-known@npm:11.0.2": - version: 11.0.2 - resolution: "@polkadot/types-known@npm:11.0.2" - dependencies: - "@polkadot/networks": ^12.6.2 - "@polkadot/types": 11.0.2 - "@polkadot/types-codec": 11.0.2 - "@polkadot/types-create": 11.0.2 - "@polkadot/util": ^12.6.2 - tslib: ^2.6.2 - checksum: 4b087c69c1103625ad170905da7bdfa51be754e3127aaf70c6c6ed5edae8c91d99fd4a046c956f0598c13f595bfc1b7942932a89b8c61a566bb01fd953631ba6 - languageName: node - linkType: hard - "@polkadot/types-known@npm:12.0.1": version: 12.0.1 resolution: "@polkadot/types-known@npm:12.0.1" @@ -4174,16 +4003,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-support@npm:11.0.2": - version: 11.0.2 - resolution: "@polkadot/types-support@npm:11.0.2" - dependencies: - "@polkadot/util": ^12.6.2 - tslib: ^2.6.2 - checksum: cb453682888e553e1fe10a72acde66182121b025a52f9096f2a1ca7233fc61213a532c5baf755cf6bfb25e7e4354fb1ec6244f19974a29e0a083e4268da05021 - languageName: node - linkType: hard - "@polkadot/types-support@npm:12.0.1": version: 12.0.1 resolution: "@polkadot/types-support@npm:12.0.1" @@ -4204,22 +4023,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/types@npm:11.0.2": - version: 11.0.2 - resolution: "@polkadot/types@npm:11.0.2" - dependencies: - "@polkadot/keyring": ^12.6.2 - "@polkadot/types-augment": 11.0.2 - "@polkadot/types-codec": 11.0.2 - "@polkadot/types-create": 11.0.2 - "@polkadot/util": ^12.6.2 - "@polkadot/util-crypto": ^12.6.2 - rxjs: ^7.8.1 - tslib: ^2.6.2 - checksum: 5debd49b5509eee97ae7a8146cb6b1af5849eff6506a160882fca01aec73116fb221870d086ce2532692253c1b3fd27bfbaf3d99c6cdccbbe1cdb9f2f99997ad - languageName: node - linkType: hard - "@polkadot/types@npm:12.0.1": version: 12.0.1 resolution: "@polkadot/types@npm:12.0.1" @@ -12387,7 +12190,7 @@ __metadata: resolution: "indexer-squid@workspace:idea/squid" dependencies: "@gear-js/api": 0.38.1 - "@polkadot/api": 11.0.2 + "@polkadot/api": 12.0.1 "@subsquid/graphql-server": 4.5.1 "@subsquid/ss58": 2.0.2 "@subsquid/substrate-metadata-explorer": 3.1.2 @@ -17410,7 +17213,7 @@ __metadata: languageName: node linkType: hard -"sails-js-parser@npm:0.0.1, sails-js-parser@npm:^0.0.1": +"sails-js-parser@npm:0.0.1": version: 0.0.1 resolution: "sails-js-parser@npm:0.0.1" peerDependencies: @@ -17419,7 +17222,7 @@ __metadata: languageName: node linkType: hard -"sails-js-types@npm:^0.0.1": +"sails-js-types@npm:0.0.1": version: 0.0.1 resolution: "sails-js-types@npm:0.0.1" checksum: d1218d9c8ab5cb25df641528db71c8e7eb90f2995d3c8df0c81aa9e2bcf9c31d487d1329f1bc8bed631bfd14aae15bd766e35bead3461a6f9cc7bad5c74322e5