diff --git a/.changeset/dependencies-GH-2591.md b/.changeset/dependencies-GH-2591.md new file mode 100644 index 000000000..a6ed500ca --- /dev/null +++ b/.changeset/dependencies-GH-2591.md @@ -0,0 +1,99 @@ +--- +"@substrate/light-client-extension-helpers": patch +"@substrate/extension": patch +"@substrate/wallet-template": patch +--- + +chore(deps): bump the polkadot-api group with 8 updates + +Bumps the polkadot-api group with 8 updates: + +| Package | From | To | +| --- | --- | --- | +| [@polkadot-api/codegen](https://github.com/polkadot-api/polkadot-api) | `0.12.10` | `0.12.11` | +| [@polkadot-api/metadata-builders](https://github.com/polkadot-api/polkadot-api) | `0.9.2` | `0.9.3` | +| [@polkadot-api/metadata-compatibility](https://github.com/polkadot-api/polkadot-api) | `0.1.12` | `0.1.13` | +| [@polkadot-api/observable-client](https://github.com/polkadot-api/polkadot-api) | `0.6.3` | `0.6.4` | +| [@polkadot-api/signer](https://github.com/polkadot-api/polkadot-api) | `0.1.11` | `0.1.12` | +| [@polkadot-api/substrate-bindings](https://github.com/polkadot-api/polkadot-api) | `0.9.4` | `0.10.0` | +| [@polkadot-api/view-builder](https://github.com/polkadot-api/polkadot-api) | `0.3.12` | `0.4.0` | +| [polkadot-api](https://github.com/polkadot-api/polkadot-api) | `1.7.7` | `1.7.8` | + + +Updates `@polkadot-api/codegen` from 0.12.10 to 0.12.11 +- [Release notes](https://github.com/polkadot-api/polkadot-api/releases) +- [Changelog](https://github.com/polkadot-api/polkadot-api/blob/main/NEWS.md) +- [Commits](https://github.com/polkadot-api/polkadot-api/commits) + +Updates `@polkadot-api/metadata-builders` from 0.9.2 to 0.9.3 +- [Release notes](https://github.com/polkadot-api/polkadot-api/releases) +- [Changelog](https://github.com/polkadot-api/polkadot-api/blob/main/NEWS.md) +- [Commits](https://github.com/polkadot-api/polkadot-api/commits) + +Updates `@polkadot-api/metadata-compatibility` from 0.1.12 to 0.1.13 +- [Release notes](https://github.com/polkadot-api/polkadot-api/releases) +- [Changelog](https://github.com/polkadot-api/polkadot-api/blob/main/NEWS.md) +- [Commits](https://github.com/polkadot-api/polkadot-api/commits) + +Updates `@polkadot-api/observable-client` from 0.6.3 to 0.6.4 +- [Release notes](https://github.com/polkadot-api/polkadot-api/releases) +- [Changelog](https://github.com/polkadot-api/polkadot-api/blob/main/NEWS.md) +- [Commits](https://github.com/polkadot-api/polkadot-api/commits) + +Updates `@polkadot-api/signer` from 0.1.11 to 0.1.12 +- [Release notes](https://github.com/polkadot-api/polkadot-api/releases) +- [Changelog](https://github.com/polkadot-api/polkadot-api/blob/main/NEWS.md) +- [Commits](https://github.com/polkadot-api/polkadot-api/commits) + +Updates `@polkadot-api/substrate-bindings` from 0.9.4 to 0.10.0 +- [Release notes](https://github.com/polkadot-api/polkadot-api/releases) +- [Changelog](https://github.com/polkadot-api/polkadot-api/blob/main/NEWS.md) +- [Commits](https://github.com/polkadot-api/polkadot-api/commits/polkadot-api@0.10.0) + +Updates `@polkadot-api/view-builder` from 0.3.12 to 0.4.0 +- [Release notes](https://github.com/polkadot-api/polkadot-api/releases) +- [Changelog](https://github.com/polkadot-api/polkadot-api/blob/main/NEWS.md) +- [Commits](https://github.com/polkadot-api/polkadot-api/commits) + +Updates `polkadot-api` from 1.7.7 to 1.7.8 +- [Release notes](https://github.com/polkadot-api/polkadot-api/releases) +- [Changelog](https://github.com/polkadot-api/polkadot-api/blob/main/NEWS.md) +- [Commits](https://github.com/polkadot-api/polkadot-api/compare/polkadot-api@1.7.7...polkadot-api@1.7.8) + +--- +updated-dependencies: +- dependency-name: "@polkadot-api/codegen" + dependency-type: direct:production + update-type: version-update:semver-patch + dependency-group: polkadot-api +- dependency-name: "@polkadot-api/metadata-builders" + dependency-type: direct:production + update-type: version-update:semver-patch + dependency-group: polkadot-api +- dependency-name: "@polkadot-api/metadata-compatibility" + dependency-type: direct:production + update-type: version-update:semver-patch + dependency-group: polkadot-api +- dependency-name: "@polkadot-api/observable-client" + dependency-type: direct:production + update-type: version-update:semver-patch + dependency-group: polkadot-api +- dependency-name: "@polkadot-api/signer" + dependency-type: direct:production + update-type: version-update:semver-patch + dependency-group: polkadot-api +- dependency-name: "@polkadot-api/substrate-bindings" + dependency-type: direct:production + update-type: version-update:semver-minor + dependency-group: polkadot-api +- dependency-name: "@polkadot-api/view-builder" + dependency-type: direct:production + update-type: version-update:semver-minor + dependency-group: polkadot-api +- dependency-name: polkadot-api + dependency-type: direct:production + update-type: version-update:semver-patch + dependency-group: polkadot-api +... + +Signed-off-by: dependabot[bot] diff --git a/examples/light-client-dapp/package.json b/examples/light-client-dapp/package.json index d0326ef1f..e5c860f11 100644 --- a/examples/light-client-dapp/package.json +++ b/examples/light-client-dapp/package.json @@ -11,9 +11,9 @@ }, "dependencies": { "@picocss/pico": "^2.0.6", - "@polkadot-api/metadata-builders": "~0.9.2", - "@polkadot-api/observable-client": "~0.6.3", - "@polkadot-api/substrate-bindings": "~0.9.4", + "@polkadot-api/metadata-builders": "~0.9.3", + "@polkadot-api/observable-client": "~0.6.4", + "@polkadot-api/substrate-bindings": "~0.10.0", "@polkadot-api/substrate-client": "~0.3.0", "@polkadot-api/utils": "~0.1.2", "@polkadot-labs/hdkd-helpers": "^0.0.10", @@ -21,7 +21,7 @@ "@zag-js/react": "^0.48.0", "@zag-js/select": "^0.48.0", "@zag-js/toast": "^0.48.0", - "polkadot-api": "^1.7.7", + "polkadot-api": "^1.7.8", "react": "^18.3.1", "react-dom": "^18.2.0", "rxjs": "^7.8.1", diff --git a/examples/light-client-extension-helpers-dapp/package.json b/examples/light-client-extension-helpers-dapp/package.json index f3a64f6f3..a338cc18b 100644 --- a/examples/light-client-extension-helpers-dapp/package.json +++ b/examples/light-client-extension-helpers-dapp/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@picocss/pico": "^2.0.6", - "@polkadot-api/observable-client": "~0.6.3", + "@polkadot-api/observable-client": "~0.6.4", "@polkadot-api/substrate-client": "~0.3.0", "@substrate/connect-known-chains": "workspace:*", "@substrate/light-client-extension-helpers": "workspace:*", diff --git a/packages/light-client-extension-helpers/package.json b/packages/light-client-extension-helpers/package.json index 15d6a33bf..a8dae6a31 100644 --- a/packages/light-client-extension-helpers/package.json +++ b/packages/light-client-extension-helpers/package.json @@ -209,13 +209,13 @@ "dependencies": { "@polkadot-api/json-rpc-provider": "~0.0.4", "@polkadot-api/polkadot-signer": "~0.1.6", - "@polkadot-api/codegen": "~0.12.10", + "@polkadot-api/codegen": "~0.12.11", "@polkadot-api/json-rpc-provider-proxy": "~0.2.4", - "@polkadot-api/metadata-builders": "~0.9.2", - "@polkadot-api/metadata-compatibility": "~0.1.12", - "@polkadot-api/observable-client": "~0.6.3", - "@polkadot-api/signer": "~0.1.11", - "@polkadot-api/substrate-bindings": "~0.9.4", + "@polkadot-api/metadata-builders": "~0.9.3", + "@polkadot-api/metadata-compatibility": "~0.1.13", + "@polkadot-api/observable-client": "~0.6.4", + "@polkadot-api/signer": "~0.1.12", + "@polkadot-api/substrate-bindings": "~0.10.0", "@polkadot-api/substrate-client": "~0.3.0", "@polkadot-api/utils": "~0.1.2", "@substrate/connect-extension-protocol": "workspace:^", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index aa5405cc9..7cc823835 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -114,14 +114,14 @@ importers: specifier: ^2.0.6 version: 2.0.6 '@polkadot-api/metadata-builders': - specifier: ~0.9.2 - version: 0.9.2 + specifier: ~0.9.3 + version: 0.9.3 '@polkadot-api/observable-client': - specifier: ~0.6.3 - version: 0.6.3(@polkadot-api/substrate-client@0.3.0)(rxjs@7.8.1) + specifier: ~0.6.4 + version: 0.6.4(@polkadot-api/substrate-client@0.3.0)(rxjs@7.8.1) '@polkadot-api/substrate-bindings': - specifier: ~0.9.4 - version: 0.9.4 + specifier: ~0.10.0 + version: 0.10.0 '@polkadot-api/substrate-client': specifier: ~0.3.0 version: 0.3.0 @@ -144,8 +144,8 @@ importers: specifier: ^0.48.0 version: 0.48.0 polkadot-api: - specifier: ^1.7.7 - version: 1.7.7(@swc/core@1.8.0(@swc/helpers@0.5.11))(jiti@1.21.6)(postcss@8.4.47)(rxjs@7.8.1)(yaml@2.5.1) + specifier: ^1.7.8 + version: 1.7.8(@swc/core@1.8.0(@swc/helpers@0.5.11))(jiti@1.21.6)(postcss@8.4.47)(rxjs@7.8.1)(yaml@2.5.1) react: specifier: ^18.3.1 version: 18.3.1 @@ -202,8 +202,8 @@ importers: specifier: ^2.0.6 version: 2.0.6 '@polkadot-api/observable-client': - specifier: ~0.6.3 - version: 0.6.3(@polkadot-api/substrate-client@0.3.0)(rxjs@7.8.1) + specifier: ~0.6.4 + version: 0.6.4(@polkadot-api/substrate-client@0.3.0)(rxjs@7.8.1) '@polkadot-api/substrate-client': specifier: ~0.3.0 version: 0.3.0 @@ -549,8 +549,8 @@ importers: packages/light-client-extension-helpers: dependencies: '@polkadot-api/codegen': - specifier: ~0.12.10 - version: 0.12.10 + specifier: ~0.12.11 + version: 0.12.11 '@polkadot-api/json-rpc-provider': specifier: ~0.0.4 version: 0.0.4 @@ -558,23 +558,23 @@ importers: specifier: ~0.2.4 version: 0.2.4 '@polkadot-api/metadata-builders': - specifier: ~0.9.2 - version: 0.9.2 + specifier: ~0.9.3 + version: 0.9.3 '@polkadot-api/metadata-compatibility': - specifier: ~0.1.12 - version: 0.1.12 + specifier: ~0.1.13 + version: 0.1.13 '@polkadot-api/observable-client': - specifier: ~0.6.3 - version: 0.6.3(@polkadot-api/substrate-client@0.3.0)(rxjs@7.8.1) + specifier: ~0.6.4 + version: 0.6.4(@polkadot-api/substrate-client@0.3.0)(rxjs@7.8.1) '@polkadot-api/polkadot-signer': specifier: ~0.1.6 version: 0.1.6 '@polkadot-api/signer': - specifier: ~0.1.11 - version: 0.1.11 + specifier: ~0.1.12 + version: 0.1.12 '@polkadot-api/substrate-bindings': - specifier: ~0.9.4 - version: 0.9.4 + specifier: ~0.10.0 + version: 0.10.0 '@polkadot-api/substrate-client': specifier: ~0.3.0 version: 0.3.0 @@ -756,11 +756,11 @@ importers: specifier: ~0.2.4 version: 0.2.4 '@polkadot-api/observable-client': - specifier: ~0.6.3 - version: 0.6.3(@polkadot-api/substrate-client@0.3.0)(rxjs@7.8.1) + specifier: ~0.6.4 + version: 0.6.4(@polkadot-api/substrate-client@0.3.0)(rxjs@7.8.1) '@polkadot-api/sm-provider': specifier: ~0.1.7 - version: 0.1.7(@polkadot-api/smoldot@0.3.7) + version: 0.1.7(@polkadot-api/smoldot@0.3.8) '@polkadot-api/substrate-client': specifier: ~0.3.0 version: 0.3.0 @@ -793,8 +793,8 @@ importers: projects/extension: dependencies: '@polkadot-api/observable-client': - specifier: ~0.6.3 - version: 0.6.3(@polkadot-api/substrate-client@0.3.0)(rxjs@7.8.1) + specifier: ~0.6.4 + version: 0.6.4(@polkadot-api/substrate-client@0.3.0)(rxjs@7.8.1) '@polkadot-api/substrate-client': specifier: ~0.3.0 version: 0.3.0 @@ -878,26 +878,26 @@ importers: specifier: ^1.5.0 version: 1.5.0 '@polkadot-api/codegen': - specifier: ~0.12.10 - version: 0.12.10 + specifier: ~0.12.11 + version: 0.12.11 '@polkadot-api/json-rpc-provider': specifier: ~0.0.4 version: 0.0.4 '@polkadot-api/metadata-builders': - specifier: ~0.9.2 - version: 0.9.2 + specifier: ~0.9.3 + version: 0.9.3 '@polkadot-api/observable-client': - specifier: ~0.6.3 - version: 0.6.3(@polkadot-api/substrate-client@0.3.0)(rxjs@7.8.1) + specifier: ~0.6.4 + version: 0.6.4(@polkadot-api/substrate-client@0.3.0)(rxjs@7.8.1) '@polkadot-api/polkadot-signer': specifier: ~0.1.6 version: 0.1.6 '@polkadot-api/signer': - specifier: ~0.1.11 - version: 0.1.11 + specifier: ~0.1.12 + version: 0.1.12 '@polkadot-api/substrate-bindings': - specifier: ~0.9.4 - version: 0.9.4 + specifier: ~0.10.0 + version: 0.10.0 '@polkadot-api/substrate-client': specifier: ~0.3.0 version: 0.3.0 @@ -905,8 +905,8 @@ importers: specifier: ~0.1.2 version: 0.1.2 '@polkadot-api/view-builder': - specifier: ~0.3.12 - version: 0.3.12 + specifier: ~0.4.0 + version: 0.4.0 '@polkadot-labs/hdkd': specifier: ^0.0.10 version: 0.0.10 @@ -2714,18 +2714,15 @@ packages: resolution: {integrity: sha512-UA91GwWPhFExt3IizW6bOeY/pQ0BkuNwKjk9iQW9KqxluGCrg4VenZ0/L+2Y0+ZOtme72EVvg6v0zo3AMQRCeA==} engines: {node: '>=12'} - '@polkadot-api/cli@0.9.21': - resolution: {integrity: sha512-ZvuYRn9f2F8vrm0lPJP8NjbrVLkGpsiWbq0MFlUXhwfTUvkKWPu48rSPiN2SAYAD0p1rOevLus1FdGZL0J/fRw==} + '@polkadot-api/cli@0.9.22': + resolution: {integrity: sha512-nslmAuAeMVExZz9AOUnV2u76PhYhObj9aW64vRqPp7kwAgA/ojOSVwS0Xk7OCeYq8VDSEGxvNPEKn1DW2FjXHg==} hasBin: true - '@polkadot-api/codegen@0.12.10': - resolution: {integrity: sha512-0eQ9M1eLWS7OYb6vSfEfzcDQuRQVsNDsmnav52nLjlDzTr4YH423n0Bi64/dptkPPVR/8nzu2dBaOTqGZNUzWg==} + '@polkadot-api/codegen@0.12.11': + resolution: {integrity: sha512-JbQJ4HrdUnHzYkVj4W4uS/lxoRO97DBWKpISx5nLyneZ5kq3V4SDaSjwDTpO+7xWZAniL9b6wA2UiM8F9C9vXw==} - '@polkadot-api/codegen@0.12.9': - resolution: {integrity: sha512-lxwKRJqKKmR0Fm9g2KU4KgMB5NeKvc1505iGY0nd/PistTzVIk4zsX3Ja9dPFSB4wMMZ9ykMbbamc3+t6jbkaw==} - - '@polkadot-api/ink-contracts@0.2.2': - resolution: {integrity: sha512-jbkrbZo8Yfe9UupmPuWIUdQz0a/Oxi6m1qPGEfXSmwML27FgWEmb+8IG9chLzJ59/z1oMWxgKHkK8BLLWnSLGg==} + '@polkadot-api/ink-contracts@0.2.3': + resolution: {integrity: sha512-gjwpeTMtKAMG0k1RqKAECJmX8CWsY1TP2xiGP4rqbelhXTirootMHqMzYvS9Bn6CVYnipuN97UWiT8wBHpEr6g==} '@polkadot-api/json-rpc-provider-proxy@0.2.4': resolution: {integrity: sha512-nuGoY9QpBAiRU7xmXN3nugFvPcnSu3IxTLm1OWcNTGlZ1LW5bvdQHz3JLk56+Jlyb3GJ971hqdg2DJsMXkKCOg==} @@ -2739,20 +2736,20 @@ packages: '@polkadot-api/logs-provider@0.0.6': resolution: {integrity: sha512-4WgHlvy+xee1ADaaVf6+MlK/+jGMtsMgAzvbQOJZnP4PfQuagoTqaeayk8HYKxXGphogLlPbD06tANxcb+nvAg==} - '@polkadot-api/metadata-builders@0.9.2': - resolution: {integrity: sha512-2vxtjMC5PvN+sTM6DPMopznNfTUJEe6G6CzMhtK19CASb2OeN9NoRpnxmpEagjndO98YPkyQtDv25sKGUVhgAA==} + '@polkadot-api/metadata-builders@0.9.3': + resolution: {integrity: sha512-QFG/2r8I5vdty8nSV1zg1V8NIYgR0kJ/LazM6yzUZ704Xf+yFhMC1psqLfjmoiAYs1AR5suV8skaJ/+V9ZY30w==} - '@polkadot-api/metadata-compatibility@0.1.12': - resolution: {integrity: sha512-zhRhsuzHb6klnRW/pMXb5YLKRtvmGw4sicV6jxKDIclpuOZ+QxMWFmqTGM1Vsea5qNX/Z9HrWvXOYxMlkcW7Pg==} + '@polkadot-api/metadata-compatibility@0.1.13': + resolution: {integrity: sha512-KWsGg6m6vJAezl1ECEIMHKc9fOhLXukK7mybngmOsURaICkqxyPJqgha/KExj1qnL11eH8+Z7jWKQ5I7att2FA==} - '@polkadot-api/observable-client@0.6.3': - resolution: {integrity: sha512-DNau9rUmEMEnfDKxfoZrtL2oPCXdXuV6c0AvG8kNGviuknk5y7HzlU21rI3O486zqmLQE2ntPxQmT+yeYxW8DA==} + '@polkadot-api/observable-client@0.6.4': + resolution: {integrity: sha512-2wgafHvZP5VroqOHLgoeSBWZRh3vuwTVUqPBI3VmHwDbSfMlUB3dm3ySo6tecXcQWonuKVquCPxBxuY0BV2mBw==} peerDependencies: '@polkadot-api/substrate-client': 0.3.0 rxjs: '>=7.8.0' - '@polkadot-api/pjs-signer@0.6.1': - resolution: {integrity: sha512-0GYUS0rVxB/Vju4YqX1/9CM1bVmscCSTgI2le5eeYFmz+MHMMPuLTXQyRSCa6nNH/0/L03xL9gmSzwwAVGDpKw==} + '@polkadot-api/pjs-signer@0.6.2': + resolution: {integrity: sha512-NOkzD6/4zHivr6nhLcWnlZguuyJVtsgrdA37VQj112YmIW5AHpcAbmnO4Vub19wjntlppXwVSQC5B89MkOwhkg==} '@polkadot-api/polkadot-sdk-compat@2.3.1': resolution: {integrity: sha512-rb8IWmPRhKWD9NG4zh2n4q0HlEAvq+Cv1CbD+8YxH0XAqIIiFA+ch5JeDCIxQYngkn/43B0Gs7Gtzh18yv2yoA==} @@ -2760,22 +2757,22 @@ packages: '@polkadot-api/polkadot-signer@0.1.6': resolution: {integrity: sha512-X7ghAa4r7doETtjAPTb50IpfGtrBmy3BJM5WCfNKa1saK04VFY9w+vDn+hwEcM4p0PcDHt66Ts74hzvHq54d9A==} - '@polkadot-api/signer@0.1.11': - resolution: {integrity: sha512-DVNB5fdB5vGjSgBbSqzZtaZ15pW/KJG5FARI9h1KgyDWdXhJo5pkGID/LuY5dQbdlnPbTkLhtDhZ2+4G2NWrzg==} + '@polkadot-api/signer@0.1.12': + resolution: {integrity: sha512-Fpsb0DdfsFnKXrKDTkVssfzOVKqGZ087pLsezOTr7Jf2BvlUoFLraDn4QQdnSFFiUskMWtJBUl1mBJBlKIU1AQ==} - '@polkadot-api/signers-common@0.1.2': - resolution: {integrity: sha512-JtJmU7v4/80mu05qI3F/BP44nT43VfmyLsr7NO4n5+txZ9sFMDXQQELtis/fQnZgzkps8wPOwagjkSdutTow5A==} + '@polkadot-api/signers-common@0.1.3': + resolution: {integrity: sha512-Sd68OvuyBLRHRovU3OJgq407OlGoOTb/KLtlV5SnHGRKXDdTI0ArxnGEWICGUm7w4MpbNn5rrnbXGjKS51/YjA==} '@polkadot-api/sm-provider@0.1.7': resolution: {integrity: sha512-BhNKVeIFZdawpPVadXszLl8IP4EDjcLHe/GchfRRFkvoNFuwS2nNv/npYIqCviXV+dd2R8VnEELxwScsf380Og==} peerDependencies: '@polkadot-api/smoldot': '>=0.3' - '@polkadot-api/smoldot@0.3.7': - resolution: {integrity: sha512-Fnrz0Xt8fli7LhHSOWbNraiXpLJWCwOglI+BgBWnYpsdHXSMU5TsYEw5oo9rkfI9zDeZsbtXvMTW3MqTeCLtQg==} + '@polkadot-api/smoldot@0.3.8': + resolution: {integrity: sha512-dbJSMRFtELDW+rZIWRwKE/K8oy7+gYaGl+DvaOjARoBW2n80rJ7RAMOCCu+b5h2zgl3elftFBwMNAuAWgHT/Zg==} - '@polkadot-api/substrate-bindings@0.9.4': - resolution: {integrity: sha512-SUyetILwgUsodSk1qhNu0HflRBdq2VBCbqAqCBNaoCauE3/Q/G6k7xS+1nE6MTcpjZQex+TriJdDz/trLSvwsA==} + '@polkadot-api/substrate-bindings@0.10.0': + resolution: {integrity: sha512-0YcYdZ7gU4f/yE8eZ+xDiUDlWOnKSdZI77PZT8Dz0TnXdeYhRehh6PGPp7zY0UoT6d5zGrEq7E7x1FPMCR0Rfw==} '@polkadot-api/substrate-client@0.3.0': resolution: {integrity: sha512-0hEvQLKH2zhaFzE8DPkWehvJilec8u2O2wbIEUStm0OJ8jIFtJ40MFjXQfB01dXBWUz1KaVBqS6xd3sZA90Dpw==} @@ -2783,8 +2780,8 @@ packages: '@polkadot-api/utils@0.1.2': resolution: {integrity: sha512-yhs5k2a8N1SBJcz7EthZoazzLQUkZxbf+0271Xzu42C5AEM9K9uFLbsB+ojzHEM72O5X8lPtSwGKNmS7WQyDyg==} - '@polkadot-api/view-builder@0.3.12': - resolution: {integrity: sha512-1HIYZc6SknZHmkksBYjm9s5kJb3h3+6bYG4R8v7otHfPKfrR9fIE5THdk21ACJUtIRnac7P+W6cDTbSelDkF6g==} + '@polkadot-api/view-builder@0.4.0': + resolution: {integrity: sha512-Yd7g4JmUCXL+QdnIWT/EIZDD++KgUDw9J3jv56G3YMTcDj9dp9GJ6ANP7oNJfp8J6d7SEak1lZs4ihJ1FA8O2w==} '@polkadot-api/wasm-executor@0.1.2': resolution: {integrity: sha512-a5wGenltB3EFPdf72u8ewi6HsUg2qubUAf3ekJprZf24lTK3+w8a/GUF/y6r08LJF35MALZ32SAtLqtVTIOGnQ==} @@ -7493,8 +7490,8 @@ packages: resolution: {integrity: sha512-OLS/0XeUAcE8a2fdwemNja+udKgXNnY6yKVIXqAD2zVRx1KvY6Ato/rZ2vdzbxqYwPW0u6SCNC/bAMPNzpzxbw==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - polkadot-api@1.7.7: - resolution: {integrity: sha512-W6YmA4LhPVv2xhp5dKHM/lZp0fclpaKvspR0h+TBANNdUpBp5aAxq6qdkPAZ4sWTC6Rfi+j5PZZP88oQweOHWg==} + polkadot-api@1.7.8: + resolution: {integrity: sha512-cMmzGbzcwi4IB+5r5Z/nAzHlZ2D5qRLoPAkMBDtF27icMr6W3YsWoaQgxnPFh/5r2W8FdNj2VtzKgtL18TUeOw==} hasBin: true peerDependencies: rxjs: '>=7.8.0' @@ -11012,19 +11009,19 @@ snapshots: '@pnpm/network.ca-file': 1.0.2 config-chain: 1.1.13 - '@polkadot-api/cli@0.9.21(@swc/core@1.8.0(@swc/helpers@0.5.11))(jiti@1.21.6)(postcss@8.4.47)(yaml@2.5.1)': + '@polkadot-api/cli@0.9.22(@swc/core@1.8.0(@swc/helpers@0.5.11))(jiti@1.21.6)(postcss@8.4.47)(yaml@2.5.1)': dependencies: '@commander-js/extra-typings': 12.1.0(commander@12.1.0) - '@polkadot-api/codegen': 0.12.9 - '@polkadot-api/ink-contracts': 0.2.2 + '@polkadot-api/codegen': 0.12.11 + '@polkadot-api/ink-contracts': 0.2.3 '@polkadot-api/json-rpc-provider': 0.0.4 '@polkadot-api/known-chains': 0.5.8 - '@polkadot-api/metadata-compatibility': 0.1.12 - '@polkadot-api/observable-client': 0.6.3(@polkadot-api/substrate-client@0.3.0)(rxjs@7.8.1) + '@polkadot-api/metadata-compatibility': 0.1.13 + '@polkadot-api/observable-client': 0.6.4(@polkadot-api/substrate-client@0.3.0)(rxjs@7.8.1) '@polkadot-api/polkadot-sdk-compat': 2.3.1 - '@polkadot-api/sm-provider': 0.1.7(@polkadot-api/smoldot@0.3.7) - '@polkadot-api/smoldot': 0.3.7 - '@polkadot-api/substrate-bindings': 0.9.4 + '@polkadot-api/sm-provider': 0.1.7(@polkadot-api/smoldot@0.3.8) + '@polkadot-api/smoldot': 0.3.8 + '@polkadot-api/substrate-bindings': 0.10.0 '@polkadot-api/substrate-client': 0.3.0 '@polkadot-api/utils': 0.1.2 '@polkadot-api/wasm-executor': 0.1.2 @@ -11051,26 +11048,18 @@ snapshots: - utf-8-validate - yaml - '@polkadot-api/codegen@0.12.10': - dependencies: - '@polkadot-api/ink-contracts': 0.2.2 - '@polkadot-api/metadata-builders': 0.9.2 - '@polkadot-api/metadata-compatibility': 0.1.12 - '@polkadot-api/substrate-bindings': 0.9.4 - '@polkadot-api/utils': 0.1.2 - - '@polkadot-api/codegen@0.12.9': + '@polkadot-api/codegen@0.12.11': dependencies: - '@polkadot-api/ink-contracts': 0.2.2 - '@polkadot-api/metadata-builders': 0.9.2 - '@polkadot-api/metadata-compatibility': 0.1.12 - '@polkadot-api/substrate-bindings': 0.9.4 + '@polkadot-api/ink-contracts': 0.2.3 + '@polkadot-api/metadata-builders': 0.9.3 + '@polkadot-api/metadata-compatibility': 0.1.13 + '@polkadot-api/substrate-bindings': 0.10.0 '@polkadot-api/utils': 0.1.2 - '@polkadot-api/ink-contracts@0.2.2': + '@polkadot-api/ink-contracts@0.2.3': dependencies: - '@polkadot-api/metadata-builders': 0.9.2 - '@polkadot-api/substrate-bindings': 0.9.4 + '@polkadot-api/metadata-builders': 0.9.3 + '@polkadot-api/substrate-bindings': 0.10.0 '@polkadot-api/utils': 0.1.2 scale-ts: 1.6.1 @@ -11084,30 +11073,30 @@ snapshots: dependencies: '@polkadot-api/json-rpc-provider': 0.0.4 - '@polkadot-api/metadata-builders@0.9.2': + '@polkadot-api/metadata-builders@0.9.3': dependencies: - '@polkadot-api/substrate-bindings': 0.9.4 + '@polkadot-api/substrate-bindings': 0.10.0 '@polkadot-api/utils': 0.1.2 - '@polkadot-api/metadata-compatibility@0.1.12': + '@polkadot-api/metadata-compatibility@0.1.13': dependencies: - '@polkadot-api/metadata-builders': 0.9.2 - '@polkadot-api/substrate-bindings': 0.9.4 + '@polkadot-api/metadata-builders': 0.9.3 + '@polkadot-api/substrate-bindings': 0.10.0 - '@polkadot-api/observable-client@0.6.3(@polkadot-api/substrate-client@0.3.0)(rxjs@7.8.1)': + '@polkadot-api/observable-client@0.6.4(@polkadot-api/substrate-client@0.3.0)(rxjs@7.8.1)': dependencies: - '@polkadot-api/metadata-builders': 0.9.2 - '@polkadot-api/substrate-bindings': 0.9.4 + '@polkadot-api/metadata-builders': 0.9.3 + '@polkadot-api/substrate-bindings': 0.10.0 '@polkadot-api/substrate-client': 0.3.0 '@polkadot-api/utils': 0.1.2 rxjs: 7.8.1 - '@polkadot-api/pjs-signer@0.6.1': + '@polkadot-api/pjs-signer@0.6.2': dependencies: - '@polkadot-api/metadata-builders': 0.9.2 + '@polkadot-api/metadata-builders': 0.9.3 '@polkadot-api/polkadot-signer': 0.1.6 - '@polkadot-api/signers-common': 0.1.2 - '@polkadot-api/substrate-bindings': 0.9.4 + '@polkadot-api/signers-common': 0.1.3 + '@polkadot-api/substrate-bindings': 0.10.0 '@polkadot-api/utils': 0.1.2 '@polkadot-api/polkadot-sdk-compat@2.3.1': @@ -11116,28 +11105,28 @@ snapshots: '@polkadot-api/polkadot-signer@0.1.6': {} - '@polkadot-api/signer@0.1.11': + '@polkadot-api/signer@0.1.12': dependencies: - '@noble/hashes': 1.5.0 + '@noble/hashes': 1.6.1 '@polkadot-api/polkadot-signer': 0.1.6 - '@polkadot-api/signers-common': 0.1.2 - '@polkadot-api/substrate-bindings': 0.9.4 + '@polkadot-api/signers-common': 0.1.3 + '@polkadot-api/substrate-bindings': 0.10.0 '@polkadot-api/utils': 0.1.2 - '@polkadot-api/signers-common@0.1.2': + '@polkadot-api/signers-common@0.1.3': dependencies: - '@polkadot-api/metadata-builders': 0.9.2 + '@polkadot-api/metadata-builders': 0.9.3 '@polkadot-api/polkadot-signer': 0.1.6 - '@polkadot-api/substrate-bindings': 0.9.4 + '@polkadot-api/substrate-bindings': 0.10.0 '@polkadot-api/utils': 0.1.2 - '@polkadot-api/sm-provider@0.1.7(@polkadot-api/smoldot@0.3.7)': + '@polkadot-api/sm-provider@0.1.7(@polkadot-api/smoldot@0.3.8)': dependencies: '@polkadot-api/json-rpc-provider': 0.0.4 '@polkadot-api/json-rpc-provider-proxy': 0.2.4 - '@polkadot-api/smoldot': 0.3.7 + '@polkadot-api/smoldot': 0.3.8 - '@polkadot-api/smoldot@0.3.7': + '@polkadot-api/smoldot@0.3.8': dependencies: '@types/node': 22.10.0 smoldot: 2.0.34 @@ -11145,11 +11134,11 @@ snapshots: - bufferutil - utf-8-validate - '@polkadot-api/substrate-bindings@0.9.4': + '@polkadot-api/substrate-bindings@0.10.0': dependencies: - '@noble/hashes': 1.5.0 + '@noble/hashes': 1.6.1 '@polkadot-api/utils': 0.1.2 - '@scure/base': 1.1.9 + '@scure/base': 1.2.1 scale-ts: 1.6.1 '@polkadot-api/substrate-client@0.3.0': @@ -11159,10 +11148,10 @@ snapshots: '@polkadot-api/utils@0.1.2': {} - '@polkadot-api/view-builder@0.3.12': + '@polkadot-api/view-builder@0.4.0': dependencies: - '@polkadot-api/metadata-builders': 0.9.2 - '@polkadot-api/substrate-bindings': 0.9.4 + '@polkadot-api/metadata-builders': 0.9.3 + '@polkadot-api/substrate-bindings': 0.10.0 '@polkadot-api/utils': 0.1.2 '@polkadot-api/wasm-executor@0.1.2': {} @@ -16617,23 +16606,23 @@ snapshots: polite-json@5.0.0: {} - polkadot-api@1.7.7(@swc/core@1.8.0(@swc/helpers@0.5.11))(jiti@1.21.6)(postcss@8.4.47)(rxjs@7.8.1)(yaml@2.5.1): + polkadot-api@1.7.8(@swc/core@1.8.0(@swc/helpers@0.5.11))(jiti@1.21.6)(postcss@8.4.47)(rxjs@7.8.1)(yaml@2.5.1): dependencies: - '@polkadot-api/cli': 0.9.21(@swc/core@1.8.0(@swc/helpers@0.5.11))(jiti@1.21.6)(postcss@8.4.47)(yaml@2.5.1) - '@polkadot-api/ink-contracts': 0.2.2 + '@polkadot-api/cli': 0.9.22(@swc/core@1.8.0(@swc/helpers@0.5.11))(jiti@1.21.6)(postcss@8.4.47)(yaml@2.5.1) + '@polkadot-api/ink-contracts': 0.2.3 '@polkadot-api/json-rpc-provider': 0.0.4 '@polkadot-api/known-chains': 0.5.8 '@polkadot-api/logs-provider': 0.0.6 - '@polkadot-api/metadata-builders': 0.9.2 - '@polkadot-api/metadata-compatibility': 0.1.12 - '@polkadot-api/observable-client': 0.6.3(@polkadot-api/substrate-client@0.3.0)(rxjs@7.8.1) - '@polkadot-api/pjs-signer': 0.6.1 + '@polkadot-api/metadata-builders': 0.9.3 + '@polkadot-api/metadata-compatibility': 0.1.13 + '@polkadot-api/observable-client': 0.6.4(@polkadot-api/substrate-client@0.3.0)(rxjs@7.8.1) + '@polkadot-api/pjs-signer': 0.6.2 '@polkadot-api/polkadot-sdk-compat': 2.3.1 '@polkadot-api/polkadot-signer': 0.1.6 - '@polkadot-api/signer': 0.1.11 - '@polkadot-api/sm-provider': 0.1.7(@polkadot-api/smoldot@0.3.7) - '@polkadot-api/smoldot': 0.3.7 - '@polkadot-api/substrate-bindings': 0.9.4 + '@polkadot-api/signer': 0.1.12 + '@polkadot-api/sm-provider': 0.1.7(@polkadot-api/smoldot@0.3.8) + '@polkadot-api/smoldot': 0.3.8 + '@polkadot-api/substrate-bindings': 0.10.0 '@polkadot-api/substrate-client': 0.3.0 '@polkadot-api/utils': 0.1.2 '@polkadot-api/ws-provider': 0.3.6(patch_hash=movrkpuzjy6i3qk43pefldjxp4) diff --git a/projects/demo/package.json b/projects/demo/package.json index c7aa6b8c3..fa66067ef 100644 --- a/projects/demo/package.json +++ b/projects/demo/package.json @@ -21,7 +21,7 @@ }, "dependencies": { "@polkadot-api/json-rpc-provider-proxy": "~0.2.4", - "@polkadot-api/observable-client": "~0.6.3", + "@polkadot-api/observable-client": "~0.6.4", "@polkadot-api/sm-provider": "~0.1.7", "@polkadot-api/substrate-client": "~0.3.0", "@substrate/connect": "workspace:*", diff --git a/projects/extension/package.json b/projects/extension/package.json index 4e85ad883..3e7020ca5 100644 --- a/projects/extension/package.json +++ b/projects/extension/package.json @@ -49,7 +49,7 @@ "web-ext": "^8.2.0" }, "dependencies": { - "@polkadot-api/observable-client": "~0.6.3", + "@polkadot-api/observable-client": "~0.6.4", "@polkadot-api/substrate-client": "~0.3.0", "@react-rxjs/core": "^0.10.7", "@react-rxjs/utils": "^0.9.7", diff --git a/projects/wallet-template/package.json b/projects/wallet-template/package.json index c1f562efd..ae943bd42 100644 --- a/projects/wallet-template/package.json +++ b/projects/wallet-template/package.json @@ -57,16 +57,16 @@ "@hookform/resolvers": "^3.9.1", "@noble/ciphers": "^1.0.0", "@noble/hashes": "^1.5.0", - "@polkadot-api/codegen": "~0.12.10", + "@polkadot-api/codegen": "~0.12.11", "@polkadot-api/json-rpc-provider": "~0.0.4", - "@polkadot-api/metadata-builders": "~0.9.2", - "@polkadot-api/observable-client": "~0.6.3", + "@polkadot-api/metadata-builders": "~0.9.3", + "@polkadot-api/observable-client": "~0.6.4", "@polkadot-api/polkadot-signer": "~0.1.6", - "@polkadot-api/signer": "~0.1.11", - "@polkadot-api/substrate-bindings": "~0.9.4", + "@polkadot-api/signer": "~0.1.12", + "@polkadot-api/substrate-bindings": "~0.10.0", "@polkadot-api/substrate-client": "~0.3.0", "@polkadot-api/utils": "~0.1.2", - "@polkadot-api/view-builder": "~0.3.12", + "@polkadot-api/view-builder": "~0.4.0", "@polkadot-labs/hdkd": "^0.0.10", "@polkadot-labs/hdkd-helpers": "^0.0.10", "@polkadot-labs/schnorrkel-wasm": "^0.0.6", diff --git a/projects/wallet-template/src/containers/WalletPopup/components/DecodedCallData.tsx b/projects/wallet-template/src/containers/WalletPopup/components/DecodedCallData.tsx index 558f4359c..9651011d9 100644 --- a/projects/wallet-template/src/containers/WalletPopup/components/DecodedCallData.tsx +++ b/projects/wallet-template/src/containers/WalletPopup/components/DecodedCallData.tsx @@ -64,8 +64,7 @@ const DecodedPrimitiveValue = ({ value }: DecodedPrimitiveProps) => { case "bool": case "char": case "str": - case "Bytes": - case "BytesArray": { + case "Bytes": { return
{value.value}
} case "AccountId": { @@ -105,6 +104,9 @@ type DecodedComplexProps = { } const DecodedComplexValue = ({ value }: DecodedComplexProps) => { switch (value.codec) { + case "BytesArray": { + return
{value.value}
+ } case "Tuple": case "Sequence": case "Array": { @@ -167,7 +169,6 @@ const PRIMITIVE_CODECS: PrimitiveDecoded["codec"][] = [ "compactNumber", "compactBn", "Bytes", - "BytesArray", "AccountId", ] const isPrimitiveDecoded = (value: Decoded): value is PrimitiveDecoded =>