@polkadot/api-augment 10.11.2 → 10.12.1
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/cjs/index.js +1 -1
- package/cjs/{detectOther.js → packageDetect.js} +3 -1
- package/cjs/packageInfo.js +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +14 -20
- package/{detectOther.js → packageDetect.js} +3 -1
- package/packageInfo.js +1 -1
- package/cjs/detectPackage.js +0 -7
- package/detectOther.d.ts +0 -7
- package/detectPackage.js +0 -4
- /package/{detectPackage.d.ts → packageDetect.d.ts} +0 -0
package/cjs/index.js
CHANGED
|
@@ -3,4 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const packageInfo_1 = require("@polkadot/api-base/cjs/packageInfo");
|
|
4
4
|
const packageInfo_2 = require("@polkadot/types/cjs/packageInfo");
|
|
5
5
|
const packageInfo_3 = require("@polkadot/types-codec/cjs/packageInfo");
|
|
6
|
-
|
|
6
|
+
const util_1 = require("@polkadot/util");
|
|
7
|
+
const packageInfo_js_1 = require("./packageInfo.js");
|
|
8
|
+
(0, util_1.detectPackage)(packageInfo_js_1.packageInfo, null, [packageInfo_1.packageInfo, packageInfo_3.packageInfo, packageInfo_2.packageInfo]);
|
package/cjs/packageInfo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.packageInfo = void 0;
|
|
4
|
-
exports.packageInfo = { name: '@polkadot/api-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.
|
|
4
|
+
exports.packageInfo = { name: '@polkadot/api-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.12.1' };
|
package/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import './
|
|
1
|
+
import './packageDetect.js';
|
|
2
2
|
export * from './bundle.js';
|
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import './
|
|
1
|
+
import './packageDetect.js';
|
|
2
2
|
export * from './bundle.js';
|
package/package.json
CHANGED
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
"url": "https://github.com/polkadot-js/api.git"
|
|
15
15
|
},
|
|
16
16
|
"sideEffects": [
|
|
17
|
-
"./
|
|
18
|
-
"./cjs/
|
|
17
|
+
"./packageDetect.js",
|
|
18
|
+
"./cjs/packageDetect.js"
|
|
19
19
|
],
|
|
20
20
|
"type": "module",
|
|
21
|
-
"version": "10.
|
|
21
|
+
"version": "10.12.1",
|
|
22
22
|
"main": "./cjs/index.js",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts",
|
|
@@ -43,18 +43,6 @@
|
|
|
43
43
|
"require": "./cjs/bundle.js",
|
|
44
44
|
"default": "./bundle.js"
|
|
45
45
|
},
|
|
46
|
-
"./detectOther": {
|
|
47
|
-
"types": "./detectOther.d.ts",
|
|
48
|
-
"module": "./detectOther.js",
|
|
49
|
-
"require": "./cjs/detectOther.js",
|
|
50
|
-
"default": "./detectOther.js"
|
|
51
|
-
},
|
|
52
|
-
"./detectPackage": {
|
|
53
|
-
"types": "./detectPackage.d.ts",
|
|
54
|
-
"module": "./detectPackage.js",
|
|
55
|
-
"require": "./cjs/detectPackage.js",
|
|
56
|
-
"default": "./detectPackage.js"
|
|
57
|
-
},
|
|
58
46
|
"./kusama": {
|
|
59
47
|
"types": "./kusama/index.d.ts",
|
|
60
48
|
"module": "./kusama/index.js",
|
|
@@ -107,6 +95,12 @@
|
|
|
107
95
|
"require": "./cjs/package.json",
|
|
108
96
|
"default": "./package.json"
|
|
109
97
|
},
|
|
98
|
+
"./packageDetect": {
|
|
99
|
+
"types": "./packageDetect.d.ts",
|
|
100
|
+
"module": "./packageDetect.js",
|
|
101
|
+
"require": "./cjs/packageDetect.js",
|
|
102
|
+
"default": "./packageDetect.js"
|
|
103
|
+
},
|
|
110
104
|
"./packageInfo.js": {
|
|
111
105
|
"types": "./packageInfo.d.ts",
|
|
112
106
|
"module": "./packageInfo.js",
|
|
@@ -217,11 +211,11 @@
|
|
|
217
211
|
}
|
|
218
212
|
},
|
|
219
213
|
"dependencies": {
|
|
220
|
-
"@polkadot/api-base": "10.
|
|
221
|
-
"@polkadot/rpc-augment": "10.
|
|
222
|
-
"@polkadot/types": "10.
|
|
223
|
-
"@polkadot/types-augment": "10.
|
|
224
|
-
"@polkadot/types-codec": "10.
|
|
214
|
+
"@polkadot/api-base": "10.12.1",
|
|
215
|
+
"@polkadot/rpc-augment": "10.12.1",
|
|
216
|
+
"@polkadot/types": "10.12.1",
|
|
217
|
+
"@polkadot/types-augment": "10.12.1",
|
|
218
|
+
"@polkadot/types-codec": "10.12.1",
|
|
225
219
|
"@polkadot/util": "^12.6.2",
|
|
226
220
|
"tslib": "^2.6.2"
|
|
227
221
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { packageInfo as baseInfo } from '@polkadot/api-base/packageInfo';
|
|
2
2
|
import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
|
|
3
3
|
import { packageInfo as codecInfo } from '@polkadot/types-codec/packageInfo';
|
|
4
|
-
|
|
4
|
+
import { detectPackage } from '@polkadot/util';
|
|
5
|
+
import { packageInfo } from './packageInfo.js';
|
|
6
|
+
detectPackage(packageInfo, null, [baseInfo, codecInfo, typesInfo]);
|
package/packageInfo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageInfo = { name: '@polkadot/api-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '10.
|
|
1
|
+
export const packageInfo = { name: '@polkadot/api-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '10.12.1' };
|
package/cjs/detectPackage.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const util_1 = require("@polkadot/util");
|
|
5
|
-
const detectOther_js_1 = tslib_1.__importDefault(require("./detectOther.js"));
|
|
6
|
-
const packageInfo_js_1 = require("./packageInfo.js");
|
|
7
|
-
(0, util_1.detectPackage)(packageInfo_js_1.packageInfo, null, detectOther_js_1.default);
|
package/detectOther.d.ts
DELETED
package/detectPackage.js
DELETED
|
File without changes
|