@polkadot/api-augment 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,11 +5,11 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
 
8
- var _packageInfo = require("@polkadot/api-base/packageInfo");
8
+ var _packageInfo = require("@polkadot/api-base/packageInfo.cjs");
9
9
 
10
- var _packageInfo2 = require("@polkadot/types/packageInfo");
10
+ var _packageInfo2 = require("@polkadot/types/packageInfo.cjs");
11
11
 
12
- var _packageInfo3 = require("@polkadot/types-codec/packageInfo");
12
+ var _packageInfo3 = require("@polkadot/types-codec/packageInfo.cjs");
13
13
 
14
14
  // Copyright 2017-2022 @polkadot/api-augment authors & contributors
15
15
  // SPDX-License-Identifier: Apache-2.0
package/detectOther.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // Copyright 2017-2022 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
- import { packageInfo as baseInfo } from '@polkadot/api-base/packageInfo';
4
- import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
5
- import { packageInfo as codecInfo } from '@polkadot/types-codec/packageInfo';
3
+ import { packageInfo as baseInfo } from '@polkadot/api-base/packageInfo.js';
4
+ import { packageInfo as typesInfo } from '@polkadot/types/packageInfo.js';
5
+ import { packageInfo as codecInfo } from '@polkadot/types-codec/packageInfo.js';
6
6
  export default [baseInfo, typesInfo, codecInfo];
package/package.json CHANGED
@@ -20,17 +20,19 @@
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/api-base": "7.2.2-5",
28
- "@polkadot/rpc-augment": "7.2.2-5",
29
- "@polkadot/types": "7.2.2-5",
30
- "@polkadot/types-augment": "7.2.2-5",
31
- "@polkadot/types-codec": "7.2.2-5",
32
- "@polkadot/util": "^8.2.2"
27
+ "@polkadot/api-base": "7.2.2-6",
28
+ "@polkadot/rpc-augment": "7.2.2-6",
29
+ "@polkadot/types": "7.2.2-6",
30
+ "@polkadot/types-augment": "7.2.2-6",
31
+ "@polkadot/types-codec": "7.2.2-6",
32
+ "@polkadot/util": "^8.2.3-29"
33
33
  },
34
+ "module": "index.js",
35
+ "types": "index.d.ts",
34
36
  "exports": {
35
37
  ".": {
36
38
  "types": "./index.d.ts",
@@ -88,6 +90,8 @@
88
90
  "default": "./kusama/tx.js"
89
91
  },
90
92
  "./package.json": "./package.json",
93
+ "./packageInfo.cjs": "./packageInfo.cjs",
94
+ "./packageInfo.js": "./packageInfo.js",
91
95
  "./packageInfo": {
92
96
  "types": "./packageInfo.d.ts",
93
97
  "require": "./packageInfo.cjs",
package/packageInfo.cjs CHANGED
@@ -11,6 +11,6 @@ const packageInfo = {
11
11
  name: '@polkadot/api-augment',
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/api-augment',
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
  };