Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f07e1c45f | ||
|
|
39eff81207 | ||
|
|
19f3c5b16b | ||
|
|
cdd74ea084 | ||
|
|
54c96ed975 | ||
|
|
4e507246e3 |
@@ -1,5 +1,12 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## 10.7.3 May 28, 2023
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
|
||||||
|
- Ensure that `.paymentInfo` never mutates the underlying/existing signature
|
||||||
|
|
||||||
|
|
||||||
## 10.7.2 May 21, 2023
|
## 10.7.2 May 21, 2023
|
||||||
|
|
||||||
Contributed:
|
Contributed:
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
3464 Jaco 10.7.2 (#5652)
|
3467 Jaco 10.7.3 (#5660)
|
||||||
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
||||||
37 Keith Ingram Update contract types and rpc (#4541)
|
37 Keith Ingram Update contract types and rpc (#4541)
|
||||||
35 Stefanie Doll Updated child storage parameters (#1709)
|
35 Stefanie Doll Updated child storage parameters (#1709)
|
||||||
|
|||||||
+5
-5
@@ -14,10 +14,10 @@
|
|||||||
},
|
},
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.7.2",
|
"version": "10.7.3",
|
||||||
"versions": {
|
"versions": {
|
||||||
"git": "10.7.2",
|
"git": "10.7.3",
|
||||||
"npm": "10.7.2"
|
"npm": "10.7.3"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
@@ -40,9 +40,9 @@
|
|||||||
"test:one": "polkadot-dev-run-test --env node"
|
"test:one": "polkadot-dev-run-test --env node"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/dev": "^0.75.4",
|
"@polkadot/dev": "^0.75.10",
|
||||||
"@polkadot/typegen": "workspace:packages/typegen",
|
"@polkadot/typegen": "workspace:packages/typegen",
|
||||||
"@types/node": "^20.2.1"
|
"@types/node": "^20.2.5"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"typescript": "^5.0.4"
|
"typescript": "^5.0.4"
|
||||||
|
|||||||
@@ -18,14 +18,14 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.7.2",
|
"version": "10.7.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api-base": "10.7.2",
|
"@polkadot/api-base": "10.7.3",
|
||||||
"@polkadot/rpc-augment": "10.7.2",
|
"@polkadot/rpc-augment": "10.7.3",
|
||||||
"@polkadot/types": "10.7.2",
|
"@polkadot/types": "10.7.3",
|
||||||
"@polkadot/types-augment": "10.7.2",
|
"@polkadot/types-augment": "10.7.3",
|
||||||
"@polkadot/types-codec": "10.7.2",
|
"@polkadot/types-codec": "10.7.3",
|
||||||
"@polkadot/util": "^12.2.1",
|
"@polkadot/util": "^12.2.1",
|
||||||
"tslib": "^2.5.2"
|
"tslib": "^2.5.2"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '10.7.2' };
|
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '10.7.3' };
|
||||||
|
|||||||
@@ -18,11 +18,11 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.7.2",
|
"version": "10.7.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/rpc-core": "10.7.2",
|
"@polkadot/rpc-core": "10.7.3",
|
||||||
"@polkadot/types": "10.7.2",
|
"@polkadot/types": "10.7.3",
|
||||||
"@polkadot/util": "^12.2.1",
|
"@polkadot/util": "^12.2.1",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.5.2"
|
"tslib": "^2.5.2"
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '10.7.2' };
|
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '10.7.3' };
|
||||||
|
|||||||
@@ -18,20 +18,20 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.7.2",
|
"version": "10.7.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api": "10.7.2",
|
"@polkadot/api": "10.7.3",
|
||||||
"@polkadot/types": "10.7.2",
|
"@polkadot/types": "10.7.3",
|
||||||
"@polkadot/types-codec": "10.7.2",
|
"@polkadot/types-codec": "10.7.3",
|
||||||
"@polkadot/types-create": "10.7.2",
|
"@polkadot/types-create": "10.7.3",
|
||||||
"@polkadot/util": "^12.2.1",
|
"@polkadot/util": "^12.2.1",
|
||||||
"@polkadot/util-crypto": "^12.2.1",
|
"@polkadot/util-crypto": "^12.2.1",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.5.2"
|
"tslib": "^2.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api-augment": "10.7.2",
|
"@polkadot/api-augment": "10.7.3",
|
||||||
"@polkadot/keyring": "^12.2.1"
|
"@polkadot/keyring": "^12.2.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '10.7.2' };
|
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '10.7.3' };
|
||||||
|
|||||||
@@ -18,25 +18,25 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.7.2",
|
"version": "10.7.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api": "10.7.2",
|
"@polkadot/api": "10.7.3",
|
||||||
"@polkadot/api-augment": "10.7.2",
|
"@polkadot/api-augment": "10.7.3",
|
||||||
"@polkadot/api-base": "10.7.2",
|
"@polkadot/api-base": "10.7.3",
|
||||||
"@polkadot/rpc-core": "10.7.2",
|
"@polkadot/rpc-core": "10.7.3",
|
||||||
"@polkadot/types": "10.7.2",
|
"@polkadot/types": "10.7.3",
|
||||||
"@polkadot/types-codec": "10.7.2",
|
"@polkadot/types-codec": "10.7.3",
|
||||||
"@polkadot/util": "^12.2.1",
|
"@polkadot/util": "^12.2.1",
|
||||||
"@polkadot/util-crypto": "^12.2.1",
|
"@polkadot/util-crypto": "^12.2.1",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.5.2"
|
"tslib": "^2.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api": "10.7.2",
|
"@polkadot/api": "10.7.3",
|
||||||
"@polkadot/api-augment": "10.7.2",
|
"@polkadot/api-augment": "10.7.3",
|
||||||
"@polkadot/rpc-augment": "10.7.2",
|
"@polkadot/rpc-augment": "10.7.3",
|
||||||
"@polkadot/rpc-provider": "10.7.2",
|
"@polkadot/rpc-provider": "10.7.3",
|
||||||
"@polkadot/types-support": "10.7.2"
|
"@polkadot/types-support": "10.7.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '10.7.2' };
|
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '10.7.3' };
|
||||||
|
|||||||
+14
-14
@@ -18,21 +18,21 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.7.2",
|
"version": "10.7.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api-augment": "10.7.2",
|
"@polkadot/api-augment": "10.7.3",
|
||||||
"@polkadot/api-base": "10.7.2",
|
"@polkadot/api-base": "10.7.3",
|
||||||
"@polkadot/api-derive": "10.7.2",
|
"@polkadot/api-derive": "10.7.3",
|
||||||
"@polkadot/keyring": "^12.2.1",
|
"@polkadot/keyring": "^12.2.1",
|
||||||
"@polkadot/rpc-augment": "10.7.2",
|
"@polkadot/rpc-augment": "10.7.3",
|
||||||
"@polkadot/rpc-core": "10.7.2",
|
"@polkadot/rpc-core": "10.7.3",
|
||||||
"@polkadot/rpc-provider": "10.7.2",
|
"@polkadot/rpc-provider": "10.7.3",
|
||||||
"@polkadot/types": "10.7.2",
|
"@polkadot/types": "10.7.3",
|
||||||
"@polkadot/types-augment": "10.7.2",
|
"@polkadot/types-augment": "10.7.3",
|
||||||
"@polkadot/types-codec": "10.7.2",
|
"@polkadot/types-codec": "10.7.3",
|
||||||
"@polkadot/types-create": "10.7.2",
|
"@polkadot/types-create": "10.7.3",
|
||||||
"@polkadot/types-known": "10.7.2",
|
"@polkadot/types-known": "10.7.3",
|
||||||
"@polkadot/util": "^12.2.1",
|
"@polkadot/util": "^12.2.1",
|
||||||
"@polkadot/util-crypto": "^12.2.1",
|
"@polkadot/util-crypto": "^12.2.1",
|
||||||
"eventemitter3": "^5.0.1",
|
"eventemitter3": "^5.0.1",
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
"tslib": "^2.5.2"
|
"tslib": "^2.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api-augment": "10.7.2",
|
"@polkadot/api-augment": "10.7.3",
|
||||||
"@polkadot/types-support": "10.7.2"
|
"@polkadot/types-support": "10.7.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '10.7.2' };
|
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '10.7.3' };
|
||||||
|
|||||||
@@ -160,9 +160,11 @@ export function createClass <ApiType extends ApiTypes> ({ api, apiType, blockHas
|
|||||||
// setup our options (same way as in signAndSend)
|
// setup our options (same way as in signAndSend)
|
||||||
const eraOptions = makeEraOptions(api, this.registry, allOptions, signingInfo);
|
const eraOptions = makeEraOptions(api, this.registry, allOptions, signingInfo);
|
||||||
const signOptions = makeSignOptions(api, eraOptions, {});
|
const signOptions = makeSignOptions(api, eraOptions, {});
|
||||||
const u8a = this.isSigned
|
|
||||||
? api.tx(this).signFake(address, signOptions).toU8a()
|
// 1. Don't use the internal objects inside the new tx (hence toU8a)
|
||||||
: this.signFake(address, signOptions).toU8a();
|
// 2. Don't override the data from existing signed extrinsics
|
||||||
|
// 3. Ensure that this object stays intact, with no new sign after operation
|
||||||
|
const u8a = api.tx(this.toU8a()).signFake(address, signOptions).toU8a();
|
||||||
|
|
||||||
return api.call.transactionPaymentApi.queryInfo(u8a, u8a.length);
|
return api.call.transactionPaymentApi.queryInfo(u8a, u8a.length);
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -18,12 +18,12 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.7.2",
|
"version": "10.7.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/rpc-core": "10.7.2",
|
"@polkadot/rpc-core": "10.7.3",
|
||||||
"@polkadot/types": "10.7.2",
|
"@polkadot/types": "10.7.3",
|
||||||
"@polkadot/types-codec": "10.7.2",
|
"@polkadot/types-codec": "10.7.3",
|
||||||
"@polkadot/util": "^12.2.1",
|
"@polkadot/util": "^12.2.1",
|
||||||
"tslib": "^2.5.2"
|
"tslib": "^2.5.2"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '10.7.2' };
|
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '10.7.3' };
|
||||||
|
|||||||
@@ -18,18 +18,18 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.7.2",
|
"version": "10.7.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/rpc-augment": "10.7.2",
|
"@polkadot/rpc-augment": "10.7.3",
|
||||||
"@polkadot/rpc-provider": "10.7.2",
|
"@polkadot/rpc-provider": "10.7.3",
|
||||||
"@polkadot/types": "10.7.2",
|
"@polkadot/types": "10.7.3",
|
||||||
"@polkadot/util": "^12.2.1",
|
"@polkadot/util": "^12.2.1",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.5.2"
|
"tslib": "^2.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^12.2.1",
|
"@polkadot/keyring": "^12.2.1",
|
||||||
"@polkadot/rpc-augment": "10.7.2"
|
"@polkadot/rpc-augment": "10.7.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '10.7.2' };
|
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '10.7.3' };
|
||||||
|
|||||||
@@ -18,12 +18,12 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.7.2",
|
"version": "10.7.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/keyring": "^12.2.1",
|
"@polkadot/keyring": "^12.2.1",
|
||||||
"@polkadot/types": "10.7.2",
|
"@polkadot/types": "10.7.3",
|
||||||
"@polkadot/types-support": "10.7.2",
|
"@polkadot/types-support": "10.7.3",
|
||||||
"@polkadot/util": "^12.2.1",
|
"@polkadot/util": "^12.2.1",
|
||||||
"@polkadot/util-crypto": "^12.2.1",
|
"@polkadot/util-crypto": "^12.2.1",
|
||||||
"@polkadot/x-fetch": "^12.2.1",
|
"@polkadot/x-fetch": "^12.2.1",
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '10.7.2' };
|
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '10.7.3' };
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.7.2",
|
"version": "10.7.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
|
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
|
||||||
@@ -28,15 +28,15 @@
|
|||||||
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
|
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api": "10.7.2",
|
"@polkadot/api": "10.7.3",
|
||||||
"@polkadot/api-augment": "10.7.2",
|
"@polkadot/api-augment": "10.7.3",
|
||||||
"@polkadot/rpc-augment": "10.7.2",
|
"@polkadot/rpc-augment": "10.7.3",
|
||||||
"@polkadot/rpc-provider": "10.7.2",
|
"@polkadot/rpc-provider": "10.7.3",
|
||||||
"@polkadot/types": "10.7.2",
|
"@polkadot/types": "10.7.3",
|
||||||
"@polkadot/types-augment": "10.7.2",
|
"@polkadot/types-augment": "10.7.3",
|
||||||
"@polkadot/types-codec": "10.7.2",
|
"@polkadot/types-codec": "10.7.3",
|
||||||
"@polkadot/types-create": "10.7.2",
|
"@polkadot/types-create": "10.7.3",
|
||||||
"@polkadot/types-support": "10.7.2",
|
"@polkadot/types-support": "10.7.3",
|
||||||
"@polkadot/util": "^12.2.1",
|
"@polkadot/util": "^12.2.1",
|
||||||
"@polkadot/util-crypto": "^12.2.1",
|
"@polkadot/util-crypto": "^12.2.1",
|
||||||
"@polkadot/x-ws": "^12.2.1",
|
"@polkadot/x-ws": "^12.2.1",
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '10.7.2' };
|
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '10.7.3' };
|
||||||
|
|||||||
@@ -18,11 +18,11 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.7.2",
|
"version": "10.7.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/types": "10.7.2",
|
"@polkadot/types": "10.7.3",
|
||||||
"@polkadot/types-codec": "10.7.2",
|
"@polkadot/types-codec": "10.7.3",
|
||||||
"@polkadot/util": "^12.2.1",
|
"@polkadot/util": "^12.2.1",
|
||||||
"tslib": "^2.5.2"
|
"tslib": "^2.5.2"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '10.7.2' };
|
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '10.7.3' };
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.7.2",
|
"version": "10.7.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/util": "^12.2.1",
|
"@polkadot/util": "^12.2.1",
|
||||||
@@ -26,9 +26,9 @@
|
|||||||
"tslib": "^2.5.2"
|
"tslib": "^2.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/types": "10.7.2",
|
"@polkadot/types": "10.7.3",
|
||||||
"@polkadot/types-augment": "10.7.2",
|
"@polkadot/types-augment": "10.7.3",
|
||||||
"@polkadot/types-support": "10.7.2",
|
"@polkadot/types-support": "10.7.3",
|
||||||
"@polkadot/util-crypto": "^12.2.1"
|
"@polkadot/util-crypto": "^12.2.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '10.7.2' };
|
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '10.7.3' };
|
||||||
|
|||||||
@@ -18,14 +18,14 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.7.2",
|
"version": "10.7.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/types-codec": "10.7.2",
|
"@polkadot/types-codec": "10.7.3",
|
||||||
"@polkadot/util": "^12.2.1",
|
"@polkadot/util": "^12.2.1",
|
||||||
"tslib": "^2.5.2"
|
"tslib": "^2.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/types": "10.7.2"
|
"@polkadot/types": "10.7.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '10.7.2' };
|
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '10.7.3' };
|
||||||
|
|||||||
@@ -18,17 +18,17 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.7.2",
|
"version": "10.7.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/networks": "^12.2.1",
|
"@polkadot/networks": "^12.2.1",
|
||||||
"@polkadot/types": "10.7.2",
|
"@polkadot/types": "10.7.3",
|
||||||
"@polkadot/types-codec": "10.7.2",
|
"@polkadot/types-codec": "10.7.3",
|
||||||
"@polkadot/types-create": "10.7.2",
|
"@polkadot/types-create": "10.7.3",
|
||||||
"@polkadot/util": "^12.2.1",
|
"@polkadot/util": "^12.2.1",
|
||||||
"tslib": "^2.5.2"
|
"tslib": "^2.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api": "10.7.2"
|
"@polkadot/api": "10.7.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '10.7.2' };
|
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '10.7.3' };
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.7.2",
|
"version": "10.7.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/util": "^12.2.1",
|
"@polkadot/util": "^12.2.1",
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '10.7.2' };
|
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '10.7.3' };
|
||||||
|
|||||||
@@ -18,13 +18,13 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.7.2",
|
"version": "10.7.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/keyring": "^12.2.1",
|
"@polkadot/keyring": "^12.2.1",
|
||||||
"@polkadot/types-augment": "10.7.2",
|
"@polkadot/types-augment": "10.7.3",
|
||||||
"@polkadot/types-codec": "10.7.2",
|
"@polkadot/types-codec": "10.7.3",
|
||||||
"@polkadot/types-create": "10.7.2",
|
"@polkadot/types-create": "10.7.3",
|
||||||
"@polkadot/util": "^12.2.1",
|
"@polkadot/util": "^12.2.1",
|
||||||
"@polkadot/util-crypto": "^12.2.1",
|
"@polkadot/util-crypto": "^12.2.1",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
@@ -32,6 +32,6 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^12.2.1",
|
"@polkadot/keyring": "^12.2.1",
|
||||||
"@polkadot/types-support": "10.7.2"
|
"@polkadot/types-support": "10.7.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ export class GenericExtrinsicV4 extends Struct implements IExtrinsicImpl {
|
|||||||
public static decodeExtrinsic (registry: Registry, value?: Call | Uint8Array | ExtrinsicValueV4, isSigned = false): ExtrinsicValueV4 {
|
public static decodeExtrinsic (registry: Registry, value?: Call | Uint8Array | ExtrinsicValueV4, isSigned = false): ExtrinsicValueV4 {
|
||||||
if (value instanceof GenericExtrinsicV4) {
|
if (value instanceof GenericExtrinsicV4) {
|
||||||
return value;
|
return value;
|
||||||
} else if (value instanceof registry.createClassUnsafe('Call')) {
|
} else if (value instanceof registry.createClassUnsafe<Call>('Call')) {
|
||||||
return { method: value as Call };
|
return { method: value };
|
||||||
} else if (isU8a(value)) {
|
} else if (isU8a(value)) {
|
||||||
// here we decode manually since we need to pull through the version information
|
// here we decode manually since we need to pull through the version information
|
||||||
const signature = registry.createTypeUnsafe<ExtrinsicSignatureV4>('ExtrinsicSignatureV4', [value, { isSigned }]);
|
const signature = registry.createTypeUnsafe<ExtrinsicSignatureV4>('ExtrinsicSignatureV4', [value, { isSigned }]);
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '10.7.2' };
|
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '10.7.3' };
|
||||||
|
|||||||
Reference in New Issue
Block a user