@polkadot/extension-base 0.42.3-2 → 0.42.3-6
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
import '
|
|
1
|
+
import '@polkadot/extension-mocks/chrome';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright 2019-2021 @polkadot/extension authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
import
|
|
3
|
+
import '@polkadot/extension-mocks/chrome';
|
|
4
4
|
import { TypeRegistry } from '@polkadot/types';
|
|
5
5
|
import keyring from '@polkadot/ui-keyring';
|
|
6
6
|
import { cryptoWaitReady } from '@polkadot/util-crypto';
|
package/package.json
CHANGED
|
@@ -14,159 +14,168 @@
|
|
|
14
14
|
},
|
|
15
15
|
"sideEffects": false,
|
|
16
16
|
"type": "module",
|
|
17
|
-
"version": "0.42.3-
|
|
17
|
+
"version": "0.42.3-6",
|
|
18
18
|
"main": "index.js",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@babel/runtime": "^7.16.
|
|
21
|
-
"@polkadot/api": "^
|
|
22
|
-
"@polkadot/extension-
|
|
23
|
-
"@polkadot/extension-
|
|
24
|
-
"@polkadot/
|
|
25
|
-
"@polkadot/
|
|
26
|
-
"@polkadot/
|
|
20
|
+
"@babel/runtime": "^7.16.5",
|
|
21
|
+
"@polkadot/api": "^7.0.3-2",
|
|
22
|
+
"@polkadot/extension-chains": "^0.42.3-6",
|
|
23
|
+
"@polkadot/extension-dapp": "^0.42.3-6",
|
|
24
|
+
"@polkadot/extension-inject": "^0.42.3-6",
|
|
25
|
+
"@polkadot/extension-mocks": "^0.42.3-6",
|
|
26
|
+
"@polkadot/keyring": "^8.2.2",
|
|
27
|
+
"@polkadot/phishing": "^0.6.568",
|
|
28
|
+
"@polkadot/rpc-provider": "^7.0.3-2",
|
|
29
|
+
"@polkadot/types": "^7.0.3-2",
|
|
30
|
+
"@polkadot/ui-keyring": "^0.87.7-0",
|
|
31
|
+
"@polkadot/ui-settings": "^0.87.7-0",
|
|
32
|
+
"@polkadot/util": "^8.2.2",
|
|
33
|
+
"@polkadot/util-crypto": "^8.2.2",
|
|
34
|
+
"eventemitter3": "^4.0.7",
|
|
35
|
+
"rxjs": "^7.4.0"
|
|
27
36
|
},
|
|
28
37
|
"exports": {
|
|
29
38
|
".": {
|
|
39
|
+
"types": "./index.d.ts",
|
|
30
40
|
"require": "./index.cjs",
|
|
31
41
|
"default": "./index.js"
|
|
32
42
|
},
|
|
33
43
|
"./background/handlers": {
|
|
44
|
+
"types": "./background/handlers/index.d.ts",
|
|
34
45
|
"require": "./background/handlers/index.cjs",
|
|
35
46
|
"default": "./background/handlers/index.js"
|
|
36
47
|
},
|
|
37
48
|
"./background/handlers/Extension": {
|
|
49
|
+
"types": "./background/handlers/Extension.d.ts",
|
|
38
50
|
"require": "./background/handlers/Extension.cjs",
|
|
39
51
|
"default": "./background/handlers/Extension.js"
|
|
40
52
|
},
|
|
41
|
-
"./background/handlers/Extension.d.ts": "./background/handlers/Extension.d.ts",
|
|
42
53
|
"./background/handlers/Extension.test": {
|
|
54
|
+
"types": "./background/handlers/Extension.test.d.ts",
|
|
43
55
|
"require": "./background/handlers/Extension.test.cjs",
|
|
44
56
|
"default": "./background/handlers/Extension.test.js"
|
|
45
57
|
},
|
|
46
|
-
"./background/handlers/Extension.test.d.ts": "./background/handlers/Extension.test.d.ts",
|
|
47
58
|
"./background/handlers/helpers": {
|
|
59
|
+
"types": "./background/handlers/helpers.d.ts",
|
|
48
60
|
"require": "./background/handlers/helpers.cjs",
|
|
49
61
|
"default": "./background/handlers/helpers.js"
|
|
50
62
|
},
|
|
51
|
-
"./background/handlers/helpers.d.ts": "./background/handlers/helpers.d.ts",
|
|
52
|
-
"./background/handlers/index.d.ts": "./background/handlers/index.d.ts",
|
|
53
63
|
"./background/handlers/State": {
|
|
64
|
+
"types": "./background/handlers/State.d.ts",
|
|
54
65
|
"require": "./background/handlers/State.cjs",
|
|
55
66
|
"default": "./background/handlers/State.js"
|
|
56
67
|
},
|
|
57
|
-
"./background/handlers/State.d.ts": "./background/handlers/State.d.ts",
|
|
58
68
|
"./background/handlers/subscriptions": {
|
|
69
|
+
"types": "./background/handlers/subscriptions.d.ts",
|
|
59
70
|
"require": "./background/handlers/subscriptions.cjs",
|
|
60
71
|
"default": "./background/handlers/subscriptions.js"
|
|
61
72
|
},
|
|
62
|
-
"./background/handlers/subscriptions.d.ts": "./background/handlers/subscriptions.d.ts",
|
|
63
73
|
"./background/handlers/Tabs": {
|
|
74
|
+
"types": "./background/handlers/Tabs.d.ts",
|
|
64
75
|
"require": "./background/handlers/Tabs.cjs",
|
|
65
76
|
"default": "./background/handlers/Tabs.js"
|
|
66
77
|
},
|
|
67
|
-
"./background/handlers/Tabs.d.ts": "./background/handlers/Tabs.d.ts",
|
|
68
78
|
"./background/RequestBytesSign": {
|
|
79
|
+
"types": "./background/RequestBytesSign.d.ts",
|
|
69
80
|
"require": "./background/RequestBytesSign.cjs",
|
|
70
81
|
"default": "./background/RequestBytesSign.js"
|
|
71
82
|
},
|
|
72
|
-
"./background/RequestBytesSign.d.ts": "./background/RequestBytesSign.d.ts",
|
|
73
83
|
"./background/RequestExtrinsicSign": {
|
|
84
|
+
"types": "./background/RequestExtrinsicSign.d.ts",
|
|
74
85
|
"require": "./background/RequestExtrinsicSign.cjs",
|
|
75
86
|
"default": "./background/RequestExtrinsicSign.js"
|
|
76
87
|
},
|
|
77
|
-
"./background/RequestExtrinsicSign.d.ts": "./background/RequestExtrinsicSign.d.ts",
|
|
78
88
|
"./background/types": {
|
|
89
|
+
"types": "./background/types.d.ts",
|
|
79
90
|
"require": "./background/types.cjs",
|
|
80
91
|
"default": "./background/types.js"
|
|
81
92
|
},
|
|
82
|
-
"./background/types.d.ts": "./background/types.d.ts",
|
|
83
93
|
"./defaults": {
|
|
94
|
+
"types": "./defaults.d.ts",
|
|
84
95
|
"require": "./defaults.cjs",
|
|
85
96
|
"default": "./defaults.js"
|
|
86
97
|
},
|
|
87
|
-
"./defaults.d.ts": "./defaults.d.ts",
|
|
88
|
-
"./index.d.ts": "./index.d.ts",
|
|
89
98
|
"./package.json": "./package.json",
|
|
90
99
|
"./packageInfo": {
|
|
100
|
+
"types": "./packageInfo.d.ts",
|
|
91
101
|
"require": "./packageInfo.cjs",
|
|
92
102
|
"default": "./packageInfo.js"
|
|
93
103
|
},
|
|
94
|
-
"./packageInfo.d.ts": "./packageInfo.d.ts",
|
|
95
104
|
"./page": {
|
|
105
|
+
"types": "./page/index.d.ts",
|
|
96
106
|
"require": "./page/index.cjs",
|
|
97
107
|
"default": "./page/index.js"
|
|
98
108
|
},
|
|
99
109
|
"./page/Accounts": {
|
|
110
|
+
"types": "./page/Accounts.d.ts",
|
|
100
111
|
"require": "./page/Accounts.cjs",
|
|
101
112
|
"default": "./page/Accounts.js"
|
|
102
113
|
},
|
|
103
|
-
"./page/Accounts.d.ts": "./page/Accounts.d.ts",
|
|
104
|
-
"./page/index.d.ts": "./page/index.d.ts",
|
|
105
114
|
"./page/Injected": {
|
|
115
|
+
"types": "./page/Injected.d.ts",
|
|
106
116
|
"require": "./page/Injected.cjs",
|
|
107
117
|
"default": "./page/Injected.js"
|
|
108
118
|
},
|
|
109
|
-
"./page/Injected.d.ts": "./page/Injected.d.ts",
|
|
110
119
|
"./page/Metadata": {
|
|
120
|
+
"types": "./page/Metadata.d.ts",
|
|
111
121
|
"require": "./page/Metadata.cjs",
|
|
112
122
|
"default": "./page/Metadata.js"
|
|
113
123
|
},
|
|
114
|
-
"./page/Metadata.d.ts": "./page/Metadata.d.ts",
|
|
115
124
|
"./page/PostMessageProvider": {
|
|
125
|
+
"types": "./page/PostMessageProvider.d.ts",
|
|
116
126
|
"require": "./page/PostMessageProvider.cjs",
|
|
117
127
|
"default": "./page/PostMessageProvider.js"
|
|
118
128
|
},
|
|
119
|
-
"./page/PostMessageProvider.d.ts": "./page/PostMessageProvider.d.ts",
|
|
120
129
|
"./page/Signer": {
|
|
130
|
+
"types": "./page/Signer.d.ts",
|
|
121
131
|
"require": "./page/Signer.cjs",
|
|
122
132
|
"default": "./page/Signer.js"
|
|
123
133
|
},
|
|
124
|
-
"./page/Signer.d.ts": "./page/Signer.d.ts",
|
|
125
134
|
"./page/types": {
|
|
135
|
+
"types": "./page/types.d.ts",
|
|
126
136
|
"require": "./page/types.cjs",
|
|
127
137
|
"default": "./page/types.js"
|
|
128
138
|
},
|
|
129
|
-
"./page/types.d.ts": "./page/types.d.ts",
|
|
130
139
|
"./README.md": "./README.md",
|
|
131
140
|
"./stores": {
|
|
141
|
+
"types": "./stores/index.d.ts",
|
|
132
142
|
"require": "./stores/index.cjs",
|
|
133
143
|
"default": "./stores/index.js"
|
|
134
144
|
},
|
|
135
145
|
"./stores/Accounts": {
|
|
146
|
+
"types": "./stores/Accounts.d.ts",
|
|
136
147
|
"require": "./stores/Accounts.cjs",
|
|
137
148
|
"default": "./stores/Accounts.js"
|
|
138
149
|
},
|
|
139
|
-
"./stores/Accounts.d.ts": "./stores/Accounts.d.ts",
|
|
140
150
|
"./stores/Base": {
|
|
151
|
+
"types": "./stores/Base.d.ts",
|
|
141
152
|
"require": "./stores/Base.cjs",
|
|
142
153
|
"default": "./stores/Base.js"
|
|
143
154
|
},
|
|
144
|
-
"./stores/Base.d.ts": "./stores/Base.d.ts",
|
|
145
|
-
"./stores/index.d.ts": "./stores/index.d.ts",
|
|
146
155
|
"./stores/Metadata": {
|
|
156
|
+
"types": "./stores/Metadata.d.ts",
|
|
147
157
|
"require": "./stores/Metadata.cjs",
|
|
148
158
|
"default": "./stores/Metadata.js"
|
|
149
159
|
},
|
|
150
|
-
"./stores/Metadata.d.ts": "./stores/Metadata.d.ts",
|
|
151
160
|
"./types": {
|
|
161
|
+
"types": "./types.d.ts",
|
|
152
162
|
"require": "./types.cjs",
|
|
153
163
|
"default": "./types.js"
|
|
154
164
|
},
|
|
155
|
-
"./types.d.ts": "./types.d.ts",
|
|
156
165
|
"./utils": {
|
|
166
|
+
"types": "./utils/index.d.ts",
|
|
157
167
|
"require": "./utils/index.cjs",
|
|
158
168
|
"default": "./utils/index.js"
|
|
159
169
|
},
|
|
160
170
|
"./utils/canDerive": {
|
|
171
|
+
"types": "./utils/canDerive.d.ts",
|
|
161
172
|
"require": "./utils/canDerive.cjs",
|
|
162
173
|
"default": "./utils/canDerive.js"
|
|
163
174
|
},
|
|
164
|
-
"./utils/canDerive.d.ts": "./utils/canDerive.d.ts",
|
|
165
175
|
"./utils/getId": {
|
|
176
|
+
"types": "./utils/getId.d.ts",
|
|
166
177
|
"require": "./utils/getId.cjs",
|
|
167
178
|
"default": "./utils/getId.js"
|
|
168
|
-
}
|
|
169
|
-
"./utils/getId.d.ts": "./utils/getId.d.ts",
|
|
170
|
-
"./utils/index.d.ts": "./utils/index.d.ts"
|
|
179
|
+
}
|
|
171
180
|
}
|
|
172
181
|
}
|
package/packageInfo.cjs
CHANGED
package/packageInfo.js
CHANGED