diff --git a/README.md b/README.md index 1f383e7..599f8de 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,3 @@ npm run dev | IPFS_EXECUTABLE | N | `ipfs` | Executable to use to run go-ipfs | | IPFS_ARGS | N | `["daemon"]` | JSON array of strings to pass as arguments to the `IPFS_EXECUTABLE` | | IPFS_LOG_LEVEL | N | `info` | Log level of the go-ipfs child process | -| METADATA_KEY_LENGTH | N | `32` | Metadata key length in the substrate node | -| METADATA_VALUE_LITERAL_LENGTH | N | `32` | Metadata literal value length limit in the substrate node | -| PROCESS_IDENTIFIER_LENGTH | N | `32` | Process ID Length | diff --git a/app/env.js b/app/env.js index 67138b9..2321fb3 100644 --- a/app/env.js +++ b/app/env.js @@ -30,9 +30,6 @@ const vars = envalid.cleanEnv( }), IPFS_ARGS: validateArgs({ default: '["daemon"]' }), IPFS_LOG_LEVEL: envalid.str({ default: 'info', devDefault: 'debug' }), - METADATA_KEY_LENGTH: envalid.num({ default: 32 }), - METADATA_VALUE_LITERAL_LENGTH: envalid.num({ default: 32 }), - PROCESS_IDENTIFIER_LENGTH: envalid.num({ default: 32 }), HEALTHCHECK_POLL_PERIOD_MS: envalid.num({ default: 30 * 1000, devDefault: 1000 }), HEALTHCHECK_TIMEOUT_MS: envalid.num({ default: 2 * 1000, devDefault: 1000 }), }, diff --git a/app/keyWatcher/api.js b/app/keyWatcher/api.js index 6702748..ee5607c 100644 --- a/app/keyWatcher/api.js +++ b/app/keyWatcher/api.js @@ -1,21 +1,12 @@ const { buildApi } = require('@digicatapult/dscp-node') -const { - NODE_HOST, - NODE_PORT, - METADATA_KEY_LENGTH, - METADATA_VALUE_LITERAL_LENGTH, - PROCESS_IDENTIFIER_LENGTH, -} = require('../env') +const { NODE_HOST, NODE_PORT } = require('../env') const createNodeApi = async () => { const { api, keyring } = buildApi({ options: { apiHost: NODE_HOST, apiPort: NODE_PORT, - metadataKeyLength: METADATA_KEY_LENGTH, - metadataValueLiteralLength: METADATA_VALUE_LITERAL_LENGTH, - processorIdentifierLength: PROCESS_IDENTIFIER_LENGTH, }, }) diff --git a/app/keyWatcher/keyWatcher.js b/app/keyWatcher/keyWatcher.js index 8104222..bc11289 100644 --- a/app/keyWatcher/keyWatcher.js +++ b/app/keyWatcher/keyWatcher.js @@ -15,11 +15,8 @@ const setupKeyWatcher = events.forEach((record) => { // Extract the phase, event and the event types const { event } = record - const { data, typeDef: types } = event - if (api.isEventKeyUpdate(event)) { - const keyIndex = types.findIndex(({ type }) => type === 'Key') - onKeyUpdate(data[keyIndex]) + onKeyUpdate(event.data[0]) } }) }) diff --git a/helm/dscp-ipfs/Chart.lock b/helm/dscp-ipfs/Chart.lock index 15f414d..eecbc12 100644 --- a/helm/dscp-ipfs/Chart.lock +++ b/helm/dscp-ipfs/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: dscp-node repository: https://digicatapult.github.io/dscp-node/ - version: 3.8.0 -digest: sha256:6525c15a6c7106f048b6592f6b2c871cf774d4305507ad91f22a07d56b468c39 -generated: "2022-07-12T10:07:48.897446+01:00" + version: 4.0.0 +digest: sha256:75cd1f032cbcfa1222df6c5058cb82e3933d6646f317d5111e3f4082bcd29306 +generated: "2022-07-12T13:42:53.570998+01:00" diff --git a/helm/dscp-ipfs/Chart.yaml b/helm/dscp-ipfs/Chart.yaml index 30b8e5f..2312a5b 100644 --- a/helm/dscp-ipfs/Chart.yaml +++ b/helm/dscp-ipfs/Chart.yaml @@ -1,12 +1,12 @@ apiVersion: v2 name: dscp-ipfs -appVersion: '2.2.0' +appVersion: '2.3.0' description: A Helm chart for dscp-ipfs -version: '2.2.0' +version: '2.3.0' type: application dependencies: - name: dscp-node - version: '3.8.0' + version: '4.0.0' repository: https://digicatapult.github.io/dscp-node/ condition: dscpNode.enabled alias: dscpNode diff --git a/helm/dscp-ipfs/values.yaml b/helm/dscp-ipfs/values.yaml index 0ab93e7..137b1fa 100644 --- a/helm/dscp-ipfs/values.yaml +++ b/helm/dscp-ipfs/values.yaml @@ -51,7 +51,7 @@ statefulSet: image: repository: ghcr.io/digicatapult/dscp-ipfs pullPolicy: IfNotPresent - tag: 'v2.2.0' + tag: 'v2.3.0' storage: storageClass: "" diff --git a/package-lock.json b/package-lock.json index a6b4686..d90f03e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@digicatapult/dscp-ipfs", - "version": "2.2.0", + "version": "2.3.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@digicatapult/dscp-ipfs", - "version": "2.2.0", + "version": "2.3.0", "license": "Apache-2.0", "dependencies": { - "@digicatapult/dscp-node": "^3.8.0", + "@digicatapult/dscp-node": "^4.0.0", "dotenv": "^8.2.0", "envalid": "^7.0.0", "express": "^4.17.1", @@ -315,9 +315,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.9.tgz", - "integrity": "sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.6.tgz", + "integrity": "sha512-t9wi7/AW6XtKahAe20Yw0/mMljKq0B1r2fPdvaAdV/KPDZewFXdaaa6K7lxmZBZ8FBNpCiAT6iHPmd6QO9bKfQ==", "dependencies": { "regenerator-runtime": "^0.13.4" }, @@ -398,12 +398,12 @@ } }, "node_modules/@digicatapult/dscp-node": { - "version": "3.8.0", - "resolved": "https://npm.pkg.github.com/download/@digicatapult/dscp-node/3.8.0/3ff157ce27a8c9c908f816c6bf5f5f14f7f9f9abc23ab77a7d57274e6ea01c54", - "integrity": "sha512-J3TqGMNbhpi9Y5K/z3bLTE/mPTtklhZDujpgdg09nTniKZWHdn1hiOW4LUQrFJZYtGAKoF7q5AM2OyU8yvk0Ag==", + "version": "4.0.0", + "resolved": "https://npm.pkg.github.com/download/@digicatapult/dscp-node/4.0.0/6623e70b033cc9b4b6e07093edf3f44c4134b9ae2025033001b46dfaf7d3d77f", + "integrity": "sha512-AzU7+CbDr+5HYwFIJwJSYgDSsBMgfL/gIJ8ZvPnK1AL+fdAGUAUpb66NamdBZuT9Kpuldjyaax/hKB7jGejvjQ==", "license": "Apache-2.0", "dependencies": { - "@polkadot/api": "^5.9.1" + "@polkadot/api": "^8.11.3" } }, "node_modules/@eslint/eslintrc": { @@ -602,187 +602,344 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, + "node_modules/@noble/hashes": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.2.tgz", + "integrity": "sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ] + }, + "node_modules/@noble/secp256k1": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.6.0.tgz", + "integrity": "sha512-DWSsg8zMHOYMYBqIQi96BQuthZrp98LCeMNcUOaffCIVYQ5yxDbNikLF+H7jEnmNNmXbtVic46iCuVWzar+MgA==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ] + }, "node_modules/@polkadot/api": { - "version": "5.9.1", - "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-5.9.1.tgz", - "integrity": "sha512-POpIXn/Ao+NLB0uMldXdXU44dVbRr6+6Ax77Z0R285M8Z2EiF5jl2K3SPvlowLo4SntxiCSaHQxCekYhUcJKlw==", - "dependencies": { - "@babel/runtime": "^7.15.4", - "@polkadot/api-derive": "5.9.1", - "@polkadot/keyring": "^7.3.1", - "@polkadot/rpc-core": "5.9.1", - "@polkadot/rpc-provider": "5.9.1", - "@polkadot/types": "5.9.1", - "@polkadot/types-known": "5.9.1", - "@polkadot/util": "^7.3.1", - "@polkadot/util-crypto": "^7.3.1", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-8.12.2.tgz", + "integrity": "sha512-bK3bhCFqCYTx/K/89QF88jYqE3Dc1LmCwMnwpof6adlAj5DoEjRfSmKarqrZqox516Xph1+84ACNkyem0KnIWA==", + "dependencies": { + "@babel/runtime": "^7.18.6", + "@polkadot/api-augment": "8.12.2", + "@polkadot/api-base": "8.12.2", + "@polkadot/api-derive": "8.12.2", + "@polkadot/keyring": "^10.0.2", + "@polkadot/rpc-augment": "8.12.2", + "@polkadot/rpc-core": "8.12.2", + "@polkadot/rpc-provider": "8.12.2", + "@polkadot/types": "8.12.2", + "@polkadot/types-augment": "8.12.2", + "@polkadot/types-codec": "8.12.2", + "@polkadot/types-create": "8.12.2", + "@polkadot/types-known": "8.12.2", + "@polkadot/util": "^10.0.2", + "@polkadot/util-crypto": "^10.0.2", "eventemitter3": "^4.0.7", - "rxjs": "^7.3.0" + "rxjs": "^7.5.5" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@polkadot/api-derive": { - "version": "5.9.1", - "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-5.9.1.tgz", - "integrity": "sha512-iMrVKnYIS3UQciDlFqww6AFyXgG+iN8UqWu8QbTuZecri3qrSmM3Nn8Jkvju3meZIacwWIMSmBcnj8+zef3rkQ==", + "node_modules/@polkadot/api-augment": { + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/api-augment/-/api-augment-8.12.2.tgz", + "integrity": "sha512-HbvNOu6ntago8nYqLkq/HZ+gsMhbKe/sD4hPIFPruhP6OAnW6TWNIlqc2ruFx2KrT0rfzXUZ4Gmk4WgyRFuz4Q==", + "dependencies": { + "@babel/runtime": "^7.18.6", + "@polkadot/api-base": "8.12.2", + "@polkadot/rpc-augment": "8.12.2", + "@polkadot/types": "8.12.2", + "@polkadot/types-augment": "8.12.2", + "@polkadot/types-codec": "8.12.2", + "@polkadot/util": "^10.0.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@polkadot/api-base": { + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/api-base/-/api-base-8.12.2.tgz", + "integrity": "sha512-5rLOCulXNU/g0rUVoW6ArQjOBq/07S6oKR9nOJls6W4PUhYcBIClCTlXx2uoDszMdwhEhYyHQ67bnoTcRrYcLA==", "dependencies": { - "@babel/runtime": "^7.15.4", - "@polkadot/api": "5.9.1", - "@polkadot/rpc-core": "5.9.1", - "@polkadot/types": "5.9.1", - "@polkadot/util": "^7.3.1", - "@polkadot/util-crypto": "^7.3.1", - "rxjs": "^7.3.0" + "@babel/runtime": "^7.18.6", + "@polkadot/rpc-core": "8.12.2", + "@polkadot/types": "8.12.2", + "@polkadot/util": "^10.0.2", + "rxjs": "^7.5.5" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@polkadot/api-derive": { + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-8.12.2.tgz", + "integrity": "sha512-F7HCAVNXLQphv7OYVcq7GM5CP6RzGvYfTqutmc5GZFCDVMDY9RQA+a/3T5BIjJXrtepPa0pcYvt9fcovsazhZw==", + "dependencies": { + "@babel/runtime": "^7.18.6", + "@polkadot/api": "8.12.2", + "@polkadot/api-augment": "8.12.2", + "@polkadot/api-base": "8.12.2", + "@polkadot/rpc-core": "8.12.2", + "@polkadot/types": "8.12.2", + "@polkadot/types-codec": "8.12.2", + "@polkadot/util": "^10.0.2", + "@polkadot/util-crypto": "^10.0.2", + "rxjs": "^7.5.5" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/keyring": { - "version": "7.9.2", - "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-7.9.2.tgz", - "integrity": "sha512-6UGoIxhiTyISkYEZhUbCPpgVxaneIfb/DBVlHtbvaABc8Mqh1KuqcTIq19Mh9wXlBuijl25rw4lUASrE/9sBqg==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-10.0.2.tgz", + "integrity": "sha512-N/lx/e9alR/lUREap4hQ/YKa+CKCFIa4QOKLz8eFhpqhbA5M5nQcjrppitO+sX/XlpmbOBpbnO168cU2dA09Iw==", "dependencies": { - "@babel/runtime": "^7.16.3", - "@polkadot/util": "7.9.2", - "@polkadot/util-crypto": "7.9.2" + "@babel/runtime": "^7.18.6", + "@polkadot/util": "10.0.2", + "@polkadot/util-crypto": "10.0.2" }, "engines": { "node": ">=14.0.0" }, "peerDependencies": { - "@polkadot/util": "7.9.2", - "@polkadot/util-crypto": "7.9.2" + "@polkadot/util": "10.0.2", + "@polkadot/util-crypto": "10.0.2" } }, "node_modules/@polkadot/networks": { - "version": "7.9.2", - "resolved": "https://registry.npmjs.org/@polkadot/networks/-/networks-7.9.2.tgz", - "integrity": "sha512-4obI1RdW5/7TFwbwKA9oqw8aggVZ65JAUvIFMd2YmMC2T4+NiZLnok0WhRkhZkUnqjLIHXYNwq7Ho1i39dte0g==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@polkadot/networks/-/networks-10.0.2.tgz", + "integrity": "sha512-K7hUFmErTrBtkobhvFwT/oPEQrI1oVr7WfngquM+zN0oHiHzRspecxifGKsQ1kw78F7zrZKOBScW/hoJbdI8fA==", + "dependencies": { + "@babel/runtime": "^7.18.6", + "@polkadot/util": "10.0.2", + "@substrate/ss58-registry": "^1.23.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@polkadot/rpc-augment": { + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-augment/-/rpc-augment-8.12.2.tgz", + "integrity": "sha512-FKVMmkYhWJNcuXpRN9t7xTX5agSgcgniP8gNPMhL6GV8lV3Xoxs8gLgVy32xeAh7gxArN/my6LnYPtXVkdFALQ==", "dependencies": { - "@babel/runtime": "^7.16.3" + "@babel/runtime": "^7.18.6", + "@polkadot/rpc-core": "8.12.2", + "@polkadot/types": "8.12.2", + "@polkadot/types-codec": "8.12.2", + "@polkadot/util": "^10.0.2" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/rpc-core": { - "version": "5.9.1", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-5.9.1.tgz", - "integrity": "sha512-5fXiICAcjp7ow81DnIl2Dq/xuCtJUqyjJkxe9jNHJWBluBxOouqYDb8bYPPGSdckiaVyYe0l8lA9fBUFMdEt6w==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-8.12.2.tgz", + "integrity": "sha512-RLhzNYJonfsQXYhZuyVBSsOwSgCf+8ijS3aUcv06yrFf26k7nXw2Uc4P0Io3jY/wq5LnvkKzL+HSj6j7XZ+/Sg==", "dependencies": { - "@babel/runtime": "^7.15.4", - "@polkadot/rpc-provider": "5.9.1", - "@polkadot/types": "5.9.1", - "@polkadot/util": "^7.3.1", - "rxjs": "^7.3.0" + "@babel/runtime": "^7.18.6", + "@polkadot/rpc-augment": "8.12.2", + "@polkadot/rpc-provider": "8.12.2", + "@polkadot/types": "8.12.2", + "@polkadot/util": "^10.0.2", + "rxjs": "^7.5.5" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/rpc-provider": { - "version": "5.9.1", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-5.9.1.tgz", - "integrity": "sha512-9zamxfnsY7iCswXIK22W0Ji1XHLprm97js3WLw3lP2hr/uSim4Cv4y07zY/z4dDQyF0gJtjKwR27Wo9CZqdr6A==", - "dependencies": { - "@babel/runtime": "^7.15.4", - "@polkadot/types": "5.9.1", - "@polkadot/util": "^7.3.1", - "@polkadot/util-crypto": "^7.3.1", - "@polkadot/x-fetch": "^7.3.1", - "@polkadot/x-global": "^7.3.1", - "@polkadot/x-ws": "^7.3.1", - "eventemitter3": "^4.0.7" + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-8.12.2.tgz", + "integrity": "sha512-fgXKAYDmc1kGmOPa2Nuh+LsUBFvUzgzP/tOEbS5UJpoc0+azZfTLWh2AXpo/gVHblR6zZBDWrB3wmGzu6wF17A==", + "dependencies": { + "@babel/runtime": "^7.18.6", + "@polkadot/keyring": "^10.0.2", + "@polkadot/types": "8.12.2", + "@polkadot/types-support": "8.12.2", + "@polkadot/util": "^10.0.2", + "@polkadot/util-crypto": "^10.0.2", + "@polkadot/x-fetch": "^10.0.2", + "@polkadot/x-global": "^10.0.2", + "@polkadot/x-ws": "^10.0.2", + "@substrate/connect": "0.7.7", + "eventemitter3": "^4.0.7", + "mock-socket": "^9.1.5", + "nock": "^13.2.8" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/types": { - "version": "5.9.1", - "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-5.9.1.tgz", - "integrity": "sha512-30vcSlNBxPyWYZaxKDr/BoMhfLCRKB265XxpnnNJmbdZZsL+N4Zp2mJR9/UbA6ypmJBkUjD7b1s9AYsLwUs+8w==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-8.12.2.tgz", + "integrity": "sha512-hOqLunz4YH51B6AvuemX1cXKf+O8pehEoP3lH+FRKfJ7wyVhqa3WA+aUXhoTQBIuSiOjjC/FEJrRO5AoNO2iCg==", + "dependencies": { + "@babel/runtime": "^7.18.6", + "@polkadot/keyring": "^10.0.2", + "@polkadot/types-augment": "8.12.2", + "@polkadot/types-codec": "8.12.2", + "@polkadot/types-create": "8.12.2", + "@polkadot/util": "^10.0.2", + "@polkadot/util-crypto": "^10.0.2", + "rxjs": "^7.5.5" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@polkadot/types-augment": { + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-augment/-/types-augment-8.12.2.tgz", + "integrity": "sha512-47+T12u7HV+g22KryirG7fik5lU1tHgu39wLv8YZ/6jD1hVvgE632fvaCp4qje1F3M82aXobfekO+WOPLCZVsg==", + "dependencies": { + "@babel/runtime": "^7.18.6", + "@polkadot/types": "8.12.2", + "@polkadot/types-codec": "8.12.2", + "@polkadot/util": "^10.0.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@polkadot/types-codec": { + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-codec/-/types-codec-8.12.2.tgz", + "integrity": "sha512-NDa2ZJpJMWC9Un3PtvkyJF86M80gLqSmPyjIR8xxp0DzcD5EsCL8EV79xcOWUGm2lws1C66a4t4He/8ZwPNUqg==", "dependencies": { - "@babel/runtime": "^7.15.4", - "@polkadot/util": "^7.3.1", - "@polkadot/util-crypto": "^7.3.1", - "rxjs": "^7.3.0" + "@babel/runtime": "^7.18.6", + "@polkadot/util": "^10.0.2", + "@polkadot/x-bigint": "^10.0.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@polkadot/types-create": { + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-create/-/types-create-8.12.2.tgz", + "integrity": "sha512-D+Sfj+TwvipO+wl4XbsVkw5AgFdpy5O2JY88CV6L26EGU2OqCcTuenwSGdrsiLWW65m97q9lP7SUphUh39vBhA==", + "dependencies": { + "@babel/runtime": "^7.18.6", + "@polkadot/types-codec": "8.12.2", + "@polkadot/util": "^10.0.2" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/types-known": { - "version": "5.9.1", - "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-5.9.1.tgz", - "integrity": "sha512-7lpLuIVGaKziQRzPMnTxyjlYy3spL6WqUg3CcEzmJUKQeUonHglOliQh8JSSz1bcP+YuNHGXK1cKsTjHb+GYxA==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-8.12.2.tgz", + "integrity": "sha512-8HCZ3AkczBrCl+TUZD0+2ubLr0BQx+0f/Nnl9yuz1pWygmSEpHrYspmFtDdpMJnNTGZo8vHNOa7smdlijJqlhw==", + "dependencies": { + "@babel/runtime": "^7.18.6", + "@polkadot/networks": "^10.0.2", + "@polkadot/types": "8.12.2", + "@polkadot/types-codec": "8.12.2", + "@polkadot/types-create": "8.12.2", + "@polkadot/util": "^10.0.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@polkadot/types-support": { + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-support/-/types-support-8.12.2.tgz", + "integrity": "sha512-tTksJ4COcVonu/beWQKkF/6fKaArmTwM6iCuxn2PuJziS2Cm1+7D8Rh3ODwwZOseFvHPEco6jnb4DWNclXbZiA==", "dependencies": { - "@babel/runtime": "^7.15.4", - "@polkadot/networks": "^7.3.1", - "@polkadot/types": "5.9.1", - "@polkadot/util": "^7.3.1" + "@babel/runtime": "^7.18.6", + "@polkadot/util": "^10.0.2" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/util": { - "version": "7.9.2", - "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-7.9.2.tgz", - "integrity": "sha512-6ABY6ErgkCsM4C6+X+AJSY4pBGwbKlHZmUtHftaiTvbaj4XuA4nTo3GU28jw8wY0Jh2cJZJvt6/BJ5GVkm5tBA==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-10.0.2.tgz", + "integrity": "sha512-jE1b6Zzltsb/GJV5sFmTSQOlYLd3fipY+DeLS9J+BbsWZW6uUc5x+FNm4pLrYxF1IqiZxwBv1Vi89L14uWZ1rw==", "dependencies": { - "@babel/runtime": "^7.16.3", - "@polkadot/x-textdecoder": "7.9.2", - "@polkadot/x-textencoder": "7.9.2", - "@types/bn.js": "^4.11.6", - "bn.js": "^4.12.0", - "camelcase": "^6.2.1", - "ip-regex": "^4.3.0" + "@babel/runtime": "^7.18.6", + "@polkadot/x-bigint": "10.0.2", + "@polkadot/x-global": "10.0.2", + "@polkadot/x-textdecoder": "10.0.2", + "@polkadot/x-textencoder": "10.0.2", + "@types/bn.js": "^5.1.0", + "bn.js": "^5.2.1" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/util-crypto": { - "version": "7.9.2", - "resolved": "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-7.9.2.tgz", - "integrity": "sha512-nNwqUwP44eCH9jKKcPie+IHLKkg9LMe6H7hXo91hy3AtoslnNrT51tP3uAm5yllhLvswJfnAgnlHq7ybCgqeFw==", - "dependencies": { - "@babel/runtime": "^7.16.3", - "@polkadot/networks": "7.9.2", - "@polkadot/util": "7.9.2", - "@polkadot/wasm-crypto": "^4.4.1", - "@polkadot/x-randomvalues": "7.9.2", - "blakejs": "^1.1.1", - "bn.js": "^4.12.0", - "create-hash": "^1.2.0", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-10.0.2.tgz", + "integrity": "sha512-0uJFvu5cpRBep0/AcpA8vnXH3gnoe+ADiMKD93AekjxrOVqlrjVHKIf+FbiGv1paRKISxoO5Q2j7nCvDsi1q5w==", + "dependencies": { + "@babel/runtime": "^7.18.6", + "@noble/hashes": "1.1.2", + "@noble/secp256k1": "1.6.0", + "@polkadot/networks": "10.0.2", + "@polkadot/util": "10.0.2", + "@polkadot/wasm-crypto": "^6.2.3", + "@polkadot/x-bigint": "10.0.2", + "@polkadot/x-randomvalues": "10.0.2", + "@scure/base": "1.1.1", "ed2curve": "^0.3.0", - "elliptic": "^6.5.4", - "hash.js": "^1.1.7", - "js-sha3": "^0.8.0", - "micro-base": "^0.9.0", - "scryptsy": "^2.1.0", - "tweetnacl": "^1.0.3", - "xxhashjs": "^0.2.2" + "tweetnacl": "^1.0.3" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "@polkadot/util": "10.0.2" + } + }, + "node_modules/@polkadot/wasm-bridge": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-bridge/-/wasm-bridge-6.2.3.tgz", + "integrity": "sha512-kDPcUF5uCZJeJUlWtjk6u4KRy+RTObZbIMgZKiuCcQn9n3EYWadONvStfIyKaiFCc3VFVivzH1cUwTFxxTNHHQ==", + "dependencies": { + "@babel/runtime": "^7.18.6" }, "engines": { "node": ">=14.0.0" }, "peerDependencies": { - "@polkadot/util": "7.9.2" + "@polkadot/util": "*", + "@polkadot/x-randomvalues": "*" } }, "node_modules/@polkadot/wasm-crypto": { - "version": "4.6.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto/-/wasm-crypto-4.6.1.tgz", - "integrity": "sha512-2wEftBDxDG+TN8Ah6ogtvzjdZdcF0mAjU4UNNOfpmkBCxQYZOrAHB8HXhzo3noSsKkLX7PDX57NxvJ9OhoTAjw==", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto/-/wasm-crypto-6.2.3.tgz", + "integrity": "sha512-Jq08uX16YYySanwN/37n/ZzOFv8T2H4NzLaQNjSGNbFdmKzkrlpw369XRNIVhrKGtK4v09O5ZaF5P9qc0EHgsg==", "dependencies": { - "@babel/runtime": "^7.17.2", - "@polkadot/wasm-crypto-asmjs": "^4.6.1", - "@polkadot/wasm-crypto-wasm": "^4.6.1" + "@babel/runtime": "^7.18.6", + "@polkadot/wasm-bridge": "6.2.3", + "@polkadot/wasm-crypto-asmjs": "6.2.3", + "@polkadot/wasm-crypto-init": "6.2.3", + "@polkadot/wasm-crypto-wasm": "6.2.3", + "@polkadot/wasm-util": "6.2.3" }, "engines": { "node": ">=14.0.0" @@ -793,11 +950,11 @@ } }, "node_modules/@polkadot/wasm-crypto-asmjs": { - "version": "4.6.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-4.6.1.tgz", - "integrity": "sha512-1oHQjz2oEO1kCIcQniOP+dZ9N2YXf2yCLHLsKaKSvfXiWaetVCaBNB8oIHIVYvuLnVc8qlMi66O6xc1UublHsw==", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-6.2.3.tgz", + "integrity": "sha512-d/eH02d/XB/vIGIQwyoFB4zNRb3h5PlWoXolGeVSuoa8476ouEdaWhy64mFwXBmjfluaeCOFXRs+QbxetwrDZg==", "dependencies": { - "@babel/runtime": "^7.17.2" + "@babel/runtime": "^7.18.6" }, "engines": { "node": ">=14.0.0" @@ -806,12 +963,31 @@ "@polkadot/util": "*" } }, + "node_modules/@polkadot/wasm-crypto-init": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-init/-/wasm-crypto-init-6.2.3.tgz", + "integrity": "sha512-jDFD4ITWbvFgsGiRI61lrzI/eobG8VrI9nVCiDBqQZK7mNnGkyIdnFD1prW36uiv6/tkqSiGGvdb7dEKtmsB+Q==", + "dependencies": { + "@babel/runtime": "^7.18.6", + "@polkadot/wasm-bridge": "6.2.3", + "@polkadot/wasm-crypto-asmjs": "6.2.3", + "@polkadot/wasm-crypto-wasm": "6.2.3" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "@polkadot/util": "*", + "@polkadot/x-randomvalues": "*" + } + }, "node_modules/@polkadot/wasm-crypto-wasm": { - "version": "4.6.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-4.6.1.tgz", - "integrity": "sha512-NI3JVwmLjrSYpSVuhu0yeQYSlsZrdpK41UC48sY3kyxXC71pi6OVePbtHS1K3xh3FFmDd9srSchExi3IwzKzMw==", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-6.2.3.tgz", + "integrity": "sha512-bYRhYPcR4MBLAZz8liozr8E11r7j6RLkNHu80z65lZ5AWgjDu2MgYfKxZFWZxg8rB6+V1uYFmb7czUiSWOn4Rg==", "dependencies": { - "@babel/runtime": "^7.17.2" + "@babel/runtime": "^7.18.6", + "@polkadot/wasm-util": "6.2.3" }, "engines": { "node": ">=14.0.0" @@ -820,81 +996,135 @@ "@polkadot/util": "*" } }, + "node_modules/@polkadot/wasm-util": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-util/-/wasm-util-6.2.3.tgz", + "integrity": "sha512-8BQ9gVSrjdc0MPWN9qtNWlMiK+J8dICu1gZJ+cy/hqKjer2MzwX4SeW2wyL5MkYYHjih3ajMRSoSA+/eY2iEwg==", + "dependencies": { + "@babel/runtime": "^7.18.6" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "@polkadot/util": "*" + } + }, + "node_modules/@polkadot/x-bigint": { + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-bigint/-/x-bigint-10.0.2.tgz", + "integrity": "sha512-LtfPi+AyZDNe8jQGVmyDfxGyQDdM6ISZEwJD1ieGd4eUbOkfPmn+1t+0rjtxjISZcyP40fSFcLxtL191jDV8Bw==", + "dependencies": { + "@babel/runtime": "^7.18.6", + "@polkadot/x-global": "10.0.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, "node_modules/@polkadot/x-fetch": { - "version": "7.9.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-7.9.2.tgz", - "integrity": "sha512-zutLkFJVaLVpY3cIGYJD0AReLfAnPr2J82Ca4pvy/BxqwwGYuGLcn36A4m6nliGBP2lcH4oYY+mcCqIwoPWQUQ==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-10.0.2.tgz", + "integrity": "sha512-vsizrcBNeRWWJhE4ZoCUJ0c68wvy3PiR9jH//B1PTV6OaqpdalpwXG6Xtpli8yc0hOOUH/87u8b/x2f/2vhZcQ==", "dependencies": { - "@babel/runtime": "^7.16.3", - "@polkadot/x-global": "7.9.2", - "@types/node-fetch": "^2.5.12", - "node-fetch": "^2.6.6" + "@babel/runtime": "^7.18.6", + "@polkadot/x-global": "10.0.2", + "@types/node-fetch": "^2.6.2", + "node-fetch": "^3.2.6" }, "engines": { "node": ">=14.0.0" } }, + "node_modules/@polkadot/x-fetch/node_modules/node-fetch": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.2.7.tgz", + "integrity": "sha512-xRYIBUEoMvzvLt0FT2mAKAGXps1Wm0GpswR63pPJC4Hp5EubeigGYJJge34f3mPApap4+2B3sTKyUygsZrkmyg==", + "dependencies": { + "data-uri-to-buffer": "^4.0.0", + "fetch-blob": "^3.1.4", + "formdata-polyfill": "^4.0.10" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/node-fetch" + } + }, "node_modules/@polkadot/x-global": { - "version": "7.9.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-global/-/x-global-7.9.2.tgz", - "integrity": "sha512-JX5CrGWckHf1P9xKXq4vQCAuMUbL81l2hOWX7xeP8nv4caHEpmf5T1wD1iMdQBL5PFifo6Pg0V6/oZBB+bts7A==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-global/-/x-global-10.0.2.tgz", + "integrity": "sha512-IlxSH36RjcQTImufaJCtvommMmkNWbwOy+/Z7FEOKUOcoiPaUhHU3CzWser+EtClckx7qPLY5lZ59Pxf7HWupQ==", "dependencies": { - "@babel/runtime": "^7.16.3" + "@babel/runtime": "^7.18.6" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/x-randomvalues": { - "version": "7.9.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-7.9.2.tgz", - "integrity": "sha512-svQfG31yCXf6yVyIgP0NgCzEy7oc3Lw054ZspkaqjOivxYdrXaf5w3JSSUyM/MRjI2+nk+B/EyJoMYcfSwTfsQ==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-10.0.2.tgz", + "integrity": "sha512-kYbNeeOaDEnNqVhIgh8ds9YC79Tji5/HDqQymx7Xb3YmTagdOAe2klrTRJzVfsUKljzhlVOuF3Zcf/PRNbt/2w==", "dependencies": { - "@babel/runtime": "^7.16.3", - "@polkadot/x-global": "7.9.2" + "@babel/runtime": "^7.18.6", + "@polkadot/x-global": "10.0.2" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/x-textdecoder": { - "version": "7.9.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-7.9.2.tgz", - "integrity": "sha512-wfwbSHXPhrOAl12QvlIOGNkMH/N/h8PId2ytIjvM/8zPPFB5Il6DWSFLtVapOGEpIFjEWbd5t8Td4pHBVXIEbg==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-10.0.2.tgz", + "integrity": "sha512-EI1+Osrfadtm4XFfdcjYgV/1yYoPoFaIJfZiPphPSy/4Ceeblmz9T2hWPdJ3uWtPpk6FkhxudB44Y1JuCwXBjg==", "dependencies": { - "@babel/runtime": "^7.16.3", - "@polkadot/x-global": "7.9.2" + "@babel/runtime": "^7.18.6", + "@polkadot/x-global": "10.0.2" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/x-textencoder": { - "version": "7.9.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-7.9.2.tgz", - "integrity": "sha512-A19wwYINuZwU2dUyQ/mMzB0ISjyfc4cISfL4zCMUAVgj7xVoXMYV2GfjNdMpA8Wsjch3su6pxLbtJ2wU03sRTQ==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-10.0.2.tgz", + "integrity": "sha512-iTLC700ExtRFsP+fE+dA5CO0xjQ46XeQqbJxa7wJK3aKrzpogyTLZXc0O5ISE1xltOmsQSA9QOELMP113kZkvA==", "dependencies": { - "@babel/runtime": "^7.16.3", - "@polkadot/x-global": "7.9.2" + "@babel/runtime": "^7.18.6", + "@polkadot/x-global": "10.0.2" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/x-ws": { - "version": "7.9.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-7.9.2.tgz", - "integrity": "sha512-+yppMsZtvDztVOSmkqAQuhR6TfV1Axa6ergAsWb52DrfXvFP5geqtARsI6ZdDgMsE3qHSVQTcJz8vgNOr5+ztQ==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-10.0.2.tgz", + "integrity": "sha512-eH8WJ6jKobfUGLRAGj65wKUB2pwbT7RflebQbbcG8Khx9INRjuwLGc+jAiuf0StOZiqVVJsMUayVgsddO8hIvQ==", "dependencies": { - "@babel/runtime": "^7.16.3", - "@polkadot/x-global": "7.9.2", - "@types/websocket": "^1.0.4", + "@babel/runtime": "^7.18.6", + "@polkadot/x-global": "10.0.2", + "@types/websocket": "^1.0.5", "websocket": "^1.0.34" }, "engines": { "node": ">=14.0.0" } }, + "node_modules/@scure/base": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.1.1.tgz", + "integrity": "sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ] + }, "node_modules/@sindresorhus/is": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz", @@ -942,6 +1172,64 @@ "integrity": "sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==", "dev": true }, + "node_modules/@substrate/connect": { + "version": "0.7.7", + "resolved": "https://registry.npmjs.org/@substrate/connect/-/connect-0.7.7.tgz", + "integrity": "sha512-uFRF06lC42ZZixxwkzRB61K1uYvR1cTZ7rI98RW7T+eWbCFrafyVk0pk6J+4oN05gZkhou+VK3hrRCU6Doy2xQ==", + "dependencies": { + "@substrate/connect-extension-protocol": "^1.0.0", + "@substrate/smoldot-light": "0.6.19", + "eventemitter3": "^4.0.7" + } + }, + "node_modules/@substrate/connect-extension-protocol": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@substrate/connect-extension-protocol/-/connect-extension-protocol-1.0.0.tgz", + "integrity": "sha512-nFVuKdp71hMd/MGlllAOh+a2hAqt8m6J2G0aSsS/RcALZexxF9jodbFc62ni8RDtJboeOfXAHhenYOANvJKPIg==" + }, + "node_modules/@substrate/smoldot-light": { + "version": "0.6.19", + "resolved": "https://registry.npmjs.org/@substrate/smoldot-light/-/smoldot-light-0.6.19.tgz", + "integrity": "sha512-Xi+v1cdURhTwx7NH+9fa1U9m7VGP61GvB6qwev9HrZXlGbQiUIvySxPlH/LMsq3mwgiRYkokPhcaZEHufY7Urg==", + "dependencies": { + "buffer": "^6.0.1", + "pako": "^2.0.4", + "websocket": "^1.0.32" + } + }, + "node_modules/@substrate/smoldot-light/node_modules/buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "node_modules/@substrate/smoldot-light/node_modules/pako": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz", + "integrity": "sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg==" + }, + "node_modules/@substrate/ss58-registry": { + "version": "1.23.0", + "resolved": "https://registry.npmjs.org/@substrate/ss58-registry/-/ss58-registry-1.23.0.tgz", + "integrity": "sha512-LuQje7n48GXSsp1aGI6UEmNVtlh7OzQ6CN1Hd9VGUrshADwMB0lRZ5bxnffmqDR4vVugI7h0NN0AONhIW1eHGg==" + }, "node_modules/@szmarczak/http-timer": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-4.0.6.tgz", @@ -955,9 +1243,9 @@ } }, "node_modules/@types/bn.js": { - "version": "4.11.6", - "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.0.tgz", + "integrity": "sha512-QSSVYj7pYFN49kW77o2s9xTCwZ8F2xLbjLLSEVh8D2F4JUhZtPAGOFLTD+ffqksBx/u4cE/KImFjyhqCjn/LIA==", "dependencies": { "@types/node": "*" } @@ -1007,9 +1295,9 @@ "integrity": "sha512-UxDxWn7dl97rKVeVS61vErvw086aCYhDLyvRQZ5Rk65rZKepaFdm53GeqXaKBuOhED4e9uWq34IC3TdSdJJ2Gw==" }, "node_modules/@types/node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-oMqjURCaxoSIsHSr1E47QHzbmzNR5rK8McHuNb11BOM9cHcIK3Avy0s/b2JlXHoQGTYS3NsvWzV1M0iK7l0wbA==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.2.tgz", + "integrity": "sha512-DHqhlq5jeESLy19TYhLakJ07kNumXWjcDdxXsLUMJZ6ue8VZJj4kLPQVE/2mdHh3xZziNF1xppu5lwmS53HR+A==", "dependencies": { "@types/node": "*", "form-data": "^3.0.0" @@ -1372,7 +1660,6 @@ "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "dev": true, "funding": [ { "type": "github", @@ -1421,15 +1708,10 @@ "readable-stream": "^3.4.0" } }, - "node_modules/blakejs": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/blakejs/-/blakejs-1.2.1.tgz", - "integrity": "sha512-QXUSXI3QVc/gJME0dBpXrag1kbzOqCjCX8/b54ntNyW6sjtoqxqRk3LTmXzaJoh71zMsDCjM+47jS7XiwN/+fQ==" - }, "node_modules/bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", + "integrity": "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==" }, "node_modules/body-parser": { "version": "1.19.2", @@ -1486,11 +1768,6 @@ "node": ">=8" } }, - "node_modules/brorand": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", - "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" - }, "node_modules/browser-stdout": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", @@ -1658,6 +1935,7 @@ "version": "6.3.0", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true, "engines": { "node": ">=10" }, @@ -1767,15 +2045,6 @@ "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", "dev": true }, - "node_modules/cipher-base": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", - "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", - "dependencies": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, "node_modules/clean-stack": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", @@ -1925,18 +2194,6 @@ "node": ">=10" } }, - "node_modules/create-hash": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", - "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", - "dependencies": { - "cipher-base": "^1.0.1", - "inherits": "^2.0.1", - "md5.js": "^1.3.4", - "ripemd160": "^2.0.1", - "sha.js": "^2.4.0" - } - }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -1951,11 +2208,6 @@ "node": ">= 8" } }, - "node_modules/cuint": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/cuint/-/cuint-0.2.2.tgz", - "integrity": "sha1-QICG1AlVDCYxFVYZ6fp7ytw7mRs=" - }, "node_modules/d": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", @@ -1965,11 +2217,18 @@ "type": "^1.0.1" } }, + "node_modules/data-uri-to-buffer": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.0.tgz", + "integrity": "sha512-Vr3mLBA8qWmcuschSLAOogKgQ/Jwxulv3RNE4FXnYWRGujzrRWQI4m12fQqRkwX06C0KanhLr4hK+GydchZsaA==", + "engines": { + "node": ">= 12" + } + }, "node_modules/debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, "dependencies": { "ms": "2.1.2" }, @@ -2223,20 +2482,6 @@ "integrity": "sha512-Huen6taaVrUrSy8o7mGStByba8PfOWWluHNxSHGBrCgEdFVLtvdQDBr9LBCF9Uci8SYxh28QNNMO0oC17wbGAg==", "dev": true }, - "node_modules/elliptic": { - "version": "6.5.4", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", - "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", - "dependencies": { - "bn.js": "^4.11.9", - "brorand": "^1.1.0", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.1", - "inherits": "^2.0.4", - "minimalistic-assert": "^1.0.1", - "minimalistic-crypto-utils": "^1.0.1" - } - }, "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", @@ -2290,9 +2535,9 @@ } }, "node_modules/es5-ext": { - "version": "0.10.60", - "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.60.tgz", - "integrity": "sha512-jpKNXIt60htYG59/9FGf2PYT3pwMpnEbNKysU+k/4FGwyGtMotOvcZOuW+EmXXYASRqYSXQfGL5cVIthOTgbkg==", + "version": "0.10.61", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.61.tgz", + "integrity": "sha512-yFhIqQAzu2Ca2I4SE2Au3rxVfmohU9Y7wqGR+s7+H7krk26NXhIRAZDgqd6xqjCEFUomDEA3/Bo/7fKmIkW1kA==", "hasInstallScript": true, "dependencies": { "es6-iterator": "^2.0.3", @@ -2312,7 +2557,7 @@ "node_modules/es6-iterator": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", - "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", + "integrity": "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==", "dependencies": { "d": "1", "es5-ext": "^0.10.35", @@ -2846,6 +3091,28 @@ "punycode": "^1.3.2" } }, + "node_modules/fetch-blob": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz", + "integrity": "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + }, + { + "type": "paypal", + "url": "https://paypal.me/jimmywarting" + } + ], + "dependencies": { + "node-domexception": "^1.0.0", + "web-streams-polyfill": "^3.0.3" + }, + "engines": { + "node": "^12.20 || >= 14.13" + } + }, "node_modules/file-entry-cache": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", @@ -2992,6 +3259,17 @@ "node": ">= 6" } }, + "node_modules/formdata-polyfill": { + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz", + "integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==", + "dependencies": { + "fetch-blob": "^3.1.2" + }, + "engines": { + "node": ">=12.20.0" + } + }, "node_modules/forwarded": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", @@ -3189,9 +3467,9 @@ } }, "node_modules/got": { - "version": "11.8.3", - "resolved": "https://registry.npmjs.org/got/-/got-11.8.3.tgz", - "integrity": "sha512-7gtQ5KiPh1RtGS9/Jbv1ofDpBFuq42gyfEib+ejaRBJuj/3tQFeR5+gw57e4ipaU8c/rCjvX6fkQz2lyDlGAOg==", + "version": "11.8.5", + "resolved": "https://registry.npmjs.org/got/-/got-11.8.5.tgz", + "integrity": "sha512-o0Je4NvQObAuZPHLFoRSkdG2lTgtcynqymzg2Vupdx6PorhaT5MCbIyXG6d4D94kk8ZG57QeosgdiqfJWhEhlQ==", "dev": true, "dependencies": { "@sindresorhus/is": "^4.0.0", @@ -3266,28 +3544,6 @@ "node": ">=4" } }, - "node_modules/hash-base": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", - "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", - "dependencies": { - "inherits": "^2.0.4", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/hash.js": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", - "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", - "dependencies": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.1" - } - }, "node_modules/hasha": { "version": "5.2.2", "resolved": "https://registry.npmjs.org/hasha/-/hasha-5.2.2.tgz", @@ -3313,16 +3569,6 @@ "he": "bin/he" } }, - "node_modules/hmac-drbg": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", - "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", - "dependencies": { - "hash.js": "^1.0.3", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.1" - } - }, "node_modules/html-escaper": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", @@ -3378,7 +3624,6 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "dev": true, "funding": [ { "type": "github", @@ -3473,14 +3718,6 @@ "loose-envify": "^1.0.0" } }, - "node_modules/ip-regex": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.3.0.tgz", - "integrity": "sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q==", - "engines": { - "node": ">=8" - } - }, "node_modules/ipaddr.js": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", @@ -3766,11 +4003,6 @@ "node": ">=8" } }, - "node_modules/js-sha3": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", - "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" - }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -3832,6 +4064,11 @@ "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", "dev": true }, + "node_modules/json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==" + }, "node_modules/json5": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", @@ -3944,8 +4181,7 @@ "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "node_modules/lodash.flattendeep": { "version": "4.4.0", @@ -4132,16 +4368,6 @@ "semver": "bin/semver.js" } }, - "node_modules/md5.js": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", - "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", - "dependencies": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, "node_modules/media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", @@ -4163,12 +4389,6 @@ "node": ">= 0.6" } }, - "node_modules/micro-base": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/micro-base/-/micro-base-0.9.0.tgz", - "integrity": "sha512-4+tOMKidYT5nQ6/UNmYrGVO5PMcnJdfuR4NC8HK8s2H61B4itOhA9yrsjBdqGV7ecdtej36x3YSIfPLRmPrspg==", - "deprecated": "Switch to @scure/base for audited version of the lib & updates" - }, "node_modules/mime": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", @@ -4208,16 +4428,6 @@ "node": ">=4" } }, - "node_modules/minimalistic-assert": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", - "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" - }, - "node_modules/minimalistic-crypto-utils": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", - "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" - }, "node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -4392,11 +4602,18 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, + "node_modules/mock-socket": { + "version": "9.1.5", + "resolved": "https://registry.npmjs.org/mock-socket/-/mock-socket-9.1.5.tgz", + "integrity": "sha512-3DeNIcsQixWHHKk6NdoBhWI4t1VMj5/HzfnI1rE/pLl5qKx7+gd4DNA07ehTaZ6MoUU053si6Hd+YtiM/tQZfg==", + "engines": { + "node": ">= 8" + } + }, "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "node_modules/multimatch": { "version": "5.0.0", @@ -4476,19 +4693,52 @@ "isarray": "0.0.1" } }, + "node_modules/nock": { + "version": "13.2.8", + "resolved": "https://registry.npmjs.org/nock/-/nock-13.2.8.tgz", + "integrity": "sha512-JT42FrXfQRpfyL4cnbBEJdf4nmBpVP0yoCcSBr+xkT8Q1y3pgtaCKHGAAOIFcEJ3O3t0QbVAmid0S0f2bj3Wpg==", + "dependencies": { + "debug": "^4.1.0", + "json-stringify-safe": "^5.0.1", + "lodash": "^4.17.21", + "propagate": "^2.0.0" + }, + "engines": { + "node": ">= 10.13" + } + }, + "node_modules/node-domexception": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz", + "integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + }, + { + "type": "github", + "url": "https://paypal.me/jimmywarting" + } + ], + "engines": { + "node": ">=10.5.0" + } + }, "node_modules/node-fetch": { "name": "@achingbrain/node-fetch", "version": "2.6.7", "resolved": "https://registry.npmjs.org/@achingbrain/node-fetch/-/node-fetch-2.6.7.tgz", "integrity": "sha512-iTASGs+HTFK5E4ZqcMsHmeJ4zodyq8L38lZV33jwqcBJYoUt3HjN4+ot+O9/0b+ke8ddE7UgOtVuZN/OkV19/g==", + "dev": true, "engines": { "node": "4.x || >=6.0.0" } }, "node_modules/node-gyp-build": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.4.0.tgz", - "integrity": "sha512-amJnQCcgtRVw9SvoebO3BKGESClrfXGCUTX9hSn1OuGQTQBOZmVd0Z0OlecpuRksKvbsUqALE8jls/ErClAPuQ==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.5.0.tgz", + "integrity": "sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg==", "bin": { "node-gyp-build": "bin.js", "node-gyp-build-optional": "optional.js", @@ -5445,6 +5695,14 @@ "node": ">=0.4.0" } }, + "node_modules/propagate": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/propagate/-/propagate-2.0.1.tgz", + "integrity": "sha512-vGrhOavPSTz4QVNuBNdcNXePNdNMaO1xj9yBeH1ScQPjk/rhg9sSlCXPhMkFuaNNW/syTvYqsnbIJxMBfRbbag==", + "engines": { + "node": ">= 8" + } + }, "node_modules/proxy-addr": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", @@ -5571,6 +5829,7 @@ "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -5707,19 +5966,10 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/ripemd160": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", - "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", - "dependencies": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1" - } - }, "node_modules/rxjs": { - "version": "7.5.5", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.5.tgz", - "integrity": "sha512-sy+H0pQofO95VDmFLzyaw9xNJU4KTRSwQIGM6+iG3SypAtCiLDzpeG8sJrNCWn2Up9km+KhkvTdbkrdy+yzZdw==", + "version": "7.5.6", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.6.tgz", + "integrity": "sha512-dnyv2/YsXhnm461G+R/Pe5bWP41Nm6LBXEYWI6eiFP4fiwx6WRI/CD0zbdVAudd9xwLEF2IDcKXLHit0FYjUzw==", "dependencies": { "tslib": "^2.1.0" } @@ -5765,11 +6015,6 @@ "node": ">=12.0.0" } }, - "node_modules/scryptsy": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/scryptsy/-/scryptsy-2.1.0.tgz", - "integrity": "sha512-1CdSqHQowJBnMAFyPEBRfqag/YP9OF394FV+4YREIJX4ljD7OxvQRDayyoyyCk+senRjSkP6VnUNQmVQqB6g7w==" - }, "node_modules/scss-parser": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/scss-parser/-/scss-parser-1.0.5.tgz", @@ -5878,18 +6123,6 @@ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" }, - "node_modules/sha.js": { - "version": "2.4.11", - "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", - "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", - "dependencies": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - }, - "bin": { - "sha.js": "bin.js" - } - }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -6110,6 +6343,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dev": true, "dependencies": { "safe-buffer": "~5.2.0" } @@ -6362,9 +6596,9 @@ } }, "node_modules/tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" }, "node_modules/tweetnacl": { "version": "1.0.3", @@ -6483,7 +6717,8 @@ "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true }, "node_modules/utils-merge": { "version": "1.0.1", @@ -6517,6 +6752,14 @@ "node": ">= 0.8" } }, + "node_modules/web-streams-polyfill": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz", + "integrity": "sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==", + "engines": { + "node": ">= 8" + } + }, "node_modules/websocket": { "version": "1.0.34", "resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.34.tgz", @@ -6544,7 +6787,7 @@ "node_modules/websocket/node_modules/ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" }, "node_modules/which": { "version": "2.0.2", @@ -6659,14 +6902,6 @@ "node": ">=0.4" } }, - "node_modules/xxhashjs": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/xxhashjs/-/xxhashjs-0.2.2.tgz", - "integrity": "sha512-AkTuIuVTET12tpsVIQo+ZU6f/qDmKuRUcjaqR+OIvm+aCBsZ95i7UVY5WJ9TMsSaZ0DA2WxoZ4acu0sPH+OKAw==", - "dependencies": { - "cuint": "^0.2.2" - } - }, "node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", @@ -6679,7 +6914,7 @@ "node_modules/yaeti": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/yaeti/-/yaeti-0.0.6.tgz", - "integrity": "sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc=", + "integrity": "sha512-MvQa//+KcZCUkBTIC9blM+CU9J2GzuTytsOUwf2lidtvkx/6gnEp1QvJv34t9vdjhFmha/mUiNDbN0D0mJWdug==", "engines": { "node": ">=0.10.32" } @@ -6971,9 +7206,9 @@ "dev": true }, "@babel/runtime": { - "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.9.tgz", - "integrity": "sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.6.tgz", + "integrity": "sha512-t9wi7/AW6XtKahAe20Yw0/mMljKq0B1r2fPdvaAdV/KPDZewFXdaaa6K7lxmZBZ8FBNpCiAT6iHPmd6QO9bKfQ==", "requires": { "regenerator-runtime": "^0.13.4" } @@ -7034,11 +7269,11 @@ } }, "@digicatapult/dscp-node": { - "version": "3.8.0", - "resolved": "https://npm.pkg.github.com/download/@digicatapult/dscp-node/3.8.0/3ff157ce27a8c9c908f816c6bf5f5f14f7f9f9abc23ab77a7d57274e6ea01c54", - "integrity": "sha512-J3TqGMNbhpi9Y5K/z3bLTE/mPTtklhZDujpgdg09nTniKZWHdn1hiOW4LUQrFJZYtGAKoF7q5AM2OyU8yvk0Ag==", + "version": "4.0.0", + "resolved": "https://npm.pkg.github.com/download/@digicatapult/dscp-node/4.0.0/6623e70b033cc9b4b6e07093edf3f44c4134b9ae2025033001b46dfaf7d3d77f", + "integrity": "sha512-AzU7+CbDr+5HYwFIJwJSYgDSsBMgfL/gIJ8ZvPnK1AL+fdAGUAUpb66NamdBZuT9Kpuldjyaax/hKB7jGejvjQ==", "requires": { - "@polkadot/api": "^5.9.1" + "@polkadot/api": "^8.11.3" } }, "@eslint/eslintrc": { @@ -7190,225 +7425,388 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, + "@noble/hashes": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.2.tgz", + "integrity": "sha512-KYRCASVTv6aeUi1tsF8/vpyR7zpfs3FUzy2Jqm+MU+LmUKhQ0y2FpfwqkCcxSg2ua4GALJd8k2R76WxwZGbQpA==" + }, + "@noble/secp256k1": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.6.0.tgz", + "integrity": "sha512-DWSsg8zMHOYMYBqIQi96BQuthZrp98LCeMNcUOaffCIVYQ5yxDbNikLF+H7jEnmNNmXbtVic46iCuVWzar+MgA==" + }, "@polkadot/api": { - "version": "5.9.1", - "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-5.9.1.tgz", - "integrity": "sha512-POpIXn/Ao+NLB0uMldXdXU44dVbRr6+6Ax77Z0R285M8Z2EiF5jl2K3SPvlowLo4SntxiCSaHQxCekYhUcJKlw==", - "requires": { - "@babel/runtime": "^7.15.4", - "@polkadot/api-derive": "5.9.1", - "@polkadot/keyring": "^7.3.1", - "@polkadot/rpc-core": "5.9.1", - "@polkadot/rpc-provider": "5.9.1", - "@polkadot/types": "5.9.1", - "@polkadot/types-known": "5.9.1", - "@polkadot/util": "^7.3.1", - "@polkadot/util-crypto": "^7.3.1", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-8.12.2.tgz", + "integrity": "sha512-bK3bhCFqCYTx/K/89QF88jYqE3Dc1LmCwMnwpof6adlAj5DoEjRfSmKarqrZqox516Xph1+84ACNkyem0KnIWA==", + "requires": { + "@babel/runtime": "^7.18.6", + "@polkadot/api-augment": "8.12.2", + "@polkadot/api-base": "8.12.2", + "@polkadot/api-derive": "8.12.2", + "@polkadot/keyring": "^10.0.2", + "@polkadot/rpc-augment": "8.12.2", + "@polkadot/rpc-core": "8.12.2", + "@polkadot/rpc-provider": "8.12.2", + "@polkadot/types": "8.12.2", + "@polkadot/types-augment": "8.12.2", + "@polkadot/types-codec": "8.12.2", + "@polkadot/types-create": "8.12.2", + "@polkadot/types-known": "8.12.2", + "@polkadot/util": "^10.0.2", + "@polkadot/util-crypto": "^10.0.2", "eventemitter3": "^4.0.7", - "rxjs": "^7.3.0" + "rxjs": "^7.5.5" } }, - "@polkadot/api-derive": { - "version": "5.9.1", - "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-5.9.1.tgz", - "integrity": "sha512-iMrVKnYIS3UQciDlFqww6AFyXgG+iN8UqWu8QbTuZecri3qrSmM3Nn8Jkvju3meZIacwWIMSmBcnj8+zef3rkQ==", + "@polkadot/api-augment": { + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/api-augment/-/api-augment-8.12.2.tgz", + "integrity": "sha512-HbvNOu6ntago8nYqLkq/HZ+gsMhbKe/sD4hPIFPruhP6OAnW6TWNIlqc2ruFx2KrT0rfzXUZ4Gmk4WgyRFuz4Q==", "requires": { - "@babel/runtime": "^7.15.4", - "@polkadot/api": "5.9.1", - "@polkadot/rpc-core": "5.9.1", - "@polkadot/types": "5.9.1", - "@polkadot/util": "^7.3.1", - "@polkadot/util-crypto": "^7.3.1", - "rxjs": "^7.3.0" + "@babel/runtime": "^7.18.6", + "@polkadot/api-base": "8.12.2", + "@polkadot/rpc-augment": "8.12.2", + "@polkadot/types": "8.12.2", + "@polkadot/types-augment": "8.12.2", + "@polkadot/types-codec": "8.12.2", + "@polkadot/util": "^10.0.2" + } + }, + "@polkadot/api-base": { + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/api-base/-/api-base-8.12.2.tgz", + "integrity": "sha512-5rLOCulXNU/g0rUVoW6ArQjOBq/07S6oKR9nOJls6W4PUhYcBIClCTlXx2uoDszMdwhEhYyHQ67bnoTcRrYcLA==", + "requires": { + "@babel/runtime": "^7.18.6", + "@polkadot/rpc-core": "8.12.2", + "@polkadot/types": "8.12.2", + "@polkadot/util": "^10.0.2", + "rxjs": "^7.5.5" + } + }, + "@polkadot/api-derive": { + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-8.12.2.tgz", + "integrity": "sha512-F7HCAVNXLQphv7OYVcq7GM5CP6RzGvYfTqutmc5GZFCDVMDY9RQA+a/3T5BIjJXrtepPa0pcYvt9fcovsazhZw==", + "requires": { + "@babel/runtime": "^7.18.6", + "@polkadot/api": "8.12.2", + "@polkadot/api-augment": "8.12.2", + "@polkadot/api-base": "8.12.2", + "@polkadot/rpc-core": "8.12.2", + "@polkadot/types": "8.12.2", + "@polkadot/types-codec": "8.12.2", + "@polkadot/util": "^10.0.2", + "@polkadot/util-crypto": "^10.0.2", + "rxjs": "^7.5.5" } }, "@polkadot/keyring": { - "version": "7.9.2", - "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-7.9.2.tgz", - "integrity": "sha512-6UGoIxhiTyISkYEZhUbCPpgVxaneIfb/DBVlHtbvaABc8Mqh1KuqcTIq19Mh9wXlBuijl25rw4lUASrE/9sBqg==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-10.0.2.tgz", + "integrity": "sha512-N/lx/e9alR/lUREap4hQ/YKa+CKCFIa4QOKLz8eFhpqhbA5M5nQcjrppitO+sX/XlpmbOBpbnO168cU2dA09Iw==", "requires": { - "@babel/runtime": "^7.16.3", - "@polkadot/util": "7.9.2", - "@polkadot/util-crypto": "7.9.2" + "@babel/runtime": "^7.18.6", + "@polkadot/util": "10.0.2", + "@polkadot/util-crypto": "10.0.2" } }, "@polkadot/networks": { - "version": "7.9.2", - "resolved": "https://registry.npmjs.org/@polkadot/networks/-/networks-7.9.2.tgz", - "integrity": "sha512-4obI1RdW5/7TFwbwKA9oqw8aggVZ65JAUvIFMd2YmMC2T4+NiZLnok0WhRkhZkUnqjLIHXYNwq7Ho1i39dte0g==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@polkadot/networks/-/networks-10.0.2.tgz", + "integrity": "sha512-K7hUFmErTrBtkobhvFwT/oPEQrI1oVr7WfngquM+zN0oHiHzRspecxifGKsQ1kw78F7zrZKOBScW/hoJbdI8fA==", "requires": { - "@babel/runtime": "^7.16.3" + "@babel/runtime": "^7.18.6", + "@polkadot/util": "10.0.2", + "@substrate/ss58-registry": "^1.23.0" + } + }, + "@polkadot/rpc-augment": { + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-augment/-/rpc-augment-8.12.2.tgz", + "integrity": "sha512-FKVMmkYhWJNcuXpRN9t7xTX5agSgcgniP8gNPMhL6GV8lV3Xoxs8gLgVy32xeAh7gxArN/my6LnYPtXVkdFALQ==", + "requires": { + "@babel/runtime": "^7.18.6", + "@polkadot/rpc-core": "8.12.2", + "@polkadot/types": "8.12.2", + "@polkadot/types-codec": "8.12.2", + "@polkadot/util": "^10.0.2" } }, "@polkadot/rpc-core": { - "version": "5.9.1", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-5.9.1.tgz", - "integrity": "sha512-5fXiICAcjp7ow81DnIl2Dq/xuCtJUqyjJkxe9jNHJWBluBxOouqYDb8bYPPGSdckiaVyYe0l8lA9fBUFMdEt6w==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-8.12.2.tgz", + "integrity": "sha512-RLhzNYJonfsQXYhZuyVBSsOwSgCf+8ijS3aUcv06yrFf26k7nXw2Uc4P0Io3jY/wq5LnvkKzL+HSj6j7XZ+/Sg==", "requires": { - "@babel/runtime": "^7.15.4", - "@polkadot/rpc-provider": "5.9.1", - "@polkadot/types": "5.9.1", - "@polkadot/util": "^7.3.1", - "rxjs": "^7.3.0" + "@babel/runtime": "^7.18.6", + "@polkadot/rpc-augment": "8.12.2", + "@polkadot/rpc-provider": "8.12.2", + "@polkadot/types": "8.12.2", + "@polkadot/util": "^10.0.2", + "rxjs": "^7.5.5" } }, "@polkadot/rpc-provider": { - "version": "5.9.1", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-5.9.1.tgz", - "integrity": "sha512-9zamxfnsY7iCswXIK22W0Ji1XHLprm97js3WLw3lP2hr/uSim4Cv4y07zY/z4dDQyF0gJtjKwR27Wo9CZqdr6A==", - "requires": { - "@babel/runtime": "^7.15.4", - "@polkadot/types": "5.9.1", - "@polkadot/util": "^7.3.1", - "@polkadot/util-crypto": "^7.3.1", - "@polkadot/x-fetch": "^7.3.1", - "@polkadot/x-global": "^7.3.1", - "@polkadot/x-ws": "^7.3.1", - "eventemitter3": "^4.0.7" + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-8.12.2.tgz", + "integrity": "sha512-fgXKAYDmc1kGmOPa2Nuh+LsUBFvUzgzP/tOEbS5UJpoc0+azZfTLWh2AXpo/gVHblR6zZBDWrB3wmGzu6wF17A==", + "requires": { + "@babel/runtime": "^7.18.6", + "@polkadot/keyring": "^10.0.2", + "@polkadot/types": "8.12.2", + "@polkadot/types-support": "8.12.2", + "@polkadot/util": "^10.0.2", + "@polkadot/util-crypto": "^10.0.2", + "@polkadot/x-fetch": "^10.0.2", + "@polkadot/x-global": "^10.0.2", + "@polkadot/x-ws": "^10.0.2", + "@substrate/connect": "0.7.7", + "eventemitter3": "^4.0.7", + "mock-socket": "^9.1.5", + "nock": "^13.2.8" } }, "@polkadot/types": { - "version": "5.9.1", - "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-5.9.1.tgz", - "integrity": "sha512-30vcSlNBxPyWYZaxKDr/BoMhfLCRKB265XxpnnNJmbdZZsL+N4Zp2mJR9/UbA6ypmJBkUjD7b1s9AYsLwUs+8w==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-8.12.2.tgz", + "integrity": "sha512-hOqLunz4YH51B6AvuemX1cXKf+O8pehEoP3lH+FRKfJ7wyVhqa3WA+aUXhoTQBIuSiOjjC/FEJrRO5AoNO2iCg==", + "requires": { + "@babel/runtime": "^7.18.6", + "@polkadot/keyring": "^10.0.2", + "@polkadot/types-augment": "8.12.2", + "@polkadot/types-codec": "8.12.2", + "@polkadot/types-create": "8.12.2", + "@polkadot/util": "^10.0.2", + "@polkadot/util-crypto": "^10.0.2", + "rxjs": "^7.5.5" + } + }, + "@polkadot/types-augment": { + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-augment/-/types-augment-8.12.2.tgz", + "integrity": "sha512-47+T12u7HV+g22KryirG7fik5lU1tHgu39wLv8YZ/6jD1hVvgE632fvaCp4qje1F3M82aXobfekO+WOPLCZVsg==", + "requires": { + "@babel/runtime": "^7.18.6", + "@polkadot/types": "8.12.2", + "@polkadot/types-codec": "8.12.2", + "@polkadot/util": "^10.0.2" + } + }, + "@polkadot/types-codec": { + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-codec/-/types-codec-8.12.2.tgz", + "integrity": "sha512-NDa2ZJpJMWC9Un3PtvkyJF86M80gLqSmPyjIR8xxp0DzcD5EsCL8EV79xcOWUGm2lws1C66a4t4He/8ZwPNUqg==", + "requires": { + "@babel/runtime": "^7.18.6", + "@polkadot/util": "^10.0.2", + "@polkadot/x-bigint": "^10.0.2" + } + }, + "@polkadot/types-create": { + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-create/-/types-create-8.12.2.tgz", + "integrity": "sha512-D+Sfj+TwvipO+wl4XbsVkw5AgFdpy5O2JY88CV6L26EGU2OqCcTuenwSGdrsiLWW65m97q9lP7SUphUh39vBhA==", "requires": { - "@babel/runtime": "^7.15.4", - "@polkadot/util": "^7.3.1", - "@polkadot/util-crypto": "^7.3.1", - "rxjs": "^7.3.0" + "@babel/runtime": "^7.18.6", + "@polkadot/types-codec": "8.12.2", + "@polkadot/util": "^10.0.2" } }, "@polkadot/types-known": { - "version": "5.9.1", - "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-5.9.1.tgz", - "integrity": "sha512-7lpLuIVGaKziQRzPMnTxyjlYy3spL6WqUg3CcEzmJUKQeUonHglOliQh8JSSz1bcP+YuNHGXK1cKsTjHb+GYxA==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-8.12.2.tgz", + "integrity": "sha512-8HCZ3AkczBrCl+TUZD0+2ubLr0BQx+0f/Nnl9yuz1pWygmSEpHrYspmFtDdpMJnNTGZo8vHNOa7smdlijJqlhw==", "requires": { - "@babel/runtime": "^7.15.4", - "@polkadot/networks": "^7.3.1", - "@polkadot/types": "5.9.1", - "@polkadot/util": "^7.3.1" + "@babel/runtime": "^7.18.6", + "@polkadot/networks": "^10.0.2", + "@polkadot/types": "8.12.2", + "@polkadot/types-codec": "8.12.2", + "@polkadot/types-create": "8.12.2", + "@polkadot/util": "^10.0.2" + } + }, + "@polkadot/types-support": { + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@polkadot/types-support/-/types-support-8.12.2.tgz", + "integrity": "sha512-tTksJ4COcVonu/beWQKkF/6fKaArmTwM6iCuxn2PuJziS2Cm1+7D8Rh3ODwwZOseFvHPEco6jnb4DWNclXbZiA==", + "requires": { + "@babel/runtime": "^7.18.6", + "@polkadot/util": "^10.0.2" } }, "@polkadot/util": { - "version": "7.9.2", - "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-7.9.2.tgz", - "integrity": "sha512-6ABY6ErgkCsM4C6+X+AJSY4pBGwbKlHZmUtHftaiTvbaj4XuA4nTo3GU28jw8wY0Jh2cJZJvt6/BJ5GVkm5tBA==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-10.0.2.tgz", + "integrity": "sha512-jE1b6Zzltsb/GJV5sFmTSQOlYLd3fipY+DeLS9J+BbsWZW6uUc5x+FNm4pLrYxF1IqiZxwBv1Vi89L14uWZ1rw==", "requires": { - "@babel/runtime": "^7.16.3", - "@polkadot/x-textdecoder": "7.9.2", - "@polkadot/x-textencoder": "7.9.2", - "@types/bn.js": "^4.11.6", - "bn.js": "^4.12.0", - "camelcase": "^6.2.1", - "ip-regex": "^4.3.0" + "@babel/runtime": "^7.18.6", + "@polkadot/x-bigint": "10.0.2", + "@polkadot/x-global": "10.0.2", + "@polkadot/x-textdecoder": "10.0.2", + "@polkadot/x-textencoder": "10.0.2", + "@types/bn.js": "^5.1.0", + "bn.js": "^5.2.1" } }, "@polkadot/util-crypto": { - "version": "7.9.2", - "resolved": "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-7.9.2.tgz", - "integrity": "sha512-nNwqUwP44eCH9jKKcPie+IHLKkg9LMe6H7hXo91hy3AtoslnNrT51tP3uAm5yllhLvswJfnAgnlHq7ybCgqeFw==", - "requires": { - "@babel/runtime": "^7.16.3", - "@polkadot/networks": "7.9.2", - "@polkadot/util": "7.9.2", - "@polkadot/wasm-crypto": "^4.4.1", - "@polkadot/x-randomvalues": "7.9.2", - "blakejs": "^1.1.1", - "bn.js": "^4.12.0", - "create-hash": "^1.2.0", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-10.0.2.tgz", + "integrity": "sha512-0uJFvu5cpRBep0/AcpA8vnXH3gnoe+ADiMKD93AekjxrOVqlrjVHKIf+FbiGv1paRKISxoO5Q2j7nCvDsi1q5w==", + "requires": { + "@babel/runtime": "^7.18.6", + "@noble/hashes": "1.1.2", + "@noble/secp256k1": "1.6.0", + "@polkadot/networks": "10.0.2", + "@polkadot/util": "10.0.2", + "@polkadot/wasm-crypto": "^6.2.3", + "@polkadot/x-bigint": "10.0.2", + "@polkadot/x-randomvalues": "10.0.2", + "@scure/base": "1.1.1", "ed2curve": "^0.3.0", - "elliptic": "^6.5.4", - "hash.js": "^1.1.7", - "js-sha3": "^0.8.0", - "micro-base": "^0.9.0", - "scryptsy": "^2.1.0", - "tweetnacl": "^1.0.3", - "xxhashjs": "^0.2.2" + "tweetnacl": "^1.0.3" + } + }, + "@polkadot/wasm-bridge": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-bridge/-/wasm-bridge-6.2.3.tgz", + "integrity": "sha512-kDPcUF5uCZJeJUlWtjk6u4KRy+RTObZbIMgZKiuCcQn9n3EYWadONvStfIyKaiFCc3VFVivzH1cUwTFxxTNHHQ==", + "requires": { + "@babel/runtime": "^7.18.6" } }, "@polkadot/wasm-crypto": { - "version": "4.6.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto/-/wasm-crypto-4.6.1.tgz", - "integrity": "sha512-2wEftBDxDG+TN8Ah6ogtvzjdZdcF0mAjU4UNNOfpmkBCxQYZOrAHB8HXhzo3noSsKkLX7PDX57NxvJ9OhoTAjw==", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto/-/wasm-crypto-6.2.3.tgz", + "integrity": "sha512-Jq08uX16YYySanwN/37n/ZzOFv8T2H4NzLaQNjSGNbFdmKzkrlpw369XRNIVhrKGtK4v09O5ZaF5P9qc0EHgsg==", "requires": { - "@babel/runtime": "^7.17.2", - "@polkadot/wasm-crypto-asmjs": "^4.6.1", - "@polkadot/wasm-crypto-wasm": "^4.6.1" + "@babel/runtime": "^7.18.6", + "@polkadot/wasm-bridge": "6.2.3", + "@polkadot/wasm-crypto-asmjs": "6.2.3", + "@polkadot/wasm-crypto-init": "6.2.3", + "@polkadot/wasm-crypto-wasm": "6.2.3", + "@polkadot/wasm-util": "6.2.3" } }, "@polkadot/wasm-crypto-asmjs": { - "version": "4.6.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-4.6.1.tgz", - "integrity": "sha512-1oHQjz2oEO1kCIcQniOP+dZ9N2YXf2yCLHLsKaKSvfXiWaetVCaBNB8oIHIVYvuLnVc8qlMi66O6xc1UublHsw==", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-6.2.3.tgz", + "integrity": "sha512-d/eH02d/XB/vIGIQwyoFB4zNRb3h5PlWoXolGeVSuoa8476ouEdaWhy64mFwXBmjfluaeCOFXRs+QbxetwrDZg==", + "requires": { + "@babel/runtime": "^7.18.6" + } + }, + "@polkadot/wasm-crypto-init": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-init/-/wasm-crypto-init-6.2.3.tgz", + "integrity": "sha512-jDFD4ITWbvFgsGiRI61lrzI/eobG8VrI9nVCiDBqQZK7mNnGkyIdnFD1prW36uiv6/tkqSiGGvdb7dEKtmsB+Q==", "requires": { - "@babel/runtime": "^7.17.2" + "@babel/runtime": "^7.18.6", + "@polkadot/wasm-bridge": "6.2.3", + "@polkadot/wasm-crypto-asmjs": "6.2.3", + "@polkadot/wasm-crypto-wasm": "6.2.3" } }, "@polkadot/wasm-crypto-wasm": { - "version": "4.6.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-4.6.1.tgz", - "integrity": "sha512-NI3JVwmLjrSYpSVuhu0yeQYSlsZrdpK41UC48sY3kyxXC71pi6OVePbtHS1K3xh3FFmDd9srSchExi3IwzKzMw==", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-6.2.3.tgz", + "integrity": "sha512-bYRhYPcR4MBLAZz8liozr8E11r7j6RLkNHu80z65lZ5AWgjDu2MgYfKxZFWZxg8rB6+V1uYFmb7czUiSWOn4Rg==", + "requires": { + "@babel/runtime": "^7.18.6", + "@polkadot/wasm-util": "6.2.3" + } + }, + "@polkadot/wasm-util": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-util/-/wasm-util-6.2.3.tgz", + "integrity": "sha512-8BQ9gVSrjdc0MPWN9qtNWlMiK+J8dICu1gZJ+cy/hqKjer2MzwX4SeW2wyL5MkYYHjih3ajMRSoSA+/eY2iEwg==", "requires": { - "@babel/runtime": "^7.17.2" + "@babel/runtime": "^7.18.6" + } + }, + "@polkadot/x-bigint": { + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-bigint/-/x-bigint-10.0.2.tgz", + "integrity": "sha512-LtfPi+AyZDNe8jQGVmyDfxGyQDdM6ISZEwJD1ieGd4eUbOkfPmn+1t+0rjtxjISZcyP40fSFcLxtL191jDV8Bw==", + "requires": { + "@babel/runtime": "^7.18.6", + "@polkadot/x-global": "10.0.2" } }, "@polkadot/x-fetch": { - "version": "7.9.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-7.9.2.tgz", - "integrity": "sha512-zutLkFJVaLVpY3cIGYJD0AReLfAnPr2J82Ca4pvy/BxqwwGYuGLcn36A4m6nliGBP2lcH4oYY+mcCqIwoPWQUQ==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-10.0.2.tgz", + "integrity": "sha512-vsizrcBNeRWWJhE4ZoCUJ0c68wvy3PiR9jH//B1PTV6OaqpdalpwXG6Xtpli8yc0hOOUH/87u8b/x2f/2vhZcQ==", "requires": { - "@babel/runtime": "^7.16.3", - "@polkadot/x-global": "7.9.2", - "@types/node-fetch": "^2.5.12", - "node-fetch": "^2.6.6" + "@babel/runtime": "^7.18.6", + "@polkadot/x-global": "10.0.2", + "@types/node-fetch": "^2.6.2", + "node-fetch": "^3.2.6" + }, + "dependencies": { + "node-fetch": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.2.7.tgz", + "integrity": "sha512-xRYIBUEoMvzvLt0FT2mAKAGXps1Wm0GpswR63pPJC4Hp5EubeigGYJJge34f3mPApap4+2B3sTKyUygsZrkmyg==", + "requires": { + "data-uri-to-buffer": "^4.0.0", + "fetch-blob": "^3.1.4", + "formdata-polyfill": "^4.0.10" + } + } } }, "@polkadot/x-global": { - "version": "7.9.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-global/-/x-global-7.9.2.tgz", - "integrity": "sha512-JX5CrGWckHf1P9xKXq4vQCAuMUbL81l2hOWX7xeP8nv4caHEpmf5T1wD1iMdQBL5PFifo6Pg0V6/oZBB+bts7A==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-global/-/x-global-10.0.2.tgz", + "integrity": "sha512-IlxSH36RjcQTImufaJCtvommMmkNWbwOy+/Z7FEOKUOcoiPaUhHU3CzWser+EtClckx7qPLY5lZ59Pxf7HWupQ==", "requires": { - "@babel/runtime": "^7.16.3" + "@babel/runtime": "^7.18.6" } }, "@polkadot/x-randomvalues": { - "version": "7.9.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-7.9.2.tgz", - "integrity": "sha512-svQfG31yCXf6yVyIgP0NgCzEy7oc3Lw054ZspkaqjOivxYdrXaf5w3JSSUyM/MRjI2+nk+B/EyJoMYcfSwTfsQ==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-10.0.2.tgz", + "integrity": "sha512-kYbNeeOaDEnNqVhIgh8ds9YC79Tji5/HDqQymx7Xb3YmTagdOAe2klrTRJzVfsUKljzhlVOuF3Zcf/PRNbt/2w==", "requires": { - "@babel/runtime": "^7.16.3", - "@polkadot/x-global": "7.9.2" + "@babel/runtime": "^7.18.6", + "@polkadot/x-global": "10.0.2" } }, "@polkadot/x-textdecoder": { - "version": "7.9.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-7.9.2.tgz", - "integrity": "sha512-wfwbSHXPhrOAl12QvlIOGNkMH/N/h8PId2ytIjvM/8zPPFB5Il6DWSFLtVapOGEpIFjEWbd5t8Td4pHBVXIEbg==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-10.0.2.tgz", + "integrity": "sha512-EI1+Osrfadtm4XFfdcjYgV/1yYoPoFaIJfZiPphPSy/4Ceeblmz9T2hWPdJ3uWtPpk6FkhxudB44Y1JuCwXBjg==", "requires": { - "@babel/runtime": "^7.16.3", - "@polkadot/x-global": "7.9.2" + "@babel/runtime": "^7.18.6", + "@polkadot/x-global": "10.0.2" } }, "@polkadot/x-textencoder": { - "version": "7.9.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-7.9.2.tgz", - "integrity": "sha512-A19wwYINuZwU2dUyQ/mMzB0ISjyfc4cISfL4zCMUAVgj7xVoXMYV2GfjNdMpA8Wsjch3su6pxLbtJ2wU03sRTQ==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-10.0.2.tgz", + "integrity": "sha512-iTLC700ExtRFsP+fE+dA5CO0xjQ46XeQqbJxa7wJK3aKrzpogyTLZXc0O5ISE1xltOmsQSA9QOELMP113kZkvA==", "requires": { - "@babel/runtime": "^7.16.3", - "@polkadot/x-global": "7.9.2" + "@babel/runtime": "^7.18.6", + "@polkadot/x-global": "10.0.2" } }, "@polkadot/x-ws": { - "version": "7.9.2", - "resolved": "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-7.9.2.tgz", - "integrity": "sha512-+yppMsZtvDztVOSmkqAQuhR6TfV1Axa6ergAsWb52DrfXvFP5geqtARsI6ZdDgMsE3qHSVQTcJz8vgNOr5+ztQ==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-10.0.2.tgz", + "integrity": "sha512-eH8WJ6jKobfUGLRAGj65wKUB2pwbT7RflebQbbcG8Khx9INRjuwLGc+jAiuf0StOZiqVVJsMUayVgsddO8hIvQ==", "requires": { - "@babel/runtime": "^7.16.3", - "@polkadot/x-global": "7.9.2", - "@types/websocket": "^1.0.4", + "@babel/runtime": "^7.18.6", + "@polkadot/x-global": "10.0.2", + "@types/websocket": "^1.0.5", "websocket": "^1.0.34" } }, + "@scure/base": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.1.1.tgz", + "integrity": "sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA==" + }, "@sindresorhus/is": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz", @@ -7450,6 +7848,52 @@ "integrity": "sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==", "dev": true }, + "@substrate/connect": { + "version": "0.7.7", + "resolved": "https://registry.npmjs.org/@substrate/connect/-/connect-0.7.7.tgz", + "integrity": "sha512-uFRF06lC42ZZixxwkzRB61K1uYvR1cTZ7rI98RW7T+eWbCFrafyVk0pk6J+4oN05gZkhou+VK3hrRCU6Doy2xQ==", + "requires": { + "@substrate/connect-extension-protocol": "^1.0.0", + "@substrate/smoldot-light": "0.6.19", + "eventemitter3": "^4.0.7" + } + }, + "@substrate/connect-extension-protocol": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@substrate/connect-extension-protocol/-/connect-extension-protocol-1.0.0.tgz", + "integrity": "sha512-nFVuKdp71hMd/MGlllAOh+a2hAqt8m6J2G0aSsS/RcALZexxF9jodbFc62ni8RDtJboeOfXAHhenYOANvJKPIg==" + }, + "@substrate/smoldot-light": { + "version": "0.6.19", + "resolved": "https://registry.npmjs.org/@substrate/smoldot-light/-/smoldot-light-0.6.19.tgz", + "integrity": "sha512-Xi+v1cdURhTwx7NH+9fa1U9m7VGP61GvB6qwev9HrZXlGbQiUIvySxPlH/LMsq3mwgiRYkokPhcaZEHufY7Urg==", + "requires": { + "buffer": "^6.0.1", + "pako": "^2.0.4", + "websocket": "^1.0.32" + }, + "dependencies": { + "buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "pako": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz", + "integrity": "sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg==" + } + } + }, + "@substrate/ss58-registry": { + "version": "1.23.0", + "resolved": "https://registry.npmjs.org/@substrate/ss58-registry/-/ss58-registry-1.23.0.tgz", + "integrity": "sha512-LuQje7n48GXSsp1aGI6UEmNVtlh7OzQ6CN1Hd9VGUrshADwMB0lRZ5bxnffmqDR4vVugI7h0NN0AONhIW1eHGg==" + }, "@szmarczak/http-timer": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-4.0.6.tgz", @@ -7460,9 +7904,9 @@ } }, "@types/bn.js": { - "version": "4.11.6", - "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.0.tgz", + "integrity": "sha512-QSSVYj7pYFN49kW77o2s9xTCwZ8F2xLbjLLSEVh8D2F4JUhZtPAGOFLTD+ffqksBx/u4cE/KImFjyhqCjn/LIA==", "requires": { "@types/node": "*" } @@ -7512,9 +7956,9 @@ "integrity": "sha512-UxDxWn7dl97rKVeVS61vErvw086aCYhDLyvRQZ5Rk65rZKepaFdm53GeqXaKBuOhED4e9uWq34IC3TdSdJJ2Gw==" }, "@types/node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-oMqjURCaxoSIsHSr1E47QHzbmzNR5rK8McHuNb11BOM9cHcIK3Avy0s/b2JlXHoQGTYS3NsvWzV1M0iK7l0wbA==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.2.tgz", + "integrity": "sha512-DHqhlq5jeESLy19TYhLakJ07kNumXWjcDdxXsLUMJZ6ue8VZJj4kLPQVE/2mdHh3xZziNF1xppu5lwmS53HR+A==", "requires": { "@types/node": "*", "form-data": "^3.0.0" @@ -7815,8 +8259,7 @@ "base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "dev": true + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" }, "binary": { "version": "0.3.0", @@ -7845,15 +8288,10 @@ "readable-stream": "^3.4.0" } }, - "blakejs": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/blakejs/-/blakejs-1.2.1.tgz", - "integrity": "sha512-QXUSXI3QVc/gJME0dBpXrag1kbzOqCjCX8/b54ntNyW6sjtoqxqRk3LTmXzaJoh71zMsDCjM+47jS7XiwN/+fQ==" - }, "bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", + "integrity": "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==" }, "body-parser": { "version": "1.19.2", @@ -7906,11 +8344,6 @@ "fill-range": "^7.0.1" } }, - "brorand": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", - "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" - }, "browser-stdout": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", @@ -8022,7 +8455,8 @@ "camelcase": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==" + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true }, "caniuse-lite": { "version": "1.0.30001331", @@ -8093,15 +8527,6 @@ "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", "dev": true }, - "cipher-base": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", - "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", - "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, "clean-stack": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", @@ -8232,18 +8657,6 @@ "yaml": "^1.10.0" } }, - "create-hash": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", - "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", - "requires": { - "cipher-base": "^1.0.1", - "inherits": "^2.0.1", - "md5.js": "^1.3.4", - "ripemd160": "^2.0.1", - "sha.js": "^2.4.0" - } - }, "cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -8255,11 +8668,6 @@ "which": "^2.0.1" } }, - "cuint": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/cuint/-/cuint-0.2.2.tgz", - "integrity": "sha1-QICG1AlVDCYxFVYZ6fp7ytw7mRs=" - }, "d": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", @@ -8269,11 +8677,15 @@ "type": "^1.0.1" } }, + "data-uri-to-buffer": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.0.tgz", + "integrity": "sha512-Vr3mLBA8qWmcuschSLAOogKgQ/Jwxulv3RNE4FXnYWRGujzrRWQI4m12fQqRkwX06C0KanhLr4hK+GydchZsaA==" + }, "debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, "requires": { "ms": "2.1.2" } @@ -8472,20 +8884,6 @@ "integrity": "sha512-Huen6taaVrUrSy8o7mGStByba8PfOWWluHNxSHGBrCgEdFVLtvdQDBr9LBCF9Uci8SYxh28QNNMO0oC17wbGAg==", "dev": true }, - "elliptic": { - "version": "6.5.4", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", - "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", - "requires": { - "bn.js": "^4.11.9", - "brorand": "^1.1.0", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.1", - "inherits": "^2.0.4", - "minimalistic-assert": "^1.0.1", - "minimalistic-crypto-utils": "^1.0.1" - } - }, "emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", @@ -8530,9 +8928,9 @@ } }, "es5-ext": { - "version": "0.10.60", - "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.60.tgz", - "integrity": "sha512-jpKNXIt60htYG59/9FGf2PYT3pwMpnEbNKysU+k/4FGwyGtMotOvcZOuW+EmXXYASRqYSXQfGL5cVIthOTgbkg==", + "version": "0.10.61", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.61.tgz", + "integrity": "sha512-yFhIqQAzu2Ca2I4SE2Au3rxVfmohU9Y7wqGR+s7+H7krk26NXhIRAZDgqd6xqjCEFUomDEA3/Bo/7fKmIkW1kA==", "requires": { "es6-iterator": "^2.0.3", "es6-symbol": "^3.1.3", @@ -8548,7 +8946,7 @@ "es6-iterator": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", - "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", + "integrity": "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==", "requires": { "d": "1", "es5-ext": "^0.10.35", @@ -8967,6 +9365,15 @@ "punycode": "^1.3.2" } }, + "fetch-blob": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz", + "integrity": "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==", + "requires": { + "node-domexception": "^1.0.0", + "web-streams-polyfill": "^3.0.3" + } + }, "file-entry-cache": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", @@ -9082,6 +9489,14 @@ "mime-types": "^2.1.12" } }, + "formdata-polyfill": { + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz", + "integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==", + "requires": { + "fetch-blob": "^3.1.2" + } + }, "forwarded": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", @@ -9214,9 +9629,9 @@ "dev": true }, "got": { - "version": "11.8.3", - "resolved": "https://registry.npmjs.org/got/-/got-11.8.3.tgz", - "integrity": "sha512-7gtQ5KiPh1RtGS9/Jbv1ofDpBFuq42gyfEib+ejaRBJuj/3tQFeR5+gw57e4ipaU8c/rCjvX6fkQz2lyDlGAOg==", + "version": "11.8.5", + "resolved": "https://registry.npmjs.org/got/-/got-11.8.5.tgz", + "integrity": "sha512-o0Je4NvQObAuZPHLFoRSkdG2lTgtcynqymzg2Vupdx6PorhaT5MCbIyXG6d4D94kk8ZG57QeosgdiqfJWhEhlQ==", "dev": true, "requires": { "@sindresorhus/is": "^4.0.0", @@ -9273,25 +9688,6 @@ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", "dev": true }, - "hash-base": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", - "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", - "requires": { - "inherits": "^2.0.4", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" - } - }, - "hash.js": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", - "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", - "requires": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.1" - } - }, "hasha": { "version": "5.2.2", "resolved": "https://registry.npmjs.org/hasha/-/hasha-5.2.2.tgz", @@ -9308,16 +9704,6 @@ "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", "dev": true }, - "hmac-drbg": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", - "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", - "requires": { - "hash.js": "^1.0.3", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.1" - } - }, "html-escaper": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", @@ -9363,8 +9749,7 @@ "ieee754": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "dev": true + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" }, "ignore": { "version": "5.2.0", @@ -9430,11 +9815,6 @@ "loose-envify": "^1.0.0" } }, - "ip-regex": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.3.0.tgz", - "integrity": "sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q==" - }, "ipaddr.js": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", @@ -9651,11 +10031,6 @@ "istanbul-lib-report": "^3.0.0" } }, - "js-sha3": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", - "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" - }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -9708,6 +10083,11 @@ "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", "dev": true }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==" + }, "json5": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", @@ -9795,8 +10175,7 @@ "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "lodash.flattendeep": { "version": "4.4.0", @@ -9942,16 +10321,6 @@ } } }, - "md5.js": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", - "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", - "requires": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, "media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", @@ -9967,11 +10336,6 @@ "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" }, - "micro-base": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/micro-base/-/micro-base-0.9.0.tgz", - "integrity": "sha512-4+tOMKidYT5nQ6/UNmYrGVO5PMcnJdfuR4NC8HK8s2H61B4itOhA9yrsjBdqGV7ecdtej36x3YSIfPLRmPrspg==" - }, "mime": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", @@ -9996,16 +10360,6 @@ "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", "dev": true }, - "minimalistic-assert": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", - "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" - }, - "minimalistic-crypto-utils": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", - "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" - }, "minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -10138,11 +10492,15 @@ } } }, + "mock-socket": { + "version": "9.1.5", + "resolved": "https://registry.npmjs.org/mock-socket/-/mock-socket-9.1.5.tgz", + "integrity": "sha512-3DeNIcsQixWHHKk6NdoBhWI4t1VMj5/HzfnI1rE/pLl5qKx7+gd4DNA07ehTaZ6MoUU053si6Hd+YtiM/tQZfg==" + }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "multimatch": { "version": "5.0.0", @@ -10209,15 +10567,32 @@ } } }, + "nock": { + "version": "13.2.8", + "resolved": "https://registry.npmjs.org/nock/-/nock-13.2.8.tgz", + "integrity": "sha512-JT42FrXfQRpfyL4cnbBEJdf4nmBpVP0yoCcSBr+xkT8Q1y3pgtaCKHGAAOIFcEJ3O3t0QbVAmid0S0f2bj3Wpg==", + "requires": { + "debug": "^4.1.0", + "json-stringify-safe": "^5.0.1", + "lodash": "^4.17.21", + "propagate": "^2.0.0" + } + }, + "node-domexception": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz", + "integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==" + }, "node-fetch": { "version": "npm:@achingbrain/node-fetch@2.6.7", "resolved": "https://registry.npmjs.org/@achingbrain/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-iTASGs+HTFK5E4ZqcMsHmeJ4zodyq8L38lZV33jwqcBJYoUt3HjN4+ot+O9/0b+ke8ddE7UgOtVuZN/OkV19/g==" + "integrity": "sha512-iTASGs+HTFK5E4ZqcMsHmeJ4zodyq8L38lZV33jwqcBJYoUt3HjN4+ot+O9/0b+ke8ddE7UgOtVuZN/OkV19/g==", + "dev": true }, "node-gyp-build": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.4.0.tgz", - "integrity": "sha512-amJnQCcgtRVw9SvoebO3BKGESClrfXGCUTX9hSn1OuGQTQBOZmVd0Z0OlecpuRksKvbsUqALE8jls/ErClAPuQ==" + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.5.0.tgz", + "integrity": "sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg==" }, "node-preload": { "version": "0.2.1", @@ -10932,6 +11307,11 @@ "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", "dev": true }, + "propagate": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/propagate/-/propagate-2.0.1.tgz", + "integrity": "sha512-vGrhOavPSTz4QVNuBNdcNXePNdNMaO1xj9yBeH1ScQPjk/rhg9sSlCXPhMkFuaNNW/syTvYqsnbIJxMBfRbbag==" + }, "proxy-addr": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", @@ -11039,6 +11419,7 @@ "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, "requires": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -11139,19 +11520,10 @@ "glob": "^7.1.3" } }, - "ripemd160": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", - "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", - "requires": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1" - } - }, "rxjs": { - "version": "7.5.5", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.5.tgz", - "integrity": "sha512-sy+H0pQofO95VDmFLzyaw9xNJU4KTRSwQIGM6+iG3SypAtCiLDzpeG8sJrNCWn2Up9km+KhkvTdbkrdy+yzZdw==", + "version": "7.5.6", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.6.tgz", + "integrity": "sha512-dnyv2/YsXhnm461G+R/Pe5bWP41Nm6LBXEYWI6eiFP4fiwx6WRI/CD0zbdVAudd9xwLEF2IDcKXLHit0FYjUzw==", "requires": { "tslib": "^2.1.0" } @@ -11177,11 +11549,6 @@ "source-map-js": ">=0.6.2 <2.0.0" } }, - "scryptsy": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/scryptsy/-/scryptsy-2.1.0.tgz", - "integrity": "sha512-1CdSqHQowJBnMAFyPEBRfqag/YP9OF394FV+4YREIJX4ljD7OxvQRDayyoyyCk+senRjSkP6VnUNQmVQqB6g7w==" - }, "scss-parser": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/scss-parser/-/scss-parser-1.0.5.tgz", @@ -11279,15 +11646,6 @@ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" }, - "sha.js": { - "version": "2.4.11", - "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", - "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", - "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, "shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -11465,6 +11823,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dev": true, "requires": { "safe-buffer": "~5.2.0" } @@ -11669,9 +12028,9 @@ "dev": true }, "tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" }, "tweetnacl": { "version": "1.0.3", @@ -11770,7 +12129,8 @@ "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true }, "utils-merge": { "version": "1.0.1", @@ -11794,6 +12154,11 @@ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" }, + "web-streams-polyfill": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz", + "integrity": "sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==" + }, "websocket": { "version": "1.0.34", "resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.34.tgz", @@ -11818,7 +12183,7 @@ "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" } } }, @@ -11910,14 +12275,6 @@ "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", "dev": true }, - "xxhashjs": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/xxhashjs/-/xxhashjs-0.2.2.tgz", - "integrity": "sha512-AkTuIuVTET12tpsVIQo+ZU6f/qDmKuRUcjaqR+OIvm+aCBsZ95i7UVY5WJ9TMsSaZ0DA2WxoZ4acu0sPH+OKAw==", - "requires": { - "cuint": "^0.2.2" - } - }, "y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", @@ -11927,7 +12284,7 @@ "yaeti": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/yaeti/-/yaeti-0.0.6.tgz", - "integrity": "sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc=" + "integrity": "sha512-MvQa//+KcZCUkBTIC9blM+CU9J2GzuTytsOUwf2lidtvkx/6gnEp1QvJv34t9vdjhFmha/mUiNDbN0D0mJWdug==" }, "yallist": { "version": "4.0.0", diff --git a/package.json b/package.json index c997029..5f7c4b7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@digicatapult/dscp-ipfs", - "version": "2.2.0", + "version": "2.3.0", "description": "Service for WASP", "main": "app/index.js", "scripts": { @@ -31,7 +31,7 @@ }, "homepage": "https://github.com/digicatapult/dscp-ipfs#readme", "dependencies": { - "@digicatapult/dscp-node": "^3.8.0", + "@digicatapult/dscp-node": "^4.0.0", "dotenv": "^8.2.0", "envalid": "^7.0.0", "express": "^4.17.1", diff --git a/test/unit/keyWatcher.test.js b/test/unit/keyWatcher.test.js index f6e548e..be1ad76 100644 --- a/test/unit/keyWatcher.test.js +++ b/test/unit/keyWatcher.test.js @@ -55,8 +55,7 @@ describe('keyWatcher', function () { events: [ { event: { - data: [null, new Uint8Array([5, 6, 7, 8]), null], - typeDef: [{ type: 'Other' }, { type: 'Key' }, { type: 'Other' }], + data: [new Uint8Array([5, 6, 7, 8])], }, }, ], @@ -80,8 +79,7 @@ describe('keyWatcher', function () { events: [ { event: { - data: [null, new Uint8Array([5, 6, 7, 8]), null], - typeDef: [{ type: 'Other' }, { type: 'Key' }, { type: 'Other' }], + data: [new Uint8Array([5, 6, 7, 8])], }, }, ],