@polkadot/networks 12.4.1 → 12.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -46,6 +46,9 @@ exports.knownGenesis = {
46
46
  edgeware: [
47
47
  '0x742a2ca70c2fda6cee4f8df98d64c4c670a052d9568058982dad9d5a7a135c5b'
48
48
  ],
49
+ enjin: [
50
+ '0xd8761d3c88f26dc12875c00d3165f7d67243d56fc85b4cf19937601a7916e5a9'
51
+ ],
49
52
  equilibrium: [
50
53
  '0x6f1a800de3daff7f5e037ddf66ab22ce03ab91874debeddb1086f5f7dbd48925'
51
54
  ],
@@ -76,6 +79,9 @@ exports.knownGenesis = {
76
79
  '0xe3777fa922cafbff200cadeaea1a76bd7898ad5b89f7848999058b50e715f636',
77
80
  '0x3fd7b9eb6a00376e5be61f01abb429ffb0b104be05eaff4d458da48fcd425baf' // Kusama CC1
78
81
  ],
82
+ matrixchain: [
83
+ '0x3af4ff48ec76d2efc8476730f423ac07e25ad48f5f4c9dc39c778b164d808615'
84
+ ],
79
85
  nodle: [
80
86
  '0x97da7ede98d7bad4e36b4d734b6055425a3be036da2a332ea5a7037656427a21'
81
87
  ],
@@ -13,6 +13,7 @@ exports.knownLedger = {
13
13
  darwinia: 0x00000162,
14
14
  'dock-mainnet': 0x00000252,
15
15
  edgeware: 0x0000020b,
16
+ enjin: 0x00000483,
16
17
  equilibrium: 0x05f5e0fd,
17
18
  genshiro: 0x05f5e0fc,
18
19
  hydradx: 0x00000162,
@@ -20,6 +21,7 @@ exports.knownLedger = {
20
21
  karura: 0x000002ae,
21
22
  khala: 0x000001b2,
22
23
  kusama: 0x000001b2,
24
+ matrixchain: 0x00000483,
23
25
  nodle: 0x000003eb,
24
26
  origintrail: 0x00000162,
25
27
  parallel: 0x00000162,
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.packageInfo = void 0;
4
- exports.packageInfo = { name: '@polkadot/networks', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '12.4.1' };
4
+ exports.packageInfo = { name: '@polkadot/networks', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '12.5.1' };
@@ -43,6 +43,9 @@ export const knownGenesis = {
43
43
  edgeware: [
44
44
  '0x742a2ca70c2fda6cee4f8df98d64c4c670a052d9568058982dad9d5a7a135c5b'
45
45
  ],
46
+ enjin: [
47
+ '0xd8761d3c88f26dc12875c00d3165f7d67243d56fc85b4cf19937601a7916e5a9'
48
+ ],
46
49
  equilibrium: [
47
50
  '0x6f1a800de3daff7f5e037ddf66ab22ce03ab91874debeddb1086f5f7dbd48925'
48
51
  ],
@@ -73,6 +76,9 @@ export const knownGenesis = {
73
76
  '0xe3777fa922cafbff200cadeaea1a76bd7898ad5b89f7848999058b50e715f636',
74
77
  '0x3fd7b9eb6a00376e5be61f01abb429ffb0b104be05eaff4d458da48fcd425baf' // Kusama CC1
75
78
  ],
79
+ matrixchain: [
80
+ '0x3af4ff48ec76d2efc8476730f423ac07e25ad48f5f4c9dc39c778b164d808615'
81
+ ],
76
82
  nodle: [
77
83
  '0x97da7ede98d7bad4e36b4d734b6055425a3be036da2a332ea5a7037656427a21'
78
84
  ],
@@ -10,6 +10,7 @@ export const knownLedger = {
10
10
  darwinia: 0x00000162,
11
11
  'dock-mainnet': 0x00000252,
12
12
  edgeware: 0x0000020b,
13
+ enjin: 0x00000483,
13
14
  equilibrium: 0x05f5e0fd,
14
15
  genshiro: 0x05f5e0fc,
15
16
  hydradx: 0x00000162,
@@ -17,6 +18,7 @@ export const knownLedger = {
17
18
  karura: 0x000002ae,
18
19
  khala: 0x000001b2,
19
20
  kusama: 0x000001b2,
21
+ matrixchain: 0x00000483,
20
22
  nodle: 0x000003eb,
21
23
  origintrail: 0x00000162,
22
24
  parallel: 0x00000162,
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "sideEffects": false,
17
17
  "type": "module",
18
- "version": "12.4.1",
18
+ "version": "12.5.1",
19
19
  "main": "./cjs/index.js",
20
20
  "module": "./index.js",
21
21
  "types": "./index.d.ts",
@@ -100,8 +100,8 @@
100
100
  }
101
101
  },
102
102
  "dependencies": {
103
- "@polkadot/util": "12.4.1",
103
+ "@polkadot/util": "12.5.1",
104
104
  "@substrate/ss58-registry": "^1.43.0",
105
- "tslib": "^2.6.1"
105
+ "tslib": "^2.6.2"
106
106
  }
107
107
  }
package/packageInfo.js CHANGED
@@ -1 +1 @@
1
- export const packageInfo = { name: '@polkadot/networks', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '12.4.1' };
1
+ export const packageInfo = { name: '@polkadot/networks', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '12.5.1' };
package/types.d.ts CHANGED
@@ -7,14 +7,21 @@ export type KnownGenesis = Record<string, HexString[]>;
7
7
  export type KnownSubstrate = RegistryEntry;
8
8
  export type KnownTestnet = Record<string, true>;
9
9
  export interface SubstrateNetwork extends KnownSubstrate {
10
+ /** The genesisHash for the chain */
10
11
  genesisHash: HexString[];
12
+ /** Does the chain has support for Ledger devices */
11
13
  hasLedgerSupport: boolean;
14
+ /** The IdentityIcon to use for the chain */
12
15
  icon: Icon;
16
+ /** Flag set when we don't include this chain */
13
17
  isIgnored: boolean;
18
+ /** Flag to indicate a testnet */
14
19
  isTestnet: boolean;
20
+ /** The Ledger-specific/required slip44 for the chain */
15
21
  slip44?: number | null;
16
22
  }
17
23
  export interface Network extends SubstrateNetwork {
24
+ /** The network assigned to this chain */
18
25
  network: string;
19
26
  }
20
27
  export interface Ss58Registry {