@polkadot/rpc-augment 7.1.2-1 → 7.1.2-5
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 +1 -1
- package/bundle.js +1 -1
- package/cjs/dirname.d.ts +6 -0
- package/cjs/dirname.js +6 -0
- package/cjs/package.json +3 -0
- package/detectOther.cjs +13 -0
- package/detectOther.d.ts +5 -0
- package/detectOther.js +4 -0
- package/detectPackage.cjs +6 -2
- package/detectPackage.js +2 -1
- package/index.js +1 -1
- package/package.json +15 -5
- package/packageInfo.cjs +1 -1
- package/packageInfo.js +1 -1
package/augment/index.js
CHANGED
package/bundle.js
CHANGED
package/cjs/dirname.d.ts
ADDED
package/cjs/dirname.js
ADDED
package/cjs/package.json
ADDED
package/detectOther.cjs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _packageInfo = require("@polkadot/types/packageInfo");
|
|
9
|
+
|
|
10
|
+
// Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
|
|
11
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
12
|
+
var _default = [_packageInfo.packageInfo];
|
|
13
|
+
exports.default = _default;
|
package/detectOther.d.ts
ADDED
package/detectOther.js
ADDED
package/detectPackage.cjs
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
3
5
|
var _packageInfo = require("@polkadot/types/packageInfo");
|
|
4
6
|
|
|
5
7
|
var _util = require("@polkadot/util");
|
|
6
8
|
|
|
9
|
+
var _dirname2 = _interopRequireDefault(require("./cjs/dirname"));
|
|
10
|
+
|
|
7
11
|
var _packageInfo2 = require("./packageInfo.cjs");
|
|
8
12
|
|
|
9
|
-
// Copyright 2017-
|
|
13
|
+
// Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
|
|
10
14
|
// SPDX-License-Identifier: Apache-2.0
|
|
11
|
-
(0, _util.detectPackage)(_packageInfo2.packageInfo, typeof
|
|
15
|
+
(0, _util.detectPackage)(_packageInfo2.packageInfo, typeof _dirname2.default !== 'undefined' && _dirname2.default, [_packageInfo.packageInfo]);
|
package/detectPackage.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
// Copyright 2017-
|
|
1
|
+
// Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
|
|
4
4
|
import { detectPackage } from '@polkadot/util';
|
|
5
|
+
import __dirname from "./cjs/dirname.js";
|
|
5
6
|
import { packageInfo } from "./packageInfo.js";
|
|
6
7
|
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [typesInfo]);
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"./detectPackage.cjs"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "7.1.2-
|
|
23
|
+
"version": "7.1.2-5",
|
|
24
24
|
"main": "index.js",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@babel/runtime": "^7.16.
|
|
27
|
-
"@polkadot/rpc-core": "7.1.2-
|
|
28
|
-
"@polkadot/types": "7.1.2-
|
|
29
|
-
"@polkadot/types-codec": "7.1.2-
|
|
26
|
+
"@babel/runtime": "^7.16.7",
|
|
27
|
+
"@polkadot/rpc-core": "7.1.2-5",
|
|
28
|
+
"@polkadot/types": "7.1.2-5",
|
|
29
|
+
"@polkadot/types-codec": "7.1.2-5",
|
|
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
package/packageInfo.js
CHANGED