@polkadot/rpc-augment 7.1.2-2 → 7.1.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/augment/index.js CHANGED
@@ -1,3 +1,3 @@
1
- // Copyright 2017-2021 @polkadot/rpc-augment authors & contributors
1
+ // Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  import "./jsonrpc.js";
package/bundle.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2021 @polkadot/rpc-augment authors & contributors
1
+ // Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  import "./augment/index.js";
4
4
  export { packageInfo } from "./packageInfo.js";
@@ -0,0 +1,8 @@
1
+ // Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
2
+ // SPDX-License-Identifier: Apache-2.0
3
+
4
+ // Do not edit, auto-generated by @polkadot/dev
5
+
6
+ declare const __dirname: string | undefined;
7
+
8
+ export default __dirname;
package/cjs/dirname.js ADDED
@@ -0,0 +1,8 @@
1
+ // Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
2
+ // SPDX-License-Identifier: Apache-2.0
3
+
4
+ // Do not edit, auto-generated by @polkadot/dev
5
+
6
+ module.exports = typeof __dirname === 'string'
7
+ ? __dirname.replace('/cjs', '')
8
+ : undefined;
@@ -0,0 +1,3 @@
1
+ {
2
+ "type":"commonjs"
3
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _packageInfo = require("@polkadot/rpc-core/packageInfo");
9
+
10
+ var _packageInfo2 = require("@polkadot/types/packageInfo");
11
+
12
+ // Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
13
+ // SPDX-License-Identifier: Apache-2.0
14
+ var _default = [_packageInfo.packageInfo, _packageInfo2.packageInfo];
15
+ exports.default = _default;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ name: string;
3
+ version: string;
4
+ }[];
5
+ export default _default;
package/detectOther.js ADDED
@@ -0,0 +1,5 @@
1
+ // Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
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';
5
+ export default [coreInfo, typesInfo];
package/detectPackage.cjs CHANGED
@@ -1,11 +1,16 @@
1
1
  "use strict";
2
2
 
3
- var _packageInfo = require("@polkadot/types/packageInfo");
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
4
 
5
5
  var _util = require("@polkadot/util");
6
6
 
7
- var _packageInfo2 = require("./packageInfo.cjs");
7
+ var _dirname = _interopRequireDefault(require("./cjs/dirname"));
8
8
 
9
- // Copyright 2017-2021 @polkadot/rpc-augment authors & contributors
9
+ var _detectOther = _interopRequireDefault(require("./detectOther.cjs"));
10
+
11
+ var _packageInfo = require("./packageInfo.cjs");
12
+
13
+ // Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
10
14
  // SPDX-License-Identifier: Apache-2.0
11
- (0, _util.detectPackage)(_packageInfo2.packageInfo, typeof __dirname !== 'undefined' && __dirname, [_packageInfo.packageInfo]);
15
+ // Do not edit, auto-generated by @polkadot/dev
16
+ (0, _util.detectPackage)(_packageInfo.packageInfo, _dirname.default, _detectOther.default);
package/detectPackage.js CHANGED
@@ -1,6 +1,8 @@
1
- // Copyright 2017-2021 @polkadot/rpc-augment authors & contributors
1
+ // Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
- import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
3
+ // Do not edit, auto-generated by @polkadot/dev
4
4
  import { detectPackage } from '@polkadot/util';
5
+ import dirname from "./cjs/dirname.js";
6
+ import others from "./detectOther.js";
5
7
  import { packageInfo } from "./packageInfo.js";
6
- detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [typesInfo]);
8
+ detectPackage(packageInfo, dirname, others);
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2021 @polkadot/rpc-augment authors & contributors
1
+ // Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  import "./detectPackage.js";
4
4
  export * from "./bundle.js";
package/package.json CHANGED
@@ -20,13 +20,13 @@
20
20
  "./detectPackage.cjs"
21
21
  ],
22
22
  "type": "module",
23
- "version": "7.1.2-2",
23
+ "version": "7.1.2-6",
24
24
  "main": "index.js",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.16.7",
27
- "@polkadot/rpc-core": "7.1.2-2",
28
- "@polkadot/types": "7.1.2-2",
29
- "@polkadot/types-codec": "7.1.2-2",
27
+ "@polkadot/rpc-core": "7.1.2-6",
28
+ "@polkadot/types": "7.1.2-6",
29
+ "@polkadot/types-codec": "7.1.2-6",
30
30
  "@polkadot/util": "^8.2.2"
31
31
  },
32
32
  "exports": {
@@ -50,6 +50,16 @@
50
50
  "require": "./bundle.cjs",
51
51
  "default": "./bundle.js"
52
52
  },
53
+ "./cjs/dirname": {
54
+ "types": "./cjs/dirname.d.ts",
55
+ "default": "./cjs/dirname.js"
56
+ },
57
+ "./cjs/package.json": "./cjs/package.json",
58
+ "./detectOther": {
59
+ "types": "./detectOther.d.ts",
60
+ "require": "./detectOther.cjs",
61
+ "default": "./detectOther.js"
62
+ },
53
63
  "./detectPackage": {
54
64
  "types": "./detectPackage.d.ts",
55
65
  "require": "./detectPackage.cjs",
package/packageInfo.cjs CHANGED
@@ -4,11 +4,11 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.packageInfo = void 0;
7
- // Copyright 2017-2021 @polkadot/rpc-augment authors & contributors
7
+ // Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
8
8
  // SPDX-License-Identifier: Apache-2.0
9
- // Auto-generated by @polkadot/dev, do not edit
9
+ // Do not edit, auto-generated by @polkadot/dev
10
10
  const packageInfo = {
11
11
  name: '@polkadot/rpc-augment',
12
- version: '7.1.2-2'
12
+ version: '7.1.2-6'
13
13
  };
14
14
  exports.packageInfo = packageInfo;
package/packageInfo.js CHANGED
@@ -1,7 +1,7 @@
1
- // Copyright 2017-2021 @polkadot/rpc-augment authors & contributors
1
+ // Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
- // Auto-generated by @polkadot/dev, do not edit
3
+ // Do not edit, auto-generated by @polkadot/dev
4
4
  export const packageInfo = {
5
5
  name: '@polkadot/rpc-augment',
6
- version: '7.1.2-2'
6
+ version: '7.1.2-6'
7
7
  };