@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.
Files changed (61) hide show
  1. package/dist/index.d.mts +15 -765
  2. package/dist/index.d.ts +15 -765
  3. package/dist/index.js +275 -261
  4. package/dist/index.mjs +275 -261
  5. package/dist/ksmcc3/ksmcc3.d.mts +2 -2
  6. package/dist/ksmcc3/ksmcc3.d.ts +2 -2
  7. package/dist/ksmcc3/ksmcc3.js +2 -3
  8. package/dist/ksmcc3/ksmcc3.mjs +2 -3
  9. package/dist/ksmcc3_asset_hub/ksmcc3_asset_hub.d.mts +2 -2
  10. package/dist/ksmcc3_asset_hub/ksmcc3_asset_hub.d.ts +2 -2
  11. package/dist/ksmcc3_asset_hub/ksmcc3_asset_hub.js +2 -3
  12. package/dist/ksmcc3_asset_hub/ksmcc3_asset_hub.mjs +2 -3
  13. package/dist/ksmcc3_bridge_hub/ksmcc3_bridge_hub.d.mts +2 -2
  14. package/dist/ksmcc3_bridge_hub/ksmcc3_bridge_hub.d.ts +2 -2
  15. package/dist/ksmcc3_bridge_hub/ksmcc3_bridge_hub.js +2 -3
  16. package/dist/ksmcc3_bridge_hub/ksmcc3_bridge_hub.mjs +2 -3
  17. package/dist/polkadot/polkadot.d.mts +2 -2
  18. package/dist/polkadot/polkadot.d.ts +2 -2
  19. package/dist/polkadot/polkadot.js +2 -3
  20. package/dist/polkadot/polkadot.mjs +2 -3
  21. package/dist/polkadot_asset_hub/polkadot_asset_hub.d.mts +2 -2
  22. package/dist/polkadot_asset_hub/polkadot_asset_hub.d.ts +2 -2
  23. package/dist/polkadot_asset_hub/polkadot_asset_hub.js +2 -3
  24. package/dist/polkadot_asset_hub/polkadot_asset_hub.mjs +2 -3
  25. package/dist/polkadot_bridge_hub/polkadot_bridge_hub.d.mts +2 -2
  26. package/dist/polkadot_bridge_hub/polkadot_bridge_hub.d.ts +2 -2
  27. package/dist/polkadot_bridge_hub/polkadot_bridge_hub.js +2 -3
  28. package/dist/polkadot_bridge_hub/polkadot_bridge_hub.mjs +2 -3
  29. package/dist/polkadot_collectives/polkadot_collectives.d.mts +2 -2
  30. package/dist/polkadot_collectives/polkadot_collectives.d.ts +2 -2
  31. package/dist/polkadot_collectives/polkadot_collectives.js +2 -3
  32. package/dist/polkadot_collectives/polkadot_collectives.mjs +2 -3
  33. package/dist/rococo_v2_2/rococo_v2_2.d.mts +2 -2
  34. package/dist/rococo_v2_2/rococo_v2_2.d.ts +2 -2
  35. package/dist/rococo_v2_2/rococo_v2_2.js +2 -3
  36. package/dist/rococo_v2_2/rococo_v2_2.mjs +2 -3
  37. package/dist/rococo_v2_2_asset_hub/rococo_v2_2_asset_hub.d.mts +2 -2
  38. package/dist/rococo_v2_2_asset_hub/rococo_v2_2_asset_hub.d.ts +2 -2
  39. package/dist/rococo_v2_2_asset_hub/rococo_v2_2_asset_hub.js +2 -3
  40. package/dist/rococo_v2_2_asset_hub/rococo_v2_2_asset_hub.mjs +2 -3
  41. package/dist/rococo_v2_2_bridge_hub/rococo_v2_2_bridge_hub.d.mts +2 -2
  42. package/dist/rococo_v2_2_bridge_hub/rococo_v2_2_bridge_hub.d.ts +2 -2
  43. package/dist/rococo_v2_2_bridge_hub/rococo_v2_2_bridge_hub.js +2 -3
  44. package/dist/rococo_v2_2_bridge_hub/rococo_v2_2_bridge_hub.mjs +2 -3
  45. package/dist/westend2/westend2.d.mts +2 -2
  46. package/dist/westend2/westend2.d.ts +2 -2
  47. package/dist/westend2/westend2.js +2 -3
  48. package/dist/westend2/westend2.mjs +2 -3
  49. package/dist/westend2_asset_hub/westend2_asset_hub.d.mts +2 -2
  50. package/dist/westend2_asset_hub/westend2_asset_hub.d.ts +2 -2
  51. package/dist/westend2_asset_hub/westend2_asset_hub.js +2 -3
  52. package/dist/westend2_asset_hub/westend2_asset_hub.mjs +2 -3
  53. package/dist/westend2_bridge_hub/westend2_bridge_hub.d.mts +2 -2
  54. package/dist/westend2_bridge_hub/westend2_bridge_hub.d.ts +2 -2
  55. package/dist/westend2_bridge_hub/westend2_bridge_hub.js +2 -3
  56. package/dist/westend2_bridge_hub/westend2_bridge_hub.mjs +2 -3
  57. package/dist/westend2_collectives/westend2_collectives.d.mts +2 -2
  58. package/dist/westend2_collectives/westend2_collectives.d.ts +2 -2
  59. package/dist/westend2_collectives/westend2_collectives.js +2 -3
  60. package/dist/westend2_collectives/westend2_collectives.mjs +2 -3
  61. package/package.json +2 -3
@@ -1,3 +1,3 @@
1
- declare const westend2_collectives: string;
1
+ declare const chainSpec: string;
2
2
 
3
- export { westend2_collectives as default };
3
+ export { chainSpec };
@@ -1,3 +1,3 @@
1
- declare const westend2_collectives: string;
1
+ declare const chainSpec: string;
2
2
 
3
- export { westend2_collectives as default };
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
- default: () => westend2_collectives_default
23
+ chainSpec: () => chainSpec
24
24
  });
25
25
  module.exports = __toCommonJS(westend2_collectives_exports);
26
- var westend2_collectives = `{
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 westend2_collectives = `{
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
- westend2_collectives_default as default
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.1",
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
- "postinstall": "node prepare-specs.mjs",
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}\""