@polkadot/rpc-augment 7.2.2-4 → 7.2.2-8

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,9 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
 
8
- var _packageInfo = require("@polkadot/rpc-core/packageInfo");
8
+ var _packageInfo = require("@polkadot/rpc-core/packageInfo.cjs");
9
9
 
10
- var _packageInfo2 = require("@polkadot/types/packageInfo");
10
+ var _packageInfo2 = require("@polkadot/types/packageInfo.cjs");
11
11
 
12
12
  // Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
13
13
  // SPDX-License-Identifier: Apache-2.0
package/detectOther.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
- import { packageInfo as coreInfo } from '@polkadot/rpc-core/packageInfo';
4
- import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
3
+ import { packageInfo as coreInfo } from '@polkadot/rpc-core/packageInfo.js';
4
+ import { packageInfo as typesInfo } from '@polkadot/types/packageInfo.js';
5
5
  export default [coreInfo, typesInfo];
package/package.json CHANGED
@@ -20,15 +20,17 @@
20
20
  "./detectPackage.cjs"
21
21
  ],
22
22
  "type": "module",
23
- "version": "7.2.2-4",
24
- "main": "index.js",
23
+ "version": "7.2.2-8",
24
+ "main": "index.cjs",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.16.7",
27
- "@polkadot/rpc-core": "7.2.2-4",
28
- "@polkadot/types": "7.2.2-4",
29
- "@polkadot/types-codec": "7.2.2-4",
30
- "@polkadot/util": "^8.2.2"
27
+ "@polkadot/rpc-core": "7.2.2-8",
28
+ "@polkadot/types": "7.2.2-8",
29
+ "@polkadot/types-codec": "7.2.2-8",
30
+ "@polkadot/util": "^8.2.3-29"
31
31
  },
32
+ "module": "index.js",
33
+ "types": "index.d.ts",
32
34
  "exports": {
33
35
  ".": {
34
36
  "types": "./index.d.ts",
@@ -61,6 +63,8 @@
61
63
  "default": "./detectPackage.js"
62
64
  },
63
65
  "./package.json": "./package.json",
66
+ "./packageInfo.cjs": "./packageInfo.cjs",
67
+ "./packageInfo.js": "./packageInfo.js",
64
68
  "./packageInfo": {
65
69
  "types": "./packageInfo.d.ts",
66
70
  "require": "./packageInfo.cjs",
package/packageInfo.cjs CHANGED
@@ -11,6 +11,6 @@ const packageInfo = {
11
11
  name: '@polkadot/rpc-augment',
12
12
  path: typeof __dirname === 'string' ? __dirname : 'auto',
13
13
  type: 'cjs',
14
- version: '7.2.2-4'
14
+ version: '7.2.2-8'
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/rpc-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-4'
8
+ version: '7.2.2-8'
9
9
  };