@polkadot/api-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/base.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 +17 -0
- package/detectOther.d.ts +5 -0
- package/detectOther.js +6 -0
- package/detectPackage.cjs +6 -2
- package/detectPackage.js +2 -1
- package/index.js +1 -1
- package/kusama/index.js +1 -1
- package/package.json +17 -7
- package/packageInfo.cjs +1 -1
- package/packageInfo.js +1 -1
- package/polkadot/index.js +1 -1
- package/substrate/index.js +1 -1
package/base.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2017-
|
|
1
|
+
// Copyright 2017-2022 @polkadot/api-augment authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
// for the API, we decorate not only the endpoints, but all types
|
|
4
4
|
import '@polkadot/rpc-augment';
|
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,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _packageInfo = require("@polkadot/api-base/packageInfo");
|
|
9
|
+
|
|
10
|
+
var _packageInfo2 = require("@polkadot/types/packageInfo");
|
|
11
|
+
|
|
12
|
+
var _packageInfo3 = require("@polkadot/types-codec/packageInfo");
|
|
13
|
+
|
|
14
|
+
// Copyright 2017-2022 @polkadot/api-augment authors & contributors
|
|
15
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
16
|
+
var _default = [_packageInfo.packageInfo, _packageInfo2.packageInfo, _packageInfo3.packageInfo];
|
|
17
|
+
exports.default = _default;
|
package/detectOther.d.ts
ADDED
package/detectOther.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// Copyright 2017-2022 @polkadot/api-augment authors & contributors
|
|
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';
|
|
6
|
+
export default [baseInfo, typesInfo, codecInfo];
|
package/detectPackage.cjs
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
3
5
|
var _packageInfo = require("@polkadot/api-base/packageInfo");
|
|
4
6
|
|
|
5
7
|
var _packageInfo2 = require("@polkadot/types/packageInfo");
|
|
@@ -8,8 +10,10 @@ var _packageInfo3 = require("@polkadot/types-codec/packageInfo");
|
|
|
8
10
|
|
|
9
11
|
var _util = require("@polkadot/util");
|
|
10
12
|
|
|
13
|
+
var _dirname2 = _interopRequireDefault(require("./cjs/dirname"));
|
|
14
|
+
|
|
11
15
|
var _packageInfo4 = require("./packageInfo.cjs");
|
|
12
16
|
|
|
13
|
-
// Copyright 2017-
|
|
17
|
+
// Copyright 2017-2022 @polkadot/api-augment authors & contributors
|
|
14
18
|
// SPDX-License-Identifier: Apache-2.0
|
|
15
|
-
(0, _util.detectPackage)(_packageInfo4.packageInfo, typeof
|
|
19
|
+
(0, _util.detectPackage)(_packageInfo4.packageInfo, typeof _dirname2.default !== 'undefined' && _dirname2.default, [_packageInfo.packageInfo, _packageInfo2.packageInfo, _packageInfo3.packageInfo]);
|
package/detectPackage.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
// Copyright 2017-
|
|
1
|
+
// Copyright 2017-2022 @polkadot/api-augment authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
import { packageInfo as baseInfo } from '@polkadot/api-base/packageInfo';
|
|
4
4
|
import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
|
|
5
5
|
import { packageInfo as codecInfo } from '@polkadot/types-codec/packageInfo';
|
|
6
6
|
import { detectPackage } from '@polkadot/util';
|
|
7
|
+
import __dirname from "./cjs/dirname.js";
|
|
7
8
|
import { packageInfo } from "./packageInfo.js";
|
|
8
9
|
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [baseInfo, typesInfo, codecInfo]);
|
package/index.js
CHANGED
package/kusama/index.js
CHANGED
package/package.json
CHANGED
|
@@ -20,15 +20,15 @@
|
|
|
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/api-base": "7.1.2-
|
|
28
|
-
"@polkadot/rpc-augment": "7.1.2-
|
|
29
|
-
"@polkadot/types": "7.1.2-
|
|
30
|
-
"@polkadot/types-augment": "7.1.2-
|
|
31
|
-
"@polkadot/types-codec": "7.1.2-
|
|
26
|
+
"@babel/runtime": "^7.16.7",
|
|
27
|
+
"@polkadot/api-base": "7.1.2-5",
|
|
28
|
+
"@polkadot/rpc-augment": "7.1.2-5",
|
|
29
|
+
"@polkadot/types": "7.1.2-5",
|
|
30
|
+
"@polkadot/types-augment": "7.1.2-5",
|
|
31
|
+
"@polkadot/types-codec": "7.1.2-5",
|
|
32
32
|
"@polkadot/util": "^8.2.2"
|
|
33
33
|
},
|
|
34
34
|
"exports": {
|
|
@@ -47,6 +47,16 @@
|
|
|
47
47
|
"require": "./bundle.cjs",
|
|
48
48
|
"default": "./bundle.js"
|
|
49
49
|
},
|
|
50
|
+
"./cjs/dirname": {
|
|
51
|
+
"types": "./cjs/dirname.d.ts",
|
|
52
|
+
"default": "./cjs/dirname.js"
|
|
53
|
+
},
|
|
54
|
+
"./cjs/package.json": "./cjs/package.json",
|
|
55
|
+
"./detectOther": {
|
|
56
|
+
"types": "./detectOther.d.ts",
|
|
57
|
+
"require": "./detectOther.cjs",
|
|
58
|
+
"default": "./detectOther.js"
|
|
59
|
+
},
|
|
50
60
|
"./detectPackage": {
|
|
51
61
|
"types": "./detectPackage.d.ts",
|
|
52
62
|
"require": "./detectPackage.cjs",
|
package/packageInfo.cjs
CHANGED
package/packageInfo.js
CHANGED
package/polkadot/index.js
CHANGED
package/substrate/index.js
CHANGED