@polkadot/networks 10.1.11 → 10.1.13

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.
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.knownGenesis = void 0;
7
7
  // Copyright 2017-2022 @polkadot/networks authors & contributors
8
8
  // SPDX-License-Identifier: Apache-2.0
9
+
9
10
  // NOTE: In the case where the network was hard-spooned and multiple genesisHashes
10
11
  // are provided, it needs to be in reverse order, i.e. most-recent first, oldest
11
12
  // last. This make lookups for the current a simple genesisHash[0]
@@ -24,21 +25,30 @@ const knownGenesis = {
24
25
  edgeware: ['0x742a2ca70c2fda6cee4f8df98d64c4c670a052d9568058982dad9d5a7a135c5b'],
25
26
  equilibrium: ['0x6f1a800de3daff7f5e037ddf66ab22ce03ab91874debeddb1086f5f7dbd48925'],
26
27
  genshiro: ['0x9b8cefc0eb5c568b527998bdd76c184e2b76ae561be76e4667072230217ea243'],
27
- hydradx: ['0xafdc188f45c71dacbaa0b62e16a91f726c7b8699a9748cdf715459de6b7f366d', // HydraDX Parachain
28
- '0xd2a620c27ec5cbc5621ff9a522689895074f7cca0d08e7134a7804e1a3ba86fc', // Snakenet Gen3-1
29
- '0x10af6e84234477d84dc572bac0789813b254aa490767ed06fb9591191d1073f9', // Snakenet Gen3
30
- '0x3d75507dd46301767e601265791da1d9cb47b6ebc94e87347b635e5bf58bd047', // Snakenet Gen2
28
+ hydradx: ['0xafdc188f45c71dacbaa0b62e16a91f726c7b8699a9748cdf715459de6b7f366d',
29
+ // HydraDX Parachain
30
+ '0xd2a620c27ec5cbc5621ff9a522689895074f7cca0d08e7134a7804e1a3ba86fc',
31
+ // Snakenet Gen3-1
32
+ '0x10af6e84234477d84dc572bac0789813b254aa490767ed06fb9591191d1073f9',
33
+ // Snakenet Gen3
34
+ '0x3d75507dd46301767e601265791da1d9cb47b6ebc94e87347b635e5bf58bd047',
35
+ // Snakenet Gen2
31
36
  '0x0ed32bfcab4a83517fac88f2aa7cbc2f88d3ab93be9a12b6188a036bf8a943c2' // Snakenet Gen1
32
37
  ],
38
+
33
39
  'interlay-parachain': ['0xbf88efe70e9e0e916416e8bed61f2b45717f517d7f3523e33c7b001e5ffcbc72'],
34
40
  karura: ['0xbaf5aabe40646d11f0ee8abbdc64f4a4b7674925cba08e4a05ff9ebed6e2126b'],
35
41
  khala: ['0xd43540ba6d3eb4897c28a77d48cb5b729fea37603cbbfc7a86a73b72adb3be8d'],
36
42
  kulupu: ['0xf7a99d3cb92853d00d5275c971c132c074636256583fee53b3bbe60d7b8769ba'],
37
- kusama: ['0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe', // Kusama CC3,
38
- '0xe3777fa922cafbff200cadeaea1a76bd7898ad5b89f7848999058b50e715f636', // Kusama CC2
43
+ kusama: ['0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe',
44
+ // Kusama CC3,
45
+ '0xe3777fa922cafbff200cadeaea1a76bd7898ad5b89f7848999058b50e715f636',
46
+ // Kusama CC2
39
47
  '0x3fd7b9eb6a00376e5be61f01abb429ffb0b104be05eaff4d458da48fcd425baf' // Kusama CC1
40
48
  ],
49
+
41
50
  'nodle-para': ['0x97da7ede98d7bad4e36b4d734b6055425a3be036da2a332ea5a7037656427a21'],
51
+ origintrail: ['0xe7e0962324a3b86c83404dbea483f25fb5dab4c224791c81b756cfc948006174'],
42
52
  parallel: ['0xe61a41c53f5dcd0beb09df93b34402aada44cb05117b71059cce40a2723a4e97'],
43
53
  phala: ['0x1bb969d85965e4bb5a651abbedf21a54b6b31a21f66b5401cc3f1e286268d736'],
44
54
  picasso: ['0xe8e7f0f4c4f5a00720b4821dbfddefea7490bcf0b19009961cc46957984e2c1c'],
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.knownIcon = void 0;
7
7
  // Copyright 2017-2022 @polkadot/networks authors & contributors
8
8
  // SPDX-License-Identifier: Apache-2.0
9
+
9
10
  // these are icon overrides
10
11
  const knownIcon = {
11
12
  centrifuge: 'polkadot',
@@ -27,11 +27,7 @@ Object.defineProperty(exports, "knownTestnet", {
27
27
  return _testnets.knownTestnet;
28
28
  }
29
29
  });
30
-
31
30
  var _genesis = require("./genesis");
32
-
33
31
  var _icons = require("./icons");
34
-
35
32
  var _ledger = require("./ledger");
36
-
37
33
  var _testnets = require("./testnets");
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.knownLedger = void 0;
7
7
  // Copyright 2017-2022 @polkadot/networks authors & contributors
8
8
  // SPDX-License-Identifier: Apache-2.0
9
+
9
10
  // These match up with the keys of the ledgerApps object in the @polkadot/hw-ledger/defaults.ts
10
11
  // and maps to the known slip44 (minus the `0x8` hard derivation flag)
11
12
  //
@@ -29,6 +30,7 @@ const knownLedger = {
29
30
  khala: 0x000001b2,
30
31
  kusama: 0x000001b2,
31
32
  'nodle-para': 0x000003eb,
33
+ origintrail: 0x00000162,
32
34
  parallel: 0x00000162,
33
35
  phala: 0x00000162,
34
36
  polkadex: 0x0000031f,
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.knownTestnet = void 0;
7
7
  // Copyright 2017-2022 @polkadot/networks authors & contributors
8
8
  // SPDX-License-Identifier: Apache-2.0
9
+
9
10
  // testnets should not allow selection
10
11
  const knownTestnet = {
11
12
  '': true,
@@ -1,14 +1,12 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  var _util = require("@polkadot/util");
6
-
7
5
  var _detectOther = _interopRequireDefault(require("./detectOther"));
8
-
9
6
  var _packageInfo = require("./packageInfo");
10
-
11
7
  // Copyright 2017-2022 @polkadot/networks authors & contributors
12
8
  // SPDX-License-Identifier: Apache-2.0
9
+
13
10
  // Do not edit, auto-generated by @polkadot/dev
11
+
14
12
  (0, _util.detectPackage)(_packageInfo.packageInfo, null, _detectOther.default);
package/cjs/index.js CHANGED
@@ -12,9 +12,7 @@ Object.defineProperty(exports, "packageInfo", {
12
12
  return _packageInfo.packageInfo;
13
13
  }
14
14
  });
15
-
16
15
  var _interfaces = require("./interfaces");
17
-
18
16
  Object.keys(_interfaces).forEach(function (key) {
19
17
  if (key === "default" || key === "__esModule") return;
20
18
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -26,5 +24,4 @@ Object.keys(_interfaces).forEach(function (key) {
26
24
  }
27
25
  });
28
26
  });
29
-
30
27
  var _packageInfo = require("./packageInfo");
package/cjs/interfaces.js CHANGED
@@ -1,38 +1,36 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.selectableNetworks = exports.availableNetworks = exports.allNetworks = void 0;
9
-
10
8
  var _ss58Registry = _interopRequireDefault(require("@substrate/ss58-registry"));
11
-
12
9
  var _defaults = require("./defaults");
13
-
14
10
  // Copyright 2017-2022 @polkadot/networks authors & contributors
15
11
  // SPDX-License-Identifier: Apache-2.0
12
+
16
13
  // These are known prefixes that are not sorted
17
14
  const UNSORTED = [0, 2, 42];
18
15
  const TESTNETS = ['testnet'];
19
-
20
16
  function toExpanded(o) {
21
17
  const network = o.network || '';
22
18
  const nameParts = network.replace(/_/g, '-').split('-');
23
- const n = o; // ledger additions
19
+ const n = o;
24
20
 
21
+ // ledger additions
25
22
  n.slip44 = _defaults.knownLedger[network];
26
- n.hasLedgerSupport = !!n.slip44; // general items
23
+ n.hasLedgerSupport = !!n.slip44;
27
24
 
25
+ // general items
28
26
  n.genesisHash = _defaults.knownGenesis[network] || [];
29
- n.icon = _defaults.knownIcon[network] || 'substrate'; // filtering
27
+ n.icon = _defaults.knownIcon[network] || 'substrate';
30
28
 
29
+ // filtering
31
30
  n.isTestnet = !!_defaults.knownTestnet[network] || TESTNETS.includes(nameParts[nameParts.length - 1]);
32
31
  n.isIgnored = n.isTestnet || !(o.standardAccount && o.decimals && o.decimals.length && o.symbols && o.symbols.length) && o.prefix !== 42;
33
32
  return n;
34
33
  }
35
-
36
34
  function filterSelectable(_ref) {
37
35
  let {
38
36
  genesisHash,
@@ -40,27 +38,26 @@ function filterSelectable(_ref) {
40
38
  } = _ref;
41
39
  return !!genesisHash.length || prefix === 42;
42
40
  }
43
-
44
41
  function filterAvailable(n) {
45
42
  return !n.isIgnored && !!n.network;
46
43
  }
47
-
48
44
  function sortNetworks(a, b) {
49
45
  const isUnSortedA = UNSORTED.includes(a.prefix);
50
46
  const isUnSortedB = UNSORTED.includes(b.prefix);
51
47
  return isUnSortedA === isUnSortedB ? isUnSortedA ? 0 : a.displayName.localeCompare(b.displayName) : isUnSortedA ? -1 : 1;
52
- } // This is all the Substrate networks with our additional information
48
+ }
53
49
 
50
+ // This is all the Substrate networks with our additional information
51
+ const allNetworks = _ss58Registry.default.map(toExpanded);
54
52
 
55
- const allNetworks = _ss58Registry.default.map(toExpanded); // The list of available/claimed prefixes
53
+ // The list of available/claimed prefixes
56
54
  // - no testnets
57
55
  // - we only include those where we have a standardAccount
58
56
  // - sort by name, however we keep 0, 2, 42 first in the list
59
-
60
-
61
57
  exports.allNetworks = allNetworks;
62
- const availableNetworks = allNetworks.filter(filterAvailable).sort(sortNetworks); // A filtered list of those chains we have details about (genesisHashes)
58
+ const availableNetworks = allNetworks.filter(filterAvailable).sort(sortNetworks);
63
59
 
60
+ // A filtered list of those chains we have details about (genesisHashes)
64
61
  exports.availableNetworks = availableNetworks;
65
62
  const selectableNetworks = availableNetworks.filter(filterSelectable);
66
63
  exports.selectableNetworks = selectableNetworks;
@@ -6,11 +6,13 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.packageInfo = void 0;
7
7
  // Copyright 2017-2022 @polkadot/networks authors & contributors
8
8
  // SPDX-License-Identifier: Apache-2.0
9
+
9
10
  // Do not edit, auto-generated by @polkadot/dev
11
+
10
12
  const packageInfo = {
11
13
  name: '@polkadot/networks',
12
14
  path: typeof __dirname === 'string' ? __dirname : 'auto',
13
15
  type: 'cjs',
14
- version: '10.1.11'
16
+ version: '10.1.13'
15
17
  };
16
18
  exports.packageInfo = packageInfo;
@@ -1,5 +1,6 @@
1
1
  // Copyright 2017-2022 @polkadot/networks authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  // NOTE: In the case where the network was hard-spooned and multiple genesisHashes
4
5
  // are provided, it needs to be in reverse order, i.e. most-recent first, oldest
5
6
  // last. This make lookups for the current a simple genesisHash[0]
@@ -18,21 +19,30 @@ export const knownGenesis = {
18
19
  edgeware: ['0x742a2ca70c2fda6cee4f8df98d64c4c670a052d9568058982dad9d5a7a135c5b'],
19
20
  equilibrium: ['0x6f1a800de3daff7f5e037ddf66ab22ce03ab91874debeddb1086f5f7dbd48925'],
20
21
  genshiro: ['0x9b8cefc0eb5c568b527998bdd76c184e2b76ae561be76e4667072230217ea243'],
21
- hydradx: ['0xafdc188f45c71dacbaa0b62e16a91f726c7b8699a9748cdf715459de6b7f366d', // HydraDX Parachain
22
- '0xd2a620c27ec5cbc5621ff9a522689895074f7cca0d08e7134a7804e1a3ba86fc', // Snakenet Gen3-1
23
- '0x10af6e84234477d84dc572bac0789813b254aa490767ed06fb9591191d1073f9', // Snakenet Gen3
24
- '0x3d75507dd46301767e601265791da1d9cb47b6ebc94e87347b635e5bf58bd047', // Snakenet Gen2
22
+ hydradx: ['0xafdc188f45c71dacbaa0b62e16a91f726c7b8699a9748cdf715459de6b7f366d',
23
+ // HydraDX Parachain
24
+ '0xd2a620c27ec5cbc5621ff9a522689895074f7cca0d08e7134a7804e1a3ba86fc',
25
+ // Snakenet Gen3-1
26
+ '0x10af6e84234477d84dc572bac0789813b254aa490767ed06fb9591191d1073f9',
27
+ // Snakenet Gen3
28
+ '0x3d75507dd46301767e601265791da1d9cb47b6ebc94e87347b635e5bf58bd047',
29
+ // Snakenet Gen2
25
30
  '0x0ed32bfcab4a83517fac88f2aa7cbc2f88d3ab93be9a12b6188a036bf8a943c2' // Snakenet Gen1
26
31
  ],
32
+
27
33
  'interlay-parachain': ['0xbf88efe70e9e0e916416e8bed61f2b45717f517d7f3523e33c7b001e5ffcbc72'],
28
34
  karura: ['0xbaf5aabe40646d11f0ee8abbdc64f4a4b7674925cba08e4a05ff9ebed6e2126b'],
29
35
  khala: ['0xd43540ba6d3eb4897c28a77d48cb5b729fea37603cbbfc7a86a73b72adb3be8d'],
30
36
  kulupu: ['0xf7a99d3cb92853d00d5275c971c132c074636256583fee53b3bbe60d7b8769ba'],
31
- kusama: ['0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe', // Kusama CC3,
32
- '0xe3777fa922cafbff200cadeaea1a76bd7898ad5b89f7848999058b50e715f636', // Kusama CC2
37
+ kusama: ['0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe',
38
+ // Kusama CC3,
39
+ '0xe3777fa922cafbff200cadeaea1a76bd7898ad5b89f7848999058b50e715f636',
40
+ // Kusama CC2
33
41
  '0x3fd7b9eb6a00376e5be61f01abb429ffb0b104be05eaff4d458da48fcd425baf' // Kusama CC1
34
42
  ],
43
+
35
44
  'nodle-para': ['0x97da7ede98d7bad4e36b4d734b6055425a3be036da2a332ea5a7037656427a21'],
45
+ origintrail: ['0xe7e0962324a3b86c83404dbea483f25fb5dab4c224791c81b756cfc948006174'],
36
46
  parallel: ['0xe61a41c53f5dcd0beb09df93b34402aada44cb05117b71059cce40a2723a4e97'],
37
47
  phala: ['0x1bb969d85965e4bb5a651abbedf21a54b6b31a21f66b5401cc3f1e286268d736'],
38
48
  picasso: ['0xe8e7f0f4c4f5a00720b4821dbfddefea7490bcf0b19009961cc46957984e2c1c'],
package/defaults/icons.js CHANGED
@@ -1,5 +1,6 @@
1
1
  // Copyright 2017-2022 @polkadot/networks authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  // these are icon overrides
4
5
  export const knownIcon = {
5
6
  centrifuge: 'polkadot',
package/defaults/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  // Copyright 2017-2022 @polkadot/networks authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  export { knownGenesis } from "./genesis.js";
4
5
  export { knownIcon } from "./icons.js";
5
6
  export { knownLedger } from "./ledger.js";
@@ -1,5 +1,6 @@
1
1
  // Copyright 2017-2022 @polkadot/networks authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  // These match up with the keys of the ledgerApps object in the @polkadot/hw-ledger/defaults.ts
4
5
  // and maps to the known slip44 (minus the `0x8` hard derivation flag)
5
6
  //
@@ -23,6 +24,7 @@ export const knownLedger = {
23
24
  khala: 0x000001b2,
24
25
  kusama: 0x000001b2,
25
26
  'nodle-para': 0x000003eb,
27
+ origintrail: 0x00000162,
26
28
  parallel: 0x00000162,
27
29
  phala: 0x00000162,
28
30
  polkadex: 0x0000031f,
@@ -1,5 +1,6 @@
1
1
  // Copyright 2017-2022 @polkadot/networks authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  // testnets should not allow selection
4
5
  export const knownTestnet = {
5
6
  '': true,
package/detectOther.js CHANGED
@@ -1,3 +1,4 @@
1
1
  // Copyright 2017-2022 @polkadot/networks authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  export default [];
package/detectPackage.js CHANGED
@@ -1,6 +1,8 @@
1
1
  // Copyright 2017-2022 @polkadot/networks authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  // Do not edit, auto-generated by @polkadot/dev
5
+
4
6
  import { detectPackage } from '@polkadot/util';
5
7
  import others from "./detectOther.js";
6
8
  import { packageInfo } from "./packageInfo.js";
package/index.js CHANGED
@@ -1,7 +1,9 @@
1
1
  // Copyright 2017-2022 @polkadot/networks authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  // TODO: This was removed, really cannot recall the reason...
4
5
  // ... put it back, but keep it removed
5
6
  // import './detectPackage';
7
+
6
8
  export * from "./interfaces.js";
7
9
  export { packageInfo } from "./packageInfo.js";
package/interfaces.js CHANGED
@@ -1,50 +1,53 @@
1
1
  // Copyright 2017-2022 @polkadot/networks authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  import knownSubstrate from '@substrate/ss58-registry';
4
- import { knownGenesis, knownIcon, knownLedger, knownTestnet } from "./defaults/index.js"; // These are known prefixes that are not sorted
5
+ import { knownGenesis, knownIcon, knownLedger, knownTestnet } from "./defaults/index.js";
5
6
 
7
+ // These are known prefixes that are not sorted
6
8
  const UNSORTED = [0, 2, 42];
7
9
  const TESTNETS = ['testnet'];
8
-
9
10
  function toExpanded(o) {
10
11
  const network = o.network || '';
11
12
  const nameParts = network.replace(/_/g, '-').split('-');
12
- const n = o; // ledger additions
13
+ const n = o;
13
14
 
15
+ // ledger additions
14
16
  n.slip44 = knownLedger[network];
15
- n.hasLedgerSupport = !!n.slip44; // general items
17
+ n.hasLedgerSupport = !!n.slip44;
16
18
 
19
+ // general items
17
20
  n.genesisHash = knownGenesis[network] || [];
18
- n.icon = knownIcon[network] || 'substrate'; // filtering
21
+ n.icon = knownIcon[network] || 'substrate';
19
22
 
23
+ // filtering
20
24
  n.isTestnet = !!knownTestnet[network] || TESTNETS.includes(nameParts[nameParts.length - 1]);
21
25
  n.isIgnored = n.isTestnet || !(o.standardAccount && o.decimals && o.decimals.length && o.symbols && o.symbols.length) && o.prefix !== 42;
22
26
  return n;
23
27
  }
24
-
25
28
  function filterSelectable({
26
29
  genesisHash,
27
30
  prefix
28
31
  }) {
29
32
  return !!genesisHash.length || prefix === 42;
30
33
  }
31
-
32
34
  function filterAvailable(n) {
33
35
  return !n.isIgnored && !!n.network;
34
36
  }
35
-
36
37
  function sortNetworks(a, b) {
37
38
  const isUnSortedA = UNSORTED.includes(a.prefix);
38
39
  const isUnSortedB = UNSORTED.includes(b.prefix);
39
40
  return isUnSortedA === isUnSortedB ? isUnSortedA ? 0 : a.displayName.localeCompare(b.displayName) : isUnSortedA ? -1 : 1;
40
- } // This is all the Substrate networks with our additional information
41
+ }
41
42
 
43
+ // This is all the Substrate networks with our additional information
44
+ export const allNetworks = knownSubstrate.map(toExpanded);
42
45
 
43
- export const allNetworks = knownSubstrate.map(toExpanded); // The list of available/claimed prefixes
46
+ // The list of available/claimed prefixes
44
47
  // - no testnets
45
48
  // - we only include those where we have a standardAccount
46
49
  // - sort by name, however we keep 0, 2, 42 first in the list
50
+ export const availableNetworks = allNetworks.filter(filterAvailable).sort(sortNetworks);
47
51
 
48
- export const availableNetworks = allNetworks.filter(filterAvailable).sort(sortNetworks); // A filtered list of those chains we have details about (genesisHashes)
49
-
52
+ // A filtered list of those chains we have details about (genesisHashes)
50
53
  export const selectableNetworks = availableNetworks.filter(filterSelectable);
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "sideEffects": false,
19
19
  "type": "module",
20
- "version": "10.1.11",
20
+ "version": "10.1.13",
21
21
  "main": "./cjs/index.js",
22
22
  "module": "./index.js",
23
23
  "types": "./index.d.ts",
@@ -87,8 +87,8 @@
87
87
  }
88
88
  },
89
89
  "dependencies": {
90
- "@babel/runtime": "^7.19.4",
91
- "@polkadot/util": "10.1.11",
92
- "@substrate/ss58-registry": "^1.33.0"
90
+ "@babel/runtime": "^7.20.1",
91
+ "@polkadot/util": "10.1.13",
92
+ "@substrate/ss58-registry": "^1.34.0"
93
93
  }
94
94
  }
package/packageInfo.js CHANGED
@@ -1,9 +1,11 @@
1
1
  // Copyright 2017-2022 @polkadot/networks authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+
3
4
  // Do not edit, auto-generated by @polkadot/dev
5
+
4
6
  export const packageInfo = {
5
7
  name: '@polkadot/networks',
6
8
  path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
7
9
  type: 'esm',
8
- version: '10.1.11'
10
+ version: '10.1.13'
9
11
  };
package/types.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import type { RegistryEntry } from '@substrate/ss58-registry';
2
- export declare type Icon = 'beachball' | 'empty' | 'jdenticon' | 'polkadot' | 'substrate';
3
- export declare type KnownIcon = Record<string, Icon>;
4
- export declare type KnownLedger = Record<string, number>;
5
- export declare type KnownGenesis = Record<string, string[]>;
6
- export declare type KnownSubstrate = RegistryEntry;
7
- export declare type KnownTestnet = Record<string, true>;
2
+ export type Icon = 'beachball' | 'empty' | 'jdenticon' | 'polkadot' | 'substrate';
3
+ export type KnownIcon = Record<string, Icon>;
4
+ export type KnownLedger = Record<string, number>;
5
+ export type KnownGenesis = Record<string, string[]>;
6
+ export type KnownSubstrate = RegistryEntry;
7
+ export type KnownTestnet = Record<string, true>;
8
8
  export interface SubstrateNetwork extends KnownSubstrate {
9
9
  genesisHash: string[];
10
10
  hasLedgerSupport: boolean;