Add node-template to known types (#2780)
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@
|
|||||||
"@babel/core": "^7.12.3",
|
"@babel/core": "^7.12.3",
|
||||||
"@babel/register": "^7.12.1",
|
"@babel/register": "^7.12.1",
|
||||||
"@babel/runtime": "^7.12.1",
|
"@babel/runtime": "^7.12.1",
|
||||||
"@polkadot/dev": "^0.59.5",
|
"@polkadot/dev": "^0.59.6",
|
||||||
"@polkadot/ts": "^0.3.51",
|
"@polkadot/ts": "^0.3.51",
|
||||||
"@polkadot/typegen": "workspace:packages/typegen",
|
"@polkadot/typegen": "workspace:packages/typegen",
|
||||||
"@types/jest": "^26.0.15",
|
"@types/jest": "^26.0.15",
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import { OverrideVersionedType } from '@polkadot/types/types';
|
|||||||
|
|
||||||
import centrifugeChain from './centrifuge-chain';
|
import centrifugeChain from './centrifuge-chain';
|
||||||
import kusama from './kusama';
|
import kusama from './kusama';
|
||||||
|
import nodeTemplate from './node-template';
|
||||||
import polkadot from './polkadot';
|
import polkadot from './polkadot';
|
||||||
import rococo from './rococo';
|
import rococo from './rococo';
|
||||||
import westend from './westend';
|
import westend from './westend';
|
||||||
@@ -13,6 +14,7 @@ import westend from './westend';
|
|||||||
const typesSpec: Record<string, OverrideVersionedType[]> = {
|
const typesSpec: Record<string, OverrideVersionedType[]> = {
|
||||||
'centrifuge-chain': centrifugeChain,
|
'centrifuge-chain': centrifugeChain,
|
||||||
kusama,
|
kusama,
|
||||||
|
'node-template': nodeTemplate,
|
||||||
polkadot,
|
polkadot,
|
||||||
rococo,
|
rococo,
|
||||||
westend
|
westend
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
// Copyright 2017-2020 @polkadot/types-known authors & contributors
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
import { OverrideVersionedType } from '@polkadot/types/types';
|
||||||
|
|
||||||
|
const versioned: OverrideVersionedType[] = [
|
||||||
|
{
|
||||||
|
minmax: [0, undefined],
|
||||||
|
types: {
|
||||||
|
Address: 'AccountId',
|
||||||
|
LookupSource: 'AccountId'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
export default versioned;
|
||||||
@@ -1764,9 +1764,9 @@ __metadata:
|
|||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/dev@npm:^0.59.5":
|
"@polkadot/dev@npm:^0.59.6":
|
||||||
version: 0.59.5
|
version: 0.59.6
|
||||||
resolution: "@polkadot/dev@npm:0.59.5"
|
resolution: "@polkadot/dev@npm:0.59.6"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/cli": ^7.12.1
|
"@babel/cli": ^7.12.1
|
||||||
"@babel/core": ^7.12.3
|
"@babel/core": ^7.12.3
|
||||||
@@ -1799,7 +1799,7 @@ __metadata:
|
|||||||
browserslist: ^4.14.5
|
browserslist: ^4.14.5
|
||||||
chalk: ^4.1.0
|
chalk: ^4.1.0
|
||||||
coveralls: ^3.1.0
|
coveralls: ^3.1.0
|
||||||
eslint: ^7.11.0
|
eslint: 7.11.0
|
||||||
eslint-config-standard: ^15.0.0
|
eslint-config-standard: ^15.0.0
|
||||||
eslint-import-resolver-node: ^0.3.4
|
eslint-import-resolver-node: ^0.3.4
|
||||||
eslint-plugin-header: ^3.1.0
|
eslint-plugin-header: ^3.1.0
|
||||||
@@ -1854,7 +1854,7 @@ __metadata:
|
|||||||
polkadot-exec-typedoc: scripts/polkadot-exec-typedoc.js
|
polkadot-exec-typedoc: scripts/polkadot-exec-typedoc.js
|
||||||
polkadot-exec-vuepress: scripts/polkadot-exec-vuepress.js
|
polkadot-exec-vuepress: scripts/polkadot-exec-vuepress.js
|
||||||
polkadot-exec-webpack: scripts/polkadot-exec-webpack.js
|
polkadot-exec-webpack: scripts/polkadot-exec-webpack.js
|
||||||
checksum: 0fd55bd4084876b5457f5180ce2730e87ddc960095e0a9de0517b2e8714571664cf12b340faf1d17cbd00930ec59491f8c6059a6f56610af9a1ca140bfe4b97d
|
checksum: bdd24c2327252ce6be1e44538ed4dadb94917780440291d6184c8073b38f2d6fead2b98a9ada9ff7bac32f4e8628467f391c8b3829bcc4fa2285b75b9b1e59cb
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -3639,9 +3639,9 @@ __metadata:
|
|||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"caniuse-lite@npm:^1.0.30001135":
|
"caniuse-lite@npm:^1.0.30001135":
|
||||||
version: 1.0.30001150
|
version: 1.0.30001151
|
||||||
resolution: "caniuse-lite@npm:1.0.30001150"
|
resolution: "caniuse-lite@npm:1.0.30001151"
|
||||||
checksum: ff8944b2ca6db465e9e878be38f66efad7f4a8cf06aea7c3d463b428649266f75b84dddd130fd3fd46841e160cfac3cfedbe40f3434f428ceaaa709ef6b8b2b1
|
checksum: 3acb52ac17034d7abe4468e66293c9e5597cb5f123bd8f86ea3b87e758112ac4259fdbc35f8f4cbf5477e385dd975f11031bfbf26f4cec64d64a0c567a430b58
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -5186,7 +5186,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"eslint@npm:^7.11.0":
|
"eslint@npm:7.11.0":
|
||||||
version: 7.11.0
|
version: 7.11.0
|
||||||
resolution: "eslint@npm:7.11.0"
|
resolution: "eslint@npm:7.11.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -10337,7 +10337,7 @@ fsevents@^1.2.7:
|
|||||||
"@babel/core": ^7.12.3
|
"@babel/core": ^7.12.3
|
||||||
"@babel/register": ^7.12.1
|
"@babel/register": ^7.12.1
|
||||||
"@babel/runtime": ^7.12.1
|
"@babel/runtime": ^7.12.1
|
||||||
"@polkadot/dev": ^0.59.5
|
"@polkadot/dev": ^0.59.6
|
||||||
"@polkadot/ts": ^0.3.51
|
"@polkadot/ts": ^0.3.51
|
||||||
"@polkadot/typegen": "workspace:packages/typegen"
|
"@polkadot/typegen": "workspace:packages/typegen"
|
||||||
"@types/jest": ^26.0.15
|
"@types/jest": ^26.0.15
|
||||||
|
|||||||
Reference in New Issue
Block a user