From 7086325e8fe5ae8d4e55672c2332848a7433ab84 Mon Sep 17 00:00:00 2001 From: Mario J Maurello Date: Wed, 21 Aug 2024 16:23:40 +0200 Subject: [PATCH 1/4] allow signed transaction in signAndSend to make ledger signing work --- packages/sdk/src/polkadot/PolkadotService.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/sdk/src/polkadot/PolkadotService.ts b/packages/sdk/src/polkadot/PolkadotService.ts index a71a984d..be8175fa 100644 --- a/packages/sdk/src/polkadot/PolkadotService.ts +++ b/packages/sdk/src/polkadot/PolkadotService.ts @@ -181,6 +181,7 @@ export class PolkadotService { { nonce: -1, signer: this.#isSigner(signer) ? signer : undefined, + withSignedTransaction: true, }, ); From 240262074c0b6c1dbca1ab945084bc8e4b66ed12 Mon Sep 17 00:00:00 2001 From: Mario J Maurello Date: Wed, 21 Aug 2024 16:24:12 +0200 Subject: [PATCH 2/4] add changeset --- .changeset/orange-games-report.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/orange-games-report.md diff --git a/.changeset/orange-games-report.md b/.changeset/orange-games-report.md new file mode 100644 index 00000000..a152e7c2 --- /dev/null +++ b/.changeset/orange-games-report.md @@ -0,0 +1,5 @@ +--- +'@moonbeam-network/xcm-sdk': patch +--- + +Allow signed transaction in signAndSend to make ledger signing work From a879f1ae32e97637d96686ed8bc1535c37614b9e Mon Sep 17 00:00:00 2001 From: Mario J Maurello Date: Wed, 21 Aug 2024 17:15:05 +0200 Subject: [PATCH 3/4] update polkadot versions --- package-lock.json | 334 +++++++++++++++++++----------------- package.json | 8 +- packages/utils/package.json | 4 +- 3 files changed, 180 insertions(+), 166 deletions(-) diff --git a/package-lock.json b/package-lock.json index 875dbe66..4ddaa025 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,10 +11,10 @@ "examples/*" ], "dependencies": { - "@polkadot/api": "^12.2.3", - "@polkadot/api-augment": "^12.2.3", - "@polkadot/apps-config": "^0.142.1", - "@polkadot/types": "^12.2.3", + "@polkadot/api": "^12.4.2", + "@polkadot/api-augment": "^12.4.2", + "@polkadot/apps-config": "^0.143.2", + "@polkadot/types": "^12.4.2", "@polkadot/util": "^13.0.2", "@polkadot/util-crypto": "^13.0.2" }, @@ -4485,144 +4485,148 @@ "optional": true }, "node_modules/@polkadot-api/json-rpc-provider-proxy": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/@polkadot-api/json-rpc-provider-proxy/-/json-rpc-provider-proxy-0.0.1.tgz", - "integrity": "sha512-gmVDUP8LpCH0BXewbzqXF2sdHddq1H1q+XrAW2of+KZj4woQkIGBRGTJHeBEVHe30EB+UejR1N2dT4PO/RvDdg==", + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@polkadot-api/json-rpc-provider-proxy/-/json-rpc-provider-proxy-0.1.0.tgz", + "integrity": "sha512-8GSFE5+EF73MCuLQm8tjrbCqlgclcHBSRaswvXziJ0ZW7iw3UEMsKkkKvELayWyBuOPa2T5i1nj6gFOeIsqvrg==", "license": "MIT", "optional": true }, "node_modules/@polkadot-api/metadata-builders": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/@polkadot-api/metadata-builders/-/metadata-builders-0.0.1.tgz", - "integrity": "sha512-GCI78BHDzXAF/L2pZD6Aod/yl82adqQ7ftNmKg51ixRL02JpWUA+SpUKTJE5MY1p8kiJJIo09P2um24SiJHxNA==", + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@polkadot-api/metadata-builders/-/metadata-builders-0.3.2.tgz", + "integrity": "sha512-TKpfoT6vTb+513KDzMBTfCb/ORdgRnsS3TDFpOhAhZ08ikvK+hjHMt5plPiAX/OWkm1Wc9I3+K6W0hX5Ab7MVg==", "license": "MIT", "optional": true, "dependencies": { - "@polkadot-api/substrate-bindings": "0.0.1", - "@polkadot-api/utils": "0.0.1" + "@polkadot-api/substrate-bindings": "0.6.0", + "@polkadot-api/utils": "0.1.0" } }, "node_modules/@polkadot-api/observable-client": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@polkadot-api/observable-client/-/observable-client-0.1.0.tgz", - "integrity": "sha512-GBCGDRztKorTLna/unjl/9SWZcRmvV58o9jwU2Y038VuPXZcr01jcw/1O3x+yeAuwyGzbucI/mLTDa1QoEml3A==", + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@polkadot-api/observable-client/-/observable-client-0.3.2.tgz", + "integrity": "sha512-HGgqWgEutVyOBXoGOPp4+IAq6CNdK/3MfQJmhCJb8YaJiaK4W6aRGrdQuQSTPHfERHCARt9BrOmEvTXAT257Ug==", "license": "MIT", "optional": true, "dependencies": { - "@polkadot-api/metadata-builders": "0.0.1", - "@polkadot-api/substrate-bindings": "0.0.1", - "@polkadot-api/substrate-client": "0.0.1", - "@polkadot-api/utils": "0.0.1" + "@polkadot-api/metadata-builders": "0.3.2", + "@polkadot-api/substrate-bindings": "0.6.0", + "@polkadot-api/utils": "0.1.0" }, "peerDependencies": { + "@polkadot-api/substrate-client": "0.1.4", "rxjs": ">=7.8.0" } }, "node_modules/@polkadot-api/substrate-bindings": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-bindings/-/substrate-bindings-0.0.1.tgz", - "integrity": "sha512-bAe7a5bOPnuFVmpv7y4BBMRpNTnMmE0jtTqRUw/+D8ZlEHNVEJQGr4wu3QQCl7k1GnSV1wfv3mzIbYjErEBocg==", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-bindings/-/substrate-bindings-0.6.0.tgz", + "integrity": "sha512-lGuhE74NA1/PqdN7fKFdE5C1gNYX357j1tWzdlPXI0kQ7h3kN0zfxNOpPUN7dIrPcOFZ6C0tRRVrBylXkI6xPw==", "license": "MIT", "optional": true, "dependencies": { "@noble/hashes": "^1.3.1", - "@polkadot-api/utils": "0.0.1", + "@polkadot-api/utils": "0.1.0", "@scure/base": "^1.1.1", "scale-ts": "^1.6.0" } }, "node_modules/@polkadot-api/substrate-client": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-client/-/substrate-client-0.0.1.tgz", - "integrity": "sha512-9Bg9SGc3AwE+wXONQoW8GC00N3v6lCZLW74HQzqB6ROdcm5VAHM4CB/xRzWSUF9CXL78ugiwtHx3wBcpx4H4Wg==", + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-client/-/substrate-client-0.1.4.tgz", + "integrity": "sha512-MljrPobN0ZWTpn++da9vOvt+Ex+NlqTlr/XT7zi9sqPtDJiQcYl+d29hFAgpaeTqbeQKZwz3WDE9xcEfLE8c5A==", "license": "MIT", - "optional": true + "optional": true, + "dependencies": { + "@polkadot-api/json-rpc-provider": "0.0.1", + "@polkadot-api/utils": "0.1.0" + } }, "node_modules/@polkadot-api/utils": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/@polkadot-api/utils/-/utils-0.0.1.tgz", - "integrity": "sha512-3j+pRmlF9SgiYDabSdZsBSsN5XHbpXOAce1lWj56IEEaFZVjsiCaxDOA7C9nCcgfVXuvnbxqqEGQvnY+QfBAUw==", + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@polkadot-api/utils/-/utils-0.1.0.tgz", + "integrity": "sha512-MXzWZeuGxKizPx2Xf/47wx9sr/uxKw39bVJUptTJdsaQn/TGq+z310mHzf1RCGvC1diHM8f593KrnDgc9oNbJA==", "license": "MIT", "optional": true }, "node_modules/@polkadot/api": { - "version": "12.2.3", - "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-12.2.3.tgz", - "integrity": "sha512-qpC29Uq0JZh/7Spcvmw+jUREG/ZYeb7miGUKomqHqU1hwBvyk9bqy7Vr10g3Hh0bkl5nP29YmnrLrG0NG+EtPg==", + "version": "12.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-12.4.2.tgz", + "integrity": "sha512-e1KS048471iBWZU10TJNEYOZqLO+8h8ajmVqpaIBOVkamN7tmacBxmHgq0+IA8VrGxjxtYNa1xF5Sqrg76uBEg==", "license": "Apache-2.0", "dependencies": { - "@polkadot/api-augment": "12.2.3", - "@polkadot/api-base": "12.2.3", - "@polkadot/api-derive": "12.2.3", + "@polkadot/api-augment": "12.4.2", + "@polkadot/api-base": "12.4.2", + "@polkadot/api-derive": "12.4.2", "@polkadot/keyring": "^13.0.2", - "@polkadot/rpc-augment": "12.2.3", - "@polkadot/rpc-core": "12.2.3", - "@polkadot/rpc-provider": "12.2.3", - "@polkadot/types": "12.2.3", - "@polkadot/types-augment": "12.2.3", - "@polkadot/types-codec": "12.2.3", - "@polkadot/types-create": "12.2.3", - "@polkadot/types-known": "12.2.3", + "@polkadot/rpc-augment": "12.4.2", + "@polkadot/rpc-core": "12.4.2", + "@polkadot/rpc-provider": "12.4.2", + "@polkadot/types": "12.4.2", + "@polkadot/types-augment": "12.4.2", + "@polkadot/types-codec": "12.4.2", + "@polkadot/types-create": "12.4.2", + "@polkadot/types-known": "12.4.2", "@polkadot/util": "^13.0.2", "@polkadot/util-crypto": "^13.0.2", "eventemitter3": "^5.0.1", "rxjs": "^7.8.1", - "tslib": "^2.6.2" + "tslib": "^2.6.3" }, "engines": { "node": ">=18" } }, "node_modules/@polkadot/api-augment": { - "version": "12.2.3", - "resolved": "https://registry.npmjs.org/@polkadot/api-augment/-/api-augment-12.2.3.tgz", - "integrity": "sha512-w3FYQAzVzZuD1xAUGwEeEftJr5N5oYigItrWkEc3nk+I3wUjNuHNlab3hCJZslRlHrE2zYVK5mGDDZYVPyn86Q==", + "version": "12.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/api-augment/-/api-augment-12.4.2.tgz", + "integrity": "sha512-BkG2tQpUUO0iUm65nSqP8hwHkNfN8jQw8apqflJNt9H8EkEL6v7sqwbLvGqtlxM9wzdxbg7lrWp3oHg4rOP31g==", "license": "Apache-2.0", "dependencies": { - "@polkadot/api-base": "12.2.3", - "@polkadot/rpc-augment": "12.2.3", - "@polkadot/types": "12.2.3", - "@polkadot/types-augment": "12.2.3", - "@polkadot/types-codec": "12.2.3", + "@polkadot/api-base": "12.4.2", + "@polkadot/rpc-augment": "12.4.2", + "@polkadot/types": "12.4.2", + "@polkadot/types-augment": "12.4.2", + "@polkadot/types-codec": "12.4.2", "@polkadot/util": "^13.0.2", - "tslib": "^2.6.2" + "tslib": "^2.6.3" }, "engines": { "node": ">=18" } }, "node_modules/@polkadot/api-base": { - "version": "12.2.3", - "resolved": "https://registry.npmjs.org/@polkadot/api-base/-/api-base-12.2.3.tgz", - "integrity": "sha512-fUJt3+uvBViwjz5tiiEE1VQkcDiXLzAPdex2OeECXopNnHt9gq8n6dS2arBzfG2eEDv/viCyjggj0wcSaV2yUg==", + "version": "12.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/api-base/-/api-base-12.4.2.tgz", + "integrity": "sha512-XYI7Po8i6C4lYZah7Xo0v7zOAawBUfkmtx0YxsLY/665Sup8oqzEj666xtV9qjBzR9coNhQonIFOn+9fh27Ncw==", "license": "Apache-2.0", "dependencies": { - "@polkadot/rpc-core": "12.2.3", - "@polkadot/types": "12.2.3", + "@polkadot/rpc-core": "12.4.2", + "@polkadot/types": "12.4.2", "@polkadot/util": "^13.0.2", "rxjs": "^7.8.1", - "tslib": "^2.6.2" + "tslib": "^2.6.3" }, "engines": { "node": ">=18" } }, "node_modules/@polkadot/api-derive": { - "version": "12.2.3", - "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-12.2.3.tgz", - "integrity": "sha512-zcQOuLoBeYXTMr2r9oPQiIJ7t4997eoQ1yM76KK2/2KTESKfJHus6nA0IK9fDk+c5vIdFKd/BJ0UukQ1AJiLLA==", + "version": "12.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-12.4.2.tgz", + "integrity": "sha512-R0AMANEnqs5AiTaiQX2FXCxUlOibeDSgqlkyG1/0KDsdr6PO/l3dJOgEO+grgAwh4hdqzk4I9uQpdKxG83f2Gw==", "license": "Apache-2.0", "dependencies": { - "@polkadot/api": "12.2.3", - "@polkadot/api-augment": "12.2.3", - "@polkadot/api-base": "12.2.3", - "@polkadot/rpc-core": "12.2.3", - "@polkadot/types": "12.2.3", - "@polkadot/types-codec": "12.2.3", + "@polkadot/api": "12.4.2", + "@polkadot/api-augment": "12.4.2", + "@polkadot/api-base": "12.4.2", + "@polkadot/rpc-core": "12.4.2", + "@polkadot/types": "12.4.2", + "@polkadot/types-codec": "12.4.2", "@polkadot/util": "^13.0.2", "@polkadot/util-crypto": "^13.0.2", "rxjs": "^7.8.1", - "tslib": "^2.6.2" + "tslib": "^2.6.3" }, "engines": { "node": ">=18" @@ -4647,9 +4651,9 @@ } }, "node_modules/@polkadot/apps-config": { - "version": "0.142.1", - "resolved": "https://registry.npmjs.org/@polkadot/apps-config/-/apps-config-0.142.1.tgz", - "integrity": "sha512-423JNmdoB9RCdAQ08wBXZzi6L4MumjdzQXLiVLfqtw7kZVEHfT4eM8t6ZxYR2i4Rm7Uen19t3SUmcGkBDS3EEw==", + "version": "0.143.2", + "resolved": "https://registry.npmjs.org/@polkadot/apps-config/-/apps-config-0.143.2.tgz", + "integrity": "sha512-b+l1GpJ6x68h3m1hWWeO6dbsPjY/PtR8mdaDjxHt0CuWf3bUpZQLjPUrAHPtpuJ3DxwbJY+ALK1grMA3JeuchQ==", "license": "Apache-2.0", "dependencies": { "@acala-network/type-definitions": "5.1.2", @@ -4673,12 +4677,12 @@ "@peaqnetwork/type-definitions": "0.0.4", "@pendulum-chain/type-definitions": "0.3.8", "@phala/typedefs": "0.2.33", - "@polkadot/api": "^12.2.1", - "@polkadot/api-derive": "^12.2.1", + "@polkadot/api": "^12.4.2", + "@polkadot/api-derive": "^12.4.2", "@polkadot/networks": "^13.0.2", - "@polkadot/react-identicon": "^3.7.1", - "@polkadot/types": "^12.2.1", - "@polkadot/types-codec": "^12.2.1", + "@polkadot/react-identicon": "^3.9.1", + "@polkadot/types": "^12.4.2", + "@polkadot/types-codec": "^12.4.2", "@polkadot/util": "^13.0.2", "@polkadot/util-crypto": "^13.0.2", "@polkadot/wasm-util": "^7.3.2", @@ -5141,14 +5145,14 @@ } }, "node_modules/@polkadot/react-identicon": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/@polkadot/react-identicon/-/react-identicon-3.7.1.tgz", - "integrity": "sha512-0AlUqDL+8wjmkPs/xLyY0OwNeOzJuuPA4GvRMBMW2eaeSNkNH1Qr0j2owX80CVnSFCyOylkLp6wftzS7u97uKA==", + "version": "3.9.1", + "resolved": "https://registry.npmjs.org/@polkadot/react-identicon/-/react-identicon-3.9.1.tgz", + "integrity": "sha512-4cMGPNc3KZdaEqZbrhfvuwPg4jXT29hIadBjKVbyQZAuJzwzcIiFpr9JvQ8fLHE1elFr5dbQqGsHB/iZRyzhyw==", "license": "Apache-2.0", "dependencies": { "@polkadot/keyring": "^13.0.2", - "@polkadot/ui-settings": "3.7.1", - "@polkadot/ui-shared": "3.7.1", + "@polkadot/ui-settings": "3.9.1", + "@polkadot/ui-shared": "3.9.1", "@polkadot/util": "^13.0.2", "@polkadot/util-crypto": "^13.0.2", "ethereum-blockies-base64": "^1.0.2", @@ -5188,47 +5192,47 @@ } }, "node_modules/@polkadot/rpc-augment": { - "version": "12.2.3", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-augment/-/rpc-augment-12.2.3.tgz", - "integrity": "sha512-3V+Xp5cGb8hA0YZ4V4jXdC0POZGirQ63DkUnypmq86Fa1A7NCuVgD+s9ayOc8kNUMuKJIRKr3cLTj97S6f15lw==", + "version": "12.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-augment/-/rpc-augment-12.4.2.tgz", + "integrity": "sha512-IEco5pnso+fYkZNMlMAN5i4XAxdXPv0PZ0HNuWlCwF/MmRvWl8pq5JFtY1FiByHEbeuHwMIUhHM5SDKQ85q9Hg==", "license": "Apache-2.0", "dependencies": { - "@polkadot/rpc-core": "12.2.3", - "@polkadot/types": "12.2.3", - "@polkadot/types-codec": "12.2.3", + "@polkadot/rpc-core": "12.4.2", + "@polkadot/types": "12.4.2", + "@polkadot/types-codec": "12.4.2", "@polkadot/util": "^13.0.2", - "tslib": "^2.6.2" + "tslib": "^2.6.3" }, "engines": { "node": ">=18" } }, "node_modules/@polkadot/rpc-core": { - "version": "12.2.3", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-12.2.3.tgz", - "integrity": "sha512-XJyPpwYBe+ijlivEKcRYRlQ5vx/CUXG0PZ23/TLKMRNlh5BVAC4HK/4dzBmOc3FT0ulOMbu7/TH+mk7ppQHrKg==", + "version": "12.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-12.4.2.tgz", + "integrity": "sha512-yaveqxNcmyluyNgsBT5tpnCa/md0CGbOtRK7K82LWsz7gsbh0x80GBbJrQGxsUybg1gPeZbO1q9IigwA6fY8ag==", "license": "Apache-2.0", "dependencies": { - "@polkadot/rpc-augment": "12.2.3", - "@polkadot/rpc-provider": "12.2.3", - "@polkadot/types": "12.2.3", + "@polkadot/rpc-augment": "12.4.2", + "@polkadot/rpc-provider": "12.4.2", + "@polkadot/types": "12.4.2", "@polkadot/util": "^13.0.2", "rxjs": "^7.8.1", - "tslib": "^2.6.2" + "tslib": "^2.6.3" }, "engines": { "node": ">=18" } }, "node_modules/@polkadot/rpc-provider": { - "version": "12.2.3", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-12.2.3.tgz", - "integrity": "sha512-hzw6YGV+3daU49rsEPmdl/UDupAmc3lqBYN2gj7lxQCMSqYjBr0Pj1ScGJJXzlR8ZyiY97e/TGIW13W6ivmIGQ==", + "version": "12.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-12.4.2.tgz", + "integrity": "sha512-cAhfN937INyxwW1AdjABySdCKhC7QCIONRDHDea1aLpiuxq/w+QwjxauR9fCNGh3lTaAwwnmZ5WfFU2PtkDMGQ==", "license": "Apache-2.0", "dependencies": { "@polkadot/keyring": "^13.0.2", - "@polkadot/types": "12.2.3", - "@polkadot/types-support": "12.2.3", + "@polkadot/types": "12.4.2", + "@polkadot/types-support": "12.4.2", "@polkadot/util": "^13.0.2", "@polkadot/util-crypto": "^13.0.2", "@polkadot/x-fetch": "^13.0.2", @@ -5236,14 +5240,14 @@ "@polkadot/x-ws": "^13.0.2", "eventemitter3": "^5.0.1", "mock-socket": "^9.3.1", - "nock": "^13.5.0", - "tslib": "^2.6.2" + "nock": "^13.5.4", + "tslib": "^2.6.3" }, "engines": { "node": ">=18" }, "optionalDependencies": { - "@substrate/connect": "0.8.10" + "@substrate/connect": "0.8.11" } }, "node_modules/@polkadot/rpc-provider/node_modules/@polkadot/keyring": { @@ -5323,48 +5327,48 @@ } }, "node_modules/@polkadot/types": { - "version": "12.2.3", - "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-12.2.3.tgz", - "integrity": "sha512-p6y3WdZBvdgT5+m+gvPaHXUaei1DQjMI9BxhzHS5FfOvDMSDf0uBacamtRmkdII5bJuUgGBYG9BjHic8yWu0/g==", + "version": "12.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-12.4.2.tgz", + "integrity": "sha512-ivYtt7hYcRvo69ULb1BJA9BE1uefijXcaR089Dzosr9+sMzvsB1yslNQReOq+Wzq6h6AQj4qex6qVqjWZE6Z4A==", "license": "Apache-2.0", "dependencies": { "@polkadot/keyring": "^13.0.2", - "@polkadot/types-augment": "12.2.3", - "@polkadot/types-codec": "12.2.3", - "@polkadot/types-create": "12.2.3", + "@polkadot/types-augment": "12.4.2", + "@polkadot/types-codec": "12.4.2", + "@polkadot/types-create": "12.4.2", "@polkadot/util": "^13.0.2", "@polkadot/util-crypto": "^13.0.2", "rxjs": "^7.8.1", - "tslib": "^2.6.2" + "tslib": "^2.6.3" }, "engines": { "node": ">=18" } }, "node_modules/@polkadot/types-augment": { - "version": "12.2.3", - "resolved": "https://registry.npmjs.org/@polkadot/types-augment/-/types-augment-12.2.3.tgz", - "integrity": "sha512-RLHWl4TIgJqWFuGDgstKTYqB7EWGx4oJ5nzIdKCQgYAeOi+LFYXyZjE2ffhmX258VPsSXu4syeQpcBIEWns8kA==", + "version": "12.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-augment/-/types-augment-12.4.2.tgz", + "integrity": "sha512-3fDCOy2BEMuAtMYl4crKg76bv/0pDNEuzpAzV4EBUMIlJwypmjy5sg3gUPCMcA+ckX3xb8DhkWU4ceUdS7T2KQ==", "license": "Apache-2.0", "dependencies": { - "@polkadot/types": "12.2.3", - "@polkadot/types-codec": "12.2.3", + "@polkadot/types": "12.4.2", + "@polkadot/types-codec": "12.4.2", "@polkadot/util": "^13.0.2", - "tslib": "^2.6.2" + "tslib": "^2.6.3" }, "engines": { "node": ">=18" } }, "node_modules/@polkadot/types-codec": { - "version": "12.2.3", - "resolved": "https://registry.npmjs.org/@polkadot/types-codec/-/types-codec-12.2.3.tgz", - "integrity": "sha512-oBHAEXyAMZ6ghEEgKW95cc4OFdkxiRKazx18Dk433sWk2HGkwGoKd9uK6xdelMgO1EnbBzZwc2epOhKH7rTEmQ==", + "version": "12.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-codec/-/types-codec-12.4.2.tgz", + "integrity": "sha512-DiPGRFWtVMepD9i05eC3orSbGtpN7un/pXOrXu0oriU+oxLkpvZH68ZsPNtJhKdQy03cAYtvB8elJOFJZYqoqQ==", "license": "Apache-2.0", "dependencies": { "@polkadot/util": "^13.0.2", "@polkadot/x-bigint": "^13.0.2", - "tslib": "^2.6.2" + "tslib": "^2.6.3" }, "engines": { "node": ">=18" @@ -5396,31 +5400,31 @@ } }, "node_modules/@polkadot/types-create": { - "version": "12.2.3", - "resolved": "https://registry.npmjs.org/@polkadot/types-create/-/types-create-12.2.3.tgz", - "integrity": "sha512-4XR04QFgKeHZEj7NyBK3A55EgzmGZtC175Hbq5y3+j8XV84amOOhVqj7gDQqnSyRMAtl7+HSsfpx3+Loh+4l+g==", + "version": "12.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-create/-/types-create-12.4.2.tgz", + "integrity": "sha512-nOpeAKZLdSqNMfzS3waQXgyPPaNt8rUHEmR5+WNv6c/Ke/vyf710wjxiTewfp0wpBgtdrimlgG4DLX1J9Ms1LA==", "license": "Apache-2.0", "dependencies": { - "@polkadot/types-codec": "12.2.3", + "@polkadot/types-codec": "12.4.2", "@polkadot/util": "^13.0.2", - "tslib": "^2.6.2" + "tslib": "^2.6.3" }, "engines": { "node": ">=18" } }, "node_modules/@polkadot/types-known": { - "version": "12.2.3", - "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-12.2.3.tgz", - "integrity": "sha512-hB3fBlZ51dBaGRJf6ParvoqCSig9ovqjDgpFwysewXsc74GRoPPR7RQFw/hITxwdKL5ldyTZnBIGBxROiF86Tg==", + "version": "12.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-12.4.2.tgz", + "integrity": "sha512-bvhO4KQu/dgPmdwQXsweSMRiRisJ7Bp38lZVEIFykfd2qYyRW3OQEbIPKYpx9raD+fDATU0bTiKQnELrSGhYXw==", "license": "Apache-2.0", "dependencies": { "@polkadot/networks": "^13.0.2", - "@polkadot/types": "12.2.3", - "@polkadot/types-codec": "12.2.3", - "@polkadot/types-create": "12.2.3", + "@polkadot/types": "12.4.2", + "@polkadot/types-codec": "12.4.2", + "@polkadot/types-create": "12.4.2", "@polkadot/util": "^13.0.2", - "tslib": "^2.6.2" + "tslib": "^2.6.3" }, "engines": { "node": ">=18" @@ -5441,13 +5445,13 @@ } }, "node_modules/@polkadot/types-support": { - "version": "12.2.3", - "resolved": "https://registry.npmjs.org/@polkadot/types-support/-/types-support-12.2.3.tgz", - "integrity": "sha512-/YVZ0j126el/5e/BTrhw1SuDmlyV394zKak7LkYcAJ8IyDmT53cajMK2TQe03uVsE/vveligkYmJ24IEjZ+DRg==", + "version": "12.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-support/-/types-support-12.4.2.tgz", + "integrity": "sha512-bz6JSt23UEZ2eXgN4ust6z5QF9pO5uNH7UzCP+8I/Nm85ZipeBYj2Wu6pLlE3Hw30hWZpuPxMDOKoEhN5bhLgw==", "license": "Apache-2.0", "dependencies": { "@polkadot/util": "^13.0.2", - "tslib": "^2.6.2" + "tslib": "^2.6.3" }, "engines": { "node": ">=18" @@ -5472,9 +5476,9 @@ } }, "node_modules/@polkadot/ui-settings": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/@polkadot/ui-settings/-/ui-settings-3.7.1.tgz", - "integrity": "sha512-0O+pGJH246AF93oIJiVS+FoCR1i2r7q+oLteGKzQYw9lTflCFbjgeRkqzR9ys8unrEFd63YfwGnB4ctkf1FzRg==", + "version": "3.9.1", + "resolved": "https://registry.npmjs.org/@polkadot/ui-settings/-/ui-settings-3.9.1.tgz", + "integrity": "sha512-G6WYluS3oE9wiK4KLK1Hi+lr0ZII65x7EcmRoqaR5BBKAr2cBnLAOfBiK5gUchntY7cw1ukXRmcCJmNmCFvwzg==", "license": "Apache-2.0", "dependencies": { "@polkadot/networks": "^13.0.2", @@ -5506,9 +5510,9 @@ } }, "node_modules/@polkadot/ui-shared": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/@polkadot/ui-shared/-/ui-shared-3.7.1.tgz", - "integrity": "sha512-fnKkw1SfzEsfeXTWsTHiU3z4NNdjOzzRG/Ex70LVs/gFAH2DFUVR0BEDkSEtNQkr8YjwKXudM7r2hsYq3MULLw==", + "version": "3.9.1", + "resolved": "https://registry.npmjs.org/@polkadot/ui-shared/-/ui-shared-3.9.1.tgz", + "integrity": "sha512-bg7t4NKy2yyuK/0h1ahTJiK2Ooe1b+qNmkPfcY3b96o9lgzPiUPYFLg+pVIS/Cu3lULd0dzZEqi4IPl63tAt+w==", "license": "Apache-2.0", "dependencies": { "colord": "^2.9.3", @@ -6738,17 +6742,17 @@ } }, "node_modules/@substrate/connect": { - "version": "0.8.10", - "resolved": "https://registry.npmjs.org/@substrate/connect/-/connect-0.8.10.tgz", - "integrity": "sha512-DIyQ13DDlXqVFnLV+S6/JDgiGowVRRrh18kahieJxhgvzcWicw5eLc6jpfQ0moVVLBYkO7rctB5Wreldwpva8w==", + "version": "0.8.11", + "resolved": "https://registry.npmjs.org/@substrate/connect/-/connect-0.8.11.tgz", + "integrity": "sha512-ofLs1PAO9AtDdPbdyTYj217Pe+lBfTLltdHDs3ds8no0BseoLeAGxpz1mHfi7zB4IxI3YyAiLjH6U8cw4pj4Nw==", "deprecated": "versions below 1.x are no longer maintained", "license": "GPL-3.0-only", "optional": true, "dependencies": { "@substrate/connect-extension-protocol": "^2.0.0", - "@substrate/connect-known-chains": "^1.1.4", - "@substrate/light-client-extension-helpers": "^0.0.6", - "smoldot": "2.0.22" + "@substrate/connect-known-chains": "^1.1.5", + "@substrate/light-client-extension-helpers": "^1.0.0", + "smoldot": "2.0.26" } }, "node_modules/@substrate/connect-extension-protocol": { @@ -6763,19 +6767,29 @@ "integrity": "sha512-GCdDMs5q9xDYyP/KEwrlWMdqv8OIPjuVMZvNowvUrvEFo5d+x+VqfRPzyl/RbV+snRQVWTTacRydE7GqyjCYPQ==", "optional": true }, + "node_modules/@substrate/connect/node_modules/smoldot": { + "version": "2.0.26", + "resolved": "https://registry.npmjs.org/smoldot/-/smoldot-2.0.26.tgz", + "integrity": "sha512-F+qYmH4z2s2FK+CxGj8moYcd1ekSIKH8ywkdqlOz88Dat35iB1DIYL11aILN46YSGMzQW/lbJNS307zBSDN5Ig==", + "license": "GPL-3.0-or-later WITH Classpath-exception-2.0", + "optional": true, + "dependencies": { + "ws": "^8.8.1" + } + }, "node_modules/@substrate/light-client-extension-helpers": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/@substrate/light-client-extension-helpers/-/light-client-extension-helpers-0.0.6.tgz", - "integrity": "sha512-girltEuxQ1BvkJWmc8JJlk4ZxnlGXc/wkLcNguhY+UoDEMBK0LsdtfzQKIfrIehi4QdeSBlFEFBoI4RqPmsZzA==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@substrate/light-client-extension-helpers/-/light-client-extension-helpers-1.0.0.tgz", + "integrity": "sha512-TdKlni1mBBZptOaeVrKnusMg/UBpWUORNDv5fdCaJklP4RJiFOzBCrzC+CyVI5kQzsXBisZ+2pXm+rIjS38kHg==", "license": "MIT", "optional": true, "dependencies": { - "@polkadot-api/json-rpc-provider": "0.0.1", - "@polkadot-api/json-rpc-provider-proxy": "0.0.1", - "@polkadot-api/observable-client": "0.1.0", - "@polkadot-api/substrate-client": "0.0.1", + "@polkadot-api/json-rpc-provider": "^0.0.1", + "@polkadot-api/json-rpc-provider-proxy": "^0.1.0", + "@polkadot-api/observable-client": "^0.3.0", + "@polkadot-api/substrate-client": "^0.1.2", "@substrate/connect-extension-protocol": "^2.0.0", - "@substrate/connect-known-chains": "^1.1.4", + "@substrate/connect-known-chains": "^1.1.5", "rxjs": "^7.8.1" }, "peerDependencies": { @@ -19575,8 +19589,8 @@ "@types/big.js": "^6.2.2" }, "peerDependencies": { - "@polkadot/api": "^12.2.3", - "@polkadot/apps-config": "^0.142.1", + "@polkadot/api": "^12.4.2", + "@polkadot/apps-config": "^0.143.1", "@polkadot/util": "^13.0.2" } }, diff --git a/package.json b/package.json index 13ae3486..72daabf2 100644 --- a/package.json +++ b/package.json @@ -37,10 +37,10 @@ "changeset:publish": "npm run build && changeset publish" }, "dependencies": { - "@polkadot/api": "^12.2.3", - "@polkadot/api-augment": "^12.2.3", - "@polkadot/apps-config": "^0.142.1", - "@polkadot/types": "^12.2.3", + "@polkadot/api": "^12.4.2", + "@polkadot/api-augment": "^12.4.2", + "@polkadot/apps-config": "^0.143.2", + "@polkadot/types": "^12.4.2", "@polkadot/util": "^13.0.2", "@polkadot/util-crypto": "^13.0.2" }, diff --git a/packages/utils/package.json b/packages/utils/package.json index 80a523bc..5d048d1a 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -57,8 +57,8 @@ "@types/big.js": "^6.2.2" }, "peerDependencies": { - "@polkadot/api": "^12.2.3", - "@polkadot/apps-config": "^0.142.1", + "@polkadot/api": "^12.4.2", + "@polkadot/apps-config": "^0.143.1", "@polkadot/util": "^13.0.2" } } From 0f6e9d51c577a99f5c84b94c68a887a3c4c35ce2 Mon Sep 17 00:00:00 2001 From: Mario J Maurello Date: Wed, 21 Aug 2024 17:16:57 +0200 Subject: [PATCH 4/4] updated changeset --- .changeset/{orange-games-report.md => neat-beds-look.md} | 2 ++ 1 file changed, 2 insertions(+) rename .changeset/{orange-games-report.md => neat-beds-look.md} (59%) diff --git a/.changeset/orange-games-report.md b/.changeset/neat-beds-look.md similarity index 59% rename from .changeset/orange-games-report.md rename to .changeset/neat-beds-look.md index a152e7c2..bb2111e2 100644 --- a/.changeset/orange-games-report.md +++ b/.changeset/neat-beds-look.md @@ -1,4 +1,6 @@ --- +'@moonbeam-network/xcm-config': patch +'@moonbeam-network/xcm-utils': patch '@moonbeam-network/xcm-sdk': patch ---