@polkadot/extension-chains 0.42.5-15 → 0.42.5-16

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/detectOther.cjs CHANGED
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
 
8
- var _packageInfo = require("@polkadot/extension-inject/packageInfo");
8
+ var _packageInfo = require("@polkadot/extension-inject/packageInfo.cjs");
9
9
 
10
10
  // Copyright 2017-2022 @polkadot/extension-chains authors & contributors
11
11
  // SPDX-License-Identifier: Apache-2.0
package/detectOther.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // Copyright 2017-2022 @polkadot/extension-chains authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
- import { packageInfo as injectInfo } from '@polkadot/extension-inject/packageInfo';
3
+ import { packageInfo as injectInfo } from '@polkadot/extension-inject/packageInfo.js';
4
4
  export default [injectInfo];
package/package.json CHANGED
@@ -17,19 +17,21 @@
17
17
  "./detectPackage.cjs"
18
18
  ],
19
19
  "type": "module",
20
- "version": "0.42.5-15",
21
- "main": "index.js",
20
+ "version": "0.42.5-16",
21
+ "main": "index.cjs",
22
22
  "dependencies": {
23
23
  "@babel/runtime": "^7.16.7",
24
- "@polkadot/extension-inject": "^0.42.5-15",
25
- "@polkadot/networks": "^8.2.2",
26
- "@polkadot/util": "^8.2.2",
27
- "@polkadot/util-crypto": "^8.2.2"
24
+ "@polkadot/extension-inject": "^0.42.5-16",
25
+ "@polkadot/networks": "^8.2.3-29",
26
+ "@polkadot/util": "^8.2.3-29",
27
+ "@polkadot/util-crypto": "^8.2.3-29"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "@polkadot/api": "*",
31
31
  "@polkadot/types": "*"
32
32
  },
33
+ "module": "index.js",
34
+ "types": "index.d.ts",
33
35
  "exports": {
34
36
  ".": {
35
37
  "types": "./index.d.ts",
@@ -52,6 +54,8 @@
52
54
  "default": "./detectPackage.js"
53
55
  },
54
56
  "./package.json": "./package.json",
57
+ "./packageInfo.cjs": "./packageInfo.cjs",
58
+ "./packageInfo.js": "./packageInfo.js",
55
59
  "./packageInfo": {
56
60
  "types": "./packageInfo.d.ts",
57
61
  "require": "./packageInfo.cjs",
package/packageInfo.cjs CHANGED
@@ -11,6 +11,6 @@ const packageInfo = {
11
11
  name: '@polkadot/extension-chains',
12
12
  path: typeof __dirname === 'string' ? __dirname : 'auto',
13
13
  type: 'cjs',
14
- version: '0.42.5-15'
14
+ version: '0.42.5-16'
15
15
  };
16
16
  exports.packageInfo = packageInfo;
package/packageInfo.js CHANGED
@@ -3,7 +3,7 @@
3
3
  // Do not edit, auto-generated by @polkadot/dev
4
4
  export const packageInfo = {
5
5
  name: '@polkadot/extension-chains',
6
- path: typeof __dirname === 'string' ? __dirname : 'auto',
6
+ path: new URL('.', import.meta.url).pathname,
7
7
  type: 'esm',
8
- version: '0.42.5-15'
8
+ version: '0.42.5-16'
9
9
  };