@polkadot/networks 8.2.3-9 → 8.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/defaults.cjs +1 -1
- package/defaults.js +1 -1
- package/detectOther.cjs +10 -0
- package/detectOther.d.ts +2 -0
- package/detectOther.js +3 -0
- package/detectPackage.cjs +14 -0
- package/detectPackage.d.ts +1 -0
- package/detectPackage.js +7 -0
- package/genesis.cjs +1 -1
- package/genesis.js +1 -1
- package/index.js +1 -1
- package/interfaces.cjs +1 -1
- package/interfaces.js +1 -1
- package/package.json +20 -10
- package/packageInfo.cjs +5 -3
- package/packageInfo.d.ts +2 -0
- package/packageInfo.js +5 -3
- package/substrate.cjs +1 -1
- package/substrate.js +1 -1
package/defaults.cjs
CHANGED
|
@@ -13,7 +13,7 @@ exports.substrateRegistry = exports.knownTestnet = exports.knownLedger = exports
|
|
|
13
13
|
|
|
14
14
|
var _genesis = require("./genesis.cjs");
|
|
15
15
|
|
|
16
|
-
// Copyright 2017-
|
|
16
|
+
// Copyright 2017-2022 @polkadot/networks authors & contributors
|
|
17
17
|
// SPDX-License-Identifier: Apache-2.0
|
|
18
18
|
const substrateRegistry = 'https://raw.githubusercontent.com/paritytech/ss58-registry/main/ss58-registry.json'; // these are icon overrides
|
|
19
19
|
|
package/defaults.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2017-
|
|
1
|
+
// Copyright 2017-2022 @polkadot/networks authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
export { knownGenesis } from "./genesis.js";
|
|
4
4
|
export const substrateRegistry = 'https://raw.githubusercontent.com/paritytech/ss58-registry/main/ss58-registry.json'; // these are icon overrides
|
package/detectOther.cjs
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
// Copyright 2017-2022 @polkadot/networks authors & contributors
|
|
8
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
9
|
+
var _default = [];
|
|
10
|
+
exports.default = _default;
|
package/detectOther.d.ts
ADDED
package/detectOther.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _util = require("@polkadot/util");
|
|
6
|
+
|
|
7
|
+
var _detectOther = _interopRequireDefault(require("./detectOther.cjs"));
|
|
8
|
+
|
|
9
|
+
var _packageInfo = require("./packageInfo.cjs");
|
|
10
|
+
|
|
11
|
+
// Copyright 2017-2022 @polkadot/networks authors & contributors
|
|
12
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
|
+
// Do not edit, auto-generated by @polkadot/dev
|
|
14
|
+
(0, _util.detectPackage)(_packageInfo.packageInfo, null, _detectOther.default);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/detectPackage.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Copyright 2017-2022 @polkadot/networks authors & contributors
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
// Do not edit, auto-generated by @polkadot/dev
|
|
4
|
+
import { detectPackage } from '@polkadot/util';
|
|
5
|
+
import others from "./detectOther.js";
|
|
6
|
+
import { packageInfo } from "./packageInfo.js";
|
|
7
|
+
detectPackage(packageInfo, null, others);
|
package/genesis.cjs
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.knownGenesis = void 0;
|
|
7
|
-
// Copyright 2017-
|
|
7
|
+
// Copyright 2017-2022 @polkadot/networks authors & contributors
|
|
8
8
|
// SPDX-License-Identifier: Apache-2.0
|
|
9
9
|
// NOTE: In the case where the network was hard-spooned and multiple genesisHashes
|
|
10
10
|
// are provided, it needs to be in reverse order, i.e. most-recent first, oldest
|
package/genesis.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2017-
|
|
1
|
+
// Copyright 2017-2022 @polkadot/networks authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
// NOTE: In the case where the network was hard-spooned and multiple genesisHashes
|
|
4
4
|
// are provided, it needs to be in reverse order, i.e. most-recent first, oldest
|
package/index.js
CHANGED
package/interfaces.cjs
CHANGED
|
@@ -9,7 +9,7 @@ var _defaults = require("./defaults.cjs");
|
|
|
9
9
|
|
|
10
10
|
var _substrate = require("./substrate.cjs");
|
|
11
11
|
|
|
12
|
-
// Copyright 2017-
|
|
12
|
+
// Copyright 2017-2022 @polkadot/networks authors & contributors
|
|
13
13
|
// SPDX-License-Identifier: Apache-2.0
|
|
14
14
|
// These are known prefixes that are not sorted
|
|
15
15
|
const UNSORTED = [0, 2, 42];
|
package/interfaces.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2017-
|
|
1
|
+
// Copyright 2017-2022 @polkadot/networks authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
import { knownGenesis, knownIcon, knownLedger, knownTestnet } from "./defaults.js";
|
|
4
4
|
import { knownSubstrate } from "./substrate.js"; // These are known prefixes that are not sorted
|
package/package.json
CHANGED
|
@@ -17,16 +17,10 @@
|
|
|
17
17
|
},
|
|
18
18
|
"sideEffects": false,
|
|
19
19
|
"type": "module",
|
|
20
|
-
"version": "8.
|
|
21
|
-
"main": "index.
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
},
|
|
25
|
-
"devDependencies": {
|
|
26
|
-
"@polkadot/hw-ledger": "8.2.3-9",
|
|
27
|
-
"@polkadot/util": "8.2.3-9",
|
|
28
|
-
"@polkadot/x-fetch": "8.2.3-9"
|
|
29
|
-
},
|
|
20
|
+
"version": "8.3.1",
|
|
21
|
+
"main": "index.cjs",
|
|
22
|
+
"module": "index.js",
|
|
23
|
+
"types": "index.d.ts",
|
|
30
24
|
"exports": {
|
|
31
25
|
".": {
|
|
32
26
|
"types": "./index.d.ts",
|
|
@@ -38,6 +32,16 @@
|
|
|
38
32
|
"require": "./defaults.cjs",
|
|
39
33
|
"default": "./defaults.js"
|
|
40
34
|
},
|
|
35
|
+
"./detectOther": {
|
|
36
|
+
"types": "./detectOther.d.ts",
|
|
37
|
+
"require": "./detectOther.cjs",
|
|
38
|
+
"default": "./detectOther.js"
|
|
39
|
+
},
|
|
40
|
+
"./detectPackage": {
|
|
41
|
+
"types": "./detectPackage.d.ts",
|
|
42
|
+
"require": "./detectPackage.cjs",
|
|
43
|
+
"default": "./detectPackage.js"
|
|
44
|
+
},
|
|
41
45
|
"./genesis": {
|
|
42
46
|
"types": "./genesis.d.ts",
|
|
43
47
|
"require": "./genesis.cjs",
|
|
@@ -49,6 +53,8 @@
|
|
|
49
53
|
"default": "./interfaces.js"
|
|
50
54
|
},
|
|
51
55
|
"./package.json": "./package.json",
|
|
56
|
+
"./packageInfo.cjs": "./packageInfo.cjs",
|
|
57
|
+
"./packageInfo.js": "./packageInfo.js",
|
|
52
58
|
"./packageInfo": {
|
|
53
59
|
"types": "./packageInfo.d.ts",
|
|
54
60
|
"require": "./packageInfo.cjs",
|
|
@@ -64,5 +70,9 @@
|
|
|
64
70
|
"require": "./types.cjs",
|
|
65
71
|
"default": "./types.js"
|
|
66
72
|
}
|
|
73
|
+
},
|
|
74
|
+
"dependencies": {
|
|
75
|
+
"@babel/runtime": "^7.16.7",
|
|
76
|
+
"@polkadot/util": "8.3.1"
|
|
67
77
|
}
|
|
68
78
|
}
|
package/packageInfo.cjs
CHANGED
|
@@ -4,11 +4,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.packageInfo = void 0;
|
|
7
|
-
// Copyright 2017-
|
|
7
|
+
// Copyright 2017-2022 @polkadot/networks authors & contributors
|
|
8
8
|
// SPDX-License-Identifier: Apache-2.0
|
|
9
|
-
//
|
|
9
|
+
// Do not edit, auto-generated by @polkadot/dev
|
|
10
10
|
const packageInfo = {
|
|
11
11
|
name: '@polkadot/networks',
|
|
12
|
-
|
|
12
|
+
path: typeof __dirname === 'string' ? __dirname : 'auto',
|
|
13
|
+
type: 'cjs',
|
|
14
|
+
version: '8.3.1'
|
|
13
15
|
};
|
|
14
16
|
exports.packageInfo = packageInfo;
|
package/packageInfo.d.ts
CHANGED
package/packageInfo.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
// Copyright 2017-
|
|
1
|
+
// Copyright 2017-2022 @polkadot/networks authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
//
|
|
3
|
+
// Do not edit, auto-generated by @polkadot/dev
|
|
4
4
|
export const packageInfo = {
|
|
5
5
|
name: '@polkadot/networks',
|
|
6
|
-
|
|
6
|
+
path: new URL('.', import.meta.url).pathname,
|
|
7
|
+
type: 'esm',
|
|
8
|
+
version: '8.3.1'
|
|
7
9
|
};
|
package/substrate.cjs
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.knownSubstrate = void 0;
|
|
7
|
-
// Copyright 2017-
|
|
7
|
+
// Copyright 2017-2022 @polkadot/networks authors & contributors
|
|
8
8
|
// SPDX-License-Identifier: Apache-2.0
|
|
9
9
|
//
|
|
10
10
|
// Auto-generated by yarn networks:sync (via scripts/fromSubstrate.mjs)
|
package/substrate.js
CHANGED