@polkadot-api/known-chains 0.0.1 → 0.1.0
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/dist/index.d.mts +15 -765
- package/dist/index.d.ts +15 -765
- package/dist/index.js +275 -261
- package/dist/index.mjs +275 -261
- package/dist/ksmcc3/ksmcc3.d.mts +2 -2
- package/dist/ksmcc3/ksmcc3.d.ts +2 -2
- package/dist/ksmcc3/ksmcc3.js +2 -3
- package/dist/ksmcc3/ksmcc3.mjs +2 -3
- package/dist/ksmcc3_asset_hub/ksmcc3_asset_hub.d.mts +2 -2
- package/dist/ksmcc3_asset_hub/ksmcc3_asset_hub.d.ts +2 -2
- package/dist/ksmcc3_asset_hub/ksmcc3_asset_hub.js +2 -3
- package/dist/ksmcc3_asset_hub/ksmcc3_asset_hub.mjs +2 -3
- package/dist/ksmcc3_bridge_hub/ksmcc3_bridge_hub.d.mts +2 -2
- package/dist/ksmcc3_bridge_hub/ksmcc3_bridge_hub.d.ts +2 -2
- package/dist/ksmcc3_bridge_hub/ksmcc3_bridge_hub.js +2 -3
- package/dist/ksmcc3_bridge_hub/ksmcc3_bridge_hub.mjs +2 -3
- package/dist/polkadot/polkadot.d.mts +2 -2
- package/dist/polkadot/polkadot.d.ts +2 -2
- package/dist/polkadot/polkadot.js +2 -3
- package/dist/polkadot/polkadot.mjs +2 -3
- package/dist/polkadot_asset_hub/polkadot_asset_hub.d.mts +2 -2
- package/dist/polkadot_asset_hub/polkadot_asset_hub.d.ts +2 -2
- package/dist/polkadot_asset_hub/polkadot_asset_hub.js +2 -3
- package/dist/polkadot_asset_hub/polkadot_asset_hub.mjs +2 -3
- package/dist/polkadot_bridge_hub/polkadot_bridge_hub.d.mts +2 -2
- package/dist/polkadot_bridge_hub/polkadot_bridge_hub.d.ts +2 -2
- package/dist/polkadot_bridge_hub/polkadot_bridge_hub.js +2 -3
- package/dist/polkadot_bridge_hub/polkadot_bridge_hub.mjs +2 -3
- package/dist/polkadot_collectives/polkadot_collectives.d.mts +2 -2
- package/dist/polkadot_collectives/polkadot_collectives.d.ts +2 -2
- package/dist/polkadot_collectives/polkadot_collectives.js +2 -3
- package/dist/polkadot_collectives/polkadot_collectives.mjs +2 -3
- package/dist/rococo_v2_2/rococo_v2_2.d.mts +2 -2
- package/dist/rococo_v2_2/rococo_v2_2.d.ts +2 -2
- package/dist/rococo_v2_2/rococo_v2_2.js +2 -3
- package/dist/rococo_v2_2/rococo_v2_2.mjs +2 -3
- package/dist/rococo_v2_2_asset_hub/rococo_v2_2_asset_hub.d.mts +2 -2
- package/dist/rococo_v2_2_asset_hub/rococo_v2_2_asset_hub.d.ts +2 -2
- package/dist/rococo_v2_2_asset_hub/rococo_v2_2_asset_hub.js +2 -3
- package/dist/rococo_v2_2_asset_hub/rococo_v2_2_asset_hub.mjs +2 -3
- package/dist/rococo_v2_2_bridge_hub/rococo_v2_2_bridge_hub.d.mts +2 -2
- package/dist/rococo_v2_2_bridge_hub/rococo_v2_2_bridge_hub.d.ts +2 -2
- package/dist/rococo_v2_2_bridge_hub/rococo_v2_2_bridge_hub.js +2 -3
- package/dist/rococo_v2_2_bridge_hub/rococo_v2_2_bridge_hub.mjs +2 -3
- package/dist/westend2/westend2.d.mts +2 -2
- package/dist/westend2/westend2.d.ts +2 -2
- package/dist/westend2/westend2.js +2 -3
- package/dist/westend2/westend2.mjs +2 -3
- package/dist/westend2_asset_hub/westend2_asset_hub.d.mts +2 -2
- package/dist/westend2_asset_hub/westend2_asset_hub.d.ts +2 -2
- package/dist/westend2_asset_hub/westend2_asset_hub.js +2 -3
- package/dist/westend2_asset_hub/westend2_asset_hub.mjs +2 -3
- package/dist/westend2_bridge_hub/westend2_bridge_hub.d.mts +2 -2
- package/dist/westend2_bridge_hub/westend2_bridge_hub.d.ts +2 -2
- package/dist/westend2_bridge_hub/westend2_bridge_hub.js +2 -3
- package/dist/westend2_bridge_hub/westend2_bridge_hub.mjs +2 -3
- package/dist/westend2_collectives/westend2_collectives.d.mts +2 -2
- package/dist/westend2_collectives/westend2_collectives.d.ts +2 -2
- package/dist/westend2_collectives/westend2_collectives.js +2 -3
- package/dist/westend2_collectives/westend2_collectives.mjs +2 -3
- package/package.json +2 -3
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const chainSpec: string;
|
|
2
2
|
|
|
3
|
-
export {
|
|
3
|
+
export { chainSpec };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const chainSpec: string;
|
|
2
2
|
|
|
3
|
-
export {
|
|
3
|
+
export { chainSpec };
|
|
@@ -20,10 +20,10 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/specs/westend2_collectives.ts
|
|
21
21
|
var westend2_collectives_exports = {};
|
|
22
22
|
__export(westend2_collectives_exports, {
|
|
23
|
-
|
|
23
|
+
chainSpec: () => chainSpec
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(westend2_collectives_exports);
|
|
26
|
-
var
|
|
26
|
+
var chainSpec = `{
|
|
27
27
|
"name": "Westend Collectives",
|
|
28
28
|
"id": "collectives_westend",
|
|
29
29
|
"chainType": "Live",
|
|
@@ -66,4 +66,3 @@ var westend2_collectives = `{
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
`;
|
|
69
|
-
var westend2_collectives_default = westend2_collectives;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/specs/westend2_collectives.ts
|
|
2
|
-
var
|
|
2
|
+
var chainSpec = `{
|
|
3
3
|
"name": "Westend Collectives",
|
|
4
4
|
"id": "collectives_westend",
|
|
5
5
|
"chainType": "Live",
|
|
@@ -42,7 +42,6 @@ var westend2_collectives = `{
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
`;
|
|
45
|
-
var westend2_collectives_default = westend2_collectives;
|
|
46
45
|
export {
|
|
47
|
-
|
|
46
|
+
chainSpec
|
|
48
47
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polkadot-api/known-chains",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"author": "Victor Oliva (https://github.com/voliva)",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -122,8 +122,7 @@
|
|
|
122
122
|
"westend2_collectives"
|
|
123
123
|
],
|
|
124
124
|
"scripts": {
|
|
125
|
-
"
|
|
126
|
-
"build": "bash build.sh",
|
|
125
|
+
"build": "node prepare-specs.mjs && bash build.sh",
|
|
127
126
|
"test": "echo 'no tests'",
|
|
128
127
|
"lint": "prettier --check \"src/**/*.{js,jsx,ts,tsx,json,md}\"",
|
|
129
128
|
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,md}\""
|