chore(deps): update kilt chain type definitions to v1 (#10850)

This commit is contained in:
Raphael Flechtner 2024-08-28 15:42:25 +02:00 committed by GitHub
parent 0cfa0056a6
commit baf248329a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 14972 additions and 21780 deletions

View File

@ -28,7 +28,7 @@
"@fragnova/api-augment": "0.1.0-spec-1.0.4-mainnet",
"@frequency-chain/api-augment": "1.11.1",
"@interlay/interbtc-types": "1.13.0",
"@kiltprotocol/type-definitions": "0.35.1",
"@kiltprotocol/type-definitions": "^1.11200.0",
"@laminar/type-definitions": "0.3.1",
"@logion/node-api": "0.27.0-4",
"@mangata-finance/type-definitions": "^2.1.2",

View File

@ -4,21 +4,10 @@
import type { OverrideBundleDefinition } from '@polkadot/types/types';
import cere from './cere.js';
import kilt from './kilt.js';
if (!kilt) {
throw new Error('Unable to retrieve kilt');
}
// NOTE: The mapping is done from chain name in system.chain
const chain: Record<string, OverrideBundleDefinition> = {
'Cere Mainnet Beta': cere,
'KILT Mashnet': kilt['KILT Mashnet'],
'KILT Peregrine': kilt['KILT Peregrine'],
'KILT Peregrine Develop': kilt['KILT Peregrine Develop'],
'KILT Peregrine Stagenet': kilt['KILT Peregrine Stagenet'],
'KILT Spiritnet': kilt['KILT Spiritnet'],
'KILT Spiritnet Develop': kilt['KILT Spiritnet Develop']
'Cere Mainnet Beta': cere
};
export default chain;

View File

@ -65,6 +65,7 @@ import jupiter from './jupiter.js';
import jupiterRococo from './jupiter-rococo.js';
import jur from './jur.js';
import khala from './khala.js';
import kilt from './kilt.js';
import konomi from './konomi.js';
import kpron from './kpron.js';
import kulupu from './kulupu.js';
@ -221,6 +222,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
'jur-node': jur,
kerria: parallel,
khala,
...kilt,
'kintsugi-parachain': interbtc,
konomi,
kpron,

View File

@ -3,8 +3,8 @@
import { typesBundle } from '@kiltprotocol/type-definitions';
if (!typesBundle.chain) {
throw new Error('Unable to find chain defintions');
if (!typesBundle.spec) {
throw new Error('Unable to find chain definitions');
}
export default typesBundle.chain;
export default typesBundle.spec;

File diff suppressed because it is too large Load Diff

View File

@ -583,10 +583,12 @@ __metadata:
languageName: node
linkType: hard
"@kiltprotocol/type-definitions@npm:0.35.1":
version: 0.35.1
resolution: "@kiltprotocol/type-definitions@npm:0.35.1"
checksum: 10/8534af75e75e72a812ae2265e00292c3103735ec77b03df765ab9aa3ae47062203f684aa7d0b6ca7e0c2ce13835ecd72a74aeb2e53bf0ff14f0f03a1b2f9fdbe
"@kiltprotocol/type-definitions@npm:^1.11200.0":
version: 1.11200.0
resolution: "@kiltprotocol/type-definitions@npm:1.11200.0"
peerDependencies:
"@polkadot/types": ^12.2.0
checksum: 10/f42517be177efb7e67ab3563c941c5cdb24162db4345b90cb3d9cae8069a5d981dd12f59870d28402ea22c69d1b3cc74bad99213324424f623994010883e7ba8
languageName: node
linkType: hard
@ -1783,7 +1785,7 @@ __metadata:
"@fragnova/api-augment": "npm:0.1.0-spec-1.0.4-mainnet"
"@frequency-chain/api-augment": "npm:1.11.1"
"@interlay/interbtc-types": "npm:1.13.0"
"@kiltprotocol/type-definitions": "npm:0.35.1"
"@kiltprotocol/type-definitions": "npm:^1.11200.0"
"@laminar/type-definitions": "npm:0.3.1"
"@logion/node-api": "npm:0.27.0-4"
"@mangata-finance/type-definitions": "npm:^2.1.2"