@subwallet/extension-base 0.3.6-0 → 0.3.6-3
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/{build/background → background}/KoniTypes.d.ts +0 -0
- package/{build/background → background}/KoniTypes.js +0 -0
- package/{build/background → background}/RequestBytesSign.d.ts +0 -0
- package/{build/background → background}/RequestBytesSign.js +0 -0
- package/{build/background → background}/RequestExtrinsicSign.d.ts +0 -0
- package/{build/background → background}/RequestExtrinsicSign.js +0 -0
- package/{build/background → background}/handlers/Extension.d.ts +1 -1
- package/{build/background → background}/handlers/Extension.js +2 -2
- package/{build/background → background}/handlers/State.d.ts +0 -0
- package/{build/background → background}/handlers/State.js +0 -0
- package/{build/background → background}/handlers/Tabs.d.ts +0 -0
- package/{build/background → background}/handlers/Tabs.js +0 -0
- package/{build/background → background}/handlers/helpers.d.ts +0 -0
- package/{build/background → background}/handlers/helpers.js +0 -0
- package/{build/background → background}/handlers/index.d.ts +0 -0
- package/{build/background → background}/handlers/index.js +0 -0
- package/{build/background → background}/handlers/subscriptions.d.ts +0 -0
- package/{build/background → background}/handlers/subscriptions.js +0 -0
- package/{build/background → background}/types.d.ts +0 -0
- package/{build/background → background}/types.js +0 -0
- package/{build/bundle.d.ts → bundle.d.ts} +0 -0
- package/{build/bundle.js → bundle.js} +0 -0
- package/{build-cjs → cjs}/background/KoniTypes.js +0 -0
- package/{build-cjs → cjs}/background/RequestBytesSign.js +0 -0
- package/{build-cjs → cjs}/background/RequestExtrinsicSign.js +0 -0
- package/{build/cjs → cjs}/background/handlers/Extension.js +4 -4
- package/{build-cjs → cjs}/background/handlers/State.js +0 -0
- package/{build-cjs → cjs}/background/handlers/Tabs.js +0 -0
- package/{build-cjs → cjs}/background/handlers/helpers.js +0 -0
- package/{build-cjs → cjs}/background/handlers/index.js +0 -0
- package/{build-cjs → cjs}/background/handlers/subscriptions.js +0 -0
- package/{build-cjs → cjs}/background/types.js +0 -0
- package/{build-cjs → cjs}/bundle.js +0 -0
- package/{build-cjs → cjs}/defaults.js +0 -0
- package/{build-cjs → cjs}/detectOther.js +0 -0
- package/{build-cjs → cjs}/detectPackage.js +0 -0
- package/{build-cjs → cjs}/index.js +0 -0
- package/{build/cjs → cjs}/package.json +0 -0
- package/{build-cjs → cjs}/packageInfo.js +1 -1
- package/{build-cjs → cjs}/page/Accounts.js +0 -0
- package/{build-cjs → cjs}/page/Injected.js +0 -0
- package/{build-cjs → cjs}/page/Metadata.js +0 -0
- package/{build-cjs → cjs}/page/PostMessageProvider.js +0 -0
- package/{build-cjs → cjs}/page/Signer.js +0 -0
- package/{build-cjs → cjs}/page/index.js +0 -0
- package/{build-cjs → cjs}/page/types.js +0 -0
- package/{build-cjs → cjs}/stores/Accounts.js +0 -0
- package/{build-cjs → cjs}/stores/Base.js +0 -0
- package/{build-cjs → cjs}/stores/Metadata.js +0 -0
- package/{build-cjs → cjs}/stores/index.js +0 -0
- package/{build-cjs → cjs}/types.js +0 -0
- package/{build-cjs → cjs}/utils/canDerive.js +0 -0
- package/{build-cjs → cjs}/utils/getId.js +0 -0
- package/{build-cjs → cjs}/utils/index.js +0 -0
- package/{build/defaults.d.ts → defaults.d.ts} +0 -0
- package/{build/defaults.js → defaults.js} +0 -0
- package/{build/detectOther.d.ts → detectOther.d.ts} +0 -0
- package/{build/detectOther.js → detectOther.js} +0 -0
- package/{build/detectPackage.d.ts → detectPackage.d.ts} +0 -0
- package/{build/detectPackage.js → detectPackage.js} +0 -0
- package/{build/index.d.ts → index.d.ts} +0 -0
- package/{build/index.js → index.js} +0 -0
- package/package.json +174 -10
- package/{build/packageInfo.d.ts → packageInfo.d.ts} +0 -0
- package/{build/packageInfo.js → packageInfo.js} +1 -1
- package/{build/page → page}/Accounts.d.ts +0 -0
- package/{build/page → page}/Accounts.js +0 -0
- package/{build/page → page}/Injected.d.ts +0 -0
- package/{build/page → page}/Injected.js +0 -0
- package/{build/page → page}/Metadata.d.ts +0 -0
- package/{build/page → page}/Metadata.js +0 -0
- package/{build/page → page}/PostMessageProvider.d.ts +0 -0
- package/{build/page → page}/PostMessageProvider.js +0 -0
- package/{build/page → page}/Signer.d.ts +0 -0
- package/{build/page → page}/Signer.js +0 -0
- package/{build/page → page}/index.d.ts +1 -1
- package/{build/page → page}/index.js +0 -0
- package/{build/page → page}/types.d.ts +0 -0
- package/{build/page → page}/types.js +0 -0
- package/{build/stores → stores}/Accounts.d.ts +0 -0
- package/{build/stores → stores}/Accounts.js +0 -0
- package/{build/stores → stores}/Base.d.ts +0 -0
- package/{build/stores → stores}/Base.js +0 -0
- package/{build/stores → stores}/Metadata.d.ts +0 -0
- package/{build/stores → stores}/Metadata.js +0 -0
- package/{build/stores → stores}/index.d.ts +0 -0
- package/{build/stores → stores}/index.js +0 -0
- package/{build/types.d.ts → types.d.ts} +0 -0
- package/{build/types.js → types.js} +0 -0
- package/{build/utils → utils}/canDerive.d.ts +0 -0
- package/{build/utils → utils}/canDerive.js +0 -0
- package/{build/utils → utils}/getId.d.ts +0 -0
- package/{build/utils → utils}/getId.js +0 -0
- package/{build/utils → utils}/index.d.ts +0 -0
- package/{build/utils → utils}/index.js +0 -0
- package/build/LICENSE +0 -201
- package/build/README.md +0 -10
- package/build/cjs/background/KoniTypes.js +0 -69
- package/build/cjs/background/RequestBytesSign.js +0 -27
- package/build/cjs/background/RequestExtrinsicSign.js +0 -23
- package/build/cjs/background/handlers/State.js +0 -472
- package/build/cjs/background/handlers/Tabs.js +0 -273
- package/build/cjs/background/handlers/helpers.js +0 -20
- package/build/cjs/background/handlers/index.js +0 -60
- package/build/cjs/background/handlers/subscriptions.js +0 -32
- package/build/cjs/background/types.js +0 -1
- package/build/cjs/bundle.js +0 -13
- package/build/cjs/defaults.js +0 -26
- package/build/cjs/detectOther.js +0 -17
- package/build/cjs/detectPackage.js +0 -14
- package/build/cjs/index.js +0 -18
- package/build/cjs/packageInfo.js +0 -16
- package/build/cjs/page/Accounts.js +0 -31
- package/build/cjs/page/Injected.js +0 -30
- package/build/cjs/page/Metadata.js +0 -27
- package/build/cjs/page/PostMessageProvider.js +0 -184
- package/build/cjs/page/Signer.js +0 -44
- package/build/cjs/page/index.js +0 -76
- package/build/cjs/page/types.js +0 -1
- package/build/cjs/stores/Accounts.js +0 -33
- package/build/cjs/stores/Base.js +0 -84
- package/build/cjs/stores/Metadata.js +0 -23
- package/build/cjs/stores/index.js +0 -23
- package/build/cjs/types.js +0 -1
- package/build/cjs/utils/canDerive.js +0 -12
- package/build/cjs/utils/getId.js +0 -16
- package/build/cjs/utils/index.js +0 -13
- package/build/package.json +0 -210
- package/build-cjs/background/handlers/Extension.js +0 -764
- package/src/background/KoniTypes.ts +0 -537
- package/src/background/RequestBytesSign.ts +0 -30
- package/src/background/RequestExtrinsicSign.ts +0 -23
- package/src/background/handlers/Extension.spec.ts +0 -456
- package/src/background/handlers/Extension.ts +0 -627
- package/src/background/handlers/State.ts +0 -513
- package/src/background/handlers/Tabs.ts +0 -223
- package/src/background/handlers/helpers.ts +0 -14
- package/src/background/handlers/index.ts +0 -49
- package/src/background/handlers/subscriptions.ts +0 -30
- package/src/background/types.ts +0 -437
- package/src/bundle.ts +0 -4
- package/src/defaults.ts +0 -24
- package/src/detectOther.ts +0 -8
- package/src/detectPackage.ts +0 -11
- package/src/index.ts +0 -7
- package/src/packageInfo.ts +0 -6
- package/src/page/Accounts.ts +0 -27
- package/src/page/Injected.ts +0 -27
- package/src/page/Metadata.ts +0 -22
- package/src/page/PostMessageProvider.ts +0 -178
- package/src/page/Signer.ts +0 -45
- package/src/page/index.ts +0 -87
- package/src/page/types.ts +0 -10
- package/src/stores/Accounts.ts +0 -24
- package/src/stores/Base.ts +0 -81
- package/src/stores/Metadata.ts +0 -13
- package/src/stores/index.ts +0 -5
- package/src/types.ts +0 -12
- package/src/utils/canDerive.ts +0 -8
- package/src/utils/getId.ts +0 -10
- package/src/utils/index.ts +0 -4
- package/tsconfig.build.json +0 -18
- package/tsconfig.build.tsbuildinfo +0 -1
- package/tsconfig.json +0 -14
package/build/package.json
DELETED
|
@@ -1,210 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"author": "Jaco Greeff <jacogr@gmail.com>",
|
|
3
|
-
"bugs": "https://github.com/Koniverse/Subwallet-V2/issues",
|
|
4
|
-
"contributors": [],
|
|
5
|
-
"description": "Functions, classes and other utilities used in @subwallet/extension",
|
|
6
|
-
"homepage": "https://github.com/Koniverse/Subwallet-V2/tree/master/packages/extension-base#readme",
|
|
7
|
-
"license": "Apache-2.0",
|
|
8
|
-
"maintainers": [],
|
|
9
|
-
"name": "@subwallet/extension-base",
|
|
10
|
-
"repository": {
|
|
11
|
-
"directory": "packages/extension-base",
|
|
12
|
-
"type": "git",
|
|
13
|
-
"url": "https://github.com/Koniverse/Subwallet-V2.git"
|
|
14
|
-
},
|
|
15
|
-
"sideEffects": [
|
|
16
|
-
"./detectPackage.js",
|
|
17
|
-
"./cjs/detectPackage.js"
|
|
18
|
-
],
|
|
19
|
-
"type": "module",
|
|
20
|
-
"version": "0.3.6-0",
|
|
21
|
-
"main": "./cjs/index.js",
|
|
22
|
-
"module": "./index.js",
|
|
23
|
-
"types": "./index.d.ts",
|
|
24
|
-
"exports": {
|
|
25
|
-
"./cjs/package.json": "./cjs/package.json",
|
|
26
|
-
"./cjs/*": "./cjs/*.js",
|
|
27
|
-
".": {
|
|
28
|
-
"types": "./index.d.ts",
|
|
29
|
-
"require": "./cjs/index.js",
|
|
30
|
-
"default": "./index.js"
|
|
31
|
-
},
|
|
32
|
-
"./background/handlers": {
|
|
33
|
-
"types": "./background/handlers/index.d.ts",
|
|
34
|
-
"require": "./cjs/background/handlers/index.js",
|
|
35
|
-
"default": "./background/handlers/index.js"
|
|
36
|
-
},
|
|
37
|
-
"./background/handlers/Extension": {
|
|
38
|
-
"types": "./background/handlers/Extension.d.ts",
|
|
39
|
-
"require": "./cjs/background/handlers/Extension.js",
|
|
40
|
-
"default": "./background/handlers/Extension.js"
|
|
41
|
-
},
|
|
42
|
-
"./background/handlers/helpers": {
|
|
43
|
-
"types": "./background/handlers/helpers.d.ts",
|
|
44
|
-
"require": "./cjs/background/handlers/helpers.js",
|
|
45
|
-
"default": "./background/handlers/helpers.js"
|
|
46
|
-
},
|
|
47
|
-
"./background/handlers/State": {
|
|
48
|
-
"types": "./background/handlers/State.d.ts",
|
|
49
|
-
"require": "./cjs/background/handlers/State.js",
|
|
50
|
-
"default": "./background/handlers/State.js"
|
|
51
|
-
},
|
|
52
|
-
"./background/handlers/subscriptions": {
|
|
53
|
-
"types": "./background/handlers/subscriptions.d.ts",
|
|
54
|
-
"require": "./cjs/background/handlers/subscriptions.js",
|
|
55
|
-
"default": "./background/handlers/subscriptions.js"
|
|
56
|
-
},
|
|
57
|
-
"./background/handlers/Tabs": {
|
|
58
|
-
"types": "./background/handlers/Tabs.d.ts",
|
|
59
|
-
"require": "./cjs/background/handlers/Tabs.js",
|
|
60
|
-
"default": "./background/handlers/Tabs.js"
|
|
61
|
-
},
|
|
62
|
-
"./background/KoniTypes": {
|
|
63
|
-
"types": "./background/KoniTypes.d.ts",
|
|
64
|
-
"require": "./cjs/background/KoniTypes.js",
|
|
65
|
-
"default": "./background/KoniTypes.js"
|
|
66
|
-
},
|
|
67
|
-
"./background/RequestBytesSign": {
|
|
68
|
-
"types": "./background/RequestBytesSign.d.ts",
|
|
69
|
-
"require": "./cjs/background/RequestBytesSign.js",
|
|
70
|
-
"default": "./background/RequestBytesSign.js"
|
|
71
|
-
},
|
|
72
|
-
"./background/RequestExtrinsicSign": {
|
|
73
|
-
"types": "./background/RequestExtrinsicSign.d.ts",
|
|
74
|
-
"require": "./cjs/background/RequestExtrinsicSign.js",
|
|
75
|
-
"default": "./background/RequestExtrinsicSign.js"
|
|
76
|
-
},
|
|
77
|
-
"./background/types": {
|
|
78
|
-
"types": "./background/types.d.ts",
|
|
79
|
-
"require": "./cjs/background/types.js",
|
|
80
|
-
"default": "./background/types.js"
|
|
81
|
-
},
|
|
82
|
-
"./bundle": {
|
|
83
|
-
"types": "./bundle.d.ts",
|
|
84
|
-
"require": "./cjs/bundle.js",
|
|
85
|
-
"default": "./bundle.js"
|
|
86
|
-
},
|
|
87
|
-
"./defaults": {
|
|
88
|
-
"types": "./defaults.d.ts",
|
|
89
|
-
"require": "./cjs/defaults.js",
|
|
90
|
-
"default": "./defaults.js"
|
|
91
|
-
},
|
|
92
|
-
"./detectOther": {
|
|
93
|
-
"types": "./detectOther.d.ts",
|
|
94
|
-
"require": "./cjs/detectOther.js",
|
|
95
|
-
"default": "./detectOther.js"
|
|
96
|
-
},
|
|
97
|
-
"./detectPackage": {
|
|
98
|
-
"types": "./detectPackage.d.ts",
|
|
99
|
-
"require": "./cjs/detectPackage.js",
|
|
100
|
-
"default": "./detectPackage.js"
|
|
101
|
-
},
|
|
102
|
-
"./package.json": "./package.json",
|
|
103
|
-
"./packageInfo.js": {
|
|
104
|
-
"types": "./packageInfo.d.ts",
|
|
105
|
-
"require": "./cjs/packageInfo.js",
|
|
106
|
-
"default": "./packageInfo.js"
|
|
107
|
-
},
|
|
108
|
-
"./packageInfo": {
|
|
109
|
-
"types": "./packageInfo.d.ts",
|
|
110
|
-
"require": "./cjs/packageInfo.js",
|
|
111
|
-
"default": "./packageInfo.js"
|
|
112
|
-
},
|
|
113
|
-
"./page": {
|
|
114
|
-
"types": "./page/index.d.ts",
|
|
115
|
-
"require": "./cjs/page/index.js",
|
|
116
|
-
"default": "./page/index.js"
|
|
117
|
-
},
|
|
118
|
-
"./page/Accounts": {
|
|
119
|
-
"types": "./page/Accounts.d.ts",
|
|
120
|
-
"require": "./cjs/page/Accounts.js",
|
|
121
|
-
"default": "./page/Accounts.js"
|
|
122
|
-
},
|
|
123
|
-
"./page/Injected": {
|
|
124
|
-
"types": "./page/Injected.d.ts",
|
|
125
|
-
"require": "./cjs/page/Injected.js",
|
|
126
|
-
"default": "./page/Injected.js"
|
|
127
|
-
},
|
|
128
|
-
"./page/Metadata": {
|
|
129
|
-
"types": "./page/Metadata.d.ts",
|
|
130
|
-
"require": "./cjs/page/Metadata.js",
|
|
131
|
-
"default": "./page/Metadata.js"
|
|
132
|
-
},
|
|
133
|
-
"./page/PostMessageProvider": {
|
|
134
|
-
"types": "./page/PostMessageProvider.d.ts",
|
|
135
|
-
"require": "./cjs/page/PostMessageProvider.js",
|
|
136
|
-
"default": "./page/PostMessageProvider.js"
|
|
137
|
-
},
|
|
138
|
-
"./page/Signer": {
|
|
139
|
-
"types": "./page/Signer.d.ts",
|
|
140
|
-
"require": "./cjs/page/Signer.js",
|
|
141
|
-
"default": "./page/Signer.js"
|
|
142
|
-
},
|
|
143
|
-
"./page/types": {
|
|
144
|
-
"types": "./page/types.d.ts",
|
|
145
|
-
"require": "./cjs/page/types.js",
|
|
146
|
-
"default": "./page/types.js"
|
|
147
|
-
},
|
|
148
|
-
"./stores": {
|
|
149
|
-
"types": "./stores/index.d.ts",
|
|
150
|
-
"require": "./cjs/stores/index.js",
|
|
151
|
-
"default": "./stores/index.js"
|
|
152
|
-
},
|
|
153
|
-
"./stores/Accounts": {
|
|
154
|
-
"types": "./stores/Accounts.d.ts",
|
|
155
|
-
"require": "./cjs/stores/Accounts.js",
|
|
156
|
-
"default": "./stores/Accounts.js"
|
|
157
|
-
},
|
|
158
|
-
"./stores/Base": {
|
|
159
|
-
"types": "./stores/Base.d.ts",
|
|
160
|
-
"require": "./cjs/stores/Base.js",
|
|
161
|
-
"default": "./stores/Base.js"
|
|
162
|
-
},
|
|
163
|
-
"./stores/Metadata": {
|
|
164
|
-
"types": "./stores/Metadata.d.ts",
|
|
165
|
-
"require": "./cjs/stores/Metadata.js",
|
|
166
|
-
"default": "./stores/Metadata.js"
|
|
167
|
-
},
|
|
168
|
-
"./types": {
|
|
169
|
-
"types": "./types.d.ts",
|
|
170
|
-
"require": "./cjs/types.js",
|
|
171
|
-
"default": "./types.js"
|
|
172
|
-
},
|
|
173
|
-
"./utils": {
|
|
174
|
-
"types": "./utils/index.d.ts",
|
|
175
|
-
"require": "./cjs/utils/index.js",
|
|
176
|
-
"default": "./utils/index.js"
|
|
177
|
-
},
|
|
178
|
-
"./utils/canDerive": {
|
|
179
|
-
"types": "./utils/canDerive.d.ts",
|
|
180
|
-
"require": "./cjs/utils/canDerive.js",
|
|
181
|
-
"default": "./utils/canDerive.js"
|
|
182
|
-
},
|
|
183
|
-
"./utils/getId": {
|
|
184
|
-
"types": "./utils/getId.d.ts",
|
|
185
|
-
"require": "./cjs/utils/getId.js",
|
|
186
|
-
"default": "./utils/getId.js"
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
"dependencies": {
|
|
190
|
-
"@babel/runtime": "^7.16.7",
|
|
191
|
-
"@ethereumjs/common": "^2.6.3",
|
|
192
|
-
"@polkadot/api": "^7.3.1",
|
|
193
|
-
"@polkadot/keyring": "^8.3.1",
|
|
194
|
-
"@polkadot/networks": "^8.3.1",
|
|
195
|
-
"@polkadot/phishing": "^0.11.30",
|
|
196
|
-
"@polkadot/rpc-provider": "^7.3.1",
|
|
197
|
-
"@polkadot/types": "^7.3.1",
|
|
198
|
-
"@polkadot/ui-keyring": "^0.89.1",
|
|
199
|
-
"@polkadot/ui-settings": "^0.89.1",
|
|
200
|
-
"@polkadot/util": "^8.3.1",
|
|
201
|
-
"@polkadot/util-crypto": "^8.3.1",
|
|
202
|
-
"@subwallet/extension-chains": "^0.3.6-0",
|
|
203
|
-
"@subwallet/extension-dapp": "^0.3.6-0",
|
|
204
|
-
"@subwallet/extension-inject": "^0.3.6-0",
|
|
205
|
-
"ethereumjs-tx": "^2.1.2",
|
|
206
|
-
"eventemitter3": "^4.0.7",
|
|
207
|
-
"rxjs": "^7.5.1",
|
|
208
|
-
"web3": "^1.7.1"
|
|
209
|
-
}
|
|
210
|
-
}
|