diff --git a/package-lock.json b/package-lock.json index ec8364c4..e6a7e611 100644 --- a/package-lock.json +++ b/package-lock.json @@ -39,7 +39,7 @@ "web3-validator": "^2.0.6" }, "devDependencies": { - "@polkadot/typegen": "^12.4.2", + "@polkadot/typegen": "^14.2.2", "@subsquid/substrate-metadata-explorer": "^3.1.2", "@subsquid/substrate-typegen": "^8.0.2", "@subsquid/typeorm-codegen": "^2.0.2", @@ -1794,204 +1794,258 @@ } }, "node_modules/@polkadot/keyring": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-13.0.2.tgz", - "integrity": "sha512-NeLbhyKDT5W8LI9seWTZGePxNTOVpDhv2018HSrEDwJq9Ie0C4TZhUf3KNERCkSveuThXjfQJMs+1CF33ZXPWw==", + "version": "13.2.2", + "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-13.2.2.tgz", + "integrity": "sha512-h4bPU92CALAAC+QOp6+zttuhI5H0GKOUzj1qwnmoPVoWxh21FoekLAXO1YJlsKxciTDdK5OhjdNPOIqcF0GCXA==", "dependencies": { - "@polkadot/util": "13.0.2", - "@polkadot/util-crypto": "13.0.2", - "tslib": "^2.6.2" + "@polkadot/util": "13.2.2", + "@polkadot/util-crypto": "13.2.2", + "tslib": "^2.8.0" }, "engines": { "node": ">=18" }, "peerDependencies": { - "@polkadot/util": "13.0.2", - "@polkadot/util-crypto": "13.0.2" + "@polkadot/util": "13.2.2", + "@polkadot/util-crypto": "13.2.2" } }, - "node_modules/@polkadot/keyring/node_modules/@polkadot/util": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-13.0.2.tgz", - "integrity": "sha512-/6bS9sfhJLhs8QuqWaR1eRapzfDdGC5XAQZEPL9NN5sTTA7HxWos8rVleai0UERm8QUMabjZ9rK9KpzbXl7ojg==", + "node_modules/@polkadot/networks": { + "version": "13.2.2", + "resolved": "https://registry.npmjs.org/@polkadot/networks/-/networks-13.2.2.tgz", + "integrity": "sha512-di3dLB9BcLQ9ARcDe/nizl7jZZnQbQlxB8kXtAXqTIVFtshtKT+zYcji6dTX7xX9/O9tZB7qnrvuIuI0MkwJ5A==", "dependencies": { - "@polkadot/x-bigint": "13.0.2", - "@polkadot/x-global": "13.0.2", - "@polkadot/x-textdecoder": "13.0.2", - "@polkadot/x-textencoder": "13.0.2", - "@types/bn.js": "^5.1.5", - "bn.js": "^5.2.1", - "tslib": "^2.6.2" + "@polkadot/util": "13.2.2", + "@substrate/ss58-registry": "^1.51.0", + "tslib": "^2.8.0" }, "engines": { "node": ">=18" } }, - "node_modules/@polkadot/keyring/node_modules/@polkadot/util-crypto": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-13.0.2.tgz", - "integrity": "sha512-woUsJJ6zd/caL7U+D30a5oM/+WK9iNI00Y8aNUHSj6Zq/KPzK9uqDBaLGWwlgrejoMQkxxiU2X0f2LzP15AtQg==", + "node_modules/@polkadot/rpc-augment": { + "version": "12.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-augment/-/rpc-augment-12.4.2.tgz", + "integrity": "sha512-IEco5pnso+fYkZNMlMAN5i4XAxdXPv0PZ0HNuWlCwF/MmRvWl8pq5JFtY1FiByHEbeuHwMIUhHM5SDKQ85q9Hg==", "dependencies": { - "@noble/curves": "^1.3.0", - "@noble/hashes": "^1.3.3", - "@polkadot/networks": "13.0.2", - "@polkadot/util": "13.0.2", - "@polkadot/wasm-crypto": "^7.3.2", - "@polkadot/wasm-util": "^7.3.2", - "@polkadot/x-bigint": "13.0.2", - "@polkadot/x-randomvalues": "13.0.2", - "@scure/base": "^1.1.5", - "tslib": "^2.6.2" + "@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.3" }, "engines": { "node": ">=18" - }, - "peerDependencies": { - "@polkadot/util": "13.0.2" } }, - "node_modules/@polkadot/keyring/node_modules/@polkadot/x-randomvalues": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-13.0.2.tgz", - "integrity": "sha512-SGj+L0H/7TWZtSmtkWlixO4DFzXDdluI0UscN2h285os2Ns8PnmBbue+iJ8PVSzpY1BOxd66gvkkpboPz+jXFQ==", + "node_modules/@polkadot/rpc-core": { + "version": "12.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-12.4.2.tgz", + "integrity": "sha512-yaveqxNcmyluyNgsBT5tpnCa/md0CGbOtRK7K82LWsz7gsbh0x80GBbJrQGxsUybg1gPeZbO1q9IigwA6fY8ag==", "dependencies": { - "@polkadot/x-global": "13.0.2", - "tslib": "^2.6.2" + "@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.3" }, "engines": { "node": ">=18" - }, - "peerDependencies": { - "@polkadot/util": "13.0.2", - "@polkadot/wasm-util": "*" } }, - "node_modules/@polkadot/keyring/node_modules/@polkadot/x-textdecoder": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-13.0.2.tgz", - "integrity": "sha512-mauglOkTJxLGmLwLc3J5Jlq/W+SHP53eiy3F8/8JxxfnXrZKgWoQXGpvXYPjFnMZj0MzDSy/6GjyGWnDCgdQFA==", + "node_modules/@polkadot/rpc-provider": { + "version": "12.4.2", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-12.4.2.tgz", + "integrity": "sha512-cAhfN937INyxwW1AdjABySdCKhC7QCIONRDHDea1aLpiuxq/w+QwjxauR9fCNGh3lTaAwwnmZ5WfFU2PtkDMGQ==", "dependencies": { - "@polkadot/x-global": "13.0.2", - "tslib": "^2.6.2" + "@polkadot/keyring": "^13.0.2", + "@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", + "@polkadot/x-global": "^13.0.2", + "@polkadot/x-ws": "^13.0.2", + "eventemitter3": "^5.0.1", + "mock-socket": "^9.3.1", + "nock": "^13.5.4", + "tslib": "^2.6.3" }, "engines": { "node": ">=18" + }, + "optionalDependencies": { + "@substrate/connect": "0.8.11" } }, - "node_modules/@polkadot/keyring/node_modules/@polkadot/x-textencoder": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-13.0.2.tgz", - "integrity": "sha512-Lq08H2OnVXj97uaOwg7tcmRS7a4VJYkHEeWO4FyEMOk6P6lU6W8OVNjjxG0se9PCEgmyZPUDbJI//1ynzP4cXw==", - "dependencies": { - "@polkadot/x-global": "13.0.2", - "tslib": "^2.6.2" + "node_modules/@polkadot/typegen": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@polkadot/typegen/-/typegen-14.2.2.tgz", + "integrity": "sha512-DTT1HYReDyF3fyh8OMfT3ygWACxR2sLFxgu3sy9mvb0hBcF2Zbi+8/Dx33zuRDZeNtAxEsO8iBYU+2Vh6CfobA==", + "dev": true, + "dependencies": { + "@polkadot/api": "14.2.2", + "@polkadot/api-augment": "14.2.2", + "@polkadot/rpc-augment": "14.2.2", + "@polkadot/rpc-provider": "14.2.2", + "@polkadot/types": "14.2.2", + "@polkadot/types-augment": "14.2.2", + "@polkadot/types-codec": "14.2.2", + "@polkadot/types-create": "14.2.2", + "@polkadot/types-support": "14.2.2", + "@polkadot/util": "^13.2.2", + "@polkadot/util-crypto": "^13.2.2", + "@polkadot/x-ws": "^13.2.2", + "handlebars": "^4.7.8", + "tslib": "^2.8.0", + "yargs": "^17.7.2" + }, + "bin": { + "polkadot-types-chain-info": "scripts/polkadot-types-chain-info.mjs", + "polkadot-types-from-chain": "scripts/polkadot-types-from-chain.mjs", + "polkadot-types-from-defs": "scripts/polkadot-types-from-defs.mjs", + "polkadot-types-internal-interfaces": "scripts/polkadot-types-internal-interfaces.mjs", + "polkadot-types-internal-metadata": "scripts/polkadot-types-internal-metadata.mjs" }, "engines": { "node": ">=18" } }, - "node_modules/@polkadot/networks": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/@polkadot/networks/-/networks-13.0.2.tgz", - "integrity": "sha512-ABAL+vug/gIwkdFEzeh87JoJd0YKrxSYg/HjUrZ+Zis2ucxQEKpvtCpJ34ku+YrjacBfVqIAkkwd3ZdIPGq9aQ==", - "dependencies": { - "@polkadot/util": "13.0.2", - "@substrate/ss58-registry": "^1.46.0", - "tslib": "^2.6.2" + "node_modules/@polkadot/typegen/node_modules/@polkadot/api": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-14.2.2.tgz", + "integrity": "sha512-MACWbU8TpGvjPF7FFw7K1IkpjTzq3CtQritlB7pmI+QCezJo3f0KV0v3jYhO1jCSii3F62L9XOaoS7c6tfU8kw==", + "dev": true, + "dependencies": { + "@polkadot/api-augment": "14.2.2", + "@polkadot/api-base": "14.2.2", + "@polkadot/api-derive": "14.2.2", + "@polkadot/keyring": "^13.2.2", + "@polkadot/rpc-augment": "14.2.2", + "@polkadot/rpc-core": "14.2.2", + "@polkadot/rpc-provider": "14.2.2", + "@polkadot/types": "14.2.2", + "@polkadot/types-augment": "14.2.2", + "@polkadot/types-codec": "14.2.2", + "@polkadot/types-create": "14.2.2", + "@polkadot/types-known": "14.2.2", + "@polkadot/util": "^13.2.2", + "@polkadot/util-crypto": "^13.2.2", + "eventemitter3": "^5.0.1", + "rxjs": "^7.8.1", + "tslib": "^2.8.0" }, "engines": { "node": ">=18" } }, - "node_modules/@polkadot/networks/node_modules/@polkadot/util": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-13.0.2.tgz", - "integrity": "sha512-/6bS9sfhJLhs8QuqWaR1eRapzfDdGC5XAQZEPL9NN5sTTA7HxWos8rVleai0UERm8QUMabjZ9rK9KpzbXl7ojg==", + "node_modules/@polkadot/typegen/node_modules/@polkadot/api-augment": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@polkadot/api-augment/-/api-augment-14.2.2.tgz", + "integrity": "sha512-hSp5lh8VrEAoSLfQBgShiByTLcc+1xwoUO593Zuz8Rr/juOovNV3RDv4EgM55GGelQrhpYQ2+sreo6OiJX1BWg==", + "dev": true, "dependencies": { - "@polkadot/x-bigint": "13.0.2", - "@polkadot/x-global": "13.0.2", - "@polkadot/x-textdecoder": "13.0.2", - "@polkadot/x-textencoder": "13.0.2", - "@types/bn.js": "^5.1.5", - "bn.js": "^5.2.1", - "tslib": "^2.6.2" + "@polkadot/api-base": "14.2.2", + "@polkadot/rpc-augment": "14.2.2", + "@polkadot/types": "14.2.2", + "@polkadot/types-augment": "14.2.2", + "@polkadot/types-codec": "14.2.2", + "@polkadot/util": "^13.2.2", + "tslib": "^2.8.0" }, "engines": { "node": ">=18" } }, - "node_modules/@polkadot/networks/node_modules/@polkadot/x-textdecoder": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-13.0.2.tgz", - "integrity": "sha512-mauglOkTJxLGmLwLc3J5Jlq/W+SHP53eiy3F8/8JxxfnXrZKgWoQXGpvXYPjFnMZj0MzDSy/6GjyGWnDCgdQFA==", + "node_modules/@polkadot/typegen/node_modules/@polkadot/api-base": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@polkadot/api-base/-/api-base-14.2.2.tgz", + "integrity": "sha512-oti5rb1tVqFhVA53pTAB+Ga7c5050jpxLi0uo4E5iq3kxv/i5cLOaC+zaCpCmWlwqTHxVJxZ5dO/VywmwqbGqA==", + "dev": true, "dependencies": { - "@polkadot/x-global": "13.0.2", - "tslib": "^2.6.2" + "@polkadot/rpc-core": "14.2.2", + "@polkadot/types": "14.2.2", + "@polkadot/util": "^13.2.2", + "rxjs": "^7.8.1", + "tslib": "^2.8.0" }, "engines": { "node": ">=18" } }, - "node_modules/@polkadot/networks/node_modules/@polkadot/x-textencoder": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-13.0.2.tgz", - "integrity": "sha512-Lq08H2OnVXj97uaOwg7tcmRS7a4VJYkHEeWO4FyEMOk6P6lU6W8OVNjjxG0se9PCEgmyZPUDbJI//1ynzP4cXw==", + "node_modules/@polkadot/typegen/node_modules/@polkadot/api-derive": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-14.2.2.tgz", + "integrity": "sha512-o7f0YNq/Fwfi+cm+ZMiH3adHaJupxbVGqsbrsj9az2cyn5Y31lcIVcuCz7eM5e89aWnn5WPfQsgaq7XV0OD19g==", + "dev": true, "dependencies": { - "@polkadot/x-global": "13.0.2", - "tslib": "^2.6.2" + "@polkadot/api": "14.2.2", + "@polkadot/api-augment": "14.2.2", + "@polkadot/api-base": "14.2.2", + "@polkadot/rpc-core": "14.2.2", + "@polkadot/types": "14.2.2", + "@polkadot/types-codec": "14.2.2", + "@polkadot/util": "^13.2.2", + "@polkadot/util-crypto": "^13.2.2", + "rxjs": "^7.8.1", + "tslib": "^2.8.0" }, "engines": { "node": ">=18" } }, - "node_modules/@polkadot/rpc-augment": { - "version": "12.4.2", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-augment/-/rpc-augment-12.4.2.tgz", - "integrity": "sha512-IEco5pnso+fYkZNMlMAN5i4XAxdXPv0PZ0HNuWlCwF/MmRvWl8pq5JFtY1FiByHEbeuHwMIUhHM5SDKQ85q9Hg==", + "node_modules/@polkadot/typegen/node_modules/@polkadot/rpc-augment": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-augment/-/rpc-augment-14.2.2.tgz", + "integrity": "sha512-chnl3+iGWNz4l2o1BICV8BwJH+TgeScC4TU2xPOV/2e5iNTENBkbNwP1OOO+84blK0sRpgKQsWx8n9gnosEjZg==", + "dev": true, "dependencies": { - "@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.3" + "@polkadot/rpc-core": "14.2.2", + "@polkadot/types": "14.2.2", + "@polkadot/types-codec": "14.2.2", + "@polkadot/util": "^13.2.2", + "tslib": "^2.8.0" }, "engines": { "node": ">=18" } }, - "node_modules/@polkadot/rpc-core": { - "version": "12.4.2", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-12.4.2.tgz", - "integrity": "sha512-yaveqxNcmyluyNgsBT5tpnCa/md0CGbOtRK7K82LWsz7gsbh0x80GBbJrQGxsUybg1gPeZbO1q9IigwA6fY8ag==", + "node_modules/@polkadot/typegen/node_modules/@polkadot/rpc-core": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-14.2.2.tgz", + "integrity": "sha512-EmkBH1pJ/Id0ImO1UsTUj4R4aug7O2a5pEBgGdU+2kvAKvbAgoWpOkQIit8IXfrvl2jkc8Mzsj06/lRcKMiCDA==", + "dev": true, "dependencies": { - "@polkadot/rpc-augment": "12.4.2", - "@polkadot/rpc-provider": "12.4.2", - "@polkadot/types": "12.4.2", - "@polkadot/util": "^13.0.2", + "@polkadot/rpc-augment": "14.2.2", + "@polkadot/rpc-provider": "14.2.2", + "@polkadot/types": "14.2.2", + "@polkadot/util": "^13.2.2", "rxjs": "^7.8.1", - "tslib": "^2.6.3" + "tslib": "^2.8.0" }, "engines": { "node": ">=18" } }, - "node_modules/@polkadot/rpc-provider": { - "version": "12.4.2", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-12.4.2.tgz", - "integrity": "sha512-cAhfN937INyxwW1AdjABySdCKhC7QCIONRDHDea1aLpiuxq/w+QwjxauR9fCNGh3lTaAwwnmZ5WfFU2PtkDMGQ==", + "node_modules/@polkadot/typegen/node_modules/@polkadot/rpc-provider": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-14.2.2.tgz", + "integrity": "sha512-Vx7mrN3NyE5fzvw+cm0BjtH6MRdrc9PeqFiJbbpvvPfK4Vi416RMNgYFw9f611bfQTYjr8oO9CTQI8s7knqN3A==", + "dev": true, "dependencies": { - "@polkadot/keyring": "^13.0.2", - "@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", - "@polkadot/x-global": "^13.0.2", - "@polkadot/x-ws": "^13.0.2", + "@polkadot/keyring": "^13.2.2", + "@polkadot/types": "14.2.2", + "@polkadot/types-support": "14.2.2", + "@polkadot/util": "^13.2.2", + "@polkadot/util-crypto": "^13.2.2", + "@polkadot/x-fetch": "^13.2.2", + "@polkadot/x-global": "^13.2.2", + "@polkadot/x-ws": "^13.2.2", "eventemitter3": "^5.0.1", "mock-socket": "^9.3.1", - "nock": "^13.5.4", - "tslib": "^2.6.3" + "nock": "^13.5.5", + "tslib": "^2.8.0" }, "engines": { "node": ">=18" @@ -2000,34 +2054,118 @@ "@substrate/connect": "0.8.11" } }, - "node_modules/@polkadot/typegen": { - "version": "12.4.2", - "resolved": "https://registry.npmjs.org/@polkadot/typegen/-/typegen-12.4.2.tgz", - "integrity": "sha512-B23ULYylj9PotnFUHVwN6qx7yLdFgdmhSMC/JN9l4tpM0nJhiAFx8LDCH8de3pbrPsxCVg9hLGtmKYD7hi1VWw==", + "node_modules/@polkadot/typegen/node_modules/@polkadot/types": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-14.2.2.tgz", + "integrity": "sha512-iu1UEYdr2BfZr/URizopupvIt4Kmr35As1b2pPmxCqMjyIMdAklRgz6s+Z08GH8RGcA0CPHaA8YJRBiwfb/8dg==", "dev": true, "dependencies": { - "@polkadot/api": "12.4.2", - "@polkadot/api-augment": "12.4.2", - "@polkadot/rpc-augment": "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-support": "12.4.2", - "@polkadot/util": "^13.0.2", - "@polkadot/util-crypto": "^13.0.2", - "@polkadot/x-ws": "^13.0.2", - "handlebars": "^4.7.8", - "tslib": "^2.6.3", - "yargs": "^17.7.2" + "@polkadot/keyring": "^13.2.2", + "@polkadot/types-augment": "14.2.2", + "@polkadot/types-codec": "14.2.2", + "@polkadot/types-create": "14.2.2", + "@polkadot/util": "^13.2.2", + "@polkadot/util-crypto": "^13.2.2", + "rxjs": "^7.8.1", + "tslib": "^2.8.0" }, - "bin": { - "polkadot-types-chain-info": "scripts/polkadot-types-chain-info.mjs", - "polkadot-types-from-chain": "scripts/polkadot-types-from-chain.mjs", - "polkadot-types-from-defs": "scripts/polkadot-types-from-defs.mjs", - "polkadot-types-internal-interfaces": "scripts/polkadot-types-internal-interfaces.mjs", - "polkadot-types-internal-metadata": "scripts/polkadot-types-internal-metadata.mjs" + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/typegen/node_modules/@polkadot/types-augment": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-augment/-/types-augment-14.2.2.tgz", + "integrity": "sha512-FFHgP4TAhJ6XL25FFjT1S2Ai2wfnoGL2VMhYS8TS5XFxH3+1c0DeA4DgPmewJtbDxKwl232UUKzrpJ8jUpCAJg==", + "dev": true, + "dependencies": { + "@polkadot/types": "14.2.2", + "@polkadot/types-codec": "14.2.2", + "@polkadot/util": "^13.2.2", + "tslib": "^2.8.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/typegen/node_modules/@polkadot/types-codec": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-codec/-/types-codec-14.2.2.tgz", + "integrity": "sha512-ri1U50VQx2FvBK8iJr5kwA8lIg1zlv7OI0x7th35kHtfRr9icPOp2x1jNsOamfObs7OekTsl7+5Uq33Tl0JR+g==", + "dev": true, + "dependencies": { + "@polkadot/util": "^13.2.2", + "@polkadot/x-bigint": "^13.2.2", + "tslib": "^2.8.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/typegen/node_modules/@polkadot/types-create": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-create/-/types-create-14.2.2.tgz", + "integrity": "sha512-WN1o/zVhVHHjutaivrpd33bc9EllpDFYVtRMZPOeL7GUy4MjpQGcmT0Vce0lARIKKla8RACQWLIEmkbX3UYxrw==", + "dev": true, + "dependencies": { + "@polkadot/types-codec": "14.2.2", + "@polkadot/util": "^13.2.2", + "tslib": "^2.8.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/typegen/node_modules/@polkadot/types-known": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-14.2.2.tgz", + "integrity": "sha512-inaLBPIB5W0QpKB2/ZtrO61zQDwlOa8aRSGl4XbjEcse0I6nRkFkvEpLf1nJMdJg0aKi3P6pQiW/mkVQsaHLYQ==", + "dev": true, + "dependencies": { + "@polkadot/networks": "^13.2.2", + "@polkadot/types": "14.2.2", + "@polkadot/types-codec": "14.2.2", + "@polkadot/types-create": "14.2.2", + "@polkadot/util": "^13.2.2", + "tslib": "^2.8.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/typegen/node_modules/@polkadot/types-support": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-support/-/types-support-14.2.2.tgz", + "integrity": "sha512-K0k8tzmB0qsNQ7kRQSWqKTv0W/HNzs5P3vc9VwAzzjJeJFzrLjafSrE+WftYm8Vqvc4XgAQ94vwMJNhZ40TuHQ==", + "dev": true, + "dependencies": { + "@polkadot/util": "^13.2.2", + "tslib": "^2.8.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/typegen/node_modules/@polkadot/x-bigint": { + "version": "13.2.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-bigint/-/x-bigint-13.2.2.tgz", + "integrity": "sha512-9ENDfG2wYqABWhQYYrbjJK0aPBvCqVPiFhBiKgIg6OTSJKJToa4Di9R8NxelF8eJTtz7DIvgf6gZY/jnKfbtWw==", + "dev": true, + "dependencies": { + "@polkadot/x-global": "13.2.2", + "tslib": "^2.8.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/typegen/node_modules/@polkadot/x-global": { + "version": "13.2.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-global/-/x-global-13.2.2.tgz", + "integrity": "sha512-a+iKD7JXxDRtYVo0bp1+HHlaem6MkUHU2yE0cx2e97p9x+IKyNEY58D0L5P66kszLvhFw+t3Jq+qHIj0+2YxkQ==", + "dev": true, + "dependencies": { + "tslib": "^2.8.0" }, "engines": { "node": ">=18" @@ -2159,19 +2297,6 @@ "@polkadot/util": "13.2.2" } }, - "node_modules/@polkadot/util-crypto/node_modules/@polkadot/networks": { - "version": "13.2.2", - "resolved": "https://registry.npmjs.org/@polkadot/networks/-/networks-13.2.2.tgz", - "integrity": "sha512-di3dLB9BcLQ9ARcDe/nizl7jZZnQbQlxB8kXtAXqTIVFtshtKT+zYcji6dTX7xX9/O9tZB7qnrvuIuI0MkwJ5A==", - "dependencies": { - "@polkadot/util": "13.2.2", - "@substrate/ss58-registry": "^1.51.0", - "tslib": "^2.8.0" - }, - "engines": { - "node": ">=18" - } - }, "node_modules/@polkadot/util-crypto/node_modules/@polkadot/x-bigint": { "version": "13.2.2", "resolved": "https://registry.npmjs.org/@polkadot/x-bigint/-/x-bigint-13.2.2.tgz", @@ -2329,13 +2454,24 @@ } }, "node_modules/@polkadot/x-fetch": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-13.0.2.tgz", - "integrity": "sha512-B/gf9iriUr6za/Ui7zIFBfHz7UBZ68rJEIteWHx1UHRCZPcLqv+hgpev6xIGrkfFljI0/lI7IwtN2qy6HYzFBg==", + "version": "13.2.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-13.2.2.tgz", + "integrity": "sha512-aDhd2kdx3JWvZSU4Ge966C0111CH8pCsDX7+9IsMGaZhjLF1NEo2xDjs+EwfUbSvNk68A4UVeJsXjG+IVor/ug==", "dependencies": { - "@polkadot/x-global": "13.0.2", + "@polkadot/x-global": "13.2.2", "node-fetch": "^3.3.2", - "tslib": "^2.6.2" + "tslib": "^2.8.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/x-fetch/node_modules/@polkadot/x-global": { + "version": "13.2.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-global/-/x-global-13.2.2.tgz", + "integrity": "sha512-a+iKD7JXxDRtYVo0bp1+HHlaem6MkUHU2yE0cx2e97p9x+IKyNEY58D0L5P66kszLvhFw+t3Jq+qHIj0+2YxkQ==", + "dependencies": { + "tslib": "^2.8.0" }, "engines": { "node": ">=18" @@ -2426,13 +2562,24 @@ } }, "node_modules/@polkadot/x-ws": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-13.0.2.tgz", - "integrity": "sha512-nC5e2eY5D5ZR5teQOB7ib+dWLbmNws86cTz3BjKCalSMBBIn6i3V9ElgABpierBmnSJe9D94EyrH1BxdVfDxUg==", + "version": "13.2.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-13.2.2.tgz", + "integrity": "sha512-WEygcHPB55cKLiNoejJ0Lq3Z1fb4hUO3FmYTXdpHgk0xIOfYDrr7rTlI2cZ4Nb32MofeehN/ZStmEW5Edib6TQ==", "dependencies": { - "@polkadot/x-global": "13.0.2", - "tslib": "^2.6.2", - "ws": "^8.16.0" + "@polkadot/x-global": "13.2.2", + "tslib": "^2.8.0", + "ws": "^8.18.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@polkadot/x-ws/node_modules/@polkadot/x-global": { + "version": "13.2.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-global/-/x-global-13.2.2.tgz", + "integrity": "sha512-a+iKD7JXxDRtYVo0bp1+HHlaem6MkUHU2yE0cx2e97p9x+IKyNEY58D0L5P66kszLvhFw+t3Jq+qHIj0+2YxkQ==", + "dependencies": { + "tslib": "^2.8.0" }, "engines": { "node": ">=18" @@ -9192,9 +9339,9 @@ "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==" }, "node_modules/nock": { - "version": "13.5.4", - "resolved": "https://registry.npmjs.org/nock/-/nock-13.5.4.tgz", - "integrity": "sha512-yAyTfdeNJGGBFxWdzSKCBYxs5FxLbCg5X5Q4ets974hcQzG1+qCxvIyOo4j2Ry6MUlhWVMX4OoYDefAIIwupjw==", + "version": "13.5.5", + "resolved": "https://registry.npmjs.org/nock/-/nock-13.5.5.tgz", + "integrity": "sha512-XKYnqUrCwXC8DGG1xX4YH5yNIrlh9c065uaMZZHUoeUUINTOyt+x/G+ezYk0Ft6ExSREVIs+qBJDK503viTfFA==", "dependencies": { "debug": "^4.1.0", "json-stringify-safe": "^5.0.1", @@ -11855,9 +12002,9 @@ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, "node_modules/ws": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", - "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", + "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", "engines": { "node": ">=10.0.0" }, diff --git a/package.json b/package.json index a9842c80..5b0de007 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "web3-validator": "^2.0.6" }, "devDependencies": { - "@polkadot/typegen": "^12.4.2", + "@polkadot/typegen": "^14.2.2", "@subsquid/substrate-metadata-explorer": "^3.1.2", "@subsquid/substrate-typegen": "^8.0.2", "@subsquid/typeorm-codegen": "^2.0.2",