From 9fe50cd86f8e4ba239aacf645286eded019c6d7a Mon Sep 17 00:00:00 2001 From: Shunji Zhan Date: Fri, 10 May 2024 19:14:25 +0800 Subject: [PATCH] added missing types --- packages/api-derive/package.json | 4 ++-- packages/api/package.json | 6 +++--- packages/types/package.json | 2 +- packages/types/src/versioned.ts | 7 +++++++ 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index 038cc28..e0fe1b8 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -1,6 +1,6 @@ { "name": "@acala-network/api-derive", - "version": "6.1.1", + "version": "6.1.2", "description": "Additional polkadot.js derives for Acala Network", "author": "Acala Developers ", "license": "Apache-2.0", @@ -23,7 +23,7 @@ "main": "./dist/index.js", "types": "./dist/index.d.ts", "dependencies": { - "@acala-network/types": "6.1.1" + "@acala-network/types": "6.1.2" }, "peerDependencies": { "@polkadot/api": "^10.9.1" diff --git a/packages/api/package.json b/packages/api/package.json index 8fb21b6..2466d51 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@acala-network/api", - "version": "6.1.1", + "version": "6.1.2", "description": "Acala JS API", "author": "Acala Developers ", "license": "Apache-2.0", @@ -23,8 +23,8 @@ "publish:manual": "npm publish --tolerate-republish --access public" }, "dependencies": { - "@acala-network/api-derive": "6.1.1", - "@acala-network/types": "6.1.1" + "@acala-network/api-derive": "6.1.2", + "@acala-network/types": "6.1.2" }, "peerDependencies": { "@polkadot/api": "^10.9.1" diff --git a/packages/types/package.json b/packages/types/package.json index 7640536..2840c09 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@acala-network/types", - "version": "6.1.1", + "version": "6.1.2", "description": "Acala types for @polkadot/api", "author": "Acala Developers ", "license": "Apache-2.0", diff --git a/packages/types/src/versioned.ts b/packages/types/src/versioned.ts index 4afe82f..cad99ba 100644 --- a/packages/types/src/versioned.ts +++ b/packages/types/src/versioned.ts @@ -6,6 +6,13 @@ const sharedTypes = { RawSolution: 'RawSolutionWith16', Keys: 'SessionKeys1', Weight: 'WeightV1', + DispatchTime: { + _enum: { + At: 'BlockNumber', + After: 'BlockNumber', + }, + }, + CallOf: 'Call', }; const xcmV0 = {