10.2.2 (#5573)
This commit is contained in:
@@ -18,20 +18,20 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.2.2-4-x",
|
||||
"version": "10.2.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api": "10.2.2-4-x",
|
||||
"@polkadot/types": "10.2.2-4-x",
|
||||
"@polkadot/types-codec": "10.2.2-4-x",
|
||||
"@polkadot/types-create": "10.2.2-4-x",
|
||||
"@polkadot/api": "10.2.2",
|
||||
"@polkadot/types": "10.2.2",
|
||||
"@polkadot/types-codec": "10.2.2",
|
||||
"@polkadot/types-create": "10.2.2",
|
||||
"@polkadot/util": "^11.1.3",
|
||||
"@polkadot/util-crypto": "^11.1.3",
|
||||
"rxjs": "^7.8.0",
|
||||
"tslib": "^2.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "10.2.2-4-x",
|
||||
"@polkadot/api-augment": "10.2.2",
|
||||
"@polkadot/keyring": "^11.1.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,10 +27,10 @@ export function v4ToLatest (_registry: Registry, v4: ContractMetadataV4): Contra
|
||||
return v4;
|
||||
}
|
||||
|
||||
export const v3ToLatest = createConverter(v4ToLatest, v3ToV4);
|
||||
export const v2ToLatest = createConverter(v3ToLatest, v2ToV3);
|
||||
export const v1ToLatest = createConverter(v2ToLatest, v1ToV2);
|
||||
export const v0ToLatest = createConverter(v1ToLatest, v0ToV1);
|
||||
export const v3ToLatest = /*#__PURE__*/ createConverter(v4ToLatest, v3ToV4);
|
||||
export const v2ToLatest = /*#__PURE__*/ createConverter(v3ToLatest, v2ToV3);
|
||||
export const v1ToLatest = /*#__PURE__*/ createConverter(v2ToLatest, v1ToV2);
|
||||
export const v0ToLatest = /*#__PURE__*/ createConverter(v1ToLatest, v0ToV1);
|
||||
|
||||
export const convertVersions: [Versions, Converter][] = [
|
||||
['V4', v4ToLatest],
|
||||
|
||||
Reference in New Issue
Block a user