@polkadot/extension-chains 0.42.5-6 → 0.42.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/bundle.cjs +1 -1
- package/bundle.js +1 -1
- package/detectOther.cjs +13 -0
- package/detectOther.d.ts +7 -0
- package/detectOther.js +4 -0
- package/detectPackage.cjs +7 -4
- package/detectPackage.js +4 -3
- package/index.cjs +0 -2
- package/index.d.ts +0 -1
- package/index.js +3 -2
- package/package.json +22 -13
- package/packageInfo.cjs +5 -3
- package/packageInfo.d.ts +2 -0
- package/packageInfo.js +5 -3
package/bundle.cjs
CHANGED
|
@@ -20,7 +20,7 @@ var _utilCrypto = require("@polkadot/util-crypto");
|
|
|
20
20
|
|
|
21
21
|
var _packageInfo = require("./packageInfo.cjs");
|
|
22
22
|
|
|
23
|
-
// Copyright 2019-
|
|
23
|
+
// Copyright 2019-2022 @polkadot/extension-chains authors & contributors
|
|
24
24
|
// SPDX-License-Identifier: Apache-2.0
|
|
25
25
|
// imports chain details, generally metadata. For the generation of these,
|
|
26
26
|
// inside the api, run `yarn chain:info --ws <url>`
|
package/bundle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2019-
|
|
1
|
+
// Copyright 2019-2022 @polkadot/extension-chains authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
import { Metadata, TypeRegistry } from '@polkadot/types';
|
|
4
4
|
import { base64Decode } from '@polkadot/util-crypto';
|
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/extension-inject/packageInfo.cjs");
|
|
9
|
+
|
|
10
|
+
// Copyright 2017-2022 @polkadot/extension-chains 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,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
|
|
5
5
|
var _util = require("@polkadot/util");
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _detectOther = _interopRequireDefault(require("./detectOther.cjs"));
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
var _packageInfo = require("./packageInfo.cjs");
|
|
10
|
+
|
|
11
|
+
// Copyright 2017-2022 @polkadot/extension-chains authors & contributors
|
|
10
12
|
// SPDX-License-Identifier: Apache-2.0
|
|
11
|
-
|
|
13
|
+
// Do not edit, auto-generated by @polkadot/dev
|
|
14
|
+
(0, _util.detectPackage)(_packageInfo.packageInfo, null, _detectOther.default);
|
package/detectPackage.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
// Copyright 2017-
|
|
1
|
+
// Copyright 2017-2022 @polkadot/extension-chains authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
|
|
3
|
+
// Do not edit, auto-generated by @polkadot/dev
|
|
4
4
|
import { detectPackage } from '@polkadot/util';
|
|
5
|
+
import others from "./detectOther.js";
|
|
5
6
|
import { packageInfo } from "./packageInfo.js";
|
|
6
|
-
detectPackage(packageInfo,
|
|
7
|
+
detectPackage(packageInfo, null, others);
|
package/index.cjs
CHANGED
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
// Copyright 2019-
|
|
1
|
+
// Copyright 2019-2022 @polkadot/extension-chains authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
|
|
3
|
+
// Since we inject into pages, we skip this
|
|
4
|
+
// import './detectPackage';
|
|
4
5
|
export * from "./bundle.js";
|
package/package.json
CHANGED
|
@@ -17,19 +17,10 @@
|
|
|
17
17
|
"./detectPackage.cjs"
|
|
18
18
|
],
|
|
19
19
|
"type": "module",
|
|
20
|
-
"version": "0.42.5
|
|
21
|
-
"main": "index.
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
"@polkadot/extension-inject": "^0.42.5-6",
|
|
25
|
-
"@polkadot/networks": "^8.2.2",
|
|
26
|
-
"@polkadot/util": "^8.2.2",
|
|
27
|
-
"@polkadot/util-crypto": "^8.2.2"
|
|
28
|
-
},
|
|
29
|
-
"peerDependencies": {
|
|
30
|
-
"@polkadot/api": "*",
|
|
31
|
-
"@polkadot/types": "*"
|
|
32
|
-
},
|
|
20
|
+
"version": "0.42.5",
|
|
21
|
+
"main": "index.cjs",
|
|
22
|
+
"module": "index.js",
|
|
23
|
+
"types": "index.d.ts",
|
|
33
24
|
"exports": {
|
|
34
25
|
".": {
|
|
35
26
|
"types": "./index.d.ts",
|
|
@@ -41,12 +32,19 @@
|
|
|
41
32
|
"require": "./bundle.cjs",
|
|
42
33
|
"default": "./bundle.js"
|
|
43
34
|
},
|
|
35
|
+
"./detectOther": {
|
|
36
|
+
"types": "./detectOther.d.ts",
|
|
37
|
+
"require": "./detectOther.cjs",
|
|
38
|
+
"default": "./detectOther.js"
|
|
39
|
+
},
|
|
44
40
|
"./detectPackage": {
|
|
45
41
|
"types": "./detectPackage.d.ts",
|
|
46
42
|
"require": "./detectPackage.cjs",
|
|
47
43
|
"default": "./detectPackage.js"
|
|
48
44
|
},
|
|
49
45
|
"./package.json": "./package.json",
|
|
46
|
+
"./packageInfo.cjs": "./packageInfo.cjs",
|
|
47
|
+
"./packageInfo.js": "./packageInfo.js",
|
|
50
48
|
"./packageInfo": {
|
|
51
49
|
"types": "./packageInfo.d.ts",
|
|
52
50
|
"require": "./packageInfo.cjs",
|
|
@@ -57,5 +55,16 @@
|
|
|
57
55
|
"require": "./types.cjs",
|
|
58
56
|
"default": "./types.js"
|
|
59
57
|
}
|
|
58
|
+
},
|
|
59
|
+
"dependencies": {
|
|
60
|
+
"@babel/runtime": "^7.16.7",
|
|
61
|
+
"@polkadot/extension-inject": "^0.42.5",
|
|
62
|
+
"@polkadot/networks": "^8.3.1",
|
|
63
|
+
"@polkadot/util": "^8.3.1",
|
|
64
|
+
"@polkadot/util-crypto": "^8.3.1"
|
|
65
|
+
},
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"@polkadot/api": "*",
|
|
68
|
+
"@polkadot/types": "*"
|
|
60
69
|
}
|
|
61
70
|
}
|
package/packageInfo.cjs
CHANGED
|
@@ -4,11 +4,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.packageInfo = void 0;
|
|
7
|
-
// Copyright 2017-
|
|
7
|
+
// Copyright 2017-2022 @polkadot/extension-chains authors & contributors
|
|
8
8
|
// SPDX-License-Identifier: Apache-2.0
|
|
9
|
-
//
|
|
9
|
+
// Do not edit, auto-generated by @polkadot/dev
|
|
10
10
|
const packageInfo = {
|
|
11
11
|
name: '@polkadot/extension-chains',
|
|
12
|
-
|
|
12
|
+
path: typeof __dirname === 'string' ? __dirname : 'auto',
|
|
13
|
+
type: 'cjs',
|
|
14
|
+
version: '0.42.5'
|
|
13
15
|
};
|
|
14
16
|
exports.packageInfo = packageInfo;
|
package/packageInfo.d.ts
CHANGED
package/packageInfo.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
// Copyright 2017-
|
|
1
|
+
// Copyright 2017-2022 @polkadot/extension-chains authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
//
|
|
3
|
+
// Do not edit, auto-generated by @polkadot/dev
|
|
4
4
|
export const packageInfo = {
|
|
5
5
|
name: '@polkadot/extension-chains',
|
|
6
|
-
|
|
6
|
+
path: new URL('.', import.meta.url).pathname,
|
|
7
|
+
type: 'esm',
|
|
8
|
+
version: '0.42.5'
|
|
7
9
|
};
|