diff --git a/dot/core/interface.go b/dot/core/interface.go index e3add387c1..05986df2e5 100644 --- a/dot/core/interface.go +++ b/dot/core/interface.go @@ -40,7 +40,7 @@ type RuntimeInstance interface { FinalizeBlock() (*types.Header, error) ExecuteBlock(block *types.Block) ([]byte, error) DecodeSessionKeys(enc []byte) ([]byte, error) - PaymentQueryInfo(ext []byte) (*types.TransactionPaymentQueryInfo, error) + PaymentQueryInfo(ext []byte) (*types.RuntimeDispatchInfo, error) CheckInherents() RandomSeed() OffchainWorker() diff --git a/dot/core/mocks_test.go b/dot/core/mocks_test.go index 1dd9e80725..7dca84b036 100644 --- a/dot/core/mocks_test.go +++ b/dot/core/mocks_test.go @@ -1070,10 +1070,10 @@ func (mr *MockRuntimeInstanceMockRecorder) OffchainWorker() *gomock.Call { } // PaymentQueryInfo mocks base method. -func (m *MockRuntimeInstance) PaymentQueryInfo(arg0 []byte) (*types.TransactionPaymentQueryInfo, error) { +func (m *MockRuntimeInstance) PaymentQueryInfo(arg0 []byte) (*types.RuntimeDispatchInfo, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "PaymentQueryInfo", arg0) - ret0, _ := ret[0].(*types.TransactionPaymentQueryInfo) + ret0, _ := ret[0].(*types.RuntimeDispatchInfo) ret1, _ := ret[1].(error) return ret0, ret1 } diff --git a/dot/rpc/modules/payment_integration_test.go b/dot/rpc/modules/payment_integration_test.go index 9ab67832a8..8ec43d725a 100644 --- a/dot/rpc/modules/payment_integration_test.go +++ b/dot/rpc/modules/payment_integration_test.go @@ -24,7 +24,7 @@ func TestPaymentQueryInfo(t *testing.T) { bestBlockHash := state.Block.BestBlockHash() t.Run("When there is no errors", func(t *testing.T) { - mockedQueryInfo := &types.TransactionPaymentQueryInfo{ + mockedQueryInfo := &types.RuntimeDispatchInfo{ Weight: 0, Class: 0, PartialFee: scale.MaxUint128, diff --git a/dot/rpc/modules/payment_test.go b/dot/rpc/modules/payment_test.go index a3981967c3..1a659c705a 100644 --- a/dot/rpc/modules/payment_test.go +++ b/dot/rpc/modules/payment_test.go @@ -43,7 +43,7 @@ func TestPaymentModule_QueryInfo(t *testing.T) { blockErrorAPIMock2.On("GetRuntime", &testHash).Return(nil, errors.New("GetRuntime error")) runtimeMock.On("PaymentQueryInfo", common.MustHexToBytes("0x0000")).Return(nil, nil) - runtimeMock2.On("PaymentQueryInfo", common.MustHexToBytes("0x0000")).Return(&types.TransactionPaymentQueryInfo{ + runtimeMock2.On("PaymentQueryInfo", common.MustHexToBytes("0x0000")).Return(&types.RuntimeDispatchInfo{ Weight: uint64(21), Class: 21, PartialFee: u, diff --git a/dot/sync/interface.go b/dot/sync/interface.go index e7964e8940..7da7fa9854 100644 --- a/dot/sync/interface.go +++ b/dot/sync/interface.go @@ -39,7 +39,7 @@ type RuntimeInstance interface { FinalizeBlock() (*types.Header, error) ExecuteBlock(block *types.Block) ([]byte, error) DecodeSessionKeys(enc []byte) ([]byte, error) - PaymentQueryInfo(ext []byte) (*types.TransactionPaymentQueryInfo, error) + PaymentQueryInfo(ext []byte) (*types.RuntimeDispatchInfo, error) CheckInherents() RandomSeed() OffchainWorker() diff --git a/dot/sync/mocks_test.go b/dot/sync/mocks_test.go index cd9e3cc494..84eff8ba51 100644 --- a/dot/sync/mocks_test.go +++ b/dot/sync/mocks_test.go @@ -1040,10 +1040,10 @@ func (mr *MockRuntimeInstanceMockRecorder) OffchainWorker() *gomock.Call { } // PaymentQueryInfo mocks base method. -func (m *MockRuntimeInstance) PaymentQueryInfo(arg0 []byte) (*types.TransactionPaymentQueryInfo, error) { +func (m *MockRuntimeInstance) PaymentQueryInfo(arg0 []byte) (*types.RuntimeDispatchInfo, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "PaymentQueryInfo", arg0) - ret0, _ := ret[0].(*types.TransactionPaymentQueryInfo) + ret0, _ := ret[0].(*types.RuntimeDispatchInfo) ret1, _ := ret[1].(error) return ret0, ret1 } diff --git a/dot/types/tx.go b/dot/types/tx.go index 7bde56790f..1085661f81 100644 --- a/dot/types/tx.go +++ b/dot/types/tx.go @@ -33,10 +33,24 @@ const ( TxnExternal ) -// TransactionPaymentQueryInfo represents the basic information of a given encoded extrinsic -type TransactionPaymentQueryInfo struct { +// RuntimeDispatchInfo represents information related to a dispatchable's class, weight, and fee that can be queried +// from the runtime +type RuntimeDispatchInfo struct { Weight uint64 // Class could be Normal (0), Operational (1), Mandatory (2) Class int PartialFee *scale.Uint128 } + +// InclusionFee represent base fee and adjusted weight and length fees +type InclusionFee struct { + BaseFee *scale.Uint128 + LenFee *scale.Uint128 + AdjustedWeightFee *scale.Uint128 +} + +// FeeDetails composed of InclusionFee and Tip +type FeeDetails struct { + InclusionFee InclusionFee + Tip *scale.Uint128 +} diff --git a/lib/blocktree/mock_instance_test.go b/lib/blocktree/mock_instance_test.go index f187bf1583..c019ebfcb3 100644 --- a/lib/blocktree/mock_instance_test.go +++ b/lib/blocktree/mock_instance_test.go @@ -280,10 +280,10 @@ func (mr *MockInstanceMockRecorder) OffchainWorker() *gomock.Call { } // PaymentQueryInfo mocks base method. -func (m *MockInstance) PaymentQueryInfo(arg0 []byte) (*types.TransactionPaymentQueryInfo, error) { +func (m *MockInstance) PaymentQueryInfo(arg0 []byte) (*types.RuntimeDispatchInfo, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "PaymentQueryInfo", arg0) - ret0, _ := ret[0].(*types.TransactionPaymentQueryInfo) + ret0, _ := ret[0].(*types.RuntimeDispatchInfo) ret1, _ := ret[1].(error) return ret0, ret1 } diff --git a/lib/runtime/constants.go b/lib/runtime/constants.go index 0b9bdcdc3d..21034f6a8f 100644 --- a/lib/runtime/constants.go +++ b/lib/runtime/constants.go @@ -44,6 +44,18 @@ const ( DEV_RUNTIME = "dev_runtime" DEV_RUNTIME_FP = "dev_runtime.compact.wasm" DEV_RUNTIME_URL = "https://github.com/noot/substrate/blob/noot/v0.8-dev-runtime/target/wasm32-unknown-unknown/release/wbuild/node-runtime/node_runtime.compact.wasm?raw=true" //nolint:lll + + // v0.9.29 polkadot + POLKADOT_RUNTIME_v0929 = "polkadot_runtime-v929" + POLKADOT_RUNTIME_V0929_FP = "polkadot_runtime-v929.compact.wasm" + POLKADOT_RUNTIME_V0929_URL = "https://github.com/paritytech/polkadot/releases/download/v0.9." + + "29/polkadot_runtime-v9290.compact.compressed.wasm?raw=true" + + // v0.9.29 westend + WESTEND_RUNTIME_v0929 = "westend_runtime-v929" + WESTEND_RUNTIME_V0929_FP = "westend_runtime-v929.compact.wasm" + WESTEND_RUNTIME_V0929_URL = "https://github.com/paritytech/polkadot/releases/download/v0.9." + + "29/westend_runtime-v9290.compact.compressed.wasm?raw=true" ) const ( @@ -71,4 +83,8 @@ const ( DecodeSessionKeys = "SessionKeys_decode_session_keys" // TransactionPaymentAPIQueryInfo returns information of a given extrinsic TransactionPaymentAPIQueryInfo = "TransactionPaymentApi_query_info" + // TransactionPaymentCallAPIQueryCallInfo returns call query call info + TransactionPaymentCallAPIQueryCallInfo = "TransactionPaymentCallApi_query_call_info" + // TransactionPaymentCallAPIQueryCallFeeDetails returns call query call fee details + TransactionPaymentCallAPIQueryCallFeeDetails = "TransactionPaymentCallApi_query_call_fee_details" ) diff --git a/lib/runtime/interface.go b/lib/runtime/interface.go index 6fc9f3a01a..475edb3eb5 100644 --- a/lib/runtime/interface.go +++ b/lib/runtime/interface.go @@ -38,7 +38,7 @@ type Instance interface { FinalizeBlock() (*types.Header, error) ExecuteBlock(block *types.Block) ([]byte, error) DecodeSessionKeys(enc []byte) ([]byte, error) - PaymentQueryInfo(ext []byte) (*types.TransactionPaymentQueryInfo, error) + PaymentQueryInfo(ext []byte) (*types.RuntimeDispatchInfo, error) CheckInherents() // TODO: use this in block verification process (#1873) diff --git a/lib/runtime/mocks/instance.go b/lib/runtime/mocks/instance.go index e6bfb07ac6..a8c252edb8 100644 --- a/lib/runtime/mocks/instance.go +++ b/lib/runtime/mocks/instance.go @@ -319,15 +319,15 @@ func (_m *Instance) OffchainWorker() { } // PaymentQueryInfo provides a mock function with given fields: ext -func (_m *Instance) PaymentQueryInfo(ext []byte) (*types.TransactionPaymentQueryInfo, error) { +func (_m *Instance) PaymentQueryInfo(ext []byte) (*types.RuntimeDispatchInfo, error) { ret := _m.Called(ext) - var r0 *types.TransactionPaymentQueryInfo - if rf, ok := ret.Get(0).(func([]byte) *types.TransactionPaymentQueryInfo); ok { + var r0 *types.RuntimeDispatchInfo + if rf, ok := ret.Get(0).(func([]byte) *types.RuntimeDispatchInfo); ok { r0 = rf(ext) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*types.TransactionPaymentQueryInfo) + r0 = ret.Get(0).(*types.RuntimeDispatchInfo) } } diff --git a/lib/runtime/test_helpers.go b/lib/runtime/test_helpers.go index 2cf23a6c7c..45ad921fe0 100644 --- a/lib/runtime/test_helpers.go +++ b/lib/runtime/test_helpers.go @@ -90,6 +90,12 @@ func GetRuntime(ctx context.Context, runtime string) ( case DEV_RUNTIME: runtimeFilename = DEV_RUNTIME_FP url = DEV_RUNTIME_URL + case POLKADOT_RUNTIME_v0929: + runtimeFilename = POLKADOT_RUNTIME_V0929_FP + url = POLKADOT_RUNTIME_V0929_URL + case WESTEND_RUNTIME_v0929: + runtimeFilename = WESTEND_RUNTIME_V0929_FP + url = WESTEND_RUNTIME_V0929_URL default: return "", fmt.Errorf("%w: %s", ErrRuntimeUnknown, runtime) } diff --git a/lib/runtime/wasmer/exports.go b/lib/runtime/wasmer/exports.go index 0a86e965e8..4ad2038ae0 100644 --- a/lib/runtime/wasmer/exports.go +++ b/lib/runtime/wasmer/exports.go @@ -164,7 +164,7 @@ func (in *Instance) DecodeSessionKeys(enc []byte) ([]byte, error) { } // PaymentQueryInfo returns information of a given extrinsic -func (in *Instance) PaymentQueryInfo(ext []byte) (*types.TransactionPaymentQueryInfo, error) { +func (in *Instance) PaymentQueryInfo(ext []byte) (*types.RuntimeDispatchInfo, error) { encLen, err := scale.Marshal(uint32(len(ext))) if err != nil { return nil, err @@ -175,12 +175,52 @@ func (in *Instance) PaymentQueryInfo(ext []byte) (*types.TransactionPaymentQuery return nil, err } - i := new(types.TransactionPaymentQueryInfo) - if err = scale.Unmarshal(resBytes, i); err != nil { + dispatchInfo := new(types.RuntimeDispatchInfo) + if err = scale.Unmarshal(resBytes, dispatchInfo); err != nil { return nil, err } - return i, nil + return dispatchInfo, nil +} + +// QueryCallInfo returns information of a given extrinsic +func (in *Instance) QueryCallInfo(ext []byte) (*types.RuntimeDispatchInfo, error) { + encLen, err := scale.Marshal(uint32(len(ext))) + if err != nil { + return nil, err + } + + resBytes, err := in.Exec(runtime.TransactionPaymentCallAPIQueryCallInfo, append(ext, encLen...)) + if err != nil { + return nil, err + } + + dispatchInfo := new(types.RuntimeDispatchInfo) + if err = scale.Unmarshal(resBytes, dispatchInfo); err != nil { + return nil, err + } + + return dispatchInfo, nil +} + +// QueryCallFeeDetails returns call fee details for given call +func (in *Instance) QueryCallFeeDetails(ext []byte) (*types.FeeDetails, error) { + encLen, err := scale.Marshal(uint32(len(ext))) + if err != nil { + return nil, err + } + + resBytes, err := in.Exec(runtime.TransactionPaymentCallAPIQueryCallFeeDetails, append(ext, encLen...)) + if err != nil { + return nil, err + } + + dispatchInfo := new(types.FeeDetails) + if err = scale.Unmarshal(resBytes, dispatchInfo); err != nil { + return nil, err + } + + return dispatchInfo, nil } func (in *Instance) CheckInherents() {} //nolint:revive diff --git a/lib/runtime/wasmer/exports_test.go b/lib/runtime/wasmer/exports_test.go index 3d7138a29a..d382c72bcf 100644 --- a/lib/runtime/wasmer/exports_test.go +++ b/lib/runtime/wasmer/exports_test.go @@ -1011,12 +1011,12 @@ func TestInstance_PaymentQueryInfo(t *testing.T) { extB []byte ext string errMessage string - expect *types.TransactionPaymentQueryInfo + expect *types.RuntimeDispatchInfo }{ { // Was made with @polkadot/api on https://github.com/danforbes/polkadot-js-scripts/tree/create-signed-tx ext: "0xd1018400d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d01bc2b6e35929aabd5b8bc4e5b0168c9bee59e2bb9d6098769f6683ecf73e44c776652d947a270d59f3d37eb9f9c8c17ec1b4cc473f2f9928ffdeef0f3abd43e85d502000000012844616e20466f72626573", //nolint:lll - expect: &types.TransactionPaymentQueryInfo{ + expect: &types.RuntimeDispatchInfo{ Weight: 1973000, Class: 0, PartialFee: &scale.Uint128{ @@ -1087,3 +1087,126 @@ func newTrieFromPairs(t *testing.T, filename string) *trie.Trie { require.NoError(t, err) return &tr } + +func TestInstance_TransactionPaymentCallApi_QueryCallInfo(t *testing.T) { + t.Parallel() + ins := NewTestInstance(t, runtime.WESTEND_RUNTIME_v0929) + tests := []struct { + callHex string + errMessage string + expect *types.RuntimeDispatchInfo + }{ + { + // call generated by using palkadot.js/api v9.5.1: api.tx.system.remark("Ed") + // and removing first byte (encoding) and second byte (unknown) + callHex: "0x0001084564", + expect: &types.RuntimeDispatchInfo{ + Weight: 0, + Class: 0, + PartialFee: &scale.Uint128{ + Upper: 0, + Lower: uint64(1500000000), + }, + }, + }, + { + // call removing encoding (first byte), polkadot.js/api v9.5.1: api.tx.system.remark("Ed") + // polkadot.js/api returns error: RPC-CORE: call(method: Text, data: Bytes, at?: BlockHash): + // Bytes:: -32000: Client error: Execution failed: Execution aborted due to trap: wasm trap: wasm + //`unreachable` instruction executed + callHex: "0x040001084564", + errMessage: "running runtime function: " + + "Failed to call the `TransactionPaymentCallApi_query_call_info` exported function.", + }, + { + // call without removing any bytes, polkadot.js/api v9.5.1: api.tx.system.remark("Ed test") + // polkadot.js/api returns error: Error: createType(Call):: findMetaCall: Unable to find Call with index + // [44, 4]/[44,4] + callHex: "0x2c0400011c45642074657374", + errMessage: "running runtime function: " + + "Failed to call the `TransactionPaymentCallApi_query_call_info` exported function.", + }, + } + + for _, test := range tests { + var err error + var callBytes []byte + + callBytes, err = common.HexToBytes(test.callHex) + require.NoError(t, err) + + info, err := ins.QueryCallInfo(callBytes) + + if test.errMessage != "" { + assert.EqualError(t, err, test.errMessage) + continue + } + + require.NoError(t, err) + require.NotNil(t, info) + require.Equal(t, test.expect, info) + } +} + +func TestInstance_TransactionPaymentCallApi_QueryCallFeeDetails(t *testing.T) { + t.Parallel() + ins := NewTestInstance(t, runtime.WESTEND_RUNTIME_v0929) + tests := []struct { + callHex string + errMessage string + expect *types.FeeDetails + }{ + { + // call generated by using palkadot.js/api v9.5.1: api.tx.system.remark("Ed") + // and removing first byte (encoding) and second byte (unknown) + callHex: "0x0001084564", + expect: &types.FeeDetails{ + InclusionFee: types.InclusionFee{ + BaseFee: &scale.Uint128{ + Upper: 0, + Lower: uint64(256000000001), + }, + LenFee: &scale.Uint128{ + Upper: 0, + Lower: uint64(128000000000), + }, + AdjustedWeightFee: &scale.Uint128{}, + }, + Tip: &scale.Uint128{}, + }, + }, + { + // call removing encoding (first byte), polkadot.js/api v9.5.1: api.tx.system.remark("Ed") + // when calling polkadot node (v0.9.29) with polkadot.js/api the node returns error: RPC-CORE: call( + // method: Text, data: Bytes, at?: BlockHash): Bytes:: -32000: Client error: Execution failed: + // Execution aborted due to trap: wasm trap: wasm `unreachable` instruction executed + callHex: "0x040001084564", + errMessage: "running runtime function: " + + "Failed to call the `TransactionPaymentCallApi_query_call_fee_details` exported function.", + }, + { + // call without removing any bytes, polkadot.js/api v9.5.1: api.tx.system.remark("Ed test") + // when calling polkadot (v0.9.29) with polkadot.js/api the node returns error: Error: createType( + //Call):: findMetaCall: Unable to find Call with index [44, 4]/[44,4] + callHex: "0x18040001084564", + errMessage: "running runtime function: " + + "Failed to call the `TransactionPaymentCallApi_query_call_fee_details` exported function.", + }, + } + + for _, test := range tests { + extBytes, err := common.HexToBytes(test.callHex) + require.NoError(t, err) + + details, err := ins.QueryCallFeeDetails(extBytes) + + if test.errMessage != "" { + assert.EqualError(t, err, test.errMessage) + continue + } + + require.NoError(t, err) + require.NotNil(t, details) + require.Equal(t, test.expect, details) + } +} diff --git a/tests/polkadotjs_test/package-lock.json b/tests/polkadotjs_test/package-lock.json index be7f347149..28ec2b9eed 100644 --- a/tests/polkadotjs_test/package-lock.json +++ b/tests/polkadotjs_test/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "@polkadot/api": "8.8.2" + "@polkadot/api": "9.5.1" }, "devDependencies": { "chai": "^4.2.0", @@ -17,9 +17,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.18.3", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.3.tgz", - "integrity": "sha512-38Y8f7YUhce/K7RMwTp7m0uCumpv9hZkitCbBClqQIow1qSbCvGkcegKOXpEWCQLfWmevgRiWokZ1GkpfhbZug==", + "version": "7.19.4", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz", + "integrity": "sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA==", "dependencies": { "regenerator-runtime": "^0.13.4" }, @@ -28,14 +28,20 @@ } }, "node_modules/@noble/hashes": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.0.0.tgz", - "integrity": "sha512-DZVbtY62kc3kkBtMHqwCOfXrT/hnoORy5BJ4+HU1IR59X0KWAOqsfzQPcUl/lQLlG7qXbe/fZ3r/emxtAl+sqg==" + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.3.tgz", + "integrity": "sha512-CE0FCR57H2acVI5UOzIGSSIYxZ6v/HOhDR0Ro9VLyhnzLwx0o8W1mmgaqlEUx4049qJDlIBRztv5k+MM8vbO3A==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ] }, "node_modules/@noble/secp256k1": { - "version": "1.5.5", - "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.5.5.tgz", - "integrity": "sha512-sZ1W6gQzYnu45wPrWx8D3kwI2/U29VYTx9OjbDAd7jwRItJ0cSTMPRL/C8AWZFn9kWFLQGqEXVEE86w4Z8LpIQ==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.7.0.tgz", + "integrity": "sha512-kbacwGSsH/CTout0ZnZWxnW1B+jH/7r/WAAKLBtrRJ/+CUH7lgmQzl3GTrQua3SGKWNSDsS6lmjnDpIJ5Dxyaw==", "funding": [ { "type": "individual", @@ -44,285 +50,285 @@ ] }, "node_modules/@polkadot/api": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-8.8.2.tgz", - "integrity": "sha512-kqHYLGIivYAHGF0B19ApBANDrreUqeyXuqtNHxieQSe63yoAksyUbwTmdl58Z0WnvXg39fjXXNZzLXFt2/txIQ==", - "dependencies": { - "@babel/runtime": "^7.18.3", - "@polkadot/api-augment": "8.8.2", - "@polkadot/api-base": "8.8.2", - "@polkadot/api-derive": "8.8.2", - "@polkadot/keyring": "^9.4.1", - "@polkadot/rpc-augment": "8.8.2", - "@polkadot/rpc-core": "8.8.2", - "@polkadot/rpc-provider": "8.8.2", - "@polkadot/types": "8.8.2", - "@polkadot/types-augment": "8.8.2", - "@polkadot/types-codec": "8.8.2", - "@polkadot/types-create": "8.8.2", - "@polkadot/types-known": "8.8.2", - "@polkadot/util": "^9.4.1", - "@polkadot/util-crypto": "^9.4.1", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-9.5.1.tgz", + "integrity": "sha512-A2i/+mCl6cbFJ84ExMcWosUDfq0gVvzyKftkbRMs0oDzvHVVucTm0nCCzBgi/ltvSsFq8oJQ4pVqNTfT/IXgeQ==", + "dependencies": { + "@babel/runtime": "^7.19.0", + "@polkadot/api-augment": "9.5.1", + "@polkadot/api-base": "9.5.1", + "@polkadot/api-derive": "9.5.1", + "@polkadot/keyring": "^10.1.10", + "@polkadot/rpc-augment": "9.5.1", + "@polkadot/rpc-core": "9.5.1", + "@polkadot/rpc-provider": "9.5.1", + "@polkadot/types": "9.5.1", + "@polkadot/types-augment": "9.5.1", + "@polkadot/types-codec": "9.5.1", + "@polkadot/types-create": "9.5.1", + "@polkadot/types-known": "9.5.1", + "@polkadot/util": "^10.1.10", + "@polkadot/util-crypto": "^10.1.10", "eventemitter3": "^4.0.7", - "rxjs": "^7.5.5" + "rxjs": "^7.5.7" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/api-augment": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/api-augment/-/api-augment-8.8.2.tgz", - "integrity": "sha512-c99guuBvHrGbFBD9x32YG4Yc5osP1jVkGz/hlriRuTZNMUa/ZBjeoZtbVchL4PlpNC1sjdvvrIC9j3uQhvYHJQ==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/api-augment/-/api-augment-9.5.1.tgz", + "integrity": "sha512-9NQ2miIKVJvyhR2Zhk0XcHA+pgnWhQ0815lqcq0kz9ny5JHUFeGlNtxECw7AEnxoiC81EqpfWkOHpJpfiIcOmw==", "dependencies": { - "@babel/runtime": "^7.18.3", - "@polkadot/api-base": "8.8.2", - "@polkadot/rpc-augment": "8.8.2", - "@polkadot/types": "8.8.2", - "@polkadot/types-augment": "8.8.2", - "@polkadot/types-codec": "8.8.2", - "@polkadot/util": "^9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/api-base": "9.5.1", + "@polkadot/rpc-augment": "9.5.1", + "@polkadot/types": "9.5.1", + "@polkadot/types-augment": "9.5.1", + "@polkadot/types-codec": "9.5.1", + "@polkadot/util": "^10.1.10" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/api-base": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/api-base/-/api-base-8.8.2.tgz", - "integrity": "sha512-V04Hw6WJhWGUr5m50lNWE/9ao7ZjcJq005kVMtMRdI94HLmKDMnS3M4EI6USGtLWQ0VOlIMmlp7k2R3SyVFwQA==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/api-base/-/api-base-9.5.1.tgz", + "integrity": "sha512-3qsMsIhYbU3zp+YnP5h6Hg98y3B+FrxgPW7r2Uk6Kp1uSPmIzhMCyGuxur/BAcDVbd3KME+zWLHJDYOdyhuUwQ==", "dependencies": { - "@babel/runtime": "^7.18.3", - "@polkadot/rpc-core": "8.8.2", - "@polkadot/types": "8.8.2", - "@polkadot/util": "^9.4.1", - "rxjs": "^7.5.5" + "@babel/runtime": "^7.19.0", + "@polkadot/rpc-core": "9.5.1", + "@polkadot/types": "9.5.1", + "@polkadot/util": "^10.1.10", + "rxjs": "^7.5.7" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/api-derive": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-8.8.2.tgz", - "integrity": "sha512-ltHft5kp+TFasolSSQlip6zQpw3WFinu6CQZRmcAAyGaM7QgNweIWh3ZdoigrjnZaJPraGWNCfJv0pSg+2j0vg==", - "dependencies": { - "@babel/runtime": "^7.18.3", - "@polkadot/api": "8.8.2", - "@polkadot/api-augment": "8.8.2", - "@polkadot/api-base": "8.8.2", - "@polkadot/rpc-core": "8.8.2", - "@polkadot/types": "8.8.2", - "@polkadot/types-codec": "8.8.2", - "@polkadot/util": "^9.4.1", - "@polkadot/util-crypto": "^9.4.1", - "rxjs": "^7.5.5" + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-9.5.1.tgz", + "integrity": "sha512-fKlKQe8WZ3jrm44w/zptMofljW5qj+jZxnryK08CAH/MINlZArPfCtn+EJla2ND9aTnRMUWlEBtytyCPImI/Hg==", + "dependencies": { + "@babel/runtime": "^7.19.0", + "@polkadot/api": "9.5.1", + "@polkadot/api-augment": "9.5.1", + "@polkadot/api-base": "9.5.1", + "@polkadot/rpc-core": "9.5.1", + "@polkadot/types": "9.5.1", + "@polkadot/types-codec": "9.5.1", + "@polkadot/util": "^10.1.10", + "@polkadot/util-crypto": "^10.1.10", + "rxjs": "^7.5.7" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/keyring": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-9.4.1.tgz", - "integrity": "sha512-op6Tj8E9GHeZYvEss38FRUrX+GlBj6qiwF4BlFrAvPqjPnRn8TT9NhRLroiCwvxeNg3uMtEF/5xB+vvdI0I6qw==", + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-10.1.10.tgz", + "integrity": "sha512-crKYBbwmPcFoTP6mby2+o1QWsjAyi5QlKzU8tXuXOApP6SBuqmDujIuLOKNG2vZoftNdVldsVL0WmKVYtBeuQg==", "dependencies": { - "@babel/runtime": "^7.18.3", - "@polkadot/util": "9.4.1", - "@polkadot/util-crypto": "9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/util": "10.1.10", + "@polkadot/util-crypto": "10.1.10" }, "engines": { "node": ">=14.0.0" }, "peerDependencies": { - "@polkadot/util": "9.4.1", - "@polkadot/util-crypto": "9.4.1" + "@polkadot/util": "10.1.10", + "@polkadot/util-crypto": "10.1.10" } }, "node_modules/@polkadot/networks": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/@polkadot/networks/-/networks-9.4.1.tgz", - "integrity": "sha512-ibH8bZ2/XMXv0XEsP1fGOqNnm2mg1rHo5kHXSJ3QBcZJFh1+xkI4Ovl2xrFfZ+SYATA3Wsl5R6knqimk2EqyJQ==", + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@polkadot/networks/-/networks-10.1.10.tgz", + "integrity": "sha512-Db78t2XnFIZbdSdu1aFuj3/1cNwcSzG/+wNrpCQ9dPhnGPy5S1GVbmU8pyxTftPKdTFc+8RdBr+5bc0d5ijGiA==", "dependencies": { - "@babel/runtime": "^7.18.3", - "@polkadot/util": "9.4.1", - "@substrate/ss58-registry": "^1.22.0" + "@babel/runtime": "^7.19.0", + "@polkadot/util": "10.1.10", + "@substrate/ss58-registry": "^1.31.0" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/rpc-augment": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-augment/-/rpc-augment-8.8.2.tgz", - "integrity": "sha512-z9rOSmPvcS/YQSJIhM5F2uLyYZ6azll35V9xGs19hypO5wkwzLYByLbXQ7j1SFI267q/IIXVnri0yI6mtsQgzA==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-augment/-/rpc-augment-9.5.1.tgz", + "integrity": "sha512-7Qm6oIoVIqv6VOaIqDal45hUTb3TVZ58S3zkSr60p/dPMlGCaFMcojtfcQErHtCW0hgvzFNsDl9ShpXRcPWu7g==", "dependencies": { - "@babel/runtime": "^7.18.3", - "@polkadot/rpc-core": "8.8.2", - "@polkadot/types": "8.8.2", - "@polkadot/types-codec": "8.8.2", - "@polkadot/util": "^9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/rpc-core": "9.5.1", + "@polkadot/types": "9.5.1", + "@polkadot/types-codec": "9.5.1", + "@polkadot/util": "^10.1.10" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/rpc-core": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-8.8.2.tgz", - "integrity": "sha512-2MrIra52NYsvWv192sHM5b6dUXYYYzA8IB/rB7YF9Hm4aIDJbQJ/8uBivHZjMzyHsegxMDAe9WQSEkR0eagojQ==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-9.5.1.tgz", + "integrity": "sha512-8CXgBVTEUjeuN5VOwS6MjTeqpN+9qrNJAAwNEba36/72g6Wgg3flza11kx0luQ6OLPVgCM7OcAjZ17p16phXDA==", "dependencies": { - "@babel/runtime": "^7.18.3", - "@polkadot/rpc-augment": "8.8.2", - "@polkadot/rpc-provider": "8.8.2", - "@polkadot/types": "8.8.2", - "@polkadot/util": "^9.4.1", - "rxjs": "^7.5.5" + "@babel/runtime": "^7.19.0", + "@polkadot/rpc-augment": "9.5.1", + "@polkadot/rpc-provider": "9.5.1", + "@polkadot/types": "9.5.1", + "@polkadot/util": "^10.1.10", + "rxjs": "^7.5.7" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/rpc-provider": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-8.8.2.tgz", - "integrity": "sha512-LzzTTOxmqDndOcYdukYkpfEBq3GlbKAOb2pisKF4CtcGPcZ6bG0vktwx6qlWQ+Apmdu98rabt+iQPfwvOSg8sA==", - "dependencies": { - "@babel/runtime": "^7.18.3", - "@polkadot/keyring": "^9.4.1", - "@polkadot/types": "8.8.2", - "@polkadot/types-support": "8.8.2", - "@polkadot/util": "^9.4.1", - "@polkadot/util-crypto": "^9.4.1", - "@polkadot/x-fetch": "^9.4.1", - "@polkadot/x-global": "^9.4.1", - "@polkadot/x-ws": "^9.4.1", - "@substrate/connect": "0.7.5", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-9.5.1.tgz", + "integrity": "sha512-CxyEo1SzwbcByUsrW5RUm5GTLNK7yjmVlTMseex8zQLO4+4erqUoQzr6TTIPSt4LWyk+TjbZdtGtlt7p6i2nJg==", + "dependencies": { + "@babel/runtime": "^7.19.0", + "@polkadot/keyring": "^10.1.10", + "@polkadot/types": "9.5.1", + "@polkadot/types-support": "9.5.1", + "@polkadot/util": "^10.1.10", + "@polkadot/util-crypto": "^10.1.10", + "@polkadot/x-fetch": "^10.1.10", + "@polkadot/x-global": "^10.1.10", + "@polkadot/x-ws": "^10.1.10", + "@substrate/connect": "0.7.14", "eventemitter3": "^4.0.7", "mock-socket": "^9.1.5", - "nock": "^13.2.6" + "nock": "^13.2.9" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/types": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-8.8.2.tgz", - "integrity": "sha512-O90MEfGbpPh/FmUAv0m3LcweZLWH6pmkODb1EGnwBHjZadYLCHFjdFO50yhoch9hh3+aEFmac6ma8swsy6IjAw==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-9.5.1.tgz", + "integrity": "sha512-xuhYq+O4JRl2iqLVEwKVHnfOA9AfwoNlHzrFx2DChDcIWdmgmUDASq9TkZhBP+jx81SieMH7iTf4zY6UwPKYQw==", "dependencies": { - "@babel/runtime": "^7.18.3", - "@polkadot/keyring": "^9.4.1", - "@polkadot/types-augment": "8.8.2", - "@polkadot/types-codec": "8.8.2", - "@polkadot/types-create": "8.8.2", - "@polkadot/util": "^9.4.1", - "@polkadot/util-crypto": "^9.4.1", - "rxjs": "^7.5.5" + "@babel/runtime": "^7.19.0", + "@polkadot/keyring": "^10.1.10", + "@polkadot/types-augment": "9.5.1", + "@polkadot/types-codec": "9.5.1", + "@polkadot/types-create": "9.5.1", + "@polkadot/util": "^10.1.10", + "@polkadot/util-crypto": "^10.1.10", + "rxjs": "^7.5.7" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/types-augment": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/types-augment/-/types-augment-8.8.2.tgz", - "integrity": "sha512-WalxIz5Z0RPp2FS0cWvhBjYL7FKzDqkIBc+r/DN4vYRQzp5JBVNJjPWWUPtq9ucEl1wiaD2vJNG34rWIYVtObg==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/types-augment/-/types-augment-9.5.1.tgz", + "integrity": "sha512-1AzQpGe5bGttYbbjR1UhV19htsFjgqJ651eyT3YdRqo1hotZ2GwTCkGXuTJtcmQQH9G09xUUwS3nx8WsSyQ70A==", "dependencies": { - "@babel/runtime": "^7.18.3", - "@polkadot/types": "8.8.2", - "@polkadot/types-codec": "8.8.2", - "@polkadot/util": "^9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/types": "9.5.1", + "@polkadot/types-codec": "9.5.1", + "@polkadot/util": "^10.1.10" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/types-codec": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/types-codec/-/types-codec-8.8.2.tgz", - "integrity": "sha512-p3YZU8WZIMnnSxTKpoiCPi64T/sSR7dX7ObkpvUITulE6dzXUPUvkdSVS9YlTlb4R43pZ0iSyB18vpnlpq8LYQ==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/types-codec/-/types-codec-9.5.1.tgz", + "integrity": "sha512-7Dy8TeApu4lN8DqdMZLuh34ocdHQh9jzAob6cQl1fl1ypOiCO/SwPjFkj0Xnhh7QQz9X9w63jZzbaFR3PPT+0g==", "dependencies": { - "@babel/runtime": "^7.18.3", - "@polkadot/util": "^9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/util": "^10.1.10", + "@polkadot/x-bigint": "^10.1.10" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/types-create": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/types-create/-/types-create-8.8.2.tgz", - "integrity": "sha512-YMpiLCVFs2KKpvn3n24HahUzneaLKmjgwwd+QvFCooJClV/0YK22kwvlEteLO3aWPx2jy8ySSpUFn8kd/oWEAA==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/types-create/-/types-create-9.5.1.tgz", + "integrity": "sha512-pUQ1U0mho5aKRdi4iR9DP9ldIoj9U+ApHIeYyxkBY8RexMQOpkt8PZfpFhg4z2H5vZj/sgNIBXq65HjXuyu+9w==", "dependencies": { - "@babel/runtime": "^7.18.3", - "@polkadot/types-codec": "8.8.2", - "@polkadot/util": "^9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/types-codec": "9.5.1", + "@polkadot/util": "^10.1.10" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/types-known": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-8.8.2.tgz", - "integrity": "sha512-Ywa7v7K+UIYpQM3gbl6oA0zKiriX1OJfoYBxX7BcVLKW8cWmdy2xH9W6qNqxDWGAc2LXqNLhn0uzaRxq1niCCQ==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-9.5.1.tgz", + "integrity": "sha512-SedfPDxJREYPATa7X2Fv26z6UVPYv6v9Z9P4nulnC6Yl8C2+Q4A/VIqTtgsJc0DU1YT3gM8ofVxircfHqqRVNA==", "dependencies": { - "@babel/runtime": "^7.18.3", - "@polkadot/networks": "^9.4.1", - "@polkadot/types": "8.8.2", - "@polkadot/types-codec": "8.8.2", - "@polkadot/types-create": "8.8.2", - "@polkadot/util": "^9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/networks": "^10.1.10", + "@polkadot/types": "9.5.1", + "@polkadot/types-codec": "9.5.1", + "@polkadot/types-create": "9.5.1", + "@polkadot/util": "^10.1.10" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/types-support": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/types-support/-/types-support-8.8.2.tgz", - "integrity": "sha512-z4yjN8odDgFFlhGBrJAeHX4YsUeprmBAzWDCJMBeL4C/E1yIG7RyzQryVJNb3m/galiX1Tzuuch4kqE/jABnfw==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/types-support/-/types-support-9.5.1.tgz", + "integrity": "sha512-mjenEGNT/ReY1xFexb37NDgV7QHHBBfWt31ZQMZKDkQL+R2P0rXFpmitcE3eOCV3oY4mf+GaU2N/ZfnsFl3tPQ==", "dependencies": { - "@babel/runtime": "^7.18.3", - "@polkadot/util": "^9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/util": "^10.1.10" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/util": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-9.4.1.tgz", - "integrity": "sha512-z0HcnIe3zMWyK1s09wQIwc1M8gDKygSF9tDAbC8H9KDeIRZB2ldhwWEFx/1DJGOgFFrmRfkxeC6dcDpfzQhFow==", + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-10.1.10.tgz", + "integrity": "sha512-BQoTfSxZ3BWAgWDjgKBVdyw1AJGaoOeAidCA+LZcHV6wlMu5643AZPUnoMrW413MbbpxsIhJXtNttqOwjo8MjA==", "dependencies": { - "@babel/runtime": "^7.18.3", - "@polkadot/x-bigint": "9.4.1", - "@polkadot/x-global": "9.4.1", - "@polkadot/x-textdecoder": "9.4.1", - "@polkadot/x-textencoder": "9.4.1", - "@types/bn.js": "^5.1.0", - "bn.js": "^5.2.1", - "ip-regex": "^4.3.0" + "@babel/runtime": "^7.19.0", + "@polkadot/x-bigint": "10.1.10", + "@polkadot/x-global": "10.1.10", + "@polkadot/x-textdecoder": "10.1.10", + "@polkadot/x-textencoder": "10.1.10", + "@types/bn.js": "^5.1.1", + "bn.js": "^5.2.1" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/util-crypto": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-9.4.1.tgz", - "integrity": "sha512-V6xMOjdd8Kt/QmXlcDYM4WJDAmKuH4vWSlIcMmkFHnwH/NtYVdYIDZswLQHKL8gjLijPfVTHpWaJqNFhGpZJEg==", - "dependencies": { - "@babel/runtime": "^7.18.3", - "@noble/hashes": "1.0.0", - "@noble/secp256k1": "1.5.5", - "@polkadot/networks": "9.4.1", - "@polkadot/util": "9.4.1", - "@polkadot/wasm-crypto": "^6.1.1", - "@polkadot/x-bigint": "9.4.1", - "@polkadot/x-randomvalues": "9.4.1", - "@scure/base": "1.0.0", + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-10.1.10.tgz", + "integrity": "sha512-w9h/wf4wZXeUkRnihhnfqlaKuoQtrjkjK3C5liCQkr9vx5zOsmg/nMSDP8UUFJX0msPPYpFeNvzn7oDIs6qSZA==", + "dependencies": { + "@babel/runtime": "^7.19.0", + "@noble/hashes": "1.1.3", + "@noble/secp256k1": "1.7.0", + "@polkadot/networks": "10.1.10", + "@polkadot/util": "10.1.10", + "@polkadot/wasm-crypto": "^6.3.1", + "@polkadot/x-bigint": "10.1.10", + "@polkadot/x-randomvalues": "10.1.10", + "@scure/base": "1.1.1", "ed2curve": "^0.3.0", "tweetnacl": "^1.0.3" }, @@ -330,15 +336,15 @@ "node": ">=14.0.0" }, "peerDependencies": { - "@polkadot/util": "9.4.1" + "@polkadot/util": "10.1.10" } }, "node_modules/@polkadot/wasm-bridge": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-bridge/-/wasm-bridge-6.1.1.tgz", - "integrity": "sha512-Cy0k00VCu+HWxie+nn9GWPlSPdiZl8Id8ulSGA2FKET0jIbffmOo4e1E2FXNucfR1UPEpqov5BCF9T5YxEXZDg==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-bridge/-/wasm-bridge-6.3.1.tgz", + "integrity": "sha512-1TYkHsb9AEFhU9uZj3biEnN2yKQNzdrwSjiTvfCYnt97pnEkKsZI6cku+YPZQv5w/x9CQa5Yua9e2DVVZSivGA==", "dependencies": { - "@babel/runtime": "^7.17.9" + "@babel/runtime": "^7.18.9" }, "engines": { "node": ">=14.0.0" @@ -349,30 +355,31 @@ } }, "node_modules/@polkadot/wasm-crypto": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto/-/wasm-crypto-6.1.1.tgz", - "integrity": "sha512-hv9RCbMYtgjCy7+FKZFnO2Afu/whax9sk6udnZqGRBRiwaNagtyliWZGrKNGvaXMIO0VyaY4jWUwSzUgPrLu1A==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto/-/wasm-crypto-6.3.1.tgz", + "integrity": "sha512-OO8h0qeVkqp4xYZaRVl4iuWOEtq282pNBHDKb6SOJuI2g59eWGcKh4EQU9Me2VP6qzojIqptrkrVt7KQXC68gA==", "dependencies": { - "@babel/runtime": "^7.17.9", - "@polkadot/wasm-bridge": "6.1.1", - "@polkadot/wasm-crypto-asmjs": "6.1.1", - "@polkadot/wasm-crypto-init": "6.1.1", - "@polkadot/wasm-crypto-wasm": "6.1.1", - "@polkadot/wasm-util": "6.1.1" + "@babel/runtime": "^7.18.9", + "@polkadot/wasm-bridge": "6.3.1", + "@polkadot/wasm-crypto-asmjs": "6.3.1", + "@polkadot/wasm-crypto-init": "6.3.1", + "@polkadot/wasm-crypto-wasm": "6.3.1", + "@polkadot/wasm-util": "6.3.1" }, "engines": { "node": ">=14.0.0" }, "peerDependencies": { - "@polkadot/util": "*" + "@polkadot/util": "*", + "@polkadot/x-randomvalues": "*" } }, "node_modules/@polkadot/wasm-crypto-asmjs": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-6.1.1.tgz", - "integrity": "sha512-gG4FStVumkyRNH7WcTB+hn3EEwCssJhQyi4B1BOUt+eYYmw9xJdzIhqjzSd9b/yF2e5sRaAzfnMj2srGufsE6A==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-6.3.1.tgz", + "integrity": "sha512-zbombRfA5v/mUWQQhgg2YwaxhRmxRIrvskw65x+lruax3b6xPBFDs7yplopiJU3r8h2pTgQvX/DUksvqz2TCRQ==", "dependencies": { - "@babel/runtime": "^7.17.9" + "@babel/runtime": "^7.18.9" }, "engines": { "node": ">=14.0.0" @@ -382,29 +389,30 @@ } }, "node_modules/@polkadot/wasm-crypto-init": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-init/-/wasm-crypto-init-6.1.1.tgz", - "integrity": "sha512-rbBm/9FOOUjISL4gGNokjcKy2X+Af6Chaet4zlabatpImtPIAK26B2UUBGoaRUnvl/w6K3+GwBL4LuBC+CvzFw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-init/-/wasm-crypto-init-6.3.1.tgz", + "integrity": "sha512-9yaUBcu+snwjJLmPPGl3cyGRQ1afyFGm16qzTM0sgG/ZCfUlK4uk8KWZe+sBUKgoxb2oXY7Y4WklKgQI1YBdfw==", "dependencies": { - "@babel/runtime": "^7.17.9", - "@polkadot/wasm-bridge": "6.1.1", - "@polkadot/wasm-crypto-asmjs": "6.1.1", - "@polkadot/wasm-crypto-wasm": "6.1.1" + "@babel/runtime": "^7.18.9", + "@polkadot/wasm-bridge": "6.3.1", + "@polkadot/wasm-crypto-asmjs": "6.3.1", + "@polkadot/wasm-crypto-wasm": "6.3.1" }, "engines": { "node": ">=14.0.0" }, "peerDependencies": { - "@polkadot/util": "*" + "@polkadot/util": "*", + "@polkadot/x-randomvalues": "*" } }, "node_modules/@polkadot/wasm-crypto-wasm": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-6.1.1.tgz", - "integrity": "sha512-zkz5Ct4KfTBT+YNEA5qbsHhTV58/FAxDave8wYIOaW4TrBnFPPs+J0WBWlGFertgIhPkvjFnQC/xzRyhet9prg==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-6.3.1.tgz", + "integrity": "sha512-idSlzKGVzCfeCMRHsacRvqwojSaTadFxL/Dbls4z1thvfa3U9Ku0d2qVtlwg7Hj+tYWDiuP8Kygs+6bQwfs0XA==", "dependencies": { - "@babel/runtime": "^7.17.9", - "@polkadot/wasm-util": "6.1.1" + "@babel/runtime": "^7.18.9", + "@polkadot/wasm-util": "6.3.1" }, "engines": { "node": ">=14.0.0" @@ -414,11 +422,11 @@ } }, "node_modules/@polkadot/wasm-util": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-util/-/wasm-util-6.1.1.tgz", - "integrity": "sha512-DgpLoFXMT53UKcfZ8eT2GkJlJAOh89AWO+TP6a6qeZQpvXVe5f1yR45WQpkZlgZyUP+/19+kY56GK0pQxfslqg==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-util/-/wasm-util-6.3.1.tgz", + "integrity": "sha512-12oAv5J7Yoc9m6jixrSaQCxpOkWOyzHx3DMC8qmLjRiwdBWxqLmImOVRVnFsbaxqSbhBIHRuJphVxWE+GZETDg==", "dependencies": { - "@babel/runtime": "^7.17.9" + "@babel/runtime": "^7.18.9" }, "engines": { "node": ">=14.0.0" @@ -428,85 +436,85 @@ } }, "node_modules/@polkadot/x-bigint": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/@polkadot/x-bigint/-/x-bigint-9.4.1.tgz", - "integrity": "sha512-KlbXboegENoyrpjj+eXfY13vsqrXgk4620zCAUhKNH622ogdvAepHbY/DpV6w0FLEC6MwN9zd5cRuDBEXVeWiw==", + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@polkadot/x-bigint/-/x-bigint-10.1.10.tgz", + "integrity": "sha512-4Jt0BO0WTby6r9A2DgkDxf/LFaICQHvSl1VSFtBf0Z0GV2n4OxkBX5x/1bdEdGEvYT5rM7RbR3xI7EL+W1ixHA==", "dependencies": { - "@babel/runtime": "^7.18.3", - "@polkadot/x-global": "9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/x-global": "10.1.10" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/x-fetch": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-9.4.1.tgz", - "integrity": "sha512-CZFPZKgy09TOF5pOFRVVhGrAaAPdSMyrUSKwdO2I8DzdIE1tmjnol50dlnZja5t8zTD0n1uIY1H4CEWwc5NF/g==", + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-10.1.10.tgz", + "integrity": "sha512-LvTxAN6GaJzfgZ74WFYPZrIkMEThpX5u7O4ILiExcJt87E19cSWlYSHDa5n+OLjUpq0lBV2ueF90iUblt6aHpg==", "dependencies": { - "@babel/runtime": "^7.18.3", - "@polkadot/x-global": "9.4.1", - "@types/node-fetch": "^2.6.1", - "node-fetch": "^2.6.7" + "@babel/runtime": "^7.19.0", + "@polkadot/x-global": "10.1.10", + "@types/node-fetch": "^2.6.2", + "node-fetch": "^3.2.10" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/x-global": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/@polkadot/x-global/-/x-global-9.4.1.tgz", - "integrity": "sha512-eN4oZeRdIKQeUPNN7OtH5XeYp349d8V9+gW6W0BmCfB2lTg8TDlG1Nj+Cyxpjl9DNF5CiKudTq72zr0dDSRbwA==", + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@polkadot/x-global/-/x-global-10.1.10.tgz", + "integrity": "sha512-WFfgaZSrzPlKLdnOus2mIFGzUbSDIQK6RMCfFfM9SmF3DkoxN40z5Nkni4PztfKr22stlkhmhnX/Lp/NxpuT6Q==", "dependencies": { - "@babel/runtime": "^7.18.3" + "@babel/runtime": "^7.19.0" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/x-randomvalues": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-9.4.1.tgz", - "integrity": "sha512-TLOQw3JNPgCrcq9WO2ipdeG8scsSreu3m9hwj3n7nX/QKlVzSf4G5bxJo5TW1dwcUdHwBuVox+3zgCmo+NPh+Q==", + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-10.1.10.tgz", + "integrity": "sha512-KM4sCI/DNLIXlmnkeJIuYvh3pPuWvnkbR1a6TUB12J1izUJ+uGV+cAFRR4/EZk3oEsG/Tgivbs56meEOo3ws5A==", "dependencies": { - "@babel/runtime": "^7.18.3", - "@polkadot/x-global": "9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/x-global": "10.1.10" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/x-textdecoder": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-9.4.1.tgz", - "integrity": "sha512-yLulcgVASFUBJqrvS6Ssy0ko9teAfbu1ajH0r3Jjnqkpmmz2DJ1CS7tAktVa7THd4GHPGeKAVfxl+BbV/LZl+w==", + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-10.1.10.tgz", + "integrity": "sha512-cAk37faYXx8IICeaq/tdl+aiIXwo3SLrx9XNoQqhX02g+SEs3ARM7zJcohj/p8ynWAI+ezNcsKn1wh174nquHw==", "dependencies": { - "@babel/runtime": "^7.18.3", - "@polkadot/x-global": "9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/x-global": "10.1.10" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/x-textencoder": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-9.4.1.tgz", - "integrity": "sha512-/47wa31jBa43ULqMO60vzcJigTG+ZAGNcyT5r6hFLrQzRzc8nIBjIOD8YWtnKM92r9NvlNv2wJhdamqyU0mntg==", + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-10.1.10.tgz", + "integrity": "sha512-Auaql6BL5UHtWakZUQyj4y/BrM0tm4bYG5vXCMQCA1Gg0ky+46DhgpRrAQ9F7NNgWg1A6dA2I9KuAA4BTbNx0w==", "dependencies": { - "@babel/runtime": "^7.18.3", - "@polkadot/x-global": "9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/x-global": "10.1.10" }, "engines": { "node": ">=14.0.0" } }, "node_modules/@polkadot/x-ws": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-9.4.1.tgz", - "integrity": "sha512-zQjVxXgHsBVn27u4bjY01cFO6XWxgv2b3MMOpNHTKTAs8SLEmFf0LcT7fBShimyyudyTeJld5pHApJ4qp1OXxA==", + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-10.1.10.tgz", + "integrity": "sha512-JxDgfm0ox2XPAtdTeJXYl6qq7LY/KOPi69wRpFMczWaYUsZubO6EiRzgzjuFlHY4/oxfjS/D+YbzcjefTxHz6g==", "dependencies": { - "@babel/runtime": "^7.18.3", - "@polkadot/x-global": "9.4.1", + "@babel/runtime": "^7.19.0", + "@polkadot/x-global": "10.1.10", "@types/websocket": "^1.0.5", "websocket": "^1.0.34" }, @@ -515,9 +523,9 @@ } }, "node_modules/@scure/base": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.0.0.tgz", - "integrity": "sha512-gIVaYhUsy+9s58m/ETjSJVKHhKTBMmcRb9cEV5/5dwvfDlfORjKrFsDeDHWRrm6RjcPvCLZFwGJjAjLj1gg4HA==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.1.1.tgz", + "integrity": "sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA==", "funding": [ { "type": "individual", @@ -526,47 +534,46 @@ ] }, "node_modules/@substrate/connect": { - "version": "0.7.5", - "resolved": "https://registry.npmjs.org/@substrate/connect/-/connect-0.7.5.tgz", - "integrity": "sha512-sdAZ6IGuTNxRGlH/O+6IaXvkYzZFwMK03VbQMgxUzry9dz1+JzyaNf8iOTVHxhMIUZc0h0E90JQz/hNiUYPlUw==", + "version": "0.7.14", + "resolved": "https://registry.npmjs.org/@substrate/connect/-/connect-0.7.14.tgz", + "integrity": "sha512-uW5uBmihpivshmmmw+rsg7qOV0KqVSep4rWOXFMP8aFQinvmqw4JqxP21og4H/7JZxttYUBFQVsdtXHGKJ0aVQ==", "dependencies": { - "@substrate/connect-extension-protocol": "^1.0.0", - "@substrate/smoldot-light": "0.6.16", + "@substrate/connect-extension-protocol": "^1.0.1", + "@substrate/smoldot-light": "0.6.34", "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==" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@substrate/connect-extension-protocol/-/connect-extension-protocol-1.0.1.tgz", + "integrity": "sha512-161JhCC1csjH3GE5mPLEd7HbWtwNSPJBg3p1Ksz9SFlTzj/bgEwudiRN2y5i0MoLGCIJRYKyKGMxVnd29PzNjg==" }, "node_modules/@substrate/smoldot-light": { - "version": "0.6.16", - "resolved": "https://registry.npmjs.org/@substrate/smoldot-light/-/smoldot-light-0.6.16.tgz", - "integrity": "sha512-Ej0ZdNPTW0EXbp45gv/5Kt/JV+c9cmRZRYAXg+EALxXPm0hW9h2QdVLm61A2PAskOGptW4wnJ1WzzruaenwAXQ==", + "version": "0.6.34", + "resolved": "https://registry.npmjs.org/@substrate/smoldot-light/-/smoldot-light-0.6.34.tgz", + "integrity": "sha512-+HK9MaJ0HelJmpf4YYR+salJ7dhVBltmhGlyz5l8OXS9DW18fe0Z2wxEo8P5kX9CUxlCXEb8J9JBRQAYBPHbwQ==", "dependencies": { - "buffer": "^6.0.1", "pako": "^2.0.4", - "websocket": "^1.0.32" + "ws": "^8.8.1" } }, "node_modules/@substrate/ss58-registry": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/@substrate/ss58-registry/-/ss58-registry-1.22.0.tgz", - "integrity": "sha512-IKqrPY0B3AeIXEc5/JGgEhPZLy+SmVyQf+k0SIGcNSTqt1GLI3gQFEOFwSScJdem+iYZQUrn6YPPxC3TpdSC3A==" + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/@substrate/ss58-registry/-/ss58-registry-1.33.0.tgz", + "integrity": "sha512-DztMuMcEfu+tJrtIQIIp5gO8/XJZ8N8UwPObDCSNgrp7trtSkPJAUFB9qXaReXtN9UvTcVBMTWk6VPfFi04Wkg==" }, "node_modules/@types/bn.js": { - "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==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.1.tgz", + "integrity": "sha512-qNrYbZqMx0uJAfKnKclPh+dTwK33KfLHYqtyODwd5HnXOjnkhc4qgn3BrK6RWyGZm5+sIFE7Q7Vz6QQtJB7w7g==", "dependencies": { "@types/node": "*" } }, "node_modules/@types/node": { - "version": "17.0.44", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.44.tgz", - "integrity": "sha512-gWYiOlu6Y4oyLYBvsJAPlwHbC8H4tX+tLsHy6Ee976wedwwZKrG2hFl3Y/HiH6bIyLTbDWQexQF/ohwKkOpUCg==" + "version": "18.8.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.8.4.tgz", + "integrity": "sha512-WdlVphvfR/GJCLEMbNA8lJ0lhFNBj4SW3O+O5/cEGw9oYrv0al9zTwuQsq+myDUXgNx2jgBynoVgZ2MMJ6pbow==" }, "node_modules/@types/node-fetch": { "version": "2.6.2", @@ -654,25 +661,6 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, "node_modules/binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", @@ -714,29 +702,6 @@ "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", "dev": true }, - "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/bufferutil": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.6.tgz", @@ -929,6 +894,14 @@ "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", @@ -1001,9 +974,9 @@ "dev": true }, "node_modules/es5-ext": { - "version": "0.10.61", - "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.61.tgz", - "integrity": "sha512-yFhIqQAzu2Ca2I4SE2Au3rxVfmohU9Y7wqGR+s7+H7krk26NXhIRAZDgqd6xqjCEFUomDEA3/Bo/7fKmIkW1kA==", + "version": "0.10.62", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz", + "integrity": "sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==", "hasInstallScript": true, "dependencies": { "es6-iterator": "^2.0.3", @@ -1060,17 +1033,39 @@ "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==" }, "node_modules/ext": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/ext/-/ext-1.6.0.tgz", - "integrity": "sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz", + "integrity": "sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==", "dependencies": { - "type": "^2.5.0" + "type": "^2.7.2" } }, "node_modules/ext/node_modules/type": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/type/-/type-2.6.0.tgz", - "integrity": "sha512-eiDBDOmkih5pMbo9OqsqPRGMljLodLcwd5XD5JbtNB0o89xZAwynY9EdCDsJU7LtcVCClu9DvM7/0Ep1hYX3EQ==" + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz", + "integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==" + }, + "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/fill-range": { "version": "7.0.1", @@ -1122,6 +1117,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/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -1232,25 +1238,6 @@ "he": "bin/he" } }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, "node_modules/inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -1267,14 +1254,6 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "dev": true }, - "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/is-binary-path": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", @@ -1505,9 +1484,9 @@ "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==" }, "node_modules/nock": { - "version": "13.2.7", - "resolved": "https://registry.npmjs.org/nock/-/nock-13.2.7.tgz", - "integrity": "sha512-R6NUw7RIPtKwgK7jskuKoEi4VFMqIHtV2Uu9K/Uegc4TA5cqe+oNMYslZcUmnVNQCTG6wcSqUBaGTDd7sq5srg==", + "version": "13.2.9", + "resolved": "https://registry.npmjs.org/nock/-/nock-13.2.9.tgz", + "integrity": "sha512-1+XfJNYF1cjGB+TKMWi29eZ0b82QOvQs2YoLNzbpWGqFMtRQHTa57osqdGj4FrFPgkO4D4AZinzUJR9VvW3QUA==", "dependencies": { "debug": "^4.1.0", "json-stringify-safe": "^5.0.1", @@ -1518,29 +1497,45 @@ "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": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "version": "3.2.10", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.2.10.tgz", + "integrity": "sha512-MhuzNwdURnZ1Cp4XTazr69K0BTizsBroX7Zx3UgDSVcZYKF/6p0CBe4EUb/hLqmzVhl0UpYfgRljQ4yxE+iCxA==", "dependencies": { - "whatwg-url": "^5.0.0" + "data-uri-to-buffer": "^4.0.0", + "fetch-blob": "^3.1.4", + "formdata-polyfill": "^4.0.10" }, "engines": { - "node": "4.x || >=6.0.0" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/node-fetch" } }, "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", @@ -1683,9 +1678,9 @@ } }, "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.7", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.7.tgz", + "integrity": "sha512-z9MzKh/UcOqB3i20H6rtrlaE/CgjLOvheWK/9ILrbhROGTweAi1BaFsTT9FbwZi5Trr1qNRs+MXkhmR06awzQA==", "dependencies": { "tslib": "^2.1.0" } @@ -1758,11 +1753,6 @@ "node": ">=8.0" } }, - "node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" - }, "node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", @@ -1807,10 +1797,13 @@ "node": ">=6.14.2" } }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + "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", @@ -1841,15 +1834,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, "node_modules/workerpool": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", @@ -1923,6 +1907,26 @@ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "dev": true }, + "node_modules/ws": { + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.9.0.tgz", + "integrity": "sha512-Ja7nszREasGaYUYCI2k4lCKIRTt+y7XuqVoHR44YpI49TtryyqbqvDMn5eqfW7e6HzTukDRIsXqzVHScqRcafg==", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", @@ -2053,425 +2057,424 @@ }, "dependencies": { "@babel/runtime": { - "version": "7.18.3", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.3.tgz", - "integrity": "sha512-38Y8f7YUhce/K7RMwTp7m0uCumpv9hZkitCbBClqQIow1qSbCvGkcegKOXpEWCQLfWmevgRiWokZ1GkpfhbZug==", + "version": "7.19.4", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz", + "integrity": "sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA==", "requires": { "regenerator-runtime": "^0.13.4" } }, "@noble/hashes": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.0.0.tgz", - "integrity": "sha512-DZVbtY62kc3kkBtMHqwCOfXrT/hnoORy5BJ4+HU1IR59X0KWAOqsfzQPcUl/lQLlG7qXbe/fZ3r/emxtAl+sqg==" + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.1.3.tgz", + "integrity": "sha512-CE0FCR57H2acVI5UOzIGSSIYxZ6v/HOhDR0Ro9VLyhnzLwx0o8W1mmgaqlEUx4049qJDlIBRztv5k+MM8vbO3A==" }, "@noble/secp256k1": { - "version": "1.5.5", - "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.5.5.tgz", - "integrity": "sha512-sZ1W6gQzYnu45wPrWx8D3kwI2/U29VYTx9OjbDAd7jwRItJ0cSTMPRL/C8AWZFn9kWFLQGqEXVEE86w4Z8LpIQ==" + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-1.7.0.tgz", + "integrity": "sha512-kbacwGSsH/CTout0ZnZWxnW1B+jH/7r/WAAKLBtrRJ/+CUH7lgmQzl3GTrQua3SGKWNSDsS6lmjnDpIJ5Dxyaw==" }, "@polkadot/api": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-8.8.2.tgz", - "integrity": "sha512-kqHYLGIivYAHGF0B19ApBANDrreUqeyXuqtNHxieQSe63yoAksyUbwTmdl58Z0WnvXg39fjXXNZzLXFt2/txIQ==", - "requires": { - "@babel/runtime": "^7.18.3", - "@polkadot/api-augment": "8.8.2", - "@polkadot/api-base": "8.8.2", - "@polkadot/api-derive": "8.8.2", - "@polkadot/keyring": "^9.4.1", - "@polkadot/rpc-augment": "8.8.2", - "@polkadot/rpc-core": "8.8.2", - "@polkadot/rpc-provider": "8.8.2", - "@polkadot/types": "8.8.2", - "@polkadot/types-augment": "8.8.2", - "@polkadot/types-codec": "8.8.2", - "@polkadot/types-create": "8.8.2", - "@polkadot/types-known": "8.8.2", - "@polkadot/util": "^9.4.1", - "@polkadot/util-crypto": "^9.4.1", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/api/-/api-9.5.1.tgz", + "integrity": "sha512-A2i/+mCl6cbFJ84ExMcWosUDfq0gVvzyKftkbRMs0oDzvHVVucTm0nCCzBgi/ltvSsFq8oJQ4pVqNTfT/IXgeQ==", + "requires": { + "@babel/runtime": "^7.19.0", + "@polkadot/api-augment": "9.5.1", + "@polkadot/api-base": "9.5.1", + "@polkadot/api-derive": "9.5.1", + "@polkadot/keyring": "^10.1.10", + "@polkadot/rpc-augment": "9.5.1", + "@polkadot/rpc-core": "9.5.1", + "@polkadot/rpc-provider": "9.5.1", + "@polkadot/types": "9.5.1", + "@polkadot/types-augment": "9.5.1", + "@polkadot/types-codec": "9.5.1", + "@polkadot/types-create": "9.5.1", + "@polkadot/types-known": "9.5.1", + "@polkadot/util": "^10.1.10", + "@polkadot/util-crypto": "^10.1.10", "eventemitter3": "^4.0.7", - "rxjs": "^7.5.5" + "rxjs": "^7.5.7" } }, "@polkadot/api-augment": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/api-augment/-/api-augment-8.8.2.tgz", - "integrity": "sha512-c99guuBvHrGbFBD9x32YG4Yc5osP1jVkGz/hlriRuTZNMUa/ZBjeoZtbVchL4PlpNC1sjdvvrIC9j3uQhvYHJQ==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/api-augment/-/api-augment-9.5.1.tgz", + "integrity": "sha512-9NQ2miIKVJvyhR2Zhk0XcHA+pgnWhQ0815lqcq0kz9ny5JHUFeGlNtxECw7AEnxoiC81EqpfWkOHpJpfiIcOmw==", "requires": { - "@babel/runtime": "^7.18.3", - "@polkadot/api-base": "8.8.2", - "@polkadot/rpc-augment": "8.8.2", - "@polkadot/types": "8.8.2", - "@polkadot/types-augment": "8.8.2", - "@polkadot/types-codec": "8.8.2", - "@polkadot/util": "^9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/api-base": "9.5.1", + "@polkadot/rpc-augment": "9.5.1", + "@polkadot/types": "9.5.1", + "@polkadot/types-augment": "9.5.1", + "@polkadot/types-codec": "9.5.1", + "@polkadot/util": "^10.1.10" } }, "@polkadot/api-base": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/api-base/-/api-base-8.8.2.tgz", - "integrity": "sha512-V04Hw6WJhWGUr5m50lNWE/9ao7ZjcJq005kVMtMRdI94HLmKDMnS3M4EI6USGtLWQ0VOlIMmlp7k2R3SyVFwQA==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/api-base/-/api-base-9.5.1.tgz", + "integrity": "sha512-3qsMsIhYbU3zp+YnP5h6Hg98y3B+FrxgPW7r2Uk6Kp1uSPmIzhMCyGuxur/BAcDVbd3KME+zWLHJDYOdyhuUwQ==", "requires": { - "@babel/runtime": "^7.18.3", - "@polkadot/rpc-core": "8.8.2", - "@polkadot/types": "8.8.2", - "@polkadot/util": "^9.4.1", - "rxjs": "^7.5.5" + "@babel/runtime": "^7.19.0", + "@polkadot/rpc-core": "9.5.1", + "@polkadot/types": "9.5.1", + "@polkadot/util": "^10.1.10", + "rxjs": "^7.5.7" } }, "@polkadot/api-derive": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-8.8.2.tgz", - "integrity": "sha512-ltHft5kp+TFasolSSQlip6zQpw3WFinu6CQZRmcAAyGaM7QgNweIWh3ZdoigrjnZaJPraGWNCfJv0pSg+2j0vg==", - "requires": { - "@babel/runtime": "^7.18.3", - "@polkadot/api": "8.8.2", - "@polkadot/api-augment": "8.8.2", - "@polkadot/api-base": "8.8.2", - "@polkadot/rpc-core": "8.8.2", - "@polkadot/types": "8.8.2", - "@polkadot/types-codec": "8.8.2", - "@polkadot/util": "^9.4.1", - "@polkadot/util-crypto": "^9.4.1", - "rxjs": "^7.5.5" + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/api-derive/-/api-derive-9.5.1.tgz", + "integrity": "sha512-fKlKQe8WZ3jrm44w/zptMofljW5qj+jZxnryK08CAH/MINlZArPfCtn+EJla2ND9aTnRMUWlEBtytyCPImI/Hg==", + "requires": { + "@babel/runtime": "^7.19.0", + "@polkadot/api": "9.5.1", + "@polkadot/api-augment": "9.5.1", + "@polkadot/api-base": "9.5.1", + "@polkadot/rpc-core": "9.5.1", + "@polkadot/types": "9.5.1", + "@polkadot/types-codec": "9.5.1", + "@polkadot/util": "^10.1.10", + "@polkadot/util-crypto": "^10.1.10", + "rxjs": "^7.5.7" } }, "@polkadot/keyring": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-9.4.1.tgz", - "integrity": "sha512-op6Tj8E9GHeZYvEss38FRUrX+GlBj6qiwF4BlFrAvPqjPnRn8TT9NhRLroiCwvxeNg3uMtEF/5xB+vvdI0I6qw==", + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@polkadot/keyring/-/keyring-10.1.10.tgz", + "integrity": "sha512-crKYBbwmPcFoTP6mby2+o1QWsjAyi5QlKzU8tXuXOApP6SBuqmDujIuLOKNG2vZoftNdVldsVL0WmKVYtBeuQg==", "requires": { - "@babel/runtime": "^7.18.3", - "@polkadot/util": "9.4.1", - "@polkadot/util-crypto": "9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/util": "10.1.10", + "@polkadot/util-crypto": "10.1.10" } }, "@polkadot/networks": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/@polkadot/networks/-/networks-9.4.1.tgz", - "integrity": "sha512-ibH8bZ2/XMXv0XEsP1fGOqNnm2mg1rHo5kHXSJ3QBcZJFh1+xkI4Ovl2xrFfZ+SYATA3Wsl5R6knqimk2EqyJQ==", + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@polkadot/networks/-/networks-10.1.10.tgz", + "integrity": "sha512-Db78t2XnFIZbdSdu1aFuj3/1cNwcSzG/+wNrpCQ9dPhnGPy5S1GVbmU8pyxTftPKdTFc+8RdBr+5bc0d5ijGiA==", "requires": { - "@babel/runtime": "^7.18.3", - "@polkadot/util": "9.4.1", - "@substrate/ss58-registry": "^1.22.0" + "@babel/runtime": "^7.19.0", + "@polkadot/util": "10.1.10", + "@substrate/ss58-registry": "^1.31.0" } }, "@polkadot/rpc-augment": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-augment/-/rpc-augment-8.8.2.tgz", - "integrity": "sha512-z9rOSmPvcS/YQSJIhM5F2uLyYZ6azll35V9xGs19hypO5wkwzLYByLbXQ7j1SFI267q/IIXVnri0yI6mtsQgzA==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-augment/-/rpc-augment-9.5.1.tgz", + "integrity": "sha512-7Qm6oIoVIqv6VOaIqDal45hUTb3TVZ58S3zkSr60p/dPMlGCaFMcojtfcQErHtCW0hgvzFNsDl9ShpXRcPWu7g==", "requires": { - "@babel/runtime": "^7.18.3", - "@polkadot/rpc-core": "8.8.2", - "@polkadot/types": "8.8.2", - "@polkadot/types-codec": "8.8.2", - "@polkadot/util": "^9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/rpc-core": "9.5.1", + "@polkadot/types": "9.5.1", + "@polkadot/types-codec": "9.5.1", + "@polkadot/util": "^10.1.10" } }, "@polkadot/rpc-core": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-8.8.2.tgz", - "integrity": "sha512-2MrIra52NYsvWv192sHM5b6dUXYYYzA8IB/rB7YF9Hm4aIDJbQJ/8uBivHZjMzyHsegxMDAe9WQSEkR0eagojQ==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-core/-/rpc-core-9.5.1.tgz", + "integrity": "sha512-8CXgBVTEUjeuN5VOwS6MjTeqpN+9qrNJAAwNEba36/72g6Wgg3flza11kx0luQ6OLPVgCM7OcAjZ17p16phXDA==", "requires": { - "@babel/runtime": "^7.18.3", - "@polkadot/rpc-augment": "8.8.2", - "@polkadot/rpc-provider": "8.8.2", - "@polkadot/types": "8.8.2", - "@polkadot/util": "^9.4.1", - "rxjs": "^7.5.5" + "@babel/runtime": "^7.19.0", + "@polkadot/rpc-augment": "9.5.1", + "@polkadot/rpc-provider": "9.5.1", + "@polkadot/types": "9.5.1", + "@polkadot/util": "^10.1.10", + "rxjs": "^7.5.7" } }, "@polkadot/rpc-provider": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-8.8.2.tgz", - "integrity": "sha512-LzzTTOxmqDndOcYdukYkpfEBq3GlbKAOb2pisKF4CtcGPcZ6bG0vktwx6qlWQ+Apmdu98rabt+iQPfwvOSg8sA==", - "requires": { - "@babel/runtime": "^7.18.3", - "@polkadot/keyring": "^9.4.1", - "@polkadot/types": "8.8.2", - "@polkadot/types-support": "8.8.2", - "@polkadot/util": "^9.4.1", - "@polkadot/util-crypto": "^9.4.1", - "@polkadot/x-fetch": "^9.4.1", - "@polkadot/x-global": "^9.4.1", - "@polkadot/x-ws": "^9.4.1", - "@substrate/connect": "0.7.5", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/rpc-provider/-/rpc-provider-9.5.1.tgz", + "integrity": "sha512-CxyEo1SzwbcByUsrW5RUm5GTLNK7yjmVlTMseex8zQLO4+4erqUoQzr6TTIPSt4LWyk+TjbZdtGtlt7p6i2nJg==", + "requires": { + "@babel/runtime": "^7.19.0", + "@polkadot/keyring": "^10.1.10", + "@polkadot/types": "9.5.1", + "@polkadot/types-support": "9.5.1", + "@polkadot/util": "^10.1.10", + "@polkadot/util-crypto": "^10.1.10", + "@polkadot/x-fetch": "^10.1.10", + "@polkadot/x-global": "^10.1.10", + "@polkadot/x-ws": "^10.1.10", + "@substrate/connect": "0.7.14", "eventemitter3": "^4.0.7", "mock-socket": "^9.1.5", - "nock": "^13.2.6" + "nock": "^13.2.9" } }, "@polkadot/types": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-8.8.2.tgz", - "integrity": "sha512-O90MEfGbpPh/FmUAv0m3LcweZLWH6pmkODb1EGnwBHjZadYLCHFjdFO50yhoch9hh3+aEFmac6ma8swsy6IjAw==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/types/-/types-9.5.1.tgz", + "integrity": "sha512-xuhYq+O4JRl2iqLVEwKVHnfOA9AfwoNlHzrFx2DChDcIWdmgmUDASq9TkZhBP+jx81SieMH7iTf4zY6UwPKYQw==", "requires": { - "@babel/runtime": "^7.18.3", - "@polkadot/keyring": "^9.4.1", - "@polkadot/types-augment": "8.8.2", - "@polkadot/types-codec": "8.8.2", - "@polkadot/types-create": "8.8.2", - "@polkadot/util": "^9.4.1", - "@polkadot/util-crypto": "^9.4.1", - "rxjs": "^7.5.5" + "@babel/runtime": "^7.19.0", + "@polkadot/keyring": "^10.1.10", + "@polkadot/types-augment": "9.5.1", + "@polkadot/types-codec": "9.5.1", + "@polkadot/types-create": "9.5.1", + "@polkadot/util": "^10.1.10", + "@polkadot/util-crypto": "^10.1.10", + "rxjs": "^7.5.7" } }, "@polkadot/types-augment": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/types-augment/-/types-augment-8.8.2.tgz", - "integrity": "sha512-WalxIz5Z0RPp2FS0cWvhBjYL7FKzDqkIBc+r/DN4vYRQzp5JBVNJjPWWUPtq9ucEl1wiaD2vJNG34rWIYVtObg==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/types-augment/-/types-augment-9.5.1.tgz", + "integrity": "sha512-1AzQpGe5bGttYbbjR1UhV19htsFjgqJ651eyT3YdRqo1hotZ2GwTCkGXuTJtcmQQH9G09xUUwS3nx8WsSyQ70A==", "requires": { - "@babel/runtime": "^7.18.3", - "@polkadot/types": "8.8.2", - "@polkadot/types-codec": "8.8.2", - "@polkadot/util": "^9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/types": "9.5.1", + "@polkadot/types-codec": "9.5.1", + "@polkadot/util": "^10.1.10" } }, "@polkadot/types-codec": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/types-codec/-/types-codec-8.8.2.tgz", - "integrity": "sha512-p3YZU8WZIMnnSxTKpoiCPi64T/sSR7dX7ObkpvUITulE6dzXUPUvkdSVS9YlTlb4R43pZ0iSyB18vpnlpq8LYQ==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/types-codec/-/types-codec-9.5.1.tgz", + "integrity": "sha512-7Dy8TeApu4lN8DqdMZLuh34ocdHQh9jzAob6cQl1fl1ypOiCO/SwPjFkj0Xnhh7QQz9X9w63jZzbaFR3PPT+0g==", "requires": { - "@babel/runtime": "^7.18.3", - "@polkadot/util": "^9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/util": "^10.1.10", + "@polkadot/x-bigint": "^10.1.10" } }, "@polkadot/types-create": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/types-create/-/types-create-8.8.2.tgz", - "integrity": "sha512-YMpiLCVFs2KKpvn3n24HahUzneaLKmjgwwd+QvFCooJClV/0YK22kwvlEteLO3aWPx2jy8ySSpUFn8kd/oWEAA==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/types-create/-/types-create-9.5.1.tgz", + "integrity": "sha512-pUQ1U0mho5aKRdi4iR9DP9ldIoj9U+ApHIeYyxkBY8RexMQOpkt8PZfpFhg4z2H5vZj/sgNIBXq65HjXuyu+9w==", "requires": { - "@babel/runtime": "^7.18.3", - "@polkadot/types-codec": "8.8.2", - "@polkadot/util": "^9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/types-codec": "9.5.1", + "@polkadot/util": "^10.1.10" } }, "@polkadot/types-known": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-8.8.2.tgz", - "integrity": "sha512-Ywa7v7K+UIYpQM3gbl6oA0zKiriX1OJfoYBxX7BcVLKW8cWmdy2xH9W6qNqxDWGAc2LXqNLhn0uzaRxq1niCCQ==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/types-known/-/types-known-9.5.1.tgz", + "integrity": "sha512-SedfPDxJREYPATa7X2Fv26z6UVPYv6v9Z9P4nulnC6Yl8C2+Q4A/VIqTtgsJc0DU1YT3gM8ofVxircfHqqRVNA==", "requires": { - "@babel/runtime": "^7.18.3", - "@polkadot/networks": "^9.4.1", - "@polkadot/types": "8.8.2", - "@polkadot/types-codec": "8.8.2", - "@polkadot/types-create": "8.8.2", - "@polkadot/util": "^9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/networks": "^10.1.10", + "@polkadot/types": "9.5.1", + "@polkadot/types-codec": "9.5.1", + "@polkadot/types-create": "9.5.1", + "@polkadot/util": "^10.1.10" } }, "@polkadot/types-support": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/@polkadot/types-support/-/types-support-8.8.2.tgz", - "integrity": "sha512-z4yjN8odDgFFlhGBrJAeHX4YsUeprmBAzWDCJMBeL4C/E1yIG7RyzQryVJNb3m/galiX1Tzuuch4kqE/jABnfw==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/@polkadot/types-support/-/types-support-9.5.1.tgz", + "integrity": "sha512-mjenEGNT/ReY1xFexb37NDgV7QHHBBfWt31ZQMZKDkQL+R2P0rXFpmitcE3eOCV3oY4mf+GaU2N/ZfnsFl3tPQ==", "requires": { - "@babel/runtime": "^7.18.3", - "@polkadot/util": "^9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/util": "^10.1.10" } }, "@polkadot/util": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-9.4.1.tgz", - "integrity": "sha512-z0HcnIe3zMWyK1s09wQIwc1M8gDKygSF9tDAbC8H9KDeIRZB2ldhwWEFx/1DJGOgFFrmRfkxeC6dcDpfzQhFow==", + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@polkadot/util/-/util-10.1.10.tgz", + "integrity": "sha512-BQoTfSxZ3BWAgWDjgKBVdyw1AJGaoOeAidCA+LZcHV6wlMu5643AZPUnoMrW413MbbpxsIhJXtNttqOwjo8MjA==", "requires": { - "@babel/runtime": "^7.18.3", - "@polkadot/x-bigint": "9.4.1", - "@polkadot/x-global": "9.4.1", - "@polkadot/x-textdecoder": "9.4.1", - "@polkadot/x-textencoder": "9.4.1", - "@types/bn.js": "^5.1.0", - "bn.js": "^5.2.1", - "ip-regex": "^4.3.0" + "@babel/runtime": "^7.19.0", + "@polkadot/x-bigint": "10.1.10", + "@polkadot/x-global": "10.1.10", + "@polkadot/x-textdecoder": "10.1.10", + "@polkadot/x-textencoder": "10.1.10", + "@types/bn.js": "^5.1.1", + "bn.js": "^5.2.1" } }, "@polkadot/util-crypto": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-9.4.1.tgz", - "integrity": "sha512-V6xMOjdd8Kt/QmXlcDYM4WJDAmKuH4vWSlIcMmkFHnwH/NtYVdYIDZswLQHKL8gjLijPfVTHpWaJqNFhGpZJEg==", - "requires": { - "@babel/runtime": "^7.18.3", - "@noble/hashes": "1.0.0", - "@noble/secp256k1": "1.5.5", - "@polkadot/networks": "9.4.1", - "@polkadot/util": "9.4.1", - "@polkadot/wasm-crypto": "^6.1.1", - "@polkadot/x-bigint": "9.4.1", - "@polkadot/x-randomvalues": "9.4.1", - "@scure/base": "1.0.0", + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@polkadot/util-crypto/-/util-crypto-10.1.10.tgz", + "integrity": "sha512-w9h/wf4wZXeUkRnihhnfqlaKuoQtrjkjK3C5liCQkr9vx5zOsmg/nMSDP8UUFJX0msPPYpFeNvzn7oDIs6qSZA==", + "requires": { + "@babel/runtime": "^7.19.0", + "@noble/hashes": "1.1.3", + "@noble/secp256k1": "1.7.0", + "@polkadot/networks": "10.1.10", + "@polkadot/util": "10.1.10", + "@polkadot/wasm-crypto": "^6.3.1", + "@polkadot/x-bigint": "10.1.10", + "@polkadot/x-randomvalues": "10.1.10", + "@scure/base": "1.1.1", "ed2curve": "^0.3.0", "tweetnacl": "^1.0.3" } }, "@polkadot/wasm-bridge": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-bridge/-/wasm-bridge-6.1.1.tgz", - "integrity": "sha512-Cy0k00VCu+HWxie+nn9GWPlSPdiZl8Id8ulSGA2FKET0jIbffmOo4e1E2FXNucfR1UPEpqov5BCF9T5YxEXZDg==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-bridge/-/wasm-bridge-6.3.1.tgz", + "integrity": "sha512-1TYkHsb9AEFhU9uZj3biEnN2yKQNzdrwSjiTvfCYnt97pnEkKsZI6cku+YPZQv5w/x9CQa5Yua9e2DVVZSivGA==", "requires": { - "@babel/runtime": "^7.17.9" + "@babel/runtime": "^7.18.9" } }, "@polkadot/wasm-crypto": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto/-/wasm-crypto-6.1.1.tgz", - "integrity": "sha512-hv9RCbMYtgjCy7+FKZFnO2Afu/whax9sk6udnZqGRBRiwaNagtyliWZGrKNGvaXMIO0VyaY4jWUwSzUgPrLu1A==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto/-/wasm-crypto-6.3.1.tgz", + "integrity": "sha512-OO8h0qeVkqp4xYZaRVl4iuWOEtq282pNBHDKb6SOJuI2g59eWGcKh4EQU9Me2VP6qzojIqptrkrVt7KQXC68gA==", "requires": { - "@babel/runtime": "^7.17.9", - "@polkadot/wasm-bridge": "6.1.1", - "@polkadot/wasm-crypto-asmjs": "6.1.1", - "@polkadot/wasm-crypto-init": "6.1.1", - "@polkadot/wasm-crypto-wasm": "6.1.1", - "@polkadot/wasm-util": "6.1.1" + "@babel/runtime": "^7.18.9", + "@polkadot/wasm-bridge": "6.3.1", + "@polkadot/wasm-crypto-asmjs": "6.3.1", + "@polkadot/wasm-crypto-init": "6.3.1", + "@polkadot/wasm-crypto-wasm": "6.3.1", + "@polkadot/wasm-util": "6.3.1" } }, "@polkadot/wasm-crypto-asmjs": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-6.1.1.tgz", - "integrity": "sha512-gG4FStVumkyRNH7WcTB+hn3EEwCssJhQyi4B1BOUt+eYYmw9xJdzIhqjzSd9b/yF2e5sRaAzfnMj2srGufsE6A==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-6.3.1.tgz", + "integrity": "sha512-zbombRfA5v/mUWQQhgg2YwaxhRmxRIrvskw65x+lruax3b6xPBFDs7yplopiJU3r8h2pTgQvX/DUksvqz2TCRQ==", "requires": { - "@babel/runtime": "^7.17.9" + "@babel/runtime": "^7.18.9" } }, "@polkadot/wasm-crypto-init": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-init/-/wasm-crypto-init-6.1.1.tgz", - "integrity": "sha512-rbBm/9FOOUjISL4gGNokjcKy2X+Af6Chaet4zlabatpImtPIAK26B2UUBGoaRUnvl/w6K3+GwBL4LuBC+CvzFw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-init/-/wasm-crypto-init-6.3.1.tgz", + "integrity": "sha512-9yaUBcu+snwjJLmPPGl3cyGRQ1afyFGm16qzTM0sgG/ZCfUlK4uk8KWZe+sBUKgoxb2oXY7Y4WklKgQI1YBdfw==", "requires": { - "@babel/runtime": "^7.17.9", - "@polkadot/wasm-bridge": "6.1.1", - "@polkadot/wasm-crypto-asmjs": "6.1.1", - "@polkadot/wasm-crypto-wasm": "6.1.1" + "@babel/runtime": "^7.18.9", + "@polkadot/wasm-bridge": "6.3.1", + "@polkadot/wasm-crypto-asmjs": "6.3.1", + "@polkadot/wasm-crypto-wasm": "6.3.1" } }, "@polkadot/wasm-crypto-wasm": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-6.1.1.tgz", - "integrity": "sha512-zkz5Ct4KfTBT+YNEA5qbsHhTV58/FAxDave8wYIOaW4TrBnFPPs+J0WBWlGFertgIhPkvjFnQC/xzRyhet9prg==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-6.3.1.tgz", + "integrity": "sha512-idSlzKGVzCfeCMRHsacRvqwojSaTadFxL/Dbls4z1thvfa3U9Ku0d2qVtlwg7Hj+tYWDiuP8Kygs+6bQwfs0XA==", "requires": { - "@babel/runtime": "^7.17.9", - "@polkadot/wasm-util": "6.1.1" + "@babel/runtime": "^7.18.9", + "@polkadot/wasm-util": "6.3.1" } }, "@polkadot/wasm-util": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@polkadot/wasm-util/-/wasm-util-6.1.1.tgz", - "integrity": "sha512-DgpLoFXMT53UKcfZ8eT2GkJlJAOh89AWO+TP6a6qeZQpvXVe5f1yR45WQpkZlgZyUP+/19+kY56GK0pQxfslqg==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@polkadot/wasm-util/-/wasm-util-6.3.1.tgz", + "integrity": "sha512-12oAv5J7Yoc9m6jixrSaQCxpOkWOyzHx3DMC8qmLjRiwdBWxqLmImOVRVnFsbaxqSbhBIHRuJphVxWE+GZETDg==", "requires": { - "@babel/runtime": "^7.17.9" + "@babel/runtime": "^7.18.9" } }, "@polkadot/x-bigint": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/@polkadot/x-bigint/-/x-bigint-9.4.1.tgz", - "integrity": "sha512-KlbXboegENoyrpjj+eXfY13vsqrXgk4620zCAUhKNH622ogdvAepHbY/DpV6w0FLEC6MwN9zd5cRuDBEXVeWiw==", + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@polkadot/x-bigint/-/x-bigint-10.1.10.tgz", + "integrity": "sha512-4Jt0BO0WTby6r9A2DgkDxf/LFaICQHvSl1VSFtBf0Z0GV2n4OxkBX5x/1bdEdGEvYT5rM7RbR3xI7EL+W1ixHA==", "requires": { - "@babel/runtime": "^7.18.3", - "@polkadot/x-global": "9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/x-global": "10.1.10" } }, "@polkadot/x-fetch": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-9.4.1.tgz", - "integrity": "sha512-CZFPZKgy09TOF5pOFRVVhGrAaAPdSMyrUSKwdO2I8DzdIE1tmjnol50dlnZja5t8zTD0n1uIY1H4CEWwc5NF/g==", + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@polkadot/x-fetch/-/x-fetch-10.1.10.tgz", + "integrity": "sha512-LvTxAN6GaJzfgZ74WFYPZrIkMEThpX5u7O4ILiExcJt87E19cSWlYSHDa5n+OLjUpq0lBV2ueF90iUblt6aHpg==", "requires": { - "@babel/runtime": "^7.18.3", - "@polkadot/x-global": "9.4.1", - "@types/node-fetch": "^2.6.1", - "node-fetch": "^2.6.7" + "@babel/runtime": "^7.19.0", + "@polkadot/x-global": "10.1.10", + "@types/node-fetch": "^2.6.2", + "node-fetch": "^3.2.10" } }, "@polkadot/x-global": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/@polkadot/x-global/-/x-global-9.4.1.tgz", - "integrity": "sha512-eN4oZeRdIKQeUPNN7OtH5XeYp349d8V9+gW6W0BmCfB2lTg8TDlG1Nj+Cyxpjl9DNF5CiKudTq72zr0dDSRbwA==", + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@polkadot/x-global/-/x-global-10.1.10.tgz", + "integrity": "sha512-WFfgaZSrzPlKLdnOus2mIFGzUbSDIQK6RMCfFfM9SmF3DkoxN40z5Nkni4PztfKr22stlkhmhnX/Lp/NxpuT6Q==", "requires": { - "@babel/runtime": "^7.18.3" + "@babel/runtime": "^7.19.0" } }, "@polkadot/x-randomvalues": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-9.4.1.tgz", - "integrity": "sha512-TLOQw3JNPgCrcq9WO2ipdeG8scsSreu3m9hwj3n7nX/QKlVzSf4G5bxJo5TW1dwcUdHwBuVox+3zgCmo+NPh+Q==", + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@polkadot/x-randomvalues/-/x-randomvalues-10.1.10.tgz", + "integrity": "sha512-KM4sCI/DNLIXlmnkeJIuYvh3pPuWvnkbR1a6TUB12J1izUJ+uGV+cAFRR4/EZk3oEsG/Tgivbs56meEOo3ws5A==", "requires": { - "@babel/runtime": "^7.18.3", - "@polkadot/x-global": "9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/x-global": "10.1.10" } }, "@polkadot/x-textdecoder": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-9.4.1.tgz", - "integrity": "sha512-yLulcgVASFUBJqrvS6Ssy0ko9teAfbu1ajH0r3Jjnqkpmmz2DJ1CS7tAktVa7THd4GHPGeKAVfxl+BbV/LZl+w==", + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@polkadot/x-textdecoder/-/x-textdecoder-10.1.10.tgz", + "integrity": "sha512-cAk37faYXx8IICeaq/tdl+aiIXwo3SLrx9XNoQqhX02g+SEs3ARM7zJcohj/p8ynWAI+ezNcsKn1wh174nquHw==", "requires": { - "@babel/runtime": "^7.18.3", - "@polkadot/x-global": "9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/x-global": "10.1.10" } }, "@polkadot/x-textencoder": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-9.4.1.tgz", - "integrity": "sha512-/47wa31jBa43ULqMO60vzcJigTG+ZAGNcyT5r6hFLrQzRzc8nIBjIOD8YWtnKM92r9NvlNv2wJhdamqyU0mntg==", + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@polkadot/x-textencoder/-/x-textencoder-10.1.10.tgz", + "integrity": "sha512-Auaql6BL5UHtWakZUQyj4y/BrM0tm4bYG5vXCMQCA1Gg0ky+46DhgpRrAQ9F7NNgWg1A6dA2I9KuAA4BTbNx0w==", "requires": { - "@babel/runtime": "^7.18.3", - "@polkadot/x-global": "9.4.1" + "@babel/runtime": "^7.19.0", + "@polkadot/x-global": "10.1.10" } }, "@polkadot/x-ws": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-9.4.1.tgz", - "integrity": "sha512-zQjVxXgHsBVn27u4bjY01cFO6XWxgv2b3MMOpNHTKTAs8SLEmFf0LcT7fBShimyyudyTeJld5pHApJ4qp1OXxA==", + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@polkadot/x-ws/-/x-ws-10.1.10.tgz", + "integrity": "sha512-JxDgfm0ox2XPAtdTeJXYl6qq7LY/KOPi69wRpFMczWaYUsZubO6EiRzgzjuFlHY4/oxfjS/D+YbzcjefTxHz6g==", "requires": { - "@babel/runtime": "^7.18.3", - "@polkadot/x-global": "9.4.1", + "@babel/runtime": "^7.19.0", + "@polkadot/x-global": "10.1.10", "@types/websocket": "^1.0.5", "websocket": "^1.0.34" } }, "@scure/base": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.0.0.tgz", - "integrity": "sha512-gIVaYhUsy+9s58m/ETjSJVKHhKTBMmcRb9cEV5/5dwvfDlfORjKrFsDeDHWRrm6RjcPvCLZFwGJjAjLj1gg4HA==" + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.1.1.tgz", + "integrity": "sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA==" }, "@substrate/connect": { - "version": "0.7.5", - "resolved": "https://registry.npmjs.org/@substrate/connect/-/connect-0.7.5.tgz", - "integrity": "sha512-sdAZ6IGuTNxRGlH/O+6IaXvkYzZFwMK03VbQMgxUzry9dz1+JzyaNf8iOTVHxhMIUZc0h0E90JQz/hNiUYPlUw==", + "version": "0.7.14", + "resolved": "https://registry.npmjs.org/@substrate/connect/-/connect-0.7.14.tgz", + "integrity": "sha512-uW5uBmihpivshmmmw+rsg7qOV0KqVSep4rWOXFMP8aFQinvmqw4JqxP21og4H/7JZxttYUBFQVsdtXHGKJ0aVQ==", "requires": { - "@substrate/connect-extension-protocol": "^1.0.0", - "@substrate/smoldot-light": "0.6.16", + "@substrate/connect-extension-protocol": "^1.0.1", + "@substrate/smoldot-light": "0.6.34", "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==" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@substrate/connect-extension-protocol/-/connect-extension-protocol-1.0.1.tgz", + "integrity": "sha512-161JhCC1csjH3GE5mPLEd7HbWtwNSPJBg3p1Ksz9SFlTzj/bgEwudiRN2y5i0MoLGCIJRYKyKGMxVnd29PzNjg==" }, "@substrate/smoldot-light": { - "version": "0.6.16", - "resolved": "https://registry.npmjs.org/@substrate/smoldot-light/-/smoldot-light-0.6.16.tgz", - "integrity": "sha512-Ej0ZdNPTW0EXbp45gv/5Kt/JV+c9cmRZRYAXg+EALxXPm0hW9h2QdVLm61A2PAskOGptW4wnJ1WzzruaenwAXQ==", + "version": "0.6.34", + "resolved": "https://registry.npmjs.org/@substrate/smoldot-light/-/smoldot-light-0.6.34.tgz", + "integrity": "sha512-+HK9MaJ0HelJmpf4YYR+salJ7dhVBltmhGlyz5l8OXS9DW18fe0Z2wxEo8P5kX9CUxlCXEb8J9JBRQAYBPHbwQ==", "requires": { - "buffer": "^6.0.1", "pako": "^2.0.4", - "websocket": "^1.0.32" + "ws": "^8.8.1" } }, "@substrate/ss58-registry": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/@substrate/ss58-registry/-/ss58-registry-1.22.0.tgz", - "integrity": "sha512-IKqrPY0B3AeIXEc5/JGgEhPZLy+SmVyQf+k0SIGcNSTqt1GLI3gQFEOFwSScJdem+iYZQUrn6YPPxC3TpdSC3A==" + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/@substrate/ss58-registry/-/ss58-registry-1.33.0.tgz", + "integrity": "sha512-DztMuMcEfu+tJrtIQIIp5gO8/XJZ8N8UwPObDCSNgrp7trtSkPJAUFB9qXaReXtN9UvTcVBMTWk6VPfFi04Wkg==" }, "@types/bn.js": { - "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==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.1.tgz", + "integrity": "sha512-qNrYbZqMx0uJAfKnKclPh+dTwK33KfLHYqtyODwd5HnXOjnkhc4qgn3BrK6RWyGZm5+sIFE7Q7Vz6QQtJB7w7g==", "requires": { "@types/node": "*" } }, "@types/node": { - "version": "17.0.44", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.44.tgz", - "integrity": "sha512-gWYiOlu6Y4oyLYBvsJAPlwHbC8H4tX+tLsHy6Ee976wedwwZKrG2hFl3Y/HiH6bIyLTbDWQexQF/ohwKkOpUCg==" + "version": "18.8.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.8.4.tgz", + "integrity": "sha512-WdlVphvfR/GJCLEMbNA8lJ0lhFNBj4SW3O+O5/cEGw9oYrv0al9zTwuQsq+myDUXgNx2jgBynoVgZ2MMJ6pbow==" }, "@types/node-fetch": { "version": "2.6.2", @@ -2544,11 +2547,6 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, - "base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" - }, "binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", @@ -2584,15 +2582,6 @@ "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", "dev": true }, - "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" - } - }, "bufferutil": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.6.tgz", @@ -2741,6 +2730,11 @@ "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", @@ -2790,9 +2784,9 @@ "dev": true }, "es5-ext": { - "version": "0.10.61", - "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.61.tgz", - "integrity": "sha512-yFhIqQAzu2Ca2I4SE2Au3rxVfmohU9Y7wqGR+s7+H7krk26NXhIRAZDgqd6xqjCEFUomDEA3/Bo/7fKmIkW1kA==", + "version": "0.10.62", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz", + "integrity": "sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==", "requires": { "es6-iterator": "^2.0.3", "es6-symbol": "^3.1.3", @@ -2836,20 +2830,29 @@ "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==" }, "ext": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/ext/-/ext-1.6.0.tgz", - "integrity": "sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz", + "integrity": "sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==", "requires": { - "type": "^2.5.0" + "type": "^2.7.2" }, "dependencies": { "type": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/type/-/type-2.6.0.tgz", - "integrity": "sha512-eiDBDOmkih5pMbo9OqsqPRGMljLodLcwd5XD5JbtNB0o89xZAwynY9EdCDsJU7LtcVCClu9DvM7/0Ep1hYX3EQ==" + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz", + "integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==" } } }, + "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" + } + }, "fill-range": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", @@ -2885,6 +2888,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" + } + }, "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -2966,11 +2977,6 @@ "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", "dev": true }, - "ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" - }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -2987,11 +2993,6 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "dev": true }, - "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==" - }, "is-binary-path": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", @@ -3159,9 +3160,9 @@ "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==" }, "nock": { - "version": "13.2.7", - "resolved": "https://registry.npmjs.org/nock/-/nock-13.2.7.tgz", - "integrity": "sha512-R6NUw7RIPtKwgK7jskuKoEi4VFMqIHtV2Uu9K/Uegc4TA5cqe+oNMYslZcUmnVNQCTG6wcSqUBaGTDd7sq5srg==", + "version": "13.2.9", + "resolved": "https://registry.npmjs.org/nock/-/nock-13.2.9.tgz", + "integrity": "sha512-1+XfJNYF1cjGB+TKMWi29eZ0b82QOvQs2YoLNzbpWGqFMtRQHTa57osqdGj4FrFPgkO4D4AZinzUJR9VvW3QUA==", "requires": { "debug": "^4.1.0", "json-stringify-safe": "^5.0.1", @@ -3169,18 +3170,25 @@ "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": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "version": "3.2.10", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.2.10.tgz", + "integrity": "sha512-MhuzNwdURnZ1Cp4XTazr69K0BTizsBroX7Zx3UgDSVcZYKF/6p0CBe4EUb/hLqmzVhl0UpYfgRljQ4yxE+iCxA==", "requires": { - "whatwg-url": "^5.0.0" + "data-uri-to-buffer": "^4.0.0", + "fetch-blob": "^3.1.4", + "formdata-polyfill": "^4.0.10" } }, "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==" }, "normalize-path": { "version": "3.0.0", @@ -3279,9 +3287,9 @@ "dev": true }, "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.7", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.7.tgz", + "integrity": "sha512-z9MzKh/UcOqB3i20H6rtrlaE/CgjLOvheWK/9ILrbhROGTweAi1BaFsTT9FbwZi5Trr1qNRs+MXkhmR06awzQA==", "requires": { "tslib": "^2.1.0" } @@ -3325,11 +3333,6 @@ "is-number": "^7.0.0" } }, - "tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" - }, "tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", @@ -3367,10 +3370,10 @@ "node-gyp-build": "^4.3.0" } }, - "webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + "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", @@ -3400,15 +3403,6 @@ } } }, - "whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "requires": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, "workerpool": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", @@ -3466,6 +3460,12 @@ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "dev": true }, + "ws": { + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.9.0.tgz", + "integrity": "sha512-Ja7nszREasGaYUYCI2k4lCKIRTt+y7XuqVoHR44YpI49TtryyqbqvDMn5eqfW7e6HzTukDRIsXqzVHScqRcafg==", + "requires": {} + }, "y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", diff --git a/tests/polkadotjs_test/package.json b/tests/polkadotjs_test/package.json index fe5c37765e..d2d3b9caad 100644 --- a/tests/polkadotjs_test/package.json +++ b/tests/polkadotjs_test/package.json @@ -9,7 +9,7 @@ "author": "", "license": "ISC", "dependencies": { - "@polkadot/api": "8.8.2" + "@polkadot/api": "9.5.1" }, "devDependencies": { "chai": "^4.2.0", diff --git a/tests/polkadotjs_test/test/test-polkadot.js b/tests/polkadotjs_test/test/test-polkadot.js index ef13f59a5e..3eb86fcce5 100644 --- a/tests/polkadotjs_test/test/test-polkadot.js +++ b/tests/polkadotjs_test/test/test-polkadot.js @@ -63,7 +63,7 @@ describe('Testing polkadot.js/api calls:', function () { it('call api.libraryInfo', async function () { const libraryInfo = await api.libraryInfo; expect(libraryInfo).to.be.not.null; - expect(libraryInfo).to.be.equal('@polkadot/api v8.8.2'); + expect(libraryInfo).to.be.equal('@polkadot/api v9.5.1'); }); }); describe('upgrade runtime', () => {