@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/api-contract",
|
||||
"version": "2.9.2-13",
|
||||
"version": "2.10.0",
|
||||
"description": "Interfaces for interacting with contracts and contract ABIs",
|
||||
"main": "index.js",
|
||||
"sideEffects": false,
|
||||
@@ -17,8 +17,8 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/api": "2.9.2-13",
|
||||
"@polkadot/types": "2.9.2-13",
|
||||
"@polkadot/api": "2.10.0",
|
||||
"@polkadot/types": "2.10.0",
|
||||
"@polkadot/util": "^4.2.1",
|
||||
"bn.js": "^4.11.9",
|
||||
"rxjs": "^6.6.3"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/api-derive",
|
||||
"version": "2.9.2-13",
|
||||
"version": "2.10.0",
|
||||
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
|
||||
"main": "index.js",
|
||||
"sideEffects": false,
|
||||
@@ -18,9 +18,9 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/api": "2.9.2-13",
|
||||
"@polkadot/rpc-core": "2.9.2-13",
|
||||
"@polkadot/types": "2.9.2-13",
|
||||
"@polkadot/api": "2.10.0",
|
||||
"@polkadot/rpc-core": "2.10.0",
|
||||
"@polkadot/types": "2.10.0",
|
||||
"@polkadot/util": "^4.2.1",
|
||||
"@polkadot/util-crypto": "^4.2.1",
|
||||
"bn.js": "^4.11.9",
|
||||
@@ -29,6 +29,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^4.2.1",
|
||||
"@polkadot/rpc-provider": "2.9.2-13"
|
||||
"@polkadot/rpc-provider": "2.10.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ export function signingInfo (_instanceId: string, api: ApiInterfaceRx): (address
|
||||
map(([nonce, header]) => ({
|
||||
header,
|
||||
mortalLength: Math.min(
|
||||
FALLBACK_MAX_HASH_COUNT,
|
||||
api.consts.system?.blockHashCount?.toNumber() || FALLBACK_MAX_HASH_COUNT,
|
||||
MORTAL_PERIOD
|
||||
.div(api.consts.babe?.expectedBlockTime || api.consts.timestamp?.minimumPeriod.muln(2) || FALLBACK_PERIOD)
|
||||
.iadd(MAX_FINALITY_LAG)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/api",
|
||||
"version": "2.9.2-13",
|
||||
"version": "2.10.0",
|
||||
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
|
||||
"main": "index.js",
|
||||
"sideEffects": false,
|
||||
@@ -17,13 +17,13 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/api-derive": "2.9.2-13",
|
||||
"@polkadot/api-derive": "2.10.0",
|
||||
"@polkadot/keyring": "^4.2.1",
|
||||
"@polkadot/metadata": "2.9.2-13",
|
||||
"@polkadot/rpc-core": "2.9.2-13",
|
||||
"@polkadot/rpc-provider": "2.9.2-13",
|
||||
"@polkadot/types": "2.9.2-13",
|
||||
"@polkadot/types-known": "2.9.2-13",
|
||||
"@polkadot/metadata": "2.10.0",
|
||||
"@polkadot/rpc-core": "2.10.0",
|
||||
"@polkadot/rpc-provider": "2.10.0",
|
||||
"@polkadot/types": "2.10.0",
|
||||
"@polkadot/types-known": "2.10.0",
|
||||
"@polkadot/util": "^4.2.1",
|
||||
"@polkadot/util-crypto": "^4.2.1",
|
||||
"bn.js": "^4.11.9",
|
||||
|
||||
@@ -29,7 +29,7 @@ export function createClass <ApiType extends ApiTypes> ({ api, apiType, decorate
|
||||
// an instance of the base extrinsic for us to extend
|
||||
const ExtrinsicBase = api.registry.createClass('Extrinsic');
|
||||
|
||||
return class Submittable extends ExtrinsicBase implements SubmittableExtrinsic<ApiType> {
|
||||
class Submittable extends ExtrinsicBase implements SubmittableExtrinsic<ApiType> {
|
||||
readonly #ignoreStatusCb: boolean;
|
||||
|
||||
#transformResult: (input: ISubmittableResult) => ISubmittableResult = identity;
|
||||
@@ -309,5 +309,7 @@ export function createClass <ApiType extends ApiTypes> ({ api, apiType, decorate
|
||||
api.signer.update(updateId, status);
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
return Submittable;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/metadata",
|
||||
"version": "2.9.2-13",
|
||||
"version": "2.10.0",
|
||||
"description": "Helpers to extract information from runtime metadata",
|
||||
"main": "index.js",
|
||||
"sideEffects": false,
|
||||
@@ -16,8 +16,8 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/types": "2.9.2-13",
|
||||
"@polkadot/types-known": "2.9.2-13",
|
||||
"@polkadot/types": "2.10.0",
|
||||
"@polkadot/types-known": "2.10.0",
|
||||
"@polkadot/util": "^4.2.1",
|
||||
"@polkadot/util-crypto": "^4.2.1",
|
||||
"bn.js": "^4.11.9"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/rpc-core",
|
||||
"version": "2.9.2-13",
|
||||
"version": "2.10.0",
|
||||
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
|
||||
"main": "index.js",
|
||||
"sideEffects": false,
|
||||
@@ -17,9 +17,9 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/metadata": "2.9.2-13",
|
||||
"@polkadot/rpc-provider": "2.9.2-13",
|
||||
"@polkadot/types": "2.9.2-13",
|
||||
"@polkadot/metadata": "2.10.0",
|
||||
"@polkadot/rpc-provider": "2.10.0",
|
||||
"@polkadot/types": "2.10.0",
|
||||
"@polkadot/util": "^4.2.1",
|
||||
"memoizee": "^0.4.14",
|
||||
"rxjs": "^6.6.3"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/rpc-provider",
|
||||
"version": "2.9.2-13",
|
||||
"version": "2.10.0",
|
||||
"description": "Transport providers for the API",
|
||||
"main": "index.js",
|
||||
"sideEffects": false,
|
||||
@@ -17,7 +17,7 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/types": "2.9.2-13",
|
||||
"@polkadot/types": "2.10.0",
|
||||
"@polkadot/util": "^4.2.1",
|
||||
"@polkadot/util-crypto": "^4.2.1",
|
||||
"@polkadot/x-fetch": "^4.2.1",
|
||||
@@ -27,7 +27,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^4.2.1",
|
||||
"@polkadot/metadata": "2.9.2-13",
|
||||
"@polkadot/metadata": "2.10.0",
|
||||
"mock-socket": "^9.0.3",
|
||||
"nock": "^13.0.5"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/typegen",
|
||||
"version": "2.9.2-13",
|
||||
"version": "2.10.0",
|
||||
"description": "Type generation scripts",
|
||||
"main": "index.js",
|
||||
"sideEffects": false,
|
||||
@@ -26,10 +26,10 @@
|
||||
"@babel/core": "^7.12.9",
|
||||
"@babel/register": "^7.12.1",
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/api": "2.9.2-13",
|
||||
"@polkadot/metadata": "2.9.2-13",
|
||||
"@polkadot/rpc-provider": "2.9.2-13",
|
||||
"@polkadot/types": "2.9.2-13",
|
||||
"@polkadot/api": "2.10.0",
|
||||
"@polkadot/metadata": "2.10.0",
|
||||
"@polkadot/rpc-provider": "2.10.0",
|
||||
"@polkadot/types": "2.10.0",
|
||||
"@polkadot/util": "^4.2.1",
|
||||
"handlebars": "^4.7.6",
|
||||
"websocket": "^1.0.32",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/types-known",
|
||||
"version": "2.9.2-13",
|
||||
"version": "2.10.0",
|
||||
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
|
||||
"main": "index.js",
|
||||
"sideEffects": false,
|
||||
@@ -17,7 +17,7 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-known#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/types": "2.9.2-13",
|
||||
"@polkadot/types": "2.10.0",
|
||||
"@polkadot/util": "^4.2.1",
|
||||
"bn.js": "^4.11.9"
|
||||
},
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/types",
|
||||
"version": "2.9.2-13",
|
||||
"version": "2.10.0",
|
||||
"description": "Implementation of the Parity codec",
|
||||
"main": "index.js",
|
||||
"sideEffects": false,
|
||||
@@ -17,7 +17,7 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/metadata": "2.9.2-13",
|
||||
"@polkadot/metadata": "2.10.0",
|
||||
"@polkadot/util": "^4.2.1",
|
||||
"@polkadot/util-crypto": "^4.2.1",
|
||||
"@types/bn.js": "^4.11.6",
|
||||
|
||||
Reference in New Issue
Block a user