@subwallet/extension-chains 0.7.1 → 0.7.2-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/bundle.js CHANGED
@@ -8,7 +8,9 @@ export { packageInfo } from "./packageInfo.js";
8
8
  // imports chain details, generally metadata. For the generation of these,
9
9
  // inside the api, run `yarn chain:info --ws <url>`
10
10
 
11
- const definitions = new Map();
11
+ const definitions = new Map(
12
+ // [kusama].map((def) => [def.genesisHash, def])
13
+ );
12
14
  const expanded = new Map();
13
15
  export function metadataExpand(definition, isPartial = false) {
14
16
  const cached = expanded.get(definition.genesisHash);
package/cjs/bundle.js CHANGED
@@ -22,7 +22,9 @@ var _packageInfo = require("./packageInfo");
22
22
  // imports chain details, generally metadata. For the generation of these,
23
23
  // inside the api, run `yarn chain:info --ws <url>`
24
24
 
25
- const definitions = new Map();
25
+ const definitions = new Map(
26
+ // [kusama].map((def) => [def.genesisHash, def])
27
+ );
26
28
  const expanded = new Map();
27
29
  function metadataExpand(definition) {
28
30
  let isPartial = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
@@ -13,6 +13,6 @@ const packageInfo = {
13
13
  name: '@subwallet/extension-chains',
14
14
  path: typeof __dirname === 'string' ? __dirname : 'auto',
15
15
  type: 'cjs',
16
- version: '0.7.1'
16
+ version: '0.7.2-0'
17
17
  };
18
18
  exports.packageInfo = packageInfo;
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "./cjs/detectPackage.js"
18
18
  ],
19
19
  "type": "module",
20
- "version": "0.7.1",
20
+ "version": "0.7.2-0",
21
21
  "main": "./cjs/index.js",
22
22
  "module": "./index.js",
23
23
  "types": "./index.d.ts",
@@ -66,7 +66,7 @@
66
66
  "@polkadot/networks": "^10.1.9",
67
67
  "@polkadot/util": "^10.1.9",
68
68
  "@polkadot/util-crypto": "^10.1.9",
69
- "@subwallet/extension-inject": "^0.7.1"
69
+ "@subwallet/extension-inject": "^0.7.2-0"
70
70
  },
71
71
  "peerDependencies": {
72
72
  "@polkadot/api": "*",
package/packageInfo.js CHANGED
@@ -7,5 +7,5 @@ export const packageInfo = {
7
7
  name: '@subwallet/extension-chains',
8
8
  path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
9
9
  type: 'esm',
10
- version: '0.7.1'
10
+ version: '0.7.2-0'
11
11
  };