From 583e9316f430ad5b294d3641645453c40f894646 Mon Sep 17 00:00:00 2001 From: Nikita Yutanov Date: Thu, 10 Oct 2024 17:05:17 +0300 Subject: [PATCH 1/2] chore(wallet-connect): bump hooks --- utils/wallet-connect/package.json | 4 +- yarn.lock | 260 ++---------------------------- 2 files changed, 12 insertions(+), 252 deletions(-) diff --git a/utils/wallet-connect/package.json b/utils/wallet-connect/package.json index 087de57420..2ff2db9849 100644 --- a/utils/wallet-connect/package.json +++ b/utils/wallet-connect/package.json @@ -24,7 +24,7 @@ "preview": "vite preview" }, "peerDependencies": { - "@gear-js/react-hooks": "^0.13.0", + "@gear-js/react-hooks": "^0.13.1", "@gear-js/ui": "^0.5.28", "@gear-js/vara-ui": "^0.0.11" }, @@ -37,7 +37,7 @@ } }, "devDependencies": { - "@gear-js/react-hooks": "0.13.0", + "@gear-js/react-hooks": "0.13.1", "@gear-js/ui": "0.5.28", "@gear-js/vara-ui": "0.0.11", "@polkadot/react-identicon": "3.10.1", diff --git a/yarn.lock b/yarn.lock index eb84d52385..ed4e64420b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2691,29 +2691,7 @@ __metadata: languageName: unknown linkType: soft -"@gear-js/react-hooks@npm:0.13.0": - version: 0.13.0 - resolution: "@gear-js/react-hooks@npm:0.13.0" - dependencies: - "@polkadot/api-derive": 11.0.2 - "@polkadot/extension-inject": 0.51.1 - "@polkadot/util": 12.6.2 - "@substrate/connect": 0.8.10 - bignumber.js: 9.1.2 - nanoid: 5.0.1 - react-transition-group: 4.4.5 - peerDependencies: - "@gear-js/api": 0.38.1 - "@polkadot/api": 11.0.2 - "@tanstack/react-query": ^5.29.0 - react: ^18.2.0 - react-dom: ^18.2.0 - sails-js: 0.1.8 - checksum: 0f461530d45dac72d48655762f4dabb0a8468d0916263d202fabbd960caf4948237804f00afe9c60c72289fcb859c86995f231715ea6bb2141553cfa19262472 - languageName: node - linkType: hard - -"@gear-js/react-hooks@workspace:^, @gear-js/react-hooks@workspace:utils/gear-hooks": +"@gear-js/react-hooks@0.13.1, @gear-js/react-hooks@workspace:^, @gear-js/react-hooks@workspace:utils/gear-hooks": version: 0.0.0-use.local resolution: "@gear-js/react-hooks@workspace:utils/gear-hooks" dependencies: @@ -2860,7 +2838,7 @@ __metadata: version: 0.0.0-use.local resolution: "@gear-js/wallet-connect@workspace:utils/wallet-connect" dependencies: - "@gear-js/react-hooks": 0.13.0 + "@gear-js/react-hooks": 0.13.1 "@gear-js/ui": 0.5.28 "@gear-js/vara-ui": 0.0.11 "@polkadot/react-identicon": 3.10.1 @@ -2881,7 +2859,7 @@ __metadata: vite-plugin-node-polyfills: 0.22.0 vite-plugin-svgr: 3.2.0 peerDependencies: - "@gear-js/react-hooks": ^0.13.0 + "@gear-js/react-hooks": ^0.13.1 "@gear-js/ui": ^0.5.28 "@gear-js/vara-ui": ^0.0.11 peerDependenciesMeta: @@ -3781,21 +3759,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.3.1": version: 12.3.1 resolution: "@polkadot/api-augment@npm:12.3.1" @@ -3826,19 +3789,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.3.1": version: 12.3.1 resolution: "@polkadot/api-base@npm:12.3.1" @@ -3865,24 +3815,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.3.1": version: 12.3.1 resolution: "@polkadot/api-derive@npm:12.3.1" @@ -3919,31 +3851,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.3.1, @polkadot/api@npm:^12.3.1": version: 12.3.1 resolution: "@polkadot/api@npm:12.3.1" @@ -4012,7 +3919,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/keyring@npm:^12.5.1, @polkadot/keyring@npm:^12.6.2": +"@polkadot/keyring@npm:^12.5.1": version: 12.6.2 resolution: "@polkadot/keyring@npm:12.6.2" dependencies: @@ -4054,7 +3961,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/networks@npm:12.6.2, @polkadot/networks@npm:^12.5.1, @polkadot/networks@npm:^12.6.2": +"@polkadot/networks@npm:12.6.2, @polkadot/networks@npm:^12.5.1": version: 12.6.2 resolution: "@polkadot/networks@npm:12.6.2" dependencies: @@ -4137,19 +4044,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.3.1": version: 12.3.1 resolution: "@polkadot/rpc-augment@npm:12.3.1" @@ -4176,20 +4070,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.3.1": version: 12.3.1 resolution: "@polkadot/rpc-core@npm:12.3.1" @@ -4218,30 +4098,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.3.1, @polkadot/rpc-provider@npm:^12.3.1": version: 12.3.1 resolution: "@polkadot/rpc-provider@npm:12.3.1" @@ -4290,18 +4146,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.3.1": version: 12.3.1 resolution: "@polkadot/types-augment@npm:12.3.1" @@ -4326,17 +4170,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.3.1": version: 12.3.1 resolution: "@polkadot/types-codec@npm:12.3.1" @@ -4359,17 +4192,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.3.1": version: 12.3.1 resolution: "@polkadot/types-create@npm:12.3.1" @@ -4392,20 +4214,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.3.1": version: 12.3.1 resolution: "@polkadot/types-known@npm:12.3.1" @@ -4434,16 +4242,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.3.1": version: 12.3.1 resolution: "@polkadot/types-support@npm:12.3.1" @@ -4464,22 +4262,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.3.1, @polkadot/types@npm:^12.3.1": version: 12.3.1 resolution: "@polkadot/types@npm:12.3.1" @@ -4570,7 +4352,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/util-crypto@npm:12.6.2, @polkadot/util-crypto@npm:^12.5.1, @polkadot/util-crypto@npm:^12.6.2": +"@polkadot/util-crypto@npm:12.6.2, @polkadot/util-crypto@npm:^12.5.1": version: 12.6.2 resolution: "@polkadot/util-crypto@npm:12.6.2" dependencies: @@ -4630,7 +4412,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/util@npm:12.6.2, @polkadot/util@npm:^12.5.1, @polkadot/util@npm:^12.6.2": +"@polkadot/util@npm:12.6.2, @polkadot/util@npm:^12.5.1": version: 12.6.2 resolution: "@polkadot/util@npm:12.6.2" dependencies: @@ -4755,7 +4537,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-bigint@npm:12.6.2, @polkadot/x-bigint@npm:^12.6.2": +"@polkadot/x-bigint@npm:12.6.2": version: 12.6.2 resolution: "@polkadot/x-bigint@npm:12.6.2" dependencies: @@ -4785,17 +4567,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-fetch@npm:^12.6.2": - version: 12.6.2 - resolution: "@polkadot/x-fetch@npm:12.6.2" - dependencies: - "@polkadot/x-global": 12.6.2 - node-fetch: ^3.3.2 - tslib: ^2.6.2 - checksum: 2f0269b17ebbb907f4f4fa777898fd8ea16ecd37abfc2c0b69cfc49bd5ab0ed38cf836a4941e85f9100192f7005731a9a8c6b135799efd17b4261c3cc1ebf844 - languageName: node - linkType: hard - "@polkadot/x-fetch@npm:^13.0.2": version: 13.0.2 resolution: "@polkadot/x-fetch@npm:13.0.2" @@ -4818,7 +4589,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-global@npm:12.6.2, @polkadot/x-global@npm:^12.6.2": +"@polkadot/x-global@npm:12.6.2": version: 12.6.2 resolution: "@polkadot/x-global@npm:12.6.2" dependencies: @@ -4944,17 +4715,6 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-ws@npm:^12.6.2": - version: 12.6.2 - resolution: "@polkadot/x-ws@npm:12.6.2" - dependencies: - "@polkadot/x-global": 12.6.2 - tslib: ^2.6.2 - ws: ^8.15.1 - checksum: a6bddc7ac81690f222fbc192f87f2d9b951d67414ea31a0377fb20844db8fde05d7771df5291633417aa4616bf968a31005ff22d416b2d4fecda2109f820abf7 - languageName: node - linkType: hard - "@polkadot/x-ws@npm:^13.0.2": version: 13.0.2 resolution: "@polkadot/x-ws@npm:13.0.2" @@ -21516,7 +21276,7 @@ __metadata: languageName: node linkType: hard -"ws@npm:^8.11.0, ws@npm:^8.14.2, ws@npm:^8.15.1, ws@npm:^8.16.0, ws@npm:^8.8.1": +"ws@npm:^8.11.0, ws@npm:^8.14.2, ws@npm:^8.16.0, ws@npm:^8.8.1": version: 8.18.0 resolution: "ws@npm:8.18.0" peerDependencies: From 8f545bef9b03d39cec813a084afcede6087f567c Mon Sep 17 00:00:00 2001 From: Nikita Yutanov Date: Thu, 10 Oct 2024 17:11:09 +0300 Subject: [PATCH 2/2] bump version --- utils/wallet-connect/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/wallet-connect/package.json b/utils/wallet-connect/package.json index 2ff2db9849..a95ef87bb3 100644 --- a/utils/wallet-connect/package.json +++ b/utils/wallet-connect/package.json @@ -1,6 +1,6 @@ { "name": "@gear-js/wallet-connect", - "version": "0.1.1", + "version": "0.1.2", "type": "module", "description": "React library to connect Substrate based wallets to Gear dApps", "author": "Gear Technologies",