@polkadot/networks 8.2.3-13 → 8.2.3-17
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/dirname.d.ts +8 -0
- package/cjs/dirname.js +8 -0
- package/cjs/package.json +3 -0
- package/defaults.cjs +1 -1
- package/defaults.js +1 -1
- package/detectOther.cjs +1 -1
- package/detectOther.js +1 -1
- package/detectPackage.cjs +16 -0
- package/detectPackage.d.ts +1 -0
- package/detectPackage.js +8 -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 +15 -5
- package/packageInfo.cjs +3 -3
- package/packageInfo.js +3 -3
- package/substrate.cjs +1 -1
- package/substrate.js +1 -1
package/cjs/dirname.d.ts
ADDED
package/cjs/dirname.js
ADDED
package/cjs/package.json
ADDED
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
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
// Copyright 2017-
|
|
7
|
+
// Copyright 2017-2022 @polkadot/networks authors & contributors
|
|
8
8
|
// SPDX-License-Identifier: Apache-2.0
|
|
9
9
|
var _default = [];
|
|
10
10
|
exports.default = _default;
|
package/detectOther.js
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _util = require("@polkadot/util");
|
|
6
|
+
|
|
7
|
+
var _dirname = _interopRequireDefault(require("./cjs/dirname"));
|
|
8
|
+
|
|
9
|
+
var _detectOther = _interopRequireDefault(require("./detectOther.cjs"));
|
|
10
|
+
|
|
11
|
+
var _packageInfo = require("./packageInfo.cjs");
|
|
12
|
+
|
|
13
|
+
// Copyright 2017-2022 @polkadot/networks authors & contributors
|
|
14
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
15
|
+
// Do not edit, auto-generated by @polkadot/dev
|
|
16
|
+
(0, _util.detectPackage)(_packageInfo.packageInfo, _dirname.default, _detectOther.default);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/detectPackage.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
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 dirname from "./cjs/dirname.js";
|
|
6
|
+
import others from "./detectOther.js";
|
|
7
|
+
import { packageInfo } from "./packageInfo.js";
|
|
8
|
+
detectPackage(packageInfo, dirname, 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,15 +17,15 @@
|
|
|
17
17
|
},
|
|
18
18
|
"sideEffects": false,
|
|
19
19
|
"type": "module",
|
|
20
|
-
"version": "8.2.3-
|
|
20
|
+
"version": "8.2.3-17",
|
|
21
21
|
"main": "index.js",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@babel/runtime": "^7.16.7"
|
|
23
|
+
"@babel/runtime": "^7.16.7",
|
|
24
|
+
"@polkadot/util": "8.2.3-17"
|
|
24
25
|
},
|
|
25
26
|
"devDependencies": {
|
|
26
|
-
"@polkadot/hw-ledger": "8.2.3-
|
|
27
|
-
"@polkadot/
|
|
28
|
-
"@polkadot/x-fetch": "8.2.3-13"
|
|
27
|
+
"@polkadot/hw-ledger": "8.2.3-17",
|
|
28
|
+
"@polkadot/x-fetch": "8.2.3-17"
|
|
29
29
|
},
|
|
30
30
|
"exports": {
|
|
31
31
|
".": {
|
|
@@ -33,6 +33,11 @@
|
|
|
33
33
|
"require": "./index.cjs",
|
|
34
34
|
"default": "./index.js"
|
|
35
35
|
},
|
|
36
|
+
"./cjs/dirname": {
|
|
37
|
+
"types": "./cjs/dirname.d.ts",
|
|
38
|
+
"default": "./cjs/dirname.js"
|
|
39
|
+
},
|
|
40
|
+
"./cjs/package.json": "./cjs/package.json",
|
|
36
41
|
"./defaults": {
|
|
37
42
|
"types": "./defaults.d.ts",
|
|
38
43
|
"require": "./defaults.cjs",
|
|
@@ -43,6 +48,11 @@
|
|
|
43
48
|
"require": "./detectOther.cjs",
|
|
44
49
|
"default": "./detectOther.js"
|
|
45
50
|
},
|
|
51
|
+
"./detectPackage": {
|
|
52
|
+
"types": "./detectPackage.d.ts",
|
|
53
|
+
"require": "./detectPackage.cjs",
|
|
54
|
+
"default": "./detectPackage.js"
|
|
55
|
+
},
|
|
46
56
|
"./genesis": {
|
|
47
57
|
"types": "./genesis.d.ts",
|
|
48
58
|
"require": "./genesis.cjs",
|
package/packageInfo.cjs
CHANGED
|
@@ -4,11 +4,11 @@ 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
|
-
version: '8.2.3-
|
|
12
|
+
version: '8.2.3-17'
|
|
13
13
|
};
|
|
14
14
|
exports.packageInfo = packageInfo;
|
package/packageInfo.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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
|
-
version: '8.2.3-
|
|
6
|
+
version: '8.2.3-17'
|
|
7
7
|
};
|
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