@polkadot/networks 12.2.2 → 12.3.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.
- package/cjs/defaults/genesis.js +3 -0
- package/cjs/defaults/ledger.js +2 -1
- package/cjs/packageInfo.js +1 -1
- package/defaults/genesis.js +3 -0
- package/defaults/ledger.js +2 -1
- package/package.json +2 -2
- package/packageInfo.js +1 -1
- package/types.d.ts +2 -1
package/cjs/defaults/genesis.js
CHANGED
package/cjs/defaults/ledger.js
CHANGED
package/cjs/packageInfo.js
CHANGED
|
@@ -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
|
+
exports.packageInfo = { name: '@polkadot/networks', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '12.3.1' };
|
package/defaults/genesis.js
CHANGED
package/defaults/ledger.js
CHANGED
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"sideEffects": false,
|
|
17
17
|
"type": "module",
|
|
18
|
-
"version": "12.
|
|
18
|
+
"version": "12.3.1",
|
|
19
19
|
"main": "./cjs/index.js",
|
|
20
20
|
"module": "./index.js",
|
|
21
21
|
"types": "./index.d.ts",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@polkadot/util": "12.
|
|
103
|
+
"@polkadot/util": "12.3.1",
|
|
104
104
|
"@substrate/ss58-registry": "^1.40.0",
|
|
105
105
|
"tslib": "^2.5.3"
|
|
106
106
|
}
|
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.
|
|
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.3.1' };
|
package/types.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { RegistryEntry } from '@substrate/ss58-registry';
|
|
2
|
+
import type { HexString } from '@polkadot/util/types';
|
|
2
3
|
export type Icon = 'beachball' | 'empty' | 'jdenticon' | 'polkadot' | 'substrate';
|
|
3
4
|
export type KnownIcon = Record<string, Icon>;
|
|
4
5
|
export type KnownLedger = Record<string, number>;
|
|
5
|
-
export type KnownGenesis = Record<string,
|
|
6
|
+
export type KnownGenesis = Record<string, HexString[]>;
|
|
6
7
|
export type KnownSubstrate = RegistryEntry;
|
|
7
8
|
export type KnownTestnet = Record<string, true>;
|
|
8
9
|
export interface SubstrateNetwork extends KnownSubstrate {
|