@polkadot/extension-chains 0.45.1 → 0.45.2

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.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { MetadataDef } from '@polkadot/extension-inject/types';
2
- import type { Chain } from './types';
3
- export { packageInfo } from './packageInfo';
2
+ import type { Chain } from './types.js';
3
+ export { packageInfo } from './packageInfo.js';
4
4
  export declare function metadataExpand(definition: MetadataDef, isPartial?: boolean): Chain;
5
5
  export declare function findChain(definitions: MetadataDef[], genesisHash?: string | null): Chain | null;
6
6
  export declare function addMetadata(def: MetadataDef): void;
package/cjs/bundle.js CHANGED
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.knownMetadata = exports.addMetadata = exports.findChain = exports.metadataExpand = exports.packageInfo = void 0;
4
4
  const types_1 = require("@polkadot/types");
5
5
  const util_crypto_1 = require("@polkadot/util-crypto");
6
- var packageInfo_1 = require("./packageInfo");
7
- Object.defineProperty(exports, "packageInfo", { enumerable: true, get: function () { return packageInfo_1.packageInfo; } });
6
+ var packageInfo_js_1 = require("./packageInfo.js");
7
+ Object.defineProperty(exports, "packageInfo", { enumerable: true, get: function () { return packageInfo_js_1.packageInfo; } });
8
8
  const definitions = new Map(
9
9
  );
10
10
  const expanded = new Map();
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  const util_1 = require("@polkadot/util");
5
- const detectOther_1 = tslib_1.__importDefault(require("./detectOther"));
6
- const packageInfo_1 = require("./packageInfo");
7
- (0, util_1.detectPackage)(packageInfo_1.packageInfo, null, detectOther_1.default);
5
+ const detectOther_js_1 = tslib_1.__importDefault(require("./detectOther.js"));
6
+ const packageInfo_js_1 = require("./packageInfo.js");
7
+ (0, util_1.detectPackage)(packageInfo_js_1.packageInfo, null, detectOther_js_1.default);
package/cjs/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./bundle"), exports);
4
+ tslib_1.__exportStar(require("./bundle.js"), exports);
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.packageInfo = void 0;
4
- exports.packageInfo = { name: '@polkadot/extension-chains', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '0.45.1' };
4
+ exports.packageInfo = { name: '@polkadot/extension-chains', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '0.45.2' };
package/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from './bundle';
1
+ export * from './bundle.js';
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "./cjs/detectPackage.js"
18
18
  ],
19
19
  "type": "module",
20
- "version": "0.45.1",
20
+ "version": "0.45.2",
21
21
  "main": "./cjs/index.js",
22
22
  "module": "./index.js",
23
23
  "types": "./index.d.ts",
@@ -65,10 +65,10 @@
65
65
  }
66
66
  },
67
67
  "dependencies": {
68
- "@polkadot/extension-inject": "^0.45.1",
69
- "@polkadot/networks": "^11.0.1",
70
- "@polkadot/util": "^11.0.1",
71
- "@polkadot/util-crypto": "^11.0.1",
68
+ "@polkadot/extension-inject": "^0.45.2",
69
+ "@polkadot/networks": "^11.0.2",
70
+ "@polkadot/util": "^11.0.2",
71
+ "@polkadot/util-crypto": "^11.0.2",
72
72
  "tslib": "^2.5.0"
73
73
  },
74
74
  "peerDependencies": {
package/packageInfo.js CHANGED
@@ -1 +1 @@
1
- export const packageInfo = { name: '@polkadot/extension-chains', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '0.45.1' };
1
+ export const packageInfo = { name: '@polkadot/extension-chains', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '0.45.2' };