@polkadot/api-augment 6.12.2-21 → 6.12.2-25
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/consts.d.ts +950 -0
- package/augment/errors.d.ts +1558 -0
- package/augment/events.d.ts +1153 -0
- package/augment/index.d.ts +7 -0
- package/augment/index.js +3 -1
- package/augment/query.d.ts +1449 -0
- package/augment/tx.d.ts +5574 -0
- package/bundle.d.ts +2 -0
- package/detectPackage.cjs +4 -2
- package/detectPackage.d.ts +1 -0
- package/detectPackage.js +2 -1
- package/index.d.ts +2 -0
- package/package.json +17 -8
- package/packageInfo.cjs +1 -1
- package/packageInfo.d.ts +4 -0
- package/packageInfo.js +1 -1
- package/augment/augment.cjs +0 -3
- package/augment/augment.js +0 -3
package/bundle.d.ts
ADDED
package/detectPackage.cjs
CHANGED
|
@@ -4,10 +4,12 @@ var _packageInfo = require("@polkadot/api-base/packageInfo");
|
|
|
4
4
|
|
|
5
5
|
var _packageInfo2 = require("@polkadot/types/packageInfo");
|
|
6
6
|
|
|
7
|
+
var _packageInfo3 = require("@polkadot/types-codec/packageInfo");
|
|
8
|
+
|
|
7
9
|
var _util = require("@polkadot/util");
|
|
8
10
|
|
|
9
|
-
var
|
|
11
|
+
var _packageInfo4 = require("./packageInfo.cjs");
|
|
10
12
|
|
|
11
13
|
// Copyright 2017-2021 @polkadot/api-augment authors & contributors
|
|
12
14
|
// SPDX-License-Identifier: Apache-2.0
|
|
13
|
-
(0, _util.detectPackage)(
|
|
15
|
+
(0, _util.detectPackage)(_packageInfo4.packageInfo, typeof __dirname !== 'undefined' && __dirname, [_packageInfo.packageInfo, _packageInfo2.packageInfo, _packageInfo3.packageInfo]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/detectPackage.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
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
|
+
import { packageInfo as codecInfo } from '@polkadot/types-codec/packageInfo';
|
|
5
6
|
import { detectPackage } from '@polkadot/util';
|
|
6
7
|
import { packageInfo } from "./packageInfo.js";
|
|
7
|
-
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [baseInfo, typesInfo]);
|
|
8
|
+
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [baseInfo, typesInfo, codecInfo]);
|
package/index.d.ts
ADDED
package/package.json
CHANGED
|
@@ -20,13 +20,16 @@
|
|
|
20
20
|
"./detectPackage.cjs"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "6.12.2-
|
|
23
|
+
"version": "6.12.2-25",
|
|
24
24
|
"main": "index.js",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@babel/runtime": "^7.16.5",
|
|
27
|
-
"@polkadot/api-base": "6.12.2-
|
|
28
|
-
"@polkadot/
|
|
29
|
-
"@polkadot/types
|
|
27
|
+
"@polkadot/api-base": "6.12.2-25",
|
|
28
|
+
"@polkadot/rpc-augment": "6.12.2-25",
|
|
29
|
+
"@polkadot/types": "6.12.2-25",
|
|
30
|
+
"@polkadot/types-augment": "6.12.2-25",
|
|
31
|
+
"@polkadot/types-codec": "6.12.2-25",
|
|
32
|
+
"@polkadot/util": "^8.2.2"
|
|
30
33
|
},
|
|
31
34
|
"exports": {
|
|
32
35
|
".": {
|
|
@@ -37,43 +40,49 @@
|
|
|
37
40
|
"require": "./augment/index.cjs",
|
|
38
41
|
"default": "./augment/index.js"
|
|
39
42
|
},
|
|
40
|
-
"./augment/augment": {
|
|
41
|
-
"require": "./augment/augment.cjs",
|
|
42
|
-
"default": "./augment/augment.js"
|
|
43
|
-
},
|
|
44
43
|
"./augment/consts": {
|
|
45
44
|
"require": "./augment/consts.cjs",
|
|
46
45
|
"default": "./augment/consts.js"
|
|
47
46
|
},
|
|
47
|
+
"./augment/consts.d.ts": "./augment/consts.d.ts",
|
|
48
48
|
"./augment/errors": {
|
|
49
49
|
"require": "./augment/errors.cjs",
|
|
50
50
|
"default": "./augment/errors.js"
|
|
51
51
|
},
|
|
52
|
+
"./augment/errors.d.ts": "./augment/errors.d.ts",
|
|
52
53
|
"./augment/events": {
|
|
53
54
|
"require": "./augment/events.cjs",
|
|
54
55
|
"default": "./augment/events.js"
|
|
55
56
|
},
|
|
57
|
+
"./augment/events.d.ts": "./augment/events.d.ts",
|
|
58
|
+
"./augment/index.d.ts": "./augment/index.d.ts",
|
|
56
59
|
"./augment/query": {
|
|
57
60
|
"require": "./augment/query.cjs",
|
|
58
61
|
"default": "./augment/query.js"
|
|
59
62
|
},
|
|
63
|
+
"./augment/query.d.ts": "./augment/query.d.ts",
|
|
60
64
|
"./augment/tx": {
|
|
61
65
|
"require": "./augment/tx.cjs",
|
|
62
66
|
"default": "./augment/tx.js"
|
|
63
67
|
},
|
|
68
|
+
"./augment/tx.d.ts": "./augment/tx.d.ts",
|
|
64
69
|
"./bundle": {
|
|
65
70
|
"require": "./bundle.cjs",
|
|
66
71
|
"default": "./bundle.js"
|
|
67
72
|
},
|
|
73
|
+
"./bundle.d.ts": "./bundle.d.ts",
|
|
68
74
|
"./detectPackage": {
|
|
69
75
|
"require": "./detectPackage.cjs",
|
|
70
76
|
"default": "./detectPackage.js"
|
|
71
77
|
},
|
|
78
|
+
"./detectPackage.d.ts": "./detectPackage.d.ts",
|
|
79
|
+
"./index.d.ts": "./index.d.ts",
|
|
72
80
|
"./package.json": "./package.json",
|
|
73
81
|
"./packageInfo": {
|
|
74
82
|
"require": "./packageInfo.cjs",
|
|
75
83
|
"default": "./packageInfo.js"
|
|
76
84
|
},
|
|
85
|
+
"./packageInfo.d.ts": "./packageInfo.d.ts",
|
|
77
86
|
"./README.md": "./README.md"
|
|
78
87
|
}
|
|
79
88
|
}
|
package/packageInfo.cjs
CHANGED
package/packageInfo.d.ts
ADDED
package/packageInfo.js
CHANGED
package/augment/augment.cjs
DELETED
package/augment/augment.js
DELETED