@polkadot/extension-inject 0.41.3-7 → 0.42.3-0
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/crossenv.cjs +7 -0
- package/crossenv.d.ts +0 -0
- package/crossenv.js +5 -0
- package/package.json +7 -7
- package/packageInfo.cjs +1 -1
- package/packageInfo.js +1 -1
- package/chrome.cjs +0 -11
- package/chrome.d.ts +0 -3
- package/chrome.js +0 -4
package/crossenv.cjs
ADDED
package/crossenv.d.ts
ADDED
|
File without changes
|
package/crossenv.js
ADDED
package/package.json
CHANGED
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
"type": "git",
|
|
13
13
|
"url": "https://github.com/polkadot-js/extension.git"
|
|
14
14
|
},
|
|
15
|
-
"sideEffects":
|
|
15
|
+
"sideEffects": true,
|
|
16
16
|
"type": "module",
|
|
17
|
-
"version": "0.
|
|
17
|
+
"version": "0.42.3-0",
|
|
18
18
|
"main": "index.js",
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@babel/runtime": "^7.16.3"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@types/chrome": "^0.0.
|
|
23
|
+
"@types/chrome": "^0.0.169",
|
|
24
24
|
"@types/firefox-webext-browser": "^94.0.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"require": "./index.cjs",
|
|
32
32
|
"default": "./index.js"
|
|
33
33
|
},
|
|
34
|
-
"./
|
|
35
|
-
"require": "./
|
|
36
|
-
"default": "./
|
|
34
|
+
"./crossenv": {
|
|
35
|
+
"require": "./crossenv.cjs",
|
|
36
|
+
"default": "./crossenv.js"
|
|
37
37
|
},
|
|
38
|
-
"./
|
|
38
|
+
"./crossenv.d.ts": "./crossenv.d.ts",
|
|
39
39
|
"./index.d.ts": "./index.d.ts",
|
|
40
40
|
"./package.json": "./package.json",
|
|
41
41
|
"./packageInfo": {
|
package/packageInfo.cjs
CHANGED
package/packageInfo.js
CHANGED
package/chrome.cjs
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
// Copyright 2019-2021 @polkadot/extension-inject authors & contributors
|
|
8
|
-
// SPDX-License-Identifier: Apache-2.0
|
|
9
|
-
const extension = typeof chrome !== 'undefined' ? chrome : typeof browser !== 'undefined' ? browser : null;
|
|
10
|
-
var _default = extension;
|
|
11
|
-
exports.default = _default;
|
package/chrome.d.ts
DELETED
package/chrome.js
DELETED