@polkadot/types-known 7.2.2-5 → 7.2.2-6

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/types/packageInfo");
8
+ var _packageInfo = require("@polkadot/types/packageInfo.cjs");
9
9
 
10
10
  // Copyright 2017-2022 @polkadot/types-known authors & contributors
11
11
  // SPDX-License-Identifier: Apache-2.0
package/detectOther.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // Copyright 2017-2022 @polkadot/types-known authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
- import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
3
+ import { packageInfo as typesInfo } from '@polkadot/types/packageInfo.js';
4
4
  export default [typesInfo];
package/package.json CHANGED
@@ -20,16 +20,18 @@
20
20
  "./detectPackage.cjs"
21
21
  ],
22
22
  "type": "module",
23
- "version": "7.2.2-5",
24
- "main": "index.js",
23
+ "version": "7.2.2-6",
24
+ "main": "index.cjs",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.16.7",
27
- "@polkadot/networks": "^8.2.2",
28
- "@polkadot/types": "7.2.2-5",
29
- "@polkadot/types-codec": "7.2.2-5",
30
- "@polkadot/types-create": "7.2.2-5",
31
- "@polkadot/util": "^8.2.2"
27
+ "@polkadot/networks": "^8.2.3-29",
28
+ "@polkadot/types": "7.2.2-6",
29
+ "@polkadot/types-codec": "7.2.2-6",
30
+ "@polkadot/types-create": "7.2.2-6",
31
+ "@polkadot/util": "^8.2.3-29"
32
32
  },
33
+ "module": "index.js",
34
+ "types": "index.d.ts",
33
35
  "exports": {
34
36
  ".": {
35
37
  "types": "./index.d.ts",
@@ -57,6 +59,8 @@
57
59
  "default": "./detectPackage.js"
58
60
  },
59
61
  "./package.json": "./package.json",
62
+ "./packageInfo.cjs": "./packageInfo.cjs",
63
+ "./packageInfo.js": "./packageInfo.js",
60
64
  "./packageInfo": {
61
65
  "types": "./packageInfo.d.ts",
62
66
  "require": "./packageInfo.cjs",
package/packageInfo.cjs CHANGED
@@ -11,6 +11,6 @@ const packageInfo = {
11
11
  name: '@polkadot/types-known',
12
12
  path: typeof __dirname === 'string' ? __dirname : 'auto',
13
13
  type: 'cjs',
14
- version: '7.2.2-5'
14
+ version: '7.2.2-6'
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/types-known',
6
- path: typeof __dirname === 'string' ? __dirname : 'auto',
6
+ path: new URL('.', import.meta.url).pathname,
7
7
  type: 'esm',
8
- version: '7.2.2-5'
8
+ version: '7.2.2-6'
9
9
  };