coreum-js 2.7.0 → 2.7.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/CHANGELOG.md DELETED
@@ -1,345 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
-
5
- ## [2.7.0](https://github.com/PyramydLabs/coreum-js/compare/v2.6.9...v2.7.0) (2023-06-28)
6
-
7
-
8
- ### Features
9
-
10
- * multisg account creation ([d106c53](https://github.com/PyramydLabs/coreum-js/commit/d106c530e66c5dbbaf8a80a990bc70b7c0906ee6))
11
-
12
- ### [2.6.9](https://github.com/CooperFoundation/coreum-js/compare/v2.6.8...v2.6.9) (2023-06-22)
13
-
14
-
15
- ### Bug Fixes
16
-
17
- * creating query client with no signer ([a3e1f81](https://github.com/CooperFoundation/coreum-js/commit/a3e1f81df25089adcb8c149b9ec24c8ef79a0224))
18
-
19
- ### [2.6.8](https://github.com/CooperFoundation/coreum-js/compare/v2.6.7...v2.6.8) (2023-06-12)
20
-
21
- ### [2.6.7](https://github.com/CooperFoundation/coreum-js/compare/v2.6.6...v2.6.7) (2023-05-31)
22
-
23
- ### [2.6.6](https://github.com/StreiaDF/coreum-js/compare/v2.6.5...v2.6.6) (2023-05-27)
24
-
25
- ### [2.6.5](https://github.com/StreiaDF/coreum-js/compare/v2.6.4...v2.6.5) (2023-05-26)
26
-
27
-
28
- ### Bug Fixes
29
-
30
- * subscription ([adeca44](https://github.com/StreiaDF/coreum-js/commit/adeca44fb0d2fcde00e65e878dba9bc0a5deb3f3))
31
-
32
- ### [2.6.4](https://github.com/StreiaDF/coreum-js/compare/v2.6.3...v2.6.4) (2023-05-19)
33
-
34
- ### [2.6.3](https://github.com/StreiaDF/coreum-js/compare/v2.6.2...v2.6.3) (2023-05-19)
35
-
36
- ### [2.6.2](https://github.com/StreiaDF/coreum-js/compare/v2.6.1...v2.6.2) (2023-05-19)
37
-
38
- ### [2.6.1](https://github.com/StreiaDF/coreum-js/compare/v2.6.0...v2.6.1) (2023-05-19)
39
-
40
- ## [2.6.0](https://github.com/StreiaDF/coreum-js/compare/v2.5.17...v2.6.0) (2023-05-19)
41
-
42
-
43
- ### Features
44
-
45
- * custom ws endpoint ([0b5e504](https://github.com/StreiaDF/coreum-js/commit/0b5e50460f51fc4804a2bd9ee202246d7b922578))
46
-
47
- ### [2.5.17](https://github.com/StreiaDF/coreum-js/compare/v2.5.16...v2.5.17) (2023-05-19)
48
-
49
-
50
- ### Bug Fixes
51
-
52
- * mnemonic init ([aeabe25](https://github.com/StreiaDF/coreum-js/commit/aeabe25c743ba22c1ecce5f23b9f063006957e5c))
53
-
54
- ### [2.5.16](https://github.com/StreiaDF/coreum-js/compare/v2.5.15...v2.5.16) (2023-05-18)
55
-
56
-
57
- ### Bug Fixes
58
-
59
- * address undefined ([186925f](https://github.com/StreiaDF/coreum-js/commit/186925f2a10151d9d98c1c83749535a468d042a4))
60
-
61
- ### [2.5.15](https://github.com/StreiaDF/coreum-js/compare/v2.5.14...v2.5.15) (2023-05-18)
62
-
63
- ### [2.5.14](https://github.com/StreiaDF/coreum-js/compare/v2.5.13...v2.5.14) (2023-05-17)
64
-
65
- ### [2.5.13](https://github.com/StreiaDF/coreum-js/compare/v2.5.12...v2.5.13) (2023-05-17)
66
-
67
- ### [2.5.12](https://github.com/StreiaDF/coreum-js/compare/v2.5.11...v2.5.12) (2023-05-17)
68
-
69
- ### [2.5.11](https://github.com/StreiaDF/coreum-js/compare/v2.5.10...v2.5.11) (2023-05-17)
70
-
71
- ### [2.5.10](https://github.com/StreiaDF/coreum-js/compare/v2.5.9...v2.5.10) (2023-05-17)
72
-
73
- ### [2.5.9](https://github.com/StreiaDF/coreum-js/compare/v2.5.8...v2.5.9) (2023-05-17)
74
-
75
- ### [2.5.8](https://github.com/StreiaDF/coreum-js/compare/v2.5.7...v2.5.8) (2023-05-17)
76
-
77
- ### [2.5.7](https://github.com/StreiaDF/coreum-js/compare/v2.5.6...v2.5.7) (2023-05-16)
78
-
79
- ### [2.5.6](https://github.com/StreiaDF/coreum-js/compare/v2.5.5...v2.5.6) (2023-05-16)
80
-
81
- ### [2.5.5](https://github.com/StreiaDF/coreum-js/compare/v2.5.4...v2.5.5) (2023-05-11)
82
-
83
- ### [2.5.4](https://github.com/StreiaDF/coreum-js/compare/v2.5.2...v2.5.4) (2023-05-11)
84
-
85
- ### [2.5.2](https://github.com/StreiaDF/coreum-js/compare/v2.5.1...v2.5.2) (2023-05-11)
86
-
87
-
88
- ### Bug Fixes
89
-
90
- * added export for ft util method ([faa6772](https://github.com/StreiaDF/coreum-js/commit/faa6772482b2e40fe4bd4d8a2faf88bee8b0e689))
91
-
92
- ### [2.5.1](https://github.com/StreiaDF/coreum-js/compare/v2.5.0...v2.5.1) (2023-05-08)
93
-
94
- ## [2.5.0](https://github.com/StreiaDF/coreum-js/compare/v2.4.1...v2.5.0) (2023-05-08)
95
-
96
-
97
- ### Features
98
-
99
- * Added possible Leap support AND added util function parseTokenFeatures ([398b211](https://github.com/StreiaDF/coreum-js/commit/398b211027f321b960ecad585d6590b501551396))
100
-
101
- ### [2.4.1](https://github.com/StreiaDF/coreum-js/compare/v2.4.0...v2.4.1) (2023-05-08)
102
-
103
- ## 2.4.0 (2023-05-04)
104
-
105
-
106
- ### Features
107
-
108
- * Added cosmostation support ([ba190c7](https://github.com/StreiaDF/coreum-js/commit/ba190c760c7d4e5ad5363e3e967c9312ca82901a))
109
- * added more extensions ([9c0e218](https://github.com/StreiaDF/coreum-js/commit/9c0e21828d9b7f99dbd1466acdb882149441a126))
110
-
111
-
112
- ### Bug Fixes
113
-
114
- * added address getter ([2ef259e](https://github.com/StreiaDF/coreum-js/commit/2ef259e1d367ee34930c5e11c4067296713f00cc))
115
- * added address getter ([34024e5](https://github.com/StreiaDF/coreum-js/commit/34024e500a074e787fbd63883dda30022d7894b7))
116
- * added return type to getter ([d2d17f5](https://github.com/StreiaDF/coreum-js/commit/d2d17f59fc8a526ba9b1e229f4090ec2117c6c4c))
117
- * change configuration and props ([f0890f3](https://github.com/StreiaDF/coreum-js/commit/f0890f3dd3ea48994c5895f74e7060d5851f0292))
118
- * denom price ([dddfebd](https://github.com/StreiaDF/coreum-js/commit/dddfebddc25245a121ced9ce113828b8bacde0e7))
119
- * exporting everything from types/coreum ([11e5af7](https://github.com/StreiaDF/coreum-js/commit/11e5af7a19c75db75dd04ffad23eaeb03fc0eb51))
120
- * exporting extension wallets enum ([434465e](https://github.com/StreiaDF/coreum-js/commit/434465e8117ccfd7ebbb1c626049d1309e265ae1))
121
- * removed paths ([cfca129](https://github.com/StreiaDF/coreum-js/commit/cfca12967c41b62e1ac5771360f9f8a013ad50b7))
122
- * tsconfig json ([253df0a](https://github.com/StreiaDF/coreum-js/commit/253df0a3285d9c838dc6ace1b038744b6c789dc8))
123
- * typo in FT MsgMint ([93a84f6](https://github.com/StreiaDF/coreum-js/commit/93a84f61947090a1e3375c99a456baeb6ee29bac))
124
-
125
- ### [2.3.5](https://github.com/AlOaks/mantle/compare/v2.3.4...v2.3.5) (2023-05-03)
126
-
127
-
128
- ### Bug Fixes
129
-
130
- * typo in FT MsgMint ([93a84f6](https://github.com/AlOaks/mantle/commit/93a84f61947090a1e3375c99a456baeb6ee29bac))
131
-
132
- ### [2.3.4](https://github.com/AlOaks/mantle/compare/v2.3.3...v2.3.4) (2023-05-03)
133
-
134
- ### [2.3.3](https://github.com/AlOaks/mantle/compare/v2.3.2...v2.3.3) (2023-05-02)
135
-
136
- ### [2.3.2](https://github.com/AlOaks/mantle/compare/v2.3.1...v2.3.2) (2023-05-01)
137
-
138
- ### [2.3.1](https://github.com/AlOaks/mantle/compare/v2.3.0...v2.3.1) (2023-05-01)
139
-
140
- ## [2.3.0](https://github.com/AlOaks/mantle/compare/v2.2.1...v2.3.0) (2023-04-29)
141
-
142
-
143
- ### Features
144
-
145
- * added more extensions ([9c0e218](https://github.com/AlOaks/mantle/commit/9c0e21828d9b7f99dbd1466acdb882149441a126))
146
-
147
- ### [2.2.1](https://github.com/AlOaks/mantle/compare/v2.2.0...v2.2.1) (2023-04-29)
148
-
149
-
150
- ### Bug Fixes
151
-
152
- * exporting extension wallets enum ([434465e](https://github.com/AlOaks/mantle/commit/434465e8117ccfd7ebbb1c626049d1309e265ae1))
153
-
154
- ## [2.2.0](https://github.com/AlOaks/mantle/compare/v2.1.1...v2.2.0) (2023-04-28)
155
-
156
-
157
- ### Features
158
-
159
- * Added cosmostation support ([ba190c7](https://github.com/AlOaks/mantle/commit/ba190c760c7d4e5ad5363e3e967c9312ca82901a))
160
-
161
- ### [2.1.1](https://github.com/AlOaks/mantle/compare/v2.0.14...v2.1.1) (2023-04-28)
162
-
163
- ### [2.0.14](https://github.com/AlOaks/mantle/compare/v2.0.13...v2.0.14) (2023-04-26)
164
-
165
- ### [2.0.13](https://github.com/AlOaks/mantle/compare/v2.0.12...v2.0.13) (2023-04-26)
166
-
167
- ### [2.0.12](https://github.com/AlOaks/mantle/compare/v2.0.11...v2.0.12) (2023-04-26)
168
-
169
-
170
- ### Bug Fixes
171
-
172
- * added return type to getter ([d2d17f5](https://github.com/AlOaks/mantle/commit/d2d17f59fc8a526ba9b1e229f4090ec2117c6c4c))
173
-
174
- ### [2.0.11](https://github.com/AlOaks/mantle/compare/v2.0.10...v2.0.11) (2023-04-26)
175
-
176
-
177
- ### Bug Fixes
178
-
179
- * added address getter ([2ef259e](https://github.com/AlOaks/mantle/commit/2ef259e1d367ee34930c5e11c4067296713f00cc))
180
-
181
- ### [2.0.10](https://github.com/AlOaks/mantle/compare/v2.0.9...v2.0.10) (2023-04-26)
182
-
183
-
184
- ### Bug Fixes
185
-
186
- * added address getter ([34024e5](https://github.com/AlOaks/mantle/commit/34024e500a074e787fbd63883dda30022d7894b7))
187
-
188
- ### [2.0.9](https://github.com/AlOaks/mantle/compare/v2.0.8...v2.0.9) (2023-04-26)
189
-
190
-
191
- ### Bug Fixes
192
-
193
- * denom price ([dddfebd](https://github.com/AlOaks/mantle/commit/dddfebddc25245a121ced9ce113828b8bacde0e7))
194
-
195
- ### [2.0.8](https://github.com/AlOaks/mantle/compare/v2.0.7...v2.0.8) (2023-04-26)
196
-
197
- ### [2.0.7](https://github.com/AlOaks/mantle/compare/v2.0.6...v2.0.7) (2023-04-26)
198
-
199
- ### [2.0.6](https://github.com/AlOaks/mantle/compare/v2.0.5...v2.0.6) (2023-04-26)
200
-
201
-
202
- ### Bug Fixes
203
-
204
- * removed paths ([cfca129](https://github.com/AlOaks/mantle/commit/cfca12967c41b62e1ac5771360f9f8a013ad50b7))
205
-
206
- ### [2.0.5](https://github.com/AlOaks/mantle/compare/v2.0.4...v2.0.5) (2023-04-26)
207
-
208
-
209
- ### Bug Fixes
210
-
211
- * exporting everything from types/coreum ([11e5af7](https://github.com/AlOaks/mantle/commit/11e5af7a19c75db75dd04ffad23eaeb03fc0eb51))
212
-
213
- ### [2.0.4](https://github.com/AlOaks/mantle/compare/v2.0.3...v2.0.4) (2023-04-26)
214
-
215
-
216
- ### Bug Fixes
217
-
218
- * tsconfig json ([253df0a](https://github.com/AlOaks/mantle/commit/253df0a3285d9c838dc6ace1b038744b6c789dc8))
219
-
220
- ### [2.0.3](https://github.com/AlOaks/mantle/compare/v2.0.2...v2.0.3) (2023-04-26)
221
-
222
-
223
- ### Bug Fixes
224
-
225
- * change configuration and props ([f0890f3](https://github.com/AlOaks/mantle/commit/f0890f3dd3ea48994c5895f74e7060d5851f0292))
226
-
227
- ### [2.0.2](https://github.com/AlOaks/mantle/compare/v2.0.1...v2.0.2) (2023-04-26)
228
-
229
- ### [2.0.1](https://github.com/AlOaks/mantle/compare/v1.0.58...v2.0.1) (2023-04-26)
230
-
231
- ### [1.0.58](https://github.com/AlOaks/coreumjs/compare/v1.0.57...v1.0.58) (2023-04-25)
232
-
233
- ### [1.0.57](https://github.com/AlOaks/coreumjs/compare/v1.0.56...v1.0.57) (2023-04-25)
234
-
235
- ### [1.0.56](https://github.com/AlOaks/coreumjs/compare/v1.0.55...v1.0.56) (2023-04-25)
236
-
237
- ### [1.0.55](https://github.com/AlOaks/coreumjs/compare/v1.0.54...v1.0.55) (2023-04-25)
238
-
239
- ### [1.0.54](https://github.com/AlOaks/coreumjs/compare/v1.0.53...v1.0.54) (2023-04-25)
240
-
241
- ### [1.0.53](https://github.com/AlOaks/coreumjs/compare/v1.0.52...v1.0.53) (2023-04-25)
242
-
243
- ### [1.0.52](https://github.com/AlOaks/coreumjs/compare/v1.0.51...v1.0.52) (2023-04-25)
244
-
245
- ### [1.0.51](https://github.com/AlOaks/coreumjs/compare/v1.0.50...v1.0.51) (2023-04-25)
246
-
247
- ### [1.0.50](https://github.com/AlOaks/coreumjs/compare/v1.0.49...v1.0.50) (2023-04-25)
248
-
249
- ### [1.0.49](https://github.com/AlOaks/coreumjs/compare/v1.0.48...v1.0.49) (2023-04-25)
250
-
251
- ### [1.0.48](https://github.com/AlOaks/coreumjs/compare/v1.0.47...v1.0.48) (2023-04-25)
252
-
253
- ### [1.0.47](https://github.com/AlOaks/coreumjs/compare/v1.0.46...v1.0.47) (2023-04-25)
254
-
255
- ### [1.0.46](https://github.com/AlOaks/coreumjs/compare/v1.0.45...v1.0.46) (2023-04-25)
256
-
257
- ### [1.0.45](https://github.com/AlOaks/coreumjs/compare/v1.0.44...v1.0.45) (2023-04-25)
258
-
259
- ### [1.0.44](https://github.com/AlOaks/coreumjs/compare/v1.0.43...v1.0.44) (2023-04-25)
260
-
261
- ### [1.0.43](https://github.com/AlOaks/coreumjs/compare/v1.0.42...v1.0.43) (2023-04-25)
262
-
263
- ### [1.0.42](https://github.com/AlOaks/coreumjs/compare/v1.0.41...v1.0.42) (2023-04-25)
264
-
265
- ### [1.0.41](https://github.com/AlOaks/coreumjs/compare/v1.0.40...v1.0.41) (2023-04-25)
266
-
267
- ### [1.0.40](https://github.com/AlOaks/coreumjs/compare/v1.0.39...v1.0.40) (2023-04-25)
268
-
269
- ### [1.0.39](https://github.com/AlOaks/coreumjs/compare/v1.0.38...v1.0.39) (2023-04-25)
270
-
271
- ### [1.0.38](https://github.com/AlOaks/coreumjs/compare/v1.0.37...v1.0.38) (2023-04-25)
272
-
273
- ### [1.0.37](https://github.com/AlOaks/coreumjs/compare/v1.0.36...v1.0.37) (2023-04-25)
274
-
275
- ### [1.0.36](https://github.com/AlOaks/coreumjs/compare/v1.0.35...v1.0.36) (2023-04-23)
276
-
277
- ### [1.0.35](https://github.com/AlOaks/coreumjs/compare/v1.0.34...v1.0.35) (2023-04-23)
278
-
279
- ### [1.0.34](https://github.com/AlOaks/coreumjs/compare/v1.0.33...v1.0.34) (2023-04-23)
280
-
281
- ### [1.0.33](https://github.com/AlOaks/coreumjs/compare/v1.0.32...v1.0.33) (2023-04-23)
282
-
283
- ### [1.0.32](https://github.com/AlOaks/coreumjs/compare/v1.0.31...v1.0.32) (2023-04-23)
284
-
285
- ### [1.0.31](https://github.com/AlOaks/coreumjs/compare/v1.0.30...v1.0.31) (2023-04-23)
286
-
287
- ### [1.0.30](https://github.com/AlOaks/coreumjs/compare/v1.0.29...v1.0.30) (2023-04-23)
288
-
289
- ### [1.0.29](https://github.com/AlOaks/coreumjs/compare/v1.0.28...v1.0.29) (2023-04-23)
290
-
291
- ### [1.0.28](https://github.com/AlOaks/coreumjs/compare/v1.0.27...v1.0.28) (2023-04-23)
292
-
293
- ### [1.0.27](https://github.com/AlOaks/coreumjs/compare/v1.0.26...v1.0.27) (2023-04-23)
294
-
295
- ### [1.0.26](https://github.com/AlOaks/coreumjs/compare/v1.0.25...v1.0.26) (2023-04-23)
296
-
297
- ### [1.0.25](https://github.com/AlOaks/coreumjs/compare/v1.0.24...v1.0.25) (2023-04-23)
298
-
299
- ### [1.0.24](https://github.com/AlOaks/coreumjs/compare/v1.0.23...v1.0.24) (2023-04-23)
300
-
301
- ### [1.0.23](https://github.com/AlOaks/coreumjs/compare/v1.0.22...v1.0.23) (2023-04-22)
302
-
303
- ### [1.0.22](https://github.com/AlOaks/coreumjs/compare/v1.0.21...v1.0.22) (2023-04-20)
304
-
305
- ### [1.0.21](https://github.com/AlOaks/coreumjs/compare/v1.0.20...v1.0.21) (2023-04-20)
306
-
307
- ### [1.0.20](https://github.com/AlOaks/coreumjs/compare/v1.0.19...v1.0.20) (2023-04-20)
308
-
309
- ### [1.0.19](https://github.com/AlOaks/coreumjs/compare/v1.0.18...v1.0.19) (2023-04-20)
310
-
311
- ### [1.0.18](https://github.com/AlOaks/coreumjs/compare/v1.0.17...v1.0.18) (2023-04-20)
312
-
313
- ### [1.0.17](https://github.com/AlOaks/coreumjs/compare/v1.0.16...v1.0.17) (2023-04-20)
314
-
315
- ### [1.0.16](https://github.com/AlOaks/coreumjs/compare/v1.0.15...v1.0.16) (2023-04-19)
316
-
317
- ### [1.0.15](https://github.com/AlOaks/coreumjs/compare/v1.0.14...v1.0.15) (2023-04-19)
318
-
319
- ### [1.0.14](https://github.com/AlOaks/coreumjs/compare/v1.0.13...v1.0.14) (2023-04-18)
320
-
321
- ### [1.0.13](https://github.com/AlOaks/coreumjs/compare/v1.0.12...v1.0.13) (2023-04-18)
322
-
323
- ### [1.0.12](https://github.com/AlOaks/coreumjs/compare/v1.0.11...v1.0.12) (2023-04-18)
324
-
325
- ### [1.0.11](https://github.com/AlOaks/coreumjs/compare/v1.0.10...v1.0.11) (2023-04-15)
326
-
327
- ### [1.0.10](https://github.com/AlOaks/coreumjs/compare/v1.0.9...v1.0.10) (2023-04-15)
328
-
329
- ### [1.0.9](https://github.com/AlOaks/coreumjs/compare/v1.0.8...v1.0.9) (2023-04-14)
330
-
331
- ### [1.0.8](https://github.com/AlOaks/coreumjs/compare/v1.0.7...v1.0.8) (2023-04-14)
332
-
333
- ### [1.0.7](https://github.com/AlOaks/coreumjs/compare/v1.0.6...v1.0.7) (2023-04-14)
334
-
335
- ### [1.0.6](https://github.com/AlOaks/coreumjs/compare/v1.0.5...v1.0.6) (2023-04-14)
336
-
337
- ### [1.0.5](https://github.com/AlOaks/coreumjs/compare/v1.0.4...v1.0.5) (2023-04-14)
338
-
339
- ### 1.0.4 (2023-04-14)
340
-
341
- ### 1.0.3 (2023-04-14)
342
-
343
- ### 1.0.2 (2023-04-14)
344
-
345
- ### 1.0.1 (2023-04-14)
@@ -1 +0,0 @@
1
- export {};
@@ -1,41 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- var _DCentSigner_signerID;
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- const signing_1 = require("../types/signing");
8
- const signer_1 = __importDefault(require("./signer"));
9
- const DcentWebConnector = require("dcent-web-connector");
10
- class DCentSigner extends signer_1.default {
11
- constructor() {
12
- super(...arguments);
13
- _DCentSigner_signerID.set(this, signing_1.WalletMethods.DCENT);
14
- }
15
- async sign() { }
16
- async requestConnection() {
17
- try {
18
- const info = await DcentWebConnector.getAccountInfo();
19
- const coreum_account = info.body.parameter.account.find((acc) => acc.coin_name === "COREUM");
20
- if (typeof coreum_account === "undefined") {
21
- throw new Error("Ripple Account Not Found.");
22
- }
23
- const coreum_address = await DcentWebConnector.getAddress("coreum", coreum_account.address_path);
24
- if (coreum_address.body.parameter.address) {
25
- DcentWebConnector.popupWindowClose();
26
- }
27
- return {
28
- address: coreum_address.body.parameter.address,
29
- };
30
- }
31
- catch (e) {
32
- console.log(e);
33
- throw {
34
- thrower: e.thrower || "requestConnection: Dcent",
35
- error: e,
36
- };
37
- }
38
- }
39
- }
40
- _DCentSigner_signerID = new WeakMap();
41
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGNlbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvc2lnbmVycy9kY2VudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSw4Q0FBaUQ7QUFDakQsc0RBQThCO0FBRTlCLE1BQU0saUJBQWl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FQUFFLENBQUMsQ0FBQyxPQUFPLElBQUksMEJBQTBCO2dCQUNoRCxLQUFLLEVBQUUsQ0FBQzthQUNULENBQUM7U0FDSDtJQUNILENBQUM7Q0FDRiJ9
@@ -1 +0,0 @@
1
- export {};
@@ -1,31 +0,0 @@
1
- import { WalletMethods } from "../types/signing";
2
- import Signer from "./signer";
3
- const DcentWebConnector = require("dcent-web-connector");
4
- class DCentSigner extends Signer {
5
- #signerID = WalletMethods.DCENT;
6
- async sign() { }
7
- async requestConnection() {
8
- try {
9
- const info = await DcentWebConnector.getAccountInfo();
10
- const coreum_account = info.body.parameter.account.find((acc) => acc.coin_name === "COREUM");
11
- if (typeof coreum_account === "undefined") {
12
- throw new Error("Ripple Account Not Found.");
13
- }
14
- const coreum_address = await DcentWebConnector.getAddress("coreum", coreum_account.address_path);
15
- if (coreum_address.body.parameter.address) {
16
- DcentWebConnector.popupWindowClose();
17
- }
18
- return {
19
- address: coreum_address.body.parameter.address,
20
- };
21
- }
22
- catch (e) {
23
- console.log(e);
24
- throw {
25
- thrower: e.thrower || "requestConnection: Dcent",
26
- error: e,
27
- };
28
- }
29
- }
30
- }
31
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGNlbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvc2lnbmVycy9kY2VudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFDakQsT0FBTyxNQUFNLE1BQU0sVUFBVSxDQUFDO0FBRTlCLE1BQU0saUJBQWlCLEdBQUcsT0FBTyxDQUFDLHFCQUFxQixDQUFDLENBQUM7QUFDekQsTUFBTSxXQUFZLFNBQVEsTUFBTTtJQUM5QixTQUFTLEdBQUcsYUFBYSxDQUFDLEtBQUssQ0FBQztJQUVoQyxLQUFLLENBQUMsSUFBSSxL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