* 6.4.1

* 6.4.0  version bump

* CHANGELOG
This commit is contained in:
Jaco
2021-10-17 21:10:42 +03:00
committed by GitHub
parent 4c776c260d
commit cc3f258a5b
14 changed files with 81 additions and 73 deletions
+11 -1
View File
@@ -1,13 +1,23 @@
# CHANGELOG
## master
## 6.4.1 Oct 17, 2021
Upgrade priority: Low. Recommended for Kusama & Polkadot runtime 9110+
Changes:
- Adjust Statemint known types for version 4+
- Adjust balance derives to return multiple vesting schedules
- Adjust crowdloan derives to use paged key retrieval
- Ensure account indices (derived) are `Accountindex` types
- Adjust metadata v14 to include top-level type field from metadata
- Filter metadata v14 unused enum fields in TS generation
- Adjust derives to use more metadata v14 types on returns
- Add Kusama & Polkadot upgrade blocks for 9100/9110
- Align contract usage with latrest `PortableRegistry` (remove old-generation)
- Adjust contracts `InstantiateReturnValue` type (no rent projection after 267)
- Adjust for eslint v8 checks
- Don't run any online tests on CI by default (uncontrolled external dependencies)
## 6.3.1 Oct 9, 2021
+1 -1
View File
@@ -35,6 +35,6 @@
"@types/jest": "^27.0.2",
"copyfiles": "^2.4.1"
},
"version": "6.3.2-19",
"version": "6.4.0",
"packageManager": "yarn@3.0.1"
}
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-contract",
"version": "6.3.2-19",
"version": "6.4.0",
"type": "module",
"description": "Interfaces for interacting with contracts and contract ABIs",
"main": "index.js",
@@ -20,8 +20,8 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/api": "6.3.2-19",
"@polkadot/types": "6.3.2-19",
"@polkadot/api": "6.4.0",
"@polkadot/types": "6.4.0",
"@polkadot/util": "^7.5.1",
"rxjs": "^7.4.0"
}
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-derive",
"version": "6.3.2-19",
"version": "6.4.0",
"type": "module",
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
"main": "index.js",
@@ -20,15 +20,15 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/api": "6.3.2-19",
"@polkadot/rpc-core": "6.3.2-19",
"@polkadot/types": "6.3.2-19",
"@polkadot/api": "6.4.0",
"@polkadot/rpc-core": "6.4.0",
"@polkadot/types": "6.4.0",
"@polkadot/util": "^7.5.1",
"@polkadot/util-crypto": "^7.5.1",
"rxjs": "^7.4.0"
},
"devDependencies": {
"@polkadot/keyring": "^7.5.1",
"@polkadot/rpc-provider": "6.3.2-19"
"@polkadot/rpc-provider": "6.4.0"
}
}
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api",
"version": "6.3.2-19",
"version": "6.4.0",
"type": "module",
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
"main": "index.js",
@@ -20,12 +20,12 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/api-derive": "6.3.2-19",
"@polkadot/api-derive": "6.4.0",
"@polkadot/keyring": "^7.5.1",
"@polkadot/rpc-core": "6.3.2-19",
"@polkadot/rpc-provider": "6.3.2-19",
"@polkadot/types": "6.3.2-19",
"@polkadot/types-known": "6.3.2-19",
"@polkadot/rpc-core": "6.4.0",
"@polkadot/rpc-provider": "6.4.0",
"@polkadot/types": "6.4.0",
"@polkadot/types-known": "6.4.0",
"@polkadot/util": "^7.5.1",
"@polkadot/util-crypto": "^7.5.1",
"eventemitter3": "^4.0.7",
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-core",
"version": "6.3.2-19",
"version": "6.4.0",
"type": "module",
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
"main": "index.js",
@@ -20,8 +20,8 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/rpc-provider": "6.3.2-19",
"@polkadot/types": "6.3.2-19",
"@polkadot/rpc-provider": "6.4.0",
"@polkadot/types": "6.4.0",
"@polkadot/util": "^7.5.1",
"rxjs": "^7.4.0"
},
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-provider",
"version": "6.3.2-19",
"version": "6.4.0",
"type": "module",
"description": "Transport providers for the API",
"main": "index.js",
@@ -20,7 +20,7 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/types": "6.3.2-19",
"@polkadot/types": "6.4.0",
"@polkadot/util": "^7.5.1",
"@polkadot/util-crypto": "^7.5.1",
"@polkadot/x-fetch": "^7.5.1",
@@ -30,7 +30,7 @@
},
"devDependencies": {
"@polkadot/keyring": "^7.5.1",
"@polkadot/types": "6.3.2-19",
"@polkadot/types": "6.4.0",
"mock-socket": "^9.0.5",
"nock": "^13.1.3"
}
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/typegen",
"version": "6.3.2-19",
"version": "6.4.0",
"type": "module",
"description": "Type generation scripts",
"main": "index.js",
@@ -29,10 +29,10 @@
"@babel/core": "^7.15.8",
"@babel/register": "^7.15.3",
"@babel/runtime": "^7.15.4",
"@polkadot/api": "6.3.2-19",
"@polkadot/rpc-provider": "6.3.2-19",
"@polkadot/types": "6.3.2-19",
"@polkadot/types-support": "6.3.2-19",
"@polkadot/api": "6.4.0",
"@polkadot/rpc-provider": "6.4.0",
"@polkadot/types": "6.4.0",
"@polkadot/types-support": "6.4.0",
"@polkadot/util": "^7.5.1",
"handlebars": "^4.7.7",
"websocket": "^1.0.34",
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types-known",
"version": "6.3.2-19",
"version": "6.4.0",
"type": "module",
"description": "Known type definitions",
"main": "index.js",
@@ -21,7 +21,7 @@
"dependencies": {
"@babel/runtime": "^7.15.4",
"@polkadot/networks": "^7.5.1",
"@polkadot/types": "6.3.2-19",
"@polkadot/types": "6.4.0",
"@polkadot/util": "^7.5.1"
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types-support",
"version": "6.3.2-19",
"version": "6.4.0",
"type": "module",
"description": "Supporting files for types, mostly for testing",
"main": "index.js",
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types",
"version": "6.3.2-19",
"version": "6.4.0",
"type": "module",
"description": "Implementation of the Parity codec",
"main": "index.js",
@@ -26,7 +26,7 @@
},
"devDependencies": {
"@polkadot/keyring": "^7.5.1",
"@polkadot/types-support": "6.3.2-19",
"@polkadot/types-support": "6.4.0",
"@types/bn.js": "^4.11.6",
"bn.js": "^4.12.0"
}
+6 -7
View File
@@ -848,11 +848,10 @@ export interface XcmOrderV1 extends Enum {
} & Struct;
readonly isBuyExecution: boolean;
readonly asBuyExecution: {
readonly fees: MultiAsset;
readonly fees: MultiAssetV1;
readonly weight: u64;
readonly debt: u64;
readonly haltOnError: bool;
readonly orders: Vec<XcmOrderV1>;
readonly instructions: Vec<XcmV1>;
} & Struct;
}
@@ -947,17 +946,17 @@ export interface XcmV0 extends Enum {
export interface XcmV1 extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
readonly Vassets: MultiAssetsV1;
readonly assets: MultiAssetsV1;
readonly effects: Vec<XcmOrderV1>;
} & Struct;
readonly isReserveAssetDeposit: boolean;
readonly asReserveAssetDeposit: {
readonly Vassets: MultiAssetsV1;
readonly assets: MultiAssetsV1;
readonly effects: Vec<XcmOrderV1>;
} & Struct;
readonly isReceiveTeleportedAsset: boolean;
readonly asReceiveTeleportedAsset: {
readonly Vassets: MultiAssetsV1;
readonly assets: MultiAssetsV1;
readonly effects: Vec<XcmOrderV1>;
} & Struct;
readonly isQueryResponse: boolean;
@@ -967,12 +966,12 @@ export interface XcmV1 extends Enum {
} & Struct;
readonly isTransferAsset: boolean;
readonly asTransferAsset: {
readonly Vassets: MultiAssetsV1;
readonly assets: MultiAssetsV1;
readonly dest: MultiLocationV1;
} & Struct;
readonly isTransferReserveAsset: boolean;
readonly asTransferReserveAsset: {
readonly Vassets: MultiAssetsV1;
readonly assets: MultiAssetsV1;
readonly dest: MultiLocationV1;
readonly effects: Vec<XcmOrderV1>;
} & Struct;
+6 -7
View File
@@ -98,15 +98,15 @@ export const v1: DefinitionsTypes = {
XcmV1: {
_enum: {
WithdrawAsset: {
Vassets: 'MultiAssetsV1',
assets: 'MultiAssetsV1',
effects: 'Vec<XcmOrderV1>'
},
ReserveAssetDeposit: {
Vassets: 'MultiAssetsV1',
assets: 'MultiAssetsV1',
effects: 'Vec<XcmOrderV1>'
},
ReceiveTeleportedAsset: {
Vassets: 'MultiAssetsV1',
assets: 'MultiAssetsV1',
effects: 'Vec<XcmOrderV1>'
},
QueryResponse: {
@@ -114,11 +114,11 @@ export const v1: DefinitionsTypes = {
response: 'ResponseV1'
},
TransferAsset: {
Vassets: 'MultiAssetsV1',
assets: 'MultiAssetsV1',
dest: 'MultiLocationV1'
},
TransferReserveAsset: {
Vassets: 'MultiAssetsV1',
assets: 'MultiAssetsV1',
dest: 'MultiLocationV1',
effects: 'Vec<XcmOrderV1>'
},
@@ -213,11 +213,10 @@ export const v1: DefinitionsTypes = {
assets: 'MultiAssetFilterV1'
},
BuyExecution: {
fees: 'MultiAsset',
fees: 'MultiAssetV1',
weight: 'u64',
debt: 'u64',
haltOnError: 'bool',
orders: 'Vec<XcmOrderV1>',
instructions: 'Vec<XcmV1>'
}
}
+27 -27
View File
@@ -1833,40 +1833,40 @@ __metadata:
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
dependencies:
"@babel/runtime": ^7.15.4
"@polkadot/api": 6.3.2-19
"@polkadot/types": 6.3.2-19
"@polkadot/api": 6.4.0
"@polkadot/types": 6.4.0
"@polkadot/util": ^7.5.1
rxjs: ^7.4.0
languageName: unknown
linkType: soft
"@polkadot/api-derive@6.3.2-19, @polkadot/api-derive@workspace:packages/api-derive":
"@polkadot/api-derive@6.4.0, @polkadot/api-derive@workspace:packages/api-derive":
version: 0.0.0-use.local
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
dependencies:
"@babel/runtime": ^7.15.4
"@polkadot/api": 6.3.2-19
"@polkadot/api": 6.4.0
"@polkadot/keyring": ^7.5.1
"@polkadot/rpc-core": 6.3.2-19
"@polkadot/rpc-provider": 6.3.2-19
"@polkadot/types": 6.3.2-19
"@polkadot/rpc-core": 6.4.0
"@polkadot/rpc-provider": 6.4.0
"@polkadot/types": 6.4.0
"@polkadot/util": ^7.5.1
"@polkadot/util-crypto": ^7.5.1
rxjs: ^7.4.0
languageName: unknown
linkType: soft
"@polkadot/api@6.3.2-19, @polkadot/api@workspace:packages/api":
"@polkadot/api@6.4.0, @polkadot/api@workspace:packages/api":
version: 0.0.0-use.local
resolution: "@polkadot/api@workspace:packages/api"
dependencies:
"@babel/runtime": ^7.15.4
"@polkadot/api-derive": 6.3.2-19
"@polkadot/api-derive": 6.4.0
"@polkadot/keyring": ^7.5.1
"@polkadot/rpc-core": 6.3.2-19
"@polkadot/rpc-provider": 6.3.2-19
"@polkadot/types": 6.3.2-19
"@polkadot/types-known": 6.3.2-19
"@polkadot/rpc-core": 6.4.0
"@polkadot/rpc-provider": 6.4.0
"@polkadot/types": 6.4.0
"@polkadot/types-known": 6.4.0
"@polkadot/util": ^7.5.1
"@polkadot/util-crypto": ^7.5.1
eventemitter3: ^4.0.7
@@ -1991,26 +1991,26 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/rpc-core@6.3.2-19, @polkadot/rpc-core@workspace:packages/rpc-core":
"@polkadot/rpc-core@6.4.0, @polkadot/rpc-core@workspace:packages/rpc-core":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
dependencies:
"@babel/runtime": ^7.15.4
"@polkadot/keyring": ^7.5.1
"@polkadot/rpc-provider": 6.3.2-19
"@polkadot/types": 6.3.2-19
"@polkadot/rpc-provider": 6.4.0
"@polkadot/types": 6.4.0
"@polkadot/util": ^7.5.1
rxjs: ^7.4.0
languageName: unknown
linkType: soft
"@polkadot/rpc-provider@6.3.2-19, @polkadot/rpc-provider@workspace:packages/rpc-provider":
"@polkadot/rpc-provider@6.4.0, @polkadot/rpc-provider@workspace:packages/rpc-provider":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
dependencies:
"@babel/runtime": ^7.15.4
"@polkadot/keyring": ^7.5.1
"@polkadot/types": 6.3.2-19
"@polkadot/types": 6.4.0
"@polkadot/util": ^7.5.1
"@polkadot/util-crypto": ^7.5.1
"@polkadot/x-fetch": ^7.5.1
@@ -2038,10 +2038,10 @@ __metadata:
"@babel/core": ^7.15.8
"@babel/register": ^7.15.3
"@babel/runtime": ^7.15.4
"@polkadot/api": 6.3.2-19
"@polkadot/rpc-provider": 6.3.2-19
"@polkadot/types": 6.3.2-19
"@polkadot/types-support": 6.3.2-19
"@polkadot/api": 6.4.0
"@polkadot/rpc-provider": 6.4.0
"@polkadot/types": 6.4.0
"@polkadot/types-support": 6.4.0
"@polkadot/util": ^7.5.1
"@types/websocket": ^1.0.4
"@types/yargs": ^17.0.4
@@ -2057,18 +2057,18 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-known@6.3.2-19, @polkadot/types-known@workspace:packages/types-known":
"@polkadot/types-known@6.4.0, @polkadot/types-known@workspace:packages/types-known":
version: 0.0.0-use.local
resolution: "@polkadot/types-known@workspace:packages/types-known"
dependencies:
"@babel/runtime": ^7.15.4
"@polkadot/networks": ^7.5.1
"@polkadot/types": 6.3.2-19
"@polkadot/types": 6.4.0
"@polkadot/util": ^7.5.1
languageName: unknown
linkType: soft
"@polkadot/types-support@6.3.2-19, @polkadot/types-support@workspace:packages/types-support":
"@polkadot/types-support@6.4.0, @polkadot/types-support@workspace:packages/types-support":
version: 0.0.0-use.local
resolution: "@polkadot/types-support@workspace:packages/types-support"
dependencies:
@@ -2077,13 +2077,13 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types@6.3.2-19, @polkadot/types@workspace:packages/types":
"@polkadot/types@6.4.0, @polkadot/types@workspace:packages/types":
version: 0.0.0-use.local
resolution: "@polkadot/types@workspace:packages/types"
dependencies:
"@babel/runtime": ^7.15.4
"@polkadot/keyring": ^7.5.1
"@polkadot/types-support": 6.3.2-19
"@polkadot/types-support": 6.4.0
"@polkadot/util": ^7.5.1
"@polkadot/util-crypto": ^7.5.1
"@types/bn.js": ^4.11.6