From cc6c806448958af9e94ee3ab5c747dcd5e475655 Mon Sep 17 00:00:00 2001 From: Tom Jeatt Date: Mon, 8 Jul 2024 13:09:39 +0100 Subject: [PATCH] chore: add peer dependency --- package.json | 1 + yarn.lock | 127 ++++++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 111 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index 0d6170a2a..95e4a75d3 100644 --- a/package.json +++ b/package.json @@ -137,6 +137,7 @@ "resolutions": { "@acala-network/api": "5.1.2-7", "@acala-network/eth-providers": "2.6.10", + "@acala-network/sdk-core": "0.7.2-1", "babel-loader": "8.1.0", "bn.js": "4.12.0", "react-error-overlay": "6.0.9", diff --git a/yarn.lock b/yarn.lock index a98155e52..ca5fbc163 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9,7 +9,7 @@ dependencies: "@acala-network/types" "5.1.2-7" -"@acala-network/api@5.1.2-7", "@acala-network/api@^5.1.1": +"@acala-network/api@5.1.2-7", "@acala-network/api@^0.7.2-1", "@acala-network/api@^5.1.1": version "5.1.2-7" resolved "https://registry.yarnpkg.com/@acala-network/api/-/api-5.1.2-7.tgz#ee4f58035da666a875ceb58b14393d6c280e82ed" integrity sha512-knXQJuC7bEv+C7aq1CrwzN3B/tlj5hkH7rkdPM+n/tEIpNPdyf7Mk+l5wiRCygOXDR9Ejh4S3Xij91kGQbmJKQ== @@ -62,14 +62,18 @@ "@ethersproject/transactions" "~5.7.0" "@ethersproject/wallet" "~5.7.0" -"@acala-network/sdk-core@4.1.9-13", "@acala-network/sdk-core@^4.1.9-7": - version "4.1.9-13" - resolved "https://registry.yarnpkg.com/@acala-network/sdk-core/-/sdk-core-4.1.9-13.tgz#e2e9e71a2e48087a432c5418bb7646467594c4a5" - integrity sha512-29cV/cZfeBdrNgGE1m0LJBJ5+4rxjRXGYLRaxkoXXVbns8UWaY7BY/JvisY0mgiJNOKfEvEHvGQIgu+MwMNrsw== +"@acala-network/sdk-core@0.7.2-1", "@acala-network/sdk-core@4.1.9-13", "@acala-network/sdk-core@^4.1.9-7": + version "0.7.2-1" + resolved "https://registry.yarnpkg.com/@acala-network/sdk-core/-/sdk-core-0.7.2-1.tgz#c97ebae9257e30611b10fcb6a53539bbf1bdbbb5" + integrity sha512-9Kb6Fn7/N6Ip4910x+GjbrC2EzQGA+Iurp9ZqRtBKlMSAEeyFR/3dyC0K0x2GjSQGX2EYDGweQtn2ysOK/u7jA== dependencies: - "@acala-network/types" "^6.0.4" - "@polkadot/api" "^10.9.1" + "@acala-network/api" "^0.7.2-1" + "@acala-network/type-definitions" "^0.7.2-1" + "@polkadot/api" "^4.0.3" + "@polkadot/types" "^4.0.3" + "@types/events" "^3.0.0" bignumber.js "^9.0.0" + events "^3.2.0" lodash "^4.17.20" "@acala-network/sdk@^4.1.9-7": @@ -99,6 +103,13 @@ resolved "https://registry.yarnpkg.com/@acala-network/type-definitions/-/type-definitions-5.1.2-7.tgz#0c063ca55eaf7f6f50a3d271a7f1e857c1bd6c30" integrity sha512-AWUWzBYlUdr/XqnPBSQLUePcxj1WP+2heeM8YSuppM1uWbkRTY2UEJGBHTmoPNczZFgc24X6hHOAgdzcYQrfsg== +"@acala-network/type-definitions@^0.7.2-1": + version "0.7.3" + resolved "https://registry.yarnpkg.com/@acala-network/type-definitions/-/type-definitions-0.7.3.tgz#e03872a79a48a39e3055ce5fdf20adc6a9b7ca65" + integrity sha512-ZSlBgvUNBhVKCDKFrAoI8EMW3GUfEsmzbTzuXnT/CbI4fiTomiqyZ3LOCP7Mh+N6gkd58xr1nUHRzs8LZ1nsig== + dependencies: + "@open-web3/orml-type-definitions" "^0.9.3" + "@acala-network/types@5.1.2-7": version "5.1.2-7" resolved "https://registry.yarnpkg.com/@acala-network/types/-/types-5.1.2-7.tgz#08cbd1cba367b7ce27231b32d0f3f30d30708fbd" @@ -106,11 +117,6 @@ dependencies: "@acala-network/type-definitions" "5.1.2-7" -"@acala-network/types@^6.0.4": - version "6.1.2" - resolved "https://registry.yarnpkg.com/@acala-network/types/-/types-6.1.2.tgz#4ac815aeea1a986b4abf4aed246a23a0d53b2fef" - integrity sha512-MW3iTu6I9PeP9cYRz0zDCEYgj8uvb/AdTL9R/UJAnND7hIAVAcslGGG0LfbBDP3VPv2E6kV2r5lt6tSViHL91Q== - "@adobe/css-tools@^4.0.1": version "4.4.0" resolved "https://registry.yarnpkg.com/@adobe/css-tools/-/css-tools-4.4.0.tgz#728c484f4e10df03d5a3acd0d8adcbbebff8ad63" @@ -2793,6 +2799,11 @@ resolved "https://registry.yarnpkg.com/@open-web3/orml-type-definitions/-/orml-type-definitions-0.8.2-11.tgz#56358d371b63f83761234a7b1283ac9008e6dddd" integrity sha512-cUv5+mprnaGNt0tu3FhK1nFRBK7SGjPhA1O0nxWWeRmuuH5fjkr0glbHE9kcKuCBfsh7nt6NGwxwl9emQtUDSA== +"@open-web3/orml-type-definitions@^0.9.3": + version "0.9.3" + resolved "https://registry.yarnpkg.com/@open-web3/orml-type-definitions/-/orml-type-definitions-0.9.3.tgz#6bf2ff02c108fa0b4416798f27449f14b16f420f" + integrity sha512-Sq88InH7Ca5XbPP2xIzXaZukw0lHG9prpK/y/UA51owscJYQr1y3f6+x8qSUVXMQwowajtODKVVZr4a9wBWi/w== + "@open-web3/orml-type-definitions@^0.9.4-38", "@open-web3/orml-type-definitions@^0.9.4-7": version "0.9.4-38" resolved "https://registry.yarnpkg.com/@open-web3/orml-type-definitions/-/orml-type-definitions-0.9.4-38.tgz#fc7642f6a518da2618ae39fa76fe046ee57c1e80" @@ -3189,6 +3200,19 @@ rxjs "^7.8.1" tslib "^2.6.2" +"@polkadot/api-derive@4.17.1": + version "4.17.1" + resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-4.17.1.tgz#7902ab73159f89a4f1a896ce856dd7377318d275" + integrity sha512-mgq57F1yAiZjuiA0vrR2zWidyyd+mGe7Kbs4SxVeDWLsNbLc9+eASIfX7Hch2SDHIn3CQpv6DQqJH00uDfw9Lw== + dependencies: + "@babel/runtime" "^7.14.6" + "@polkadot/api" "4.17.1" + "@polkadot/rpc-core" "4.17.1" + "@polkadot/types" "4.17.1" + "@polkadot/util" "^6.11.1" + "@polkadot/util-crypto" "^6.11.1" + "@polkadot/x-rxjs" "^6.11.1" + "@polkadot/api-derive@7.15.1": version "7.15.1" resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-7.15.1.tgz#450542bb7d848013225d6c8480648340e5ee6a61" @@ -3313,6 +3337,24 @@ rxjs "^7.8.1" tslib "^2.6.2" +"@polkadot/api@4.17.1", "@polkadot/api@^4.0.3": + version "4.17.1" + resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-4.17.1.tgz#c9c8e7f5e33122aeb5b1345e43bc9579658720db" + integrity sha512-uuNIKWC+PjM+1AARRu4NLWOEudZE6DW8UOlaubx3uGhPywqPIP+HGWP2I6PqRGYKARBWxxOvca1Q7WoKzpYC8w== + dependencies: + "@babel/runtime" "^7.14.6" + "@polkadot/api-derive" "4.17.1" + "@polkadot/keyring" "^6.11.1" + "@polkadot/metadata" "4.17.1" + "@polkadot/rpc-core" "4.17.1" + "@polkadot/rpc-provider" "4.17.1" + "@polkadot/types" "4.17.1" + "@polkadot/types-known" "4.17.1" + "@polkadot/util" "^6.11.1" + "@polkadot/util-crypto" "^6.11.1" + "@polkadot/x-rxjs" "^6.11.1" + eventemitter3 "^4.0.7" + "@polkadot/api@7.15.1", "@polkadot/api@^7.2.1": version "7.15.1" resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-7.15.1.tgz#24eaeaa8ffbc6f30ff3d9846a816a18a688ceb8b" @@ -3451,7 +3493,7 @@ "@polkadot/util-crypto" "12.6.2" tslib "^2.6.2" -"@polkadot/keyring@^6.9.1": +"@polkadot/keyring@^6.11.1", "@polkadot/keyring@^6.9.1": version "6.11.1" resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-6.11.1.tgz#2510c349c965c74cc2f108f114f1048856940604" integrity sha512-rW8INl7pO6Dmaffd6Df1yAYCRWa2RmWQ0LGfJeA/M6seVIkI6J3opZqAd4q2Op+h9a7z4TESQGk8yggOEL+Csg== @@ -3660,6 +3702,18 @@ rxjs "^7.8.1" tslib "^2.6.2" +"@polkadot/rpc-core@4.17.1": + version "4.17.1" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-4.17.1.tgz#b9fa739fa98e4355fdc2b8d2b43b3a4b9d32dac4" + integrity sha512-1gqYaYuSSQsRmt3ol55jmjBP/euKyAh4PwSj94I2wu0fngK/FZwVZNDJZn/Ib68X/s38TBIgqJ6+YdUdr3z1xw== + dependencies: + "@babel/runtime" "^7.14.6" + "@polkadot/metadata" "4.17.1" + "@polkadot/rpc-provider" "4.17.1" + "@polkadot/types" "4.17.1" + "@polkadot/util" "^6.11.1" + "@polkadot/x-rxjs" "^6.11.1" + "@polkadot/rpc-core@7.15.1": version "7.15.1" resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-7.15.1.tgz#47855cf05bd2f8dbf87d9f1f77343114e61c664a" @@ -3764,6 +3818,20 @@ optionalDependencies: "@substrate/connect" "0.8.10" +"@polkadot/rpc-provider@4.17.1": + version "4.17.1" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-4.17.1.tgz#1f99b8365d0f76f714f613423e6a1832b5d833b3" + integrity sha512-vlU1H5mnfP0Ej8PbjcxwF9ZlT7LtcpekOKI4iYfMnfdelSUKUVyaD5PC8yRGIg9fxkorA6OM5AZs116jAl3TLA== + dependencies: + "@babel/runtime" "^7.14.6" + "@polkadot/types" "4.17.1" + "@polkadot/util" "^6.11.1" + "@polkadot/util-crypto" "^6.11.1" + "@polkadot/x-fetch" "^6.11.1" + "@polkadot/x-global" "^6.11.1" + "@polkadot/x-ws" "^6.11.1" + eventemitter3 "^4.0.7" + "@polkadot/rpc-provider@7.15.1": version "7.15.1" resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-7.15.1.tgz#a213de907a6f4f480c3c819aa95e4e60d4247f84" @@ -4166,7 +4234,7 @@ rxjs "^7.8.1" tslib "^2.6.2" -"@polkadot/types@4.17.1", "@polkadot/types@^4.13.1": +"@polkadot/types@4.17.1", "@polkadot/types@^4.0.3", "@polkadot/types@^4.13.1": version "4.17.1" resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-4.17.1.tgz#41d43621d53820ee930ba4036bfa8b16cf98ca6f" integrity sha512-rjW4OFdwvFekzN3ATLibC2JPSd8AWt5YepJhmuCPdwH26r3zB8bEC6dM7YQExLVUmygVPvgXk5ffHI6RAdXBMg== @@ -4602,6 +4670,16 @@ node-fetch "^3.3.2" tslib "^2.6.2" +"@polkadot/x-fetch@^6.11.1": + version "6.11.1" + resolved "https://registry.yarnpkg.com/@polkadot/x-fetch/-/x-fetch-6.11.1.tgz#97d44d78ef0285eec6f6dbc4006302308ec8e24c" + integrity sha512-qJyLLnm+4SQEZ002UDz2wWnXbnnH84rIS0mLKZ5k82H4lMYY+PQflvzv6sbu463e/lgiEao+6zvWS6DSKv1Yog== + dependencies: + "@babel/runtime" "^7.14.6" + "@polkadot/x-global" "6.11.1" + "@types/node-fetch" "^2.5.10" + node-fetch "^2.6.1" + "@polkadot/x-fetch@^8.7.1": version "8.7.1" resolved "https://registry.yarnpkg.com/@polkadot/x-fetch/-/x-fetch-8.7.1.tgz#dc866e7aa87c39b2e64c87f734b8fbaf1b9190e1" @@ -4626,7 +4704,7 @@ dependencies: tslib "^2.6.2" -"@polkadot/x-global@6.11.1": +"@polkadot/x-global@6.11.1", "@polkadot/x-global@^6.11.1": version "6.11.1" resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-6.11.1.tgz#c292b3825fea60e9b33fff1790323fc57de1ca5d" integrity sha512-lsBK/e4KbjfieyRmnPs7bTiGbP/6EoCZz7rqD/voNS5qsJAaXgB9LR+ilubun9gK/TDpebyxgO+J19OBiQPIRw== @@ -4794,6 +4872,16 @@ tslib "^2.6.2" ws "^8.15.1" +"@polkadot/x-ws@^6.11.1": + version "6.11.1" + resolved "https://registry.yarnpkg.com/@polkadot/x-ws/-/x-ws-6.11.1.tgz#338adc7309e3a8e660fce8eb42f975426da48d10" + integrity sha512-GNu4ywrMlVi0QF6QSpKwYWMK6JRK+kadgN/zEhMoH1z5h8LwpqDLv128j5WspWbQti2teCQtridjf7t2Lzoe8Q== + dependencies: + "@babel/runtime" "^7.14.6" + "@polkadot/x-global" "6.11.1" + "@types/websocket" "^1.0.3" + websocket "^1.0.34" + "@polkadot/x-ws@^8.7.1": version "8.7.1" resolved "https://registry.yarnpkg.com/@polkadot/x-ws/-/x-ws-8.7.1.tgz#501c63c575e04bba68bdc32448e2c9b692f0411e" @@ -6964,6 +7052,11 @@ resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.51.tgz#cfd70924a25a3fd32b218e5e420e6897e1ac4f40" integrity sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ== +"@types/events@^3.0.0": + version "3.0.3" + resolved "https://registry.yarnpkg.com/@types/events/-/events-3.0.3.tgz#a8ef894305af28d1fc6d2dfdfc98e899591ea529" + integrity sha512-trOc4AAUThEz9hapPtSd7wf5tiQKvTtu5b371UxXdTuqzIh0ArcRspRP0i0Viu+LXstIQ1z96t1nsPxT9ol01g== + "@types/glob@*": version "8.1.0" resolved "https://registry.yarnpkg.com/@types/glob/-/glob-8.1.0.tgz#b63e70155391b0584dce44e7ea25190bbc38f2fc" @@ -7094,7 +7187,7 @@ resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.5.tgz#ec10755e871497bcd83efe927e43ec46e8c0747e" integrity sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag== -"@types/node-fetch@^2.5.7", "@types/node-fetch@^2.6.1", "@types/node-fetch@^2.6.2": +"@types/node-fetch@^2.5.10", "@types/node-fetch@^2.5.7", "@types/node-fetch@^2.6.1", "@types/node-fetch@^2.6.2": version "2.6.11" resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.11.tgz#9b39b78665dae0e82a08f02f4967d62c66f95d24" integrity sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g== @@ -7359,7 +7452,7 @@ anymatch "^3.0.0" source-map "^0.6.0" -"@types/websocket@^1.0.5": +"@types/websocket@^1.0.3", "@types/websocket@^1.0.5": version "1.0.10" resolved "https://registry.yarnpkg.com/@types/websocket/-/websocket-1.0.10.tgz#804b1a02780da522f5742bc184a6d16a2eb78c7c" integrity sha512-svjGZvPB7EzuYS94cI7a+qhwgGU1y89wUgjT6E2wVUfmAGIvRfT7obBvRtnhXCSsoMdlG4gBFGE7MfkIXZLoww==