diff --git a/package-lock.json b/package-lock.json index 0e68212..70745a6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@polkadot/util": "^13.5.6", "@polkadot/util-crypto": "^13.5.5", "dotenv": "^17.2.3", - "polkadot-api": "^1.16.4", + "polkadot-api": "^1.20.0", "probot": "^14.1.0" }, "devDependencies": { @@ -68,6 +68,15 @@ "node": ">=6.9.0" } }, + "node_modules/@commander-js/extra-typings": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@commander-js/extra-typings/-/extra-typings-14.0.0.tgz", + "integrity": "sha512-hIn0ncNaJRLkZrxBIp5AsW/eXEHNKYQBh0aPdoUqNgD+Io3NIykQqpKFyKcuasZhicGaEZJX/JBSIkZ4e5x8Dg==", + "license": "MIT", + "peerDependencies": { + "commander": "~14.0.0" + } + }, "node_modules/@esbuild/aix-ppc64": { "version": "0.25.5", "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.5.tgz", @@ -534,9 +543,9 @@ "license": "MIT" }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.30", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.30.tgz", - "integrity": "sha512-GQ7Nw5G2lTu/BtHTKfXhKHok2WGetd4XYcVKGx00SjAk8GMwgJM3zr6zORiPGuOE+/vkc90KtTosSSvaCjKb2Q==", + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", "license": "MIT", "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", @@ -1171,133 +1180,72 @@ } }, "node_modules/@polkadot-api/cli": { - "version": "0.14.11", - "resolved": "https://registry.npmjs.org/@polkadot-api/cli/-/cli-0.14.11.tgz", - "integrity": "sha512-j5MUPPH6CNm8kIDKsI1jHQ2qREO3ljmLsUQ/ldBA262BeEiv3dOKWRk1UWWxqQcQvfdFRMCiv1RTZpHkC8CaBg==", + "version": "0.15.3", + "resolved": "https://registry.npmjs.org/@polkadot-api/cli/-/cli-0.15.3.tgz", + "integrity": "sha512-M7cztSLom45+HCvAW55zWE8pwZbF+FWbTQDznh9V7AITPLkXsLWT5qehzfYKjhmCyvwPG/VZ2ZSqCiFMmupDlA==", "license": "MIT", "dependencies": { "@commander-js/extra-typings": "^14.0.0", - "@noble/hashes": "^1.8.0", - "@polkadot-api/codegen": "0.18.1", - "@polkadot-api/ink-contracts": "0.3.8", + "@polkadot-api/codegen": "0.19.2", + "@polkadot-api/ink-contracts": "0.4.1", "@polkadot-api/json-rpc-provider": "0.0.4", - "@polkadot-api/known-chains": "0.9.6", - "@polkadot-api/legacy-provider": "0.2.3", - "@polkadot-api/metadata-compatibility": "0.3.3", - "@polkadot-api/observable-client": "0.13.8", + "@polkadot-api/known-chains": "0.9.12", + "@polkadot-api/legacy-provider": "0.3.3", + "@polkadot-api/metadata-compatibility": "0.3.7", + "@polkadot-api/observable-client": "0.15.2", "@polkadot-api/polkadot-sdk-compat": "2.3.3", - "@polkadot-api/sm-provider": "0.1.7", - "@polkadot-api/smoldot": "0.3.10", - "@polkadot-api/substrate-bindings": "0.16.0", - "@polkadot-api/substrate-client": "0.4.4", + "@polkadot-api/sm-provider": "0.1.12", + "@polkadot-api/smoldot": "0.3.14", + "@polkadot-api/substrate-bindings": "0.16.4", + "@polkadot-api/substrate-client": "0.4.7", "@polkadot-api/utils": "0.2.0", - "@polkadot-api/wasm-executor": "^0.2.1", - "@polkadot-api/ws-provider": "0.5.0", - "@types/node": "^24.3.0", - "commander": "^14.0.0", + "@polkadot-api/wasm-executor": "^0.2.2", + "@polkadot-api/ws-provider": "0.7.0", + "@types/node": "^24.7.0", + "commander": "^14.0.1", "execa": "^9.6.0", "fs.promises.exists": "^1.1.4", - "ora": "^8.2.0", + "ora": "^9.0.0", "read-pkg": "^9.0.1", "rxjs": "^7.8.2", "tsc-prog": "^2.3.0", "tsup": "^8.5.0", - "typescript": "^5.9.2", - "write-package": "^7.1.0" + "typescript": "^5.9.3", + "write-package": "^7.2.0" }, "bin": { "papi": "dist/main.js", "polkadot-api": "dist/main.js" } }, - "node_modules/@polkadot-api/cli/node_modules/@commander-js/extra-typings": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@commander-js/extra-typings/-/extra-typings-14.0.0.tgz", - "integrity": "sha512-hIn0ncNaJRLkZrxBIp5AsW/eXEHNKYQBh0aPdoUqNgD+Io3NIykQqpKFyKcuasZhicGaEZJX/JBSIkZ4e5x8Dg==", - "license": "MIT", - "peerDependencies": { - "commander": "~14.0.0" - } - }, - "node_modules/@polkadot-api/cli/node_modules/@polkadot-api/known-chains": { - "version": "0.9.6", - "resolved": "https://registry.npmjs.org/@polkadot-api/known-chains/-/known-chains-0.9.6.tgz", - "integrity": "sha512-4QIGyBH/3U7JJYjb/q1v7Vh0d8NtmIJ2YSfkqnrPSeANn00j76k0Zx4JyJvvx1BH3D95sGrCP0gCUTxcHi6mkA==", - "license": "MIT" - }, - "node_modules/@polkadot-api/cli/node_modules/@polkadot-api/substrate-bindings": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-bindings/-/substrate-bindings-0.16.0.tgz", - "integrity": "sha512-kNIOvUuiGPGsQBEJfLTm8sU7JnAOFBc/VDCkEv4p2zOp+BiUW9BuchEQZumVua+zAok+EShX6zFrTptPjNjd5Q==", - "license": "MIT", - "dependencies": { - "@noble/hashes": "^1.8.0", - "@polkadot-api/utils": "0.2.0", - "@scure/base": "^1.2.6", - "scale-ts": "^1.6.1" - } - }, - "node_modules/@polkadot-api/cli/node_modules/commander": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.0.tgz", - "integrity": "sha512-2uM9rYjPvyq39NwLRqaiLtWHyDC1FvryJDa2ATTVims5YAS4PupsEQsDvP14FqhFr0P49CYDugi59xaxJlTXRA==", - "license": "MIT", - "engines": { - "node": ">=20" - } - }, "node_modules/@polkadot-api/codegen": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/@polkadot-api/codegen/-/codegen-0.18.1.tgz", - "integrity": "sha512-sgiY3Is1PAscNlwlPsZNlcMdE/E4VF6A1+oUfh4Is2GUOKkRMsnkqG2O7fG4E81ORtLDVdBK0lExmB4W3Pjy1Q==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@polkadot-api/codegen/-/codegen-0.19.2.tgz", + "integrity": "sha512-VoYXkVD9PSNmhFm8W5peJjo+RiYnW7Iio6PxJi9XYxmm4wHqGu/xCMZfeyO3d1rBB11M+ye1sEEFQ/0kww7YjQ==", "license": "MIT", "dependencies": { - "@polkadot-api/ink-contracts": "0.3.8", - "@polkadot-api/metadata-builders": "0.13.2", - "@polkadot-api/metadata-compatibility": "0.3.3", - "@polkadot-api/substrate-bindings": "0.16.0", + "@polkadot-api/ink-contracts": "0.4.1", + "@polkadot-api/metadata-builders": "0.13.6", + "@polkadot-api/metadata-compatibility": "0.3.7", + "@polkadot-api/substrate-bindings": "0.16.4", "@polkadot-api/utils": "0.2.0" } }, - "node_modules/@polkadot-api/codegen/node_modules/@polkadot-api/substrate-bindings": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-bindings/-/substrate-bindings-0.16.0.tgz", - "integrity": "sha512-kNIOvUuiGPGsQBEJfLTm8sU7JnAOFBc/VDCkEv4p2zOp+BiUW9BuchEQZumVua+zAok+EShX6zFrTptPjNjd5Q==", - "license": "MIT", - "dependencies": { - "@noble/hashes": "^1.8.0", - "@polkadot-api/utils": "0.2.0", - "@scure/base": "^1.2.6", - "scale-ts": "^1.6.1" - } - }, "node_modules/@polkadot-api/descriptors": { "resolved": ".papi/descriptors", "link": true }, "node_modules/@polkadot-api/ink-contracts": { - "version": "0.3.8", - "resolved": "https://registry.npmjs.org/@polkadot-api/ink-contracts/-/ink-contracts-0.3.8.tgz", - "integrity": "sha512-Expn86batDTcdwHv9wGrmjc0nObqi3t13HMHlZVPEm3RflaKTmSOKindpXAkzkeqOnnuOzDq5ucmL92Boo2oZQ==", + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@polkadot-api/ink-contracts/-/ink-contracts-0.4.1.tgz", + "integrity": "sha512-YQT7/asfp/kl8WERYe1dY+l1U/8X0KJKHFJZ6dpwTg6HlZ89w71A1BJadRX5TbLCJExeuE12YE1nDMvo6ZUaGg==", "license": "MIT", "dependencies": { - "@polkadot-api/metadata-builders": "0.13.2", - "@polkadot-api/substrate-bindings": "0.16.0", + "@polkadot-api/metadata-builders": "0.13.6", + "@polkadot-api/substrate-bindings": "0.16.4", "@polkadot-api/utils": "0.2.0" } }, - "node_modules/@polkadot-api/ink-contracts/node_modules/@polkadot-api/substrate-bindings": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-bindings/-/substrate-bindings-0.16.0.tgz", - "integrity": "sha512-kNIOvUuiGPGsQBEJfLTm8sU7JnAOFBc/VDCkEv4p2zOp+BiUW9BuchEQZumVua+zAok+EShX6zFrTptPjNjd5Q==", - "license": "MIT", - "dependencies": { - "@noble/hashes": "^1.8.0", - "@polkadot-api/utils": "0.2.0", - "@scure/base": "^1.2.6", - "scale-ts": "^1.6.1" - } - }, "node_modules/@polkadot-api/json-rpc-provider": { "version": "0.0.4", "resolved": "https://registry.npmjs.org/@polkadot-api/json-rpc-provider/-/json-rpc-provider-0.0.4.tgz", @@ -1305,9 +1253,9 @@ "license": "MIT" }, "node_modules/@polkadot-api/json-rpc-provider-proxy": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/@polkadot-api/json-rpc-provider-proxy/-/json-rpc-provider-proxy-0.2.4.tgz", - "integrity": "sha512-nuGoY9QpBAiRU7xmXN3nugFvPcnSu3IxTLm1OWcNTGlZ1LW5bvdQHz3JLk56+Jlyb3GJ971hqdg2DJsMXkKCOg==", + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@polkadot-api/json-rpc-provider-proxy/-/json-rpc-provider-proxy-0.2.5.tgz", + "integrity": "sha512-33ZTvX4OhKmQBbratQP+4Vk4AMYVBYuhCdBXpX8wujRlGbbUcxnLx5B5/uRKnVUOF4blHJ131Ytz9KLZinMk+Q==", "license": "MIT" }, "node_modules/@polkadot-api/known-chains": { @@ -1317,32 +1265,20 @@ "license": "MIT" }, "node_modules/@polkadot-api/legacy-provider": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@polkadot-api/legacy-provider/-/legacy-provider-0.2.3.tgz", - "integrity": "sha512-/KT6N4XsTPXlmpUGX+6jQQF3uStbGKcStAvmsiFWxBjqD+rB+7qqyF6MkcO0G1iOaW71as0pVg3rspDm5uHSuQ==", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@polkadot-api/legacy-provider/-/legacy-provider-0.3.3.tgz", + "integrity": "sha512-7zjPTwFrRL8jRXpFo+0ue9LPay0s2ErpSYJ30xCCIEw3wr8Y7V8rGnUYLBHX4FlWbbdv8ynrCP3jcD4cgtmuEQ==", "license": "MIT", "dependencies": { "@polkadot-api/json-rpc-provider": "0.0.4", "@polkadot-api/raw-client": "0.1.1", - "@polkadot-api/substrate-bindings": "0.16.0", + "@polkadot-api/substrate-bindings": "0.16.4", "@polkadot-api/utils": "0.2.0" }, "peerDependencies": { "rxjs": ">=7.8.0" } }, - "node_modules/@polkadot-api/legacy-provider/node_modules/@polkadot-api/substrate-bindings": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-bindings/-/substrate-bindings-0.16.0.tgz", - "integrity": "sha512-kNIOvUuiGPGsQBEJfLTm8sU7JnAOFBc/VDCkEv4p2zOp+BiUW9BuchEQZumVua+zAok+EShX6zFrTptPjNjd5Q==", - "license": "MIT", - "dependencies": { - "@noble/hashes": "^1.8.0", - "@polkadot-api/utils": "0.2.0", - "@scure/base": "^1.2.6", - "scale-ts": "^1.6.1" - } - }, "node_modules/@polkadot-api/logs-provider": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/@polkadot-api/logs-provider/-/logs-provider-0.0.6.tgz", @@ -1353,124 +1289,64 @@ } }, "node_modules/@polkadot-api/merkleize-metadata": { - "version": "1.1.22", - "resolved": "https://registry.npmjs.org/@polkadot-api/merkleize-metadata/-/merkleize-metadata-1.1.22.tgz", - "integrity": "sha512-OU8rWgBkIVaS3P+Kzra9JyKuEKu+vbpFRFB441PKctbNduQIw/CoxCh2TcCZ6aQD2ecpZgPgqC88Ffgcl2ffRg==", + "version": "1.1.26", + "resolved": "https://registry.npmjs.org/@polkadot-api/merkleize-metadata/-/merkleize-metadata-1.1.26.tgz", + "integrity": "sha512-ag5uSY35314YUNmFRn295dgs4LUCygotlIGvyBObazT8qUV0PbeAOHUO+SGtaSYNz+dCFSHEMNaLinMifSp+VQ==", "license": "MIT", "dependencies": { - "@polkadot-api/metadata-builders": "0.13.2", - "@polkadot-api/substrate-bindings": "0.16.0", + "@polkadot-api/metadata-builders": "0.13.6", + "@polkadot-api/substrate-bindings": "0.16.4", "@polkadot-api/utils": "0.2.0" } }, - "node_modules/@polkadot-api/merkleize-metadata/node_modules/@polkadot-api/substrate-bindings": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-bindings/-/substrate-bindings-0.16.0.tgz", - "integrity": "sha512-kNIOvUuiGPGsQBEJfLTm8sU7JnAOFBc/VDCkEv4p2zOp+BiUW9BuchEQZumVua+zAok+EShX6zFrTptPjNjd5Q==", - "license": "MIT", - "dependencies": { - "@noble/hashes": "^1.8.0", - "@polkadot-api/utils": "0.2.0", - "@scure/base": "^1.2.6", - "scale-ts": "^1.6.1" - } - }, "node_modules/@polkadot-api/metadata-builders": { - "version": "0.13.2", - "resolved": "https://registry.npmjs.org/@polkadot-api/metadata-builders/-/metadata-builders-0.13.2.tgz", - "integrity": "sha512-zUWoNxDqYbB1KvSyugTgIc0HpGl6FdrXvY8xQlYLPQFbvHKH4HSJ+9vspropfGOkyc6zy/DlbHX7fKMhGesDwQ==", + "version": "0.13.6", + "resolved": "https://registry.npmjs.org/@polkadot-api/metadata-builders/-/metadata-builders-0.13.6.tgz", + "integrity": "sha512-4VIdMkuSYldfzUNBj/fqx4zL4brqFcCVTcwZg0B5zdmAz8Bu2HaNqe06kG13H1qYN4lnEgNX0aBpKxNewsGHbQ==", "license": "MIT", "dependencies": { - "@polkadot-api/substrate-bindings": "0.16.0", + "@polkadot-api/substrate-bindings": "0.16.4", "@polkadot-api/utils": "0.2.0" } }, - "node_modules/@polkadot-api/metadata-builders/node_modules/@polkadot-api/substrate-bindings": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-bindings/-/substrate-bindings-0.16.0.tgz", - "integrity": "sha512-kNIOvUuiGPGsQBEJfLTm8sU7JnAOFBc/VDCkEv4p2zOp+BiUW9BuchEQZumVua+zAok+EShX6zFrTptPjNjd5Q==", - "license": "MIT", - "dependencies": { - "@noble/hashes": "^1.8.0", - "@polkadot-api/utils": "0.2.0", - "@scure/base": "^1.2.6", - "scale-ts": "^1.6.1" - } - }, "node_modules/@polkadot-api/metadata-compatibility": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@polkadot-api/metadata-compatibility/-/metadata-compatibility-0.3.3.tgz", - "integrity": "sha512-TQPxjAV0YbMGt5u54yLSbO9EYllcMkQoARR/3ak00Q+A1iRS5Jf/k/OATDT1++L7guULtJnibm7NZz75K6mFsQ==", - "license": "MIT", - "dependencies": { - "@polkadot-api/metadata-builders": "0.13.2", - "@polkadot-api/substrate-bindings": "0.16.0" - } - }, - "node_modules/@polkadot-api/metadata-compatibility/node_modules/@polkadot-api/substrate-bindings": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-bindings/-/substrate-bindings-0.16.0.tgz", - "integrity": "sha512-kNIOvUuiGPGsQBEJfLTm8sU7JnAOFBc/VDCkEv4p2zOp+BiUW9BuchEQZumVua+zAok+EShX6zFrTptPjNjd5Q==", + "version": "0.3.7", + "resolved": "https://registry.npmjs.org/@polkadot-api/metadata-compatibility/-/metadata-compatibility-0.3.7.tgz", + "integrity": "sha512-UIK1Cho6U2kJafsFtSvUYYgBtZojEC6UY+rAMeb9JyDE/KE4pVg1FaAjUPvYAwlyZj9oyeRRSUZ5cVZDg+jUaA==", "license": "MIT", "dependencies": { - "@noble/hashes": "^1.8.0", - "@polkadot-api/utils": "0.2.0", - "@scure/base": "^1.2.6", - "scale-ts": "^1.6.1" + "@polkadot-api/metadata-builders": "0.13.6", + "@polkadot-api/substrate-bindings": "0.16.4" } }, "node_modules/@polkadot-api/observable-client": { - "version": "0.13.8", - "resolved": "https://registry.npmjs.org/@polkadot-api/observable-client/-/observable-client-0.13.8.tgz", - "integrity": "sha512-kRNg+W15n/+1yrdrkV51CCF1JrUKSnhw14sdhvaYpc6+O1fKKtCTh8lIj4pDNDCscAfyFw75vl8tlXN7da5xIg==", + "version": "0.15.2", + "resolved": "https://registry.npmjs.org/@polkadot-api/observable-client/-/observable-client-0.15.2.tgz", + "integrity": "sha512-YUENI0quoWh4mRGJq+h4d4nU/xBDrme5IwYm66YB36QaVDMxtxdwinB4I9Z+DYprYjG+xdQ5xJ10TMqrXE+yzA==", "license": "MIT", "dependencies": { - "@polkadot-api/metadata-builders": "0.13.2", - "@polkadot-api/substrate-bindings": "0.16.0", - "@polkadot-api/substrate-client": "0.4.4", + "@polkadot-api/metadata-builders": "0.13.6", + "@polkadot-api/substrate-bindings": "0.16.4", + "@polkadot-api/substrate-client": "0.4.7", "@polkadot-api/utils": "0.2.0" }, "peerDependencies": { "rxjs": ">=7.8.0" } }, - "node_modules/@polkadot-api/observable-client/node_modules/@polkadot-api/substrate-bindings": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-bindings/-/substrate-bindings-0.16.0.tgz", - "integrity": "sha512-kNIOvUuiGPGsQBEJfLTm8sU7JnAOFBc/VDCkEv4p2zOp+BiUW9BuchEQZumVua+zAok+EShX6zFrTptPjNjd5Q==", - "license": "MIT", - "dependencies": { - "@noble/hashes": "^1.8.0", - "@polkadot-api/utils": "0.2.0", - "@scure/base": "^1.2.6", - "scale-ts": "^1.6.1" - } - }, "node_modules/@polkadot-api/pjs-signer": { - "version": "0.6.12", - "resolved": "https://registry.npmjs.org/@polkadot-api/pjs-signer/-/pjs-signer-0.6.12.tgz", - "integrity": "sha512-QcmXnmDVXOMwxuwU6Mk1wGsPx0FWVIXfZZA2yyvO8pbT3Yz3vWLeQhdydFBxjmXDu7osB8q+WGVPUK/E/dwV5Q==", + "version": "0.6.16", + "resolved": "https://registry.npmjs.org/@polkadot-api/pjs-signer/-/pjs-signer-0.6.16.tgz", + "integrity": "sha512-kIv1628CzhpD6kCIuAkrYrFN85pbTNjBPrW09tnC7dfC6YbFgaF3toh2R9xpJG8VcJtWUg8pJuwSk4APXKMZHw==", "license": "MIT", "dependencies": { - "@polkadot-api/metadata-builders": "0.13.2", + "@polkadot-api/metadata-builders": "0.13.6", "@polkadot-api/polkadot-signer": "0.1.6", - "@polkadot-api/signers-common": "0.1.13", - "@polkadot-api/substrate-bindings": "0.16.0", + "@polkadot-api/signers-common": "0.1.17", + "@polkadot-api/substrate-bindings": "0.16.4", "@polkadot-api/utils": "0.2.0" } }, - "node_modules/@polkadot-api/pjs-signer/node_modules/@polkadot-api/substrate-bindings": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-bindings/-/substrate-bindings-0.16.0.tgz", - "integrity": "sha512-kNIOvUuiGPGsQBEJfLTm8sU7JnAOFBc/VDCkEv4p2zOp+BiUW9BuchEQZumVua+zAok+EShX6zFrTptPjNjd5Q==", - "license": "MIT", - "dependencies": { - "@noble/hashes": "^1.8.0", - "@polkadot-api/utils": "0.2.0", - "@scure/base": "^1.2.6", - "scale-ts": "^1.6.1" - } - }, "node_modules/@polkadot-api/polkadot-sdk-compat": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/@polkadot-api/polkadot-sdk-compat/-/polkadot-sdk-compat-2.3.3.tgz", @@ -1496,93 +1372,66 @@ } }, "node_modules/@polkadot-api/signer": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/@polkadot-api/signer/-/signer-0.2.6.tgz", - "integrity": "sha512-pJBRz6T0NOP4RLT0/fQbrRH8k2sxKI/DjGNZopNnywwHLBDdTS0G1W0Zw5TiVmLTan4FtsuN1M3fT4d0fABaLw==", + "version": "0.2.10", + "resolved": "https://registry.npmjs.org/@polkadot-api/signer/-/signer-0.2.10.tgz", + "integrity": "sha512-fzYFiCq98sBP9lmu2OTAOFG4uUOZS7xGuTGO8620sKrLJRRmhfUjtAECK2PTif3RESxQ7k3fc8w/JQhEtbLyGg==", "license": "MIT", "dependencies": { - "@noble/hashes": "^1.8.0", - "@polkadot-api/merkleize-metadata": "1.1.22", + "@noble/hashes": "^2.0.1", + "@polkadot-api/merkleize-metadata": "1.1.26", "@polkadot-api/polkadot-signer": "0.1.6", - "@polkadot-api/signers-common": "0.1.13", - "@polkadot-api/substrate-bindings": "0.16.0", + "@polkadot-api/signers-common": "0.1.17", + "@polkadot-api/substrate-bindings": "0.16.4", "@polkadot-api/utils": "0.2.0" } }, - "node_modules/@polkadot-api/signer/node_modules/@polkadot-api/substrate-bindings": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-bindings/-/substrate-bindings-0.16.0.tgz", - "integrity": "sha512-kNIOvUuiGPGsQBEJfLTm8sU7JnAOFBc/VDCkEv4p2zOp+BiUW9BuchEQZumVua+zAok+EShX6zFrTptPjNjd5Q==", + "node_modules/@polkadot-api/signer/node_modules/@noble/hashes": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-2.0.1.tgz", + "integrity": "sha512-XlOlEbQcE9fmuXxrVTXCTlG2nlRXa9Rj3rr5Ue/+tX+nmkgbX720YHh0VR3hBF9xDvwnb8D2shVGOwNx+ulArw==", "license": "MIT", - "dependencies": { - "@noble/hashes": "^1.8.0", - "@polkadot-api/utils": "0.2.0", - "@scure/base": "^1.2.6", - "scale-ts": "^1.6.1" + "engines": { + "node": ">= 20.19.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" } }, "node_modules/@polkadot-api/signers-common": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/@polkadot-api/signers-common/-/signers-common-0.1.13.tgz", - "integrity": "sha512-nSstTDN5sG5Kl/NjiSw2eluiV6Y3KXvgbcE2OCtUp+yAN+8MNPs8WrGwK8vg9y1uiQgRHrTGxbnwbhbTMPU5LQ==", + "version": "0.1.17", + "resolved": "https://registry.npmjs.org/@polkadot-api/signers-common/-/signers-common-0.1.17.tgz", + "integrity": "sha512-Cp9amiZ99Ofh+7cUNIjeWIxEYorGOO/ZFucZHiX8mEjInMjFroZWZhxmcgoqw1t8y677wsov4npJTXKDqAFApg==", "license": "MIT", "dependencies": { - "@polkadot-api/metadata-builders": "0.13.2", + "@polkadot-api/metadata-builders": "0.13.6", "@polkadot-api/polkadot-signer": "0.1.6", - "@polkadot-api/substrate-bindings": "0.16.0", + "@polkadot-api/substrate-bindings": "0.16.4", "@polkadot-api/utils": "0.2.0" } }, - "node_modules/@polkadot-api/signers-common/node_modules/@polkadot-api/substrate-bindings": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-bindings/-/substrate-bindings-0.16.0.tgz", - "integrity": "sha512-kNIOvUuiGPGsQBEJfLTm8sU7JnAOFBc/VDCkEv4p2zOp+BiUW9BuchEQZumVua+zAok+EShX6zFrTptPjNjd5Q==", - "license": "MIT", - "dependencies": { - "@noble/hashes": "^1.8.0", - "@polkadot-api/utils": "0.2.0", - "@scure/base": "^1.2.6", - "scale-ts": "^1.6.1" - } - }, "node_modules/@polkadot-api/sm-provider": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/@polkadot-api/sm-provider/-/sm-provider-0.1.7.tgz", - "integrity": "sha512-BhNKVeIFZdawpPVadXszLl8IP4EDjcLHe/GchfRRFkvoNFuwS2nNv/npYIqCviXV+dd2R8VnEELxwScsf380Og==", + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/@polkadot-api/sm-provider/-/sm-provider-0.1.12.tgz", + "integrity": "sha512-l8BR7dQWw7HcXwzeUzJCThzKThU2MwERiLHmr+YNedS4ryg38oUvbDfoofFkE8ZHfwzqMoBQZWTskJQxrVsO3Q==", "license": "MIT", "dependencies": { "@polkadot-api/json-rpc-provider": "0.0.4", - "@polkadot-api/json-rpc-provider-proxy": "0.2.4" + "@polkadot-api/json-rpc-provider-proxy": "0.2.5" }, "peerDependencies": { "@polkadot-api/smoldot": ">=0.3" } }, "node_modules/@polkadot-api/smoldot": { - "version": "0.3.10", - "resolved": "https://registry.npmjs.org/@polkadot-api/smoldot/-/smoldot-0.3.10.tgz", - "integrity": "sha512-oL0Qsq2p3h2mU1/+gNq4h2rC/S99WoDiqkpmxg/phzknjXcbYXouYLSvhGbECygE1vWPVPl3IWAOjW/gcKdYKw==", - "license": "MIT", - "dependencies": { - "@types/node": "^22.15.30", - "smoldot": "2.0.36" - } - }, - "node_modules/@polkadot-api/smoldot/node_modules/@types/node": { - "version": "22.18.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.18.0.tgz", - "integrity": "sha512-m5ObIqwsUp6BZzyiy4RdZpzWGub9bqLJMvZDD0QMXhxjqMHMENlj+SqF5QxoUwaQNFe+8kz8XM8ZQhqkQPTgMQ==", + "version": "0.3.14", + "resolved": "https://registry.npmjs.org/@polkadot-api/smoldot/-/smoldot-0.3.14.tgz", + "integrity": "sha512-eWqO0xFQaKzqY5mRYxYuZcj1IiaLcQP+J38UQyuJgEorm+9yHVEQ/XBWoM83P+Y8TwE5IWTICp1LCVeiFQTGPQ==", "license": "MIT", "dependencies": { - "undici-types": "~6.21.0" + "@types/node": "^24.5.2", + "smoldot": "2.0.39" } }, - "node_modules/@polkadot-api/smoldot/node_modules/undici-types": { - "version": "6.21.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", - "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", - "license": "MIT" - }, "node_modules/@polkadot-api/substrate-bindings": { "version": "0.16.4", "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-bindings/-/substrate-bindings-0.16.4.tgz", @@ -1617,9 +1466,9 @@ } }, "node_modules/@polkadot-api/substrate-client": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-client/-/substrate-client-0.4.4.tgz", - "integrity": "sha512-jZf55i++4SPh6lrVaf+dK3umtrWCJEKEvfvALtxjXG917RVRueAjk4q7AcX9zITvw/4saA1Pq4eyq+swazFnyA==", + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-client/-/substrate-client-0.4.7.tgz", + "integrity": "sha512-Mmx9VKincVqfVQmq89gzDk4DN3uKwf8CxoqYvq+EiPUZ1QmMUc7X4QMwG1MXIlYdnm5LSXzn+2Jn8ik8xMgL+w==", "license": "MIT", "dependencies": { "@polkadot-api/json-rpc-provider": "0.0.4", @@ -1634,19 +1483,20 @@ "license": "MIT" }, "node_modules/@polkadot-api/wasm-executor": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@polkadot-api/wasm-executor/-/wasm-executor-0.2.1.tgz", - "integrity": "sha512-EN3qtu9Aurz1PoEjvrvL/Z9lSMrLkRU2K1fOjzWFpI5siBgQ2eN/tMLbX1VjaSk1VhvXmbXPaqBrkfdMCxLdsg==", + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/@polkadot-api/wasm-executor/-/wasm-executor-0.2.2.tgz", + "integrity": "sha512-uqQEHO2uho6cwPOfxtZlaQjGwwZfqF4MpmEfyyHw56i+NlvzSQWrLnIIpcAlwsJl8HeHCOy/IPOcLiZzFyXNiQ==", "license": "MIT" }, "node_modules/@polkadot-api/ws-provider": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@polkadot-api/ws-provider/-/ws-provider-0.5.0.tgz", - "integrity": "sha512-9tz9x4Uv0MhyfgghPDqRYRDrwrfirGnKwdJfhDNZ8ZqOGPv2eIFDIu8zFiBeYs8+G2M1kbU+WOZQhJmwYjTEoA==", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@polkadot-api/ws-provider/-/ws-provider-0.7.0.tgz", + "integrity": "sha512-x/ulbwhvWlCyqxwtEfpVqPYArIuoo3g+defPcpZX5iJ1E6/+SYsGChDmgzM5Zbb0wDJMEn+p4us5P1Ll127cUA==", "license": "MIT", "dependencies": { "@polkadot-api/json-rpc-provider": "0.0.4", - "@polkadot-api/json-rpc-provider-proxy": "0.2.4", + "@polkadot-api/json-rpc-provider-proxy": "0.2.5", + "@types/ws": "^8.18.1", "ws": "^8.18.3" } }, @@ -2425,6 +2275,15 @@ "integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==", "license": "MIT" }, + "node_modules/@types/ws": { + "version": "8.18.1", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.1.tgz", + "integrity": "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@vitest/expect": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-3.2.4.tgz", @@ -2553,9 +2412,9 @@ } }, "node_modules/ansi-regex": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.0.tgz", - "integrity": "sha512-TKY5pyBkHyADOPYlRT9Lx6F544mPl0vS5Ew7BJ45hA08Q+t3GjbueLliBWN3sMICk6+y7HdyxSzC4bWS8baBdg==", + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", + "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", "license": "MIT", "engines": { "node": ">=12" @@ -2565,9 +2424,9 @@ } }, "node_modules/ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", "license": "MIT", "engines": { "node": ">=12" @@ -2682,9 +2541,9 @@ } }, "node_modules/chalk": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.0.tgz", - "integrity": "sha512-46QrSQFyVSEyYAgQ22hQ+zDa60YHA4fBstHmtSApj1Y5vKtG27fWowW03jCk5KcbXEWPZUIR894aARCA/G1kfQ==", + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", + "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", "license": "MIT", "engines": { "node": "^12.17.0 || ^14.13 || >=16.0.0" @@ -2734,12 +2593,12 @@ } }, "node_modules/cli-spinners": { - "version": "2.9.2", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", - "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-3.3.0.tgz", + "integrity": "sha512-/+40ljC3ONVnYIttjMWrlL51nItDAbBrq2upN8BPyvGU/2n5Oxw3tbNwORCaNuNqLJnxGqOfjUuhsv7l5Q4IsQ==", "license": "MIT", "engines": { - "node": ">=6" + "node": ">=18.20" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -2769,6 +2628,15 @@ "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", "license": "MIT" }, + "node_modules/commander": { + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.1.tgz", + "integrity": "sha512-2JkV3gUZUVrbNA+1sjBOYLsMZ5cEEl8GTFP2a4AVz5hvasAMCQ1D2l2le/cX+pV4N6ZU17zjUahLpIXRrnWL8A==", + "license": "MIT", + "engines": { + "node": ">=20" + } + }, "node_modules/confbox": { "version": "0.1.8", "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.1.8.tgz", @@ -2853,12 +2721,15 @@ } }, "node_modules/detect-indent": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-7.0.1.tgz", - "integrity": "sha512-Mc7QhQ8s+cLrnUfU/Ji94vG/r8M26m8f++vyres4ZoojaRDpZ1eSIh/EpzLNwlWuvzSZ3UbDFspjFvTDXe6e/g==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-7.0.2.tgz", + "integrity": "sha512-y+8xyqdGLL+6sh0tVeHcfP/QDd8gUgbasolJJpY7NgeQGSZ739bDtSiaiDgtoicy+mtYB81dKLxO9xRhCyIB3A==", "license": "MIT", "engines": { "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/dotenv": { @@ -2880,9 +2751,9 @@ "license": "MIT" }, "node_modules/emoji-regex": { - "version": "10.5.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.5.0.tgz", - "integrity": "sha512-lb49vf1Xzfx080OKA0o6l8DQQpV+6Vg95zyCJX9VB/BqKYlhG7N4wgROUUHRA+ZPUefLnteQOad7z1kT2bV7bg==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "license": "MIT" }, "node_modules/end-of-stream": { @@ -3142,9 +3013,9 @@ } }, "node_modules/get-east-asian-width": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.3.1.tgz", - "integrity": "sha512-R1QfovbPsKmosqTnPoRFiJ7CF9MLRgb53ChvMZm+r4p76/+8yKDy17qLL2PKInORy2RkZZekuK0efYgmzTkXyQ==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.4.0.tgz", + "integrity": "sha512-QZjmEOC+IT1uk6Rx0sX22V6uHWVwbdbxf1faPqJ1QhLdGgsRGCZoyaQBm/piRdJy/D2um6hM1UP7ZEeQ4EkP+Q==", "license": "MIT", "engines": { "node": ">=18" @@ -3207,12 +3078,6 @@ "node": "^16.14.0 || >=18.0.0" } }, - "node_modules/hosted-git-info/node_modules/lru-cache": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", - "license": "ISC" - }, "node_modules/human-signals": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-8.0.1.tgz", @@ -3242,9 +3107,9 @@ } }, "node_modules/index-to-position": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/index-to-position/-/index-to-position-1.1.0.tgz", - "integrity": "sha512-XPdx9Dq4t9Qk1mTMbWONJqU7boCoumEH7fRET37HX5+khDUl3J2W6PdALxhILYlIYx2amlwYcRPp28p0tSiojg==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/index-to-position/-/index-to-position-1.2.0.tgz", + "integrity": "sha512-Yg7+ztRkqslMAS2iFaU+Oa4KTSidr63OsFGlOrJoW981kIYO3CGCS3wA95P1mUi/IVSJkn0D479KTJpVpvFNuw==", "license": "MIT", "engines": { "node": ">=18" @@ -3419,13 +3284,13 @@ "license": "MIT" }, "node_modules/log-symbols": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-6.0.0.tgz", - "integrity": "sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-7.0.1.tgz", + "integrity": "sha512-ja1E3yCr9i/0hmBVaM0bfwDjnGy8I/s6PP4DFp+yP+a+mrHO4Rm7DtmnqROTUkHIkqffC84YY7AeqX6oFk0WFg==", "license": "MIT", "dependencies": { - "chalk": "^5.3.0", - "is-unicode-supported": "^1.3.0" + "is-unicode-supported": "^2.0.0", + "yoctocolors": "^2.1.1" }, "engines": { "node": ">=18" @@ -3434,18 +3299,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/log-symbols/node_modules/is-unicode-supported": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz", - "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/loupe": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz", @@ -3453,6 +3306,12 @@ "dev": true, "license": "MIT" }, + "node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "license": "ISC" + }, "node_modules/magic-string": { "version": "0.30.17", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz", @@ -3694,23 +3553,23 @@ } }, "node_modules/ora": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/ora/-/ora-8.2.0.tgz", - "integrity": "sha512-weP+BZ8MVNnlCm8c0Qdc1WSWq4Qn7I+9CJGm7Qali6g44e/PUzbjNqJX5NJ9ljlNMosfJvg1fKEGILklK9cwnw==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/ora/-/ora-9.0.0.tgz", + "integrity": "sha512-m0pg2zscbYgWbqRR6ABga5c3sZdEon7bSgjnlXC64kxtxLOyjRcbbUkLj7HFyy/FTD+P2xdBWu8snGhYI0jc4A==", "license": "MIT", "dependencies": { - "chalk": "^5.3.0", + "chalk": "^5.6.2", "cli-cursor": "^5.0.0", - "cli-spinners": "^2.9.2", + "cli-spinners": "^3.2.0", "is-interactive": "^2.0.0", - "is-unicode-supported": "^2.0.0", - "log-symbols": "^6.0.0", + "is-unicode-supported": "^2.1.0", + "log-symbols": "^7.0.1", "stdin-discarder": "^0.2.2", - "string-width": "^7.2.0", - "strip-ansi": "^7.1.0" + "string-width": "^8.1.0", + "strip-ansi": "^7.1.2" }, "engines": { - "node": ">=18" + "node": ">=20" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -3745,6 +3604,23 @@ "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", "license": "BlueOak-1.0.0" }, + "node_modules/parse-json": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-8.3.0.tgz", + "integrity": "sha512-ybiGyvspI+fAoRQbIPRddCcSTV9/LsJbf0e/S85VLowVGzRmokfneg2kwVW/KU5rOXrPSbF1qAKPMgNTqqROQQ==", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.26.2", + "index-to-position": "^1.1.0", + "type-fest": "^4.39.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/parse-ms": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-4.0.0.tgz", @@ -3782,12 +3658,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/path-scurry/node_modules/lru-cache": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", - "license": "ISC" - }, "node_modules/pathe": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", @@ -3916,29 +3786,29 @@ } }, "node_modules/polkadot-api": { - "version": "1.16.4", - "resolved": "https://registry.npmjs.org/polkadot-api/-/polkadot-api-1.16.4.tgz", - "integrity": "sha512-SOz6ZIAz/Y92BP6ekvLP9dVbcSzxebMsL1kR6/Nnui0Q/1t1YLyB8VOTuLz+5SDN96nxJGvAo5r48Xp+B8BXEg==", + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/polkadot-api/-/polkadot-api-1.20.0.tgz", + "integrity": "sha512-XAh5Y9ZXxIFDrX+LrITdR7NhkA9NzNp91x0tFUA72TKgWP2wqnm6gGeNQsLYV81MuN+tw5MfJp/1LafUwGnLsQ==", "license": "MIT", "dependencies": { - "@polkadot-api/cli": "0.14.11", - "@polkadot-api/ink-contracts": "0.3.8", + "@polkadot-api/cli": "0.15.3", + "@polkadot-api/ink-contracts": "0.4.1", "@polkadot-api/json-rpc-provider": "0.0.4", - "@polkadot-api/known-chains": "0.9.6", + "@polkadot-api/known-chains": "0.9.12", "@polkadot-api/logs-provider": "0.0.6", - "@polkadot-api/metadata-builders": "0.13.2", - "@polkadot-api/metadata-compatibility": "0.3.3", - "@polkadot-api/observable-client": "0.13.8", - "@polkadot-api/pjs-signer": "0.6.12", + "@polkadot-api/metadata-builders": "0.13.6", + "@polkadot-api/metadata-compatibility": "0.3.7", + "@polkadot-api/observable-client": "0.15.2", + "@polkadot-api/pjs-signer": "0.6.16", "@polkadot-api/polkadot-sdk-compat": "2.3.3", "@polkadot-api/polkadot-signer": "0.1.6", - "@polkadot-api/signer": "0.2.6", - "@polkadot-api/sm-provider": "0.1.7", - "@polkadot-api/smoldot": "0.3.10", - "@polkadot-api/substrate-bindings": "0.16.0", - "@polkadot-api/substrate-client": "0.4.4", + "@polkadot-api/signer": "0.2.10", + "@polkadot-api/sm-provider": "0.1.12", + "@polkadot-api/smoldot": "0.3.14", + "@polkadot-api/substrate-bindings": "0.16.4", + "@polkadot-api/substrate-client": "0.4.7", "@polkadot-api/utils": "0.2.0", - "@polkadot-api/ws-provider": "0.5.0", + "@polkadot-api/ws-provider": "0.7.0", "@rx-state/core": "^0.1.4" }, "bin": { @@ -3949,24 +3819,6 @@ "rxjs": ">=7.8.0" } }, - "node_modules/polkadot-api/node_modules/@polkadot-api/known-chains": { - "version": "0.9.6", - "resolved": "https://registry.npmjs.org/@polkadot-api/known-chains/-/known-chains-0.9.6.tgz", - "integrity": "sha512-4QIGyBH/3U7JJYjb/q1v7Vh0d8NtmIJ2YSfkqnrPSeANn00j76k0Zx4JyJvvx1BH3D95sGrCP0gCUTxcHi6mkA==", - "license": "MIT" - }, - "node_modules/polkadot-api/node_modules/@polkadot-api/substrate-bindings": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/@polkadot-api/substrate-bindings/-/substrate-bindings-0.16.0.tgz", - "integrity": "sha512-kNIOvUuiGPGsQBEJfLTm8sU7JnAOFBc/VDCkEv4p2zOp+BiUW9BuchEQZumVua+zAok+EShX6zFrTptPjNjd5Q==", - "license": "MIT", - "dependencies": { - "@noble/hashes": "^1.8.0", - "@polkadot-api/utils": "0.2.0", - "@scure/base": "^1.2.6", - "scale-ts": "^1.6.1" - } - }, "node_modules/postcss": { "version": "8.5.6", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz", @@ -4039,9 +3891,9 @@ } }, "node_modules/pretty-ms": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-9.2.0.tgz", - "integrity": "sha512-4yf0QO/sllf/1zbZWYnvWw3NxCQwLXKzIj0G849LSufP15BXKM0rbD2Z3wVnkMfjdn/CB0Dpp444gYAACdsplg==", + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-9.3.0.tgz", + "integrity": "sha512-gjVS5hOP+M3wMm5nmNOucbIrqudzs9v/57bWRHQWLYklXqoXKrVfYW2W9+glfGsqtPgpiz5WwyEEB+ksXIx3gQ==", "license": "MIT", "dependencies": { "parse-ms": "^4.0.0" @@ -4175,35 +4027,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/read-pkg/node_modules/parse-json": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-8.3.0.tgz", - "integrity": "sha512-ybiGyvspI+fAoRQbIPRddCcSTV9/LsJbf0e/S85VLowVGzRmokfneg2kwVW/KU5rOXrPSbF1qAKPMgNTqqROQQ==", - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.26.2", - "index-to-position": "^1.1.0", - "type-fest": "^4.39.1" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/read-pkg/node_modules/type-fest": { - "version": "4.41.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", - "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/read-pkg/node_modules/unicorn-magic": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz", @@ -4343,9 +4166,9 @@ "license": "BSD-3-Clause" }, "node_modules/semver": { - "version": "7.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", - "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -4419,9 +4242,9 @@ } }, "node_modules/smoldot": { - "version": "2.0.36", - "resolved": "https://registry.npmjs.org/smoldot/-/smoldot-2.0.36.tgz", - "integrity": "sha512-0GtHgxOs1VGs+WzpUgTQ52Zg92/q4mnIPEl+smArI4pis6aduQ6ZiXRllbDafsIb18wWYsxaBLNjBkNOB8xBrw==", + "version": "2.0.39", + "resolved": "https://registry.npmjs.org/smoldot/-/smoldot-2.0.39.tgz", + "integrity": "sha512-yFMSzI6nkqWFTNao99lBA/TguUFU+bR3A5UGTDd/QqqB12jqzvZnmW/No6l2rKmagt8Qx/KybMNowV/E28znhA==", "license": "GPL-3.0-or-later WITH Classpath-exception-2.0", "dependencies": { "ws": "^8.8.1" @@ -4549,17 +4372,16 @@ "license": "MIT" }, "node_modules/string-width": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", - "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.1.0.tgz", + "integrity": "sha512-Kxl3KJGb/gxkaUMOjRsQ8IrXiGW75O4E3RPjFIINOVH8AMl2SQ/yWdTzWwF3FevIX9LcMAjJW+GRwAlAbTSXdg==", "license": "MIT", "dependencies": { - "emoji-regex": "^10.3.0", - "get-east-asian-width": "^1.0.0", + "get-east-asian-width": "^1.3.0", "strip-ansi": "^7.1.0" }, "engines": { - "node": ">=18" + "node": ">=20" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -4589,12 +4411,6 @@ "node": ">=8" } }, - "node_modules/string-width-cjs/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "license": "MIT" - }, "node_modules/string-width-cjs/node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -4608,9 +4424,9 @@ } }, "node_modules/strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz", + "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==", "license": "MIT", "dependencies": { "ansi-regex": "^6.0.1" @@ -4904,10 +4720,22 @@ } } }, + "node_modules/type-fest": { + "version": "4.41.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", + "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/typescript": { - "version": "5.9.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.2.tgz", - "integrity": "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==", + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", @@ -5262,12 +5090,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "license": "MIT" - }, "node_modules/wrap-ansi-cjs/node_modules/string-width": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", @@ -5355,9 +5177,9 @@ } }, "node_modules/write-package": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/write-package/-/write-package-7.1.0.tgz", - "integrity": "sha512-DqUx8GI3r9BFWwU2DPKddL1E7xWfbFED82mLVhGXKlFEPe8IkBftzO7WfNwHtk7oGDHDeuH/o8VMpzzfMwmLUA==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/write-package/-/write-package-7.2.0.tgz", + "integrity": "sha512-uMQTubF/vcu+Wd0b5BGtDmiXePd/+44hUWQz2nZPbs92/BnxRo74tqs+hqDo12RLiEd+CXFKUwxvvIZvtt34Jw==", "license": "MIT", "dependencies": { "deepmerge-ts": "^7.1.0", @@ -5373,18 +5195,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/write-package/node_modules/type-fest": { - "version": "4.41.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", - "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/ws": { "version": "8.18.3", "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.3.tgz", diff --git a/package.json b/package.json index d11ca0d..d843c88 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "@polkadot-api/substrate-client": "^0.4.4", "@polkadot/util": "^13.5.6", "@polkadot/util-crypto": "^13.5.5", - "polkadot-api": "^1.16.4", + "polkadot-api": "^1.20.0", "probot": "^14.1.0", "dotenv": "^17.2.3" },