* 9.10.5

* Adjust
This commit is contained in:
Jaco
2022-12-27 17:54:38 +02:00
committed by GitHub
parent 364a6decae
commit 28d9bb7053
20 changed files with 178 additions and 178 deletions
+7 -7
View File
@@ -20,18 +20,18 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.5-0-x",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/api-base": "9.10.5-0-x",
"@polkadot/rpc-augment": "9.10.5-0-x",
"@polkadot/types": "9.10.5-0-x",
"@polkadot/types-augment": "9.10.5-0-x",
"@polkadot/types-codec": "9.10.5-0-x",
"@polkadot/api-base": "9.10.5",
"@polkadot/rpc-augment": "9.10.5",
"@polkadot/types": "9.10.5",
"@polkadot/types-augment": "9.10.5",
"@polkadot/types-codec": "9.10.5",
"@polkadot/util": "^10.2.1"
},
"devDependencies": {
"@polkadot/types-support": "9.10.5-0-x"
"@polkadot/types-support": "9.10.5"
}
}
+3 -3
View File
@@ -20,12 +20,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.5-0-x",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/rpc-core": "9.10.5-0-x",
"@polkadot/types": "9.10.5-0-x",
"@polkadot/rpc-core": "9.10.5",
"@polkadot/types": "9.10.5",
"@polkadot/util": "^10.2.1",
"rxjs": "^7.8.0"
}
+6 -6
View File
@@ -20,20 +20,20 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.5-0-x",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/api": "9.10.5-0-x",
"@polkadot/types": "9.10.5-0-x",
"@polkadot/types-codec": "9.10.5-0-x",
"@polkadot/types-create": "9.10.5-0-x",
"@polkadot/api": "9.10.5",
"@polkadot/types": "9.10.5",
"@polkadot/types-codec": "9.10.5",
"@polkadot/types-create": "9.10.5",
"@polkadot/util": "^10.2.1",
"@polkadot/util-crypto": "^10.2.1",
"rxjs": "^7.8.0"
},
"devDependencies": {
"@polkadot/api-augment": "9.10.5-0-x",
"@polkadot/api-augment": "9.10.5",
"@polkadot/keyring": "^10.2.1"
}
}
+12 -12
View File
@@ -20,25 +20,25 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.5-0-x",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/api": "9.10.5-0-x",
"@polkadot/api-augment": "9.10.5-0-x",
"@polkadot/api-base": "9.10.5-0-x",
"@polkadot/rpc-core": "9.10.5-0-x",
"@polkadot/types": "9.10.5-0-x",
"@polkadot/types-codec": "9.10.5-0-x",
"@polkadot/api": "9.10.5",
"@polkadot/api-augment": "9.10.5",
"@polkadot/api-base": "9.10.5",
"@polkadot/rpc-core": "9.10.5",
"@polkadot/types": "9.10.5",
"@polkadot/types-codec": "9.10.5",
"@polkadot/util": "^10.2.1",
"@polkadot/util-crypto": "^10.2.1",
"rxjs": "^7.8.0"
},
"devDependencies": {
"@polkadot/api": "9.10.5-0-x",
"@polkadot/api-augment": "9.10.5-0-x",
"@polkadot/rpc-augment": "9.10.5-0-x",
"@polkadot/rpc-provider": "9.10.5-0-x",
"@polkadot/types-support": "9.10.5-0-x"
"@polkadot/api": "9.10.5",
"@polkadot/api-augment": "9.10.5",
"@polkadot/rpc-augment": "9.10.5",
"@polkadot/rpc-provider": "9.10.5",
"@polkadot/types-support": "9.10.5"
}
}
+14 -14
View File
@@ -20,29 +20,29 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.5-0-x",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/api-augment": "9.10.5-0-x",
"@polkadot/api-base": "9.10.5-0-x",
"@polkadot/api-derive": "9.10.5-0-x",
"@polkadot/api-augment": "9.10.5",
"@polkadot/api-base": "9.10.5",
"@polkadot/api-derive": "9.10.5",
"@polkadot/keyring": "^10.2.1",
"@polkadot/rpc-augment": "9.10.5-0-x",
"@polkadot/rpc-core": "9.10.5-0-x",
"@polkadot/rpc-provider": "9.10.5-0-x",
"@polkadot/types": "9.10.5-0-x",
"@polkadot/types-augment": "9.10.5-0-x",
"@polkadot/types-codec": "9.10.5-0-x",
"@polkadot/types-create": "9.10.5-0-x",
"@polkadot/types-known": "9.10.5-0-x",
"@polkadot/rpc-augment": "9.10.5",
"@polkadot/rpc-core": "9.10.5",
"@polkadot/rpc-provider": "9.10.5",
"@polkadot/types": "9.10.5",
"@polkadot/types-augment": "9.10.5",
"@polkadot/types-codec": "9.10.5",
"@polkadot/types-create": "9.10.5",
"@polkadot/types-known": "9.10.5",
"@polkadot/util": "^10.2.1",
"@polkadot/util-crypto": "^10.2.1",
"eventemitter3": "^4.0.7",
"rxjs": "^7.8.0"
},
"devDependencies": {
"@polkadot/api-augment": "9.10.5-0-x",
"@polkadot/types-support": "9.10.5-0-x"
"@polkadot/api-augment": "9.10.5",
"@polkadot/types-support": "9.10.5"
}
}
+4 -4
View File
@@ -20,13 +20,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.5-0-x",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/rpc-core": "9.10.5-0-x",
"@polkadot/types": "9.10.5-0-x",
"@polkadot/types-codec": "9.10.5-0-x",
"@polkadot/rpc-core": "9.10.5",
"@polkadot/types": "9.10.5",
"@polkadot/types-codec": "9.10.5",
"@polkadot/util": "^10.2.1"
}
}
+5 -5
View File
@@ -20,18 +20,18 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.5-0-x",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/rpc-augment": "9.10.5-0-x",
"@polkadot/rpc-provider": "9.10.5-0-x",
"@polkadot/types": "9.10.5-0-x",
"@polkadot/rpc-augment": "9.10.5",
"@polkadot/rpc-provider": "9.10.5",
"@polkadot/types": "9.10.5",
"@polkadot/util": "^10.2.1",
"rxjs": "^7.8.0"
},
"devDependencies": {
"@polkadot/keyring": "^10.2.1",
"@polkadot/rpc-augment": "9.10.5-0-x"
"@polkadot/rpc-augment": "9.10.5"
}
}
+3 -3
View File
@@ -20,13 +20,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.5-0-x",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/keyring": "^10.2.1",
"@polkadot/types": "9.10.5-0-x",
"@polkadot/types-support": "9.10.5-0-x",
"@polkadot/types": "9.10.5",
"@polkadot/types-support": "9.10.5",
"@polkadot/util": "^10.2.1",
"@polkadot/util-crypto": "^10.2.1",
"@polkadot/x-fetch": "^10.2.1",
+10 -10
View File
@@ -20,7 +20,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.5-0-x",
"version": "9.10.5",
"main": "index.js",
"bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
@@ -33,15 +33,15 @@
"@babel/core": "^7.20.5",
"@babel/register": "^7.18.9",
"@babel/runtime": "^7.20.6",
"@polkadot/api": "9.10.5-0-x",
"@polkadot/api-augment": "9.10.5-0-x",
"@polkadot/rpc-augment": "9.10.5-0-x",
"@polkadot/rpc-provider": "9.10.5-0-x",
"@polkadot/types": "9.10.5-0-x",
"@polkadot/types-augment": "9.10.5-0-x",
"@polkadot/types-codec": "9.10.5-0-x",
"@polkadot/types-create": "9.10.5-0-x",
"@polkadot/types-support": "9.10.5-0-x",
"@polkadot/api": "9.10.5",
"@polkadot/api-augment": "9.10.5",
"@polkadot/rpc-augment": "9.10.5",
"@polkadot/rpc-provider": "9.10.5",
"@polkadot/types": "9.10.5",
"@polkadot/types-augment": "9.10.5",
"@polkadot/types-codec": "9.10.5",
"@polkadot/types-create": "9.10.5",
"@polkadot/types-support": "9.10.5",
"@polkadot/util": "^10.2.1",
"@polkadot/util-crypto": "^10.2.1",
"@polkadot/x-ws": "^10.2.1",
+3 -3
View File
@@ -20,12 +20,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.5-0-x",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/types": "9.10.5-0-x",
"@polkadot/types-codec": "9.10.5-0-x",
"@polkadot/types": "9.10.5",
"@polkadot/types-codec": "9.10.5",
"@polkadot/util": "^10.2.1"
}
}
+4 -4
View File
@@ -20,7 +20,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.5-0-x",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
@@ -28,9 +28,9 @@
"@polkadot/x-bigint": "^10.2.1"
},
"devDependencies": {
"@polkadot/types": "9.10.5-0-x",
"@polkadot/types-augment": "9.10.5-0-x",
"@polkadot/types-support": "9.10.5-0-x",
"@polkadot/types": "9.10.5",
"@polkadot/types-augment": "9.10.5",
"@polkadot/types-support": "9.10.5",
"@polkadot/util-crypto": "^10.2.1"
}
}
+3 -3
View File
@@ -20,14 +20,14 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.5-0-x",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/types-codec": "9.10.5-0-x",
"@polkadot/types-codec": "9.10.5",
"@polkadot/util": "^10.2.1"
},
"devDependencies": {
"@polkadot/types": "9.10.5-0-x"
"@polkadot/types": "9.10.5"
}
}
+5 -5
View File
@@ -20,17 +20,17 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.5-0-x",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/networks": "^10.2.1",
"@polkadot/types": "9.10.5-0-x",
"@polkadot/types-codec": "9.10.5-0-x",
"@polkadot/types-create": "9.10.5-0-x",
"@polkadot/types": "9.10.5",
"@polkadot/types-codec": "9.10.5",
"@polkadot/types-create": "9.10.5",
"@polkadot/util": "^10.2.1"
},
"devDependencies": {
"@polkadot/api": "9.10.5-0-x"
"@polkadot/api": "9.10.5"
}
}
+1 -1
View File
@@ -20,7 +20,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.5-0-x",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
+5 -5
View File
@@ -20,20 +20,20 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.10.5-0-x",
"version": "9.10.5",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.6",
"@polkadot/keyring": "^10.2.1",
"@polkadot/types-augment": "9.10.5-0-x",
"@polkadot/types-codec": "9.10.5-0-x",
"@polkadot/types-create": "9.10.5-0-x",
"@polkadot/types-augment": "9.10.5",
"@polkadot/types-codec": "9.10.5",
"@polkadot/types-create": "9.10.5",
"@polkadot/util": "^10.2.1",
"@polkadot/util-crypto": "^10.2.1",
"rxjs": "^7.8.0"
},
"devDependencies": {
"@polkadot/keyring": "^10.2.1",
"@polkadot/types-support": "9.10.5-0-x"
"@polkadot/types-support": "9.10.5"
}
}
@@ -29,13 +29,6 @@ export default {
partialFee: 'Balance'
},
RuntimeDispatchInfoV1: {
// NOTE: Generally we always point high -> low, however in this case we do have some _potential_
// discrepancies where some nodes may not return the correct RPC responses. Basically any node that
// is on WeightV2 and does not yet include https://github.com/paritytech/substrate/pull/12633 would
// have unparsable results. So effectively this makes the API not fail in those cases, however it
// will create "some" chaos on the side of the users who does expect the correct response.
// TL:DR Somebody _will_ still break since in cases where the RPCs are "between fixes"
__fallback: 'RuntimeDispatchInfoV2',
weight: 'WeightV1',
class: 'DispatchClass',
partialFee: 'Balance'
@@ -74,11 +74,11 @@ export const runtime: DefinitionsCall = {
type: 'u32'
}
],
// NOTE: For some versions of the runtime which have not been corrected, there _could_ be a
// wrong reponse returned, i.e. RuntimeDispatchInfoV2. (See the comment applying to both
// RPC and state_call in definitions -> RuntimeDispatchInfoV1 for the fallbacks)
// TL;DR This is correct based on Substrate, but _may_ yield fallbacks on certain runtimes
type: 'RuntimeDispatchInfoV1'
// NOTE: _Should_ be V1 (as per current Substrate), however the interface was
// changed mid-flight between versions. So we have some of each depending on
// runtime. (We do detect the weight type, so correct)
// type: 'RuntimeDispatchInfoV1'
type: 'RuntimeDispatchInfo'
}
}, V1_V2_SHARED_PAY),
version: 1
@@ -120,7 +120,7 @@ export const runtime: DefinitionsCall = {
],
// NOTE: As per the above comment, the below is correct according to Substrate, but
// _may_ yield fallback decoding on some versions of the runtime
type: 'RuntimeDispatchInfoV1'
type: 'RuntimeDispatchInfo'
}
}, V1_V2_SHARED_CALL),
version: 1