@keplr-wallet/provider 0.11.64 → 0.12.0-alpha.2

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,549 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChangeKeyRingNameMsg = exports.GetAnalyticsIdMsg = exports.GetChainInfosWithoutEndpointsMsg = exports.GetTxEncryptionKeyMsg = exports.RequestDecryptMsg = exports.ReqeustEncryptMsg = exports.GetPubkeyMsg = exports.RequestSignDirectMsg = exports.RequestVerifyADR36AminoSignDoc = exports.RequestICNSAdr36SignaturesMsg = exports.RequestSignEIP712CosmosTxMsg_v0 = exports.RequestSignAminoMsg = exports.GetSecret20ViewingKey = exports.SendTxMsg = exports.SuggestTokenMsg = exports.SuggestChainInfoMsg = exports.GetKeyMsg = exports.DisableAccessMsg = exports.EnableAccessMsg = void 0;
4
- const router_1 = require("@keplr-wallet/router");
5
- class EnableAccessMsg extends router_1.Message {
6
- constructor(chainIds) {
7
- super();
8
- this.chainIds = chainIds;
9
- }
10
- static type() {
11
- return "enable-access";
12
- }
13
- validateBasic() {
14
- if (!this.chainIds || this.chainIds.length === 0) {
15
- throw new Error("chain id not set");
16
- }
17
- }
18
- route() {
19
- return "permission";
20
- }
21
- type() {
22
- return EnableAccessMsg.type();
23
- }
24
- }
25
- exports.EnableAccessMsg = EnableAccessMsg;
26
- class DisableAccessMsg extends router_1.Message {
27
- constructor(chainIds) {
28
- super();
29
- this.chainIds = chainIds;
30
- }
31
- static type() {
32
- return "disable-access";
33
- }
34
- validateBasic() {
35
- if (!this.chainIds) {
36
- throw new Error("chain id not set");
37
- }
38
- }
39
- route() {
40
- return "permission";
41
- }
42
- type() {
43
- return DisableAccessMsg.type();
44
- }
45
- }
46
- exports.DisableAccessMsg = DisableAccessMsg;
47
- class GetKeyMsg extends router_1.Message {
48
- constructor(chainId) {
49
- super();
50
- this.chainId = chainId;
51
- }
52
- static type() {
53
- return "get-key";
54
- }
55
- validateBasic() {
56
- if (!this.chainId) {
57
- throw new Error("chain id not set");
58
- }
59
- }
60
- route() {
61
- return "keyring";
62
- }
63
- type() {
64
- return GetKeyMsg.type();
65
- }
66
- }
67
- exports.GetKeyMsg = GetKeyMsg;
68
- class SuggestChainInfoMsg extends router_1.Message {
69
- constructor(chainInfo) {
70
- super();
71
- this.chainInfo = chainInfo;
72
- }
73
- static type() {
74
- return "suggest-chain-info";
75
- }
76
- validateBasic() {
77
- if (!this.chainInfo) {
78
- throw new Error("chain info not set");
79
- }
80
- }
81
- route() {
82
- return "chains";
83
- }
84
- type() {
85
- return SuggestChainInfoMsg.type();
86
- }
87
- }
88
- exports.SuggestChainInfoMsg = SuggestChainInfoMsg;
89
- class SuggestTokenMsg extends router_1.Message {
90
- constructor(chainId, contractAddress, viewingKey) {
91
- super();
92
- this.chainId = chainId;
93
- this.contractAddress = contractAddress;
94
- this.viewingKey = viewingKey;
95
- }
96
- static type() {
97
- return "suggest-token";
98
- }
99
- validateBasic() {
100
- if (!this.chainId) {
101
- throw new Error("Chain id is empty");
102
- }
103
- if (!this.contractAddress) {
104
- throw new Error("Contract address is empty");
105
- }
106
- }
107
- route() {
108
- return "tokens";
109
- }
110
- type() {
111
- return SuggestTokenMsg.type();
112
- }
113
- }
114
- exports.SuggestTokenMsg = SuggestTokenMsg;
115
- // Return the tx hash
116
- class SendTxMsg extends router_1.Message {
117
- constructor(chainId, tx, mode) {
118
- super();
119
- this.chainId = chainId;
120
- this.tx = tx;
121
- this.mode = mode;
122
- }
123
- static type() {
124
- return "send-tx-to-background";
125
- }
126
- validateBasic() {
127
- if (!this.chainId) {
128
- throw new Error("chain id is empty");
129
- }
130
- if (!this.tx) {
131
- throw new Error("tx is empty");
132
- }
133
- if (!this.mode ||
134
- (this.mode !== "sync" && this.mode !== "async" && this.mode !== "block")) {
135
- throw new Error("invalid mode");
136
- }
137
- }
138
- route() {
139
- return "background-tx";
140
- }
141
- type() {
142
- return SendTxMsg.type();
143
- }
144
- }
145
- exports.SendTxMsg = SendTxMsg;
146
- class GetSecret20ViewingKey extends router_1.Message {
147
- constructor(chainId, contractAddress) {
148
- super();
149
- this.chainId = chainId;
150
- this.contractAddress = contractAddress;
151
- }
152
- static type() {
153
- return "get-secret20-viewing-key";
154
- }
155
- validateBasic() {
156
- if (!this.chainId) {
157
- throw new Error("Chain id is empty");
158
- }
159
- if (!this.contractAddress) {
160
- throw new Error("Contract address is empty");
161
- }
162
- }
163
- route() {
164
- return "tokens";
165
- }
166
- type() {
167
- return GetSecret20ViewingKey.type();
168
- }
169
- }
170
- exports.GetSecret20ViewingKey = GetSecret20ViewingKey;
171
- class RequestSignAminoMsg extends router_1.Message {
172
- constructor(chainId, signer, signDoc, signOptions = {}) {
173
- super();
174
- this.chainId = chainId;
175
- this.signer = signer;
176
- this.signDoc = signDoc;
177
- this.signOptions = signOptions;
178
- }
179
- static type() {
180
- return "request-sign-amino";
181
- }
182
- validateBasic() {
183
- if (!this.chainId) {
184
- throw new Error("chain id not set");
185
- }
186
- if (!this.signer) {
187
- throw new Error("signer not set");
188
- }
189
- // It is not important to check this on the client side as opposed to increasing the bundle size.
190
- // Validate bech32 address.
191
- // Bech32Address.validate(this.signer);
192
- const signDoc = this.signDoc;
193
- // Check that the sign doc is for ADR-36,
194
- // the validation should be performed on the background.
195
- const hasOnlyMsgSignData = (() => {
196
- if (signDoc &&
197
- signDoc.msgs &&
198
- Array.isArray(signDoc.msgs) &&
199
- signDoc.msgs.length === 1) {
200
- const msg = signDoc.msgs[0];
201
- return msg.type === "sign/MsgSignData";
202
- }
203
- else {
204
- return false;
205
- }
206
- })();
207
- // If the sign doc is expected to be for ADR-36,
208
- // it doesn't have to have the chain id in the sign doc.
209
- if (!hasOnlyMsgSignData && signDoc.chain_id !== this.chainId) {
210
- throw new Error("Chain id in the message is not matched with the requested chain id");
211
- }
212
- if (!this.signOptions) {
213
- throw new Error("Sign options are null");
214
- }
215
- }
216
- route() {
217
- return "keyring";
218
- }
219
- type() {
220
- return RequestSignAminoMsg.type();
221
- }
222
- }
223
- exports.RequestSignAminoMsg = RequestSignAminoMsg;
224
- class RequestSignEIP712CosmosTxMsg_v0 extends router_1.Message {
225
- constructor(chainId, signer, eip712, signDoc, signOptions) {
226
- super();
227
- this.chainId = chainId;
228
- this.signer = signer;
229
- this.eip712 = eip712;
230
- this.signDoc = signDoc;
231
- this.signOptions = signOptions;
232
- }
233
- static type() {
234
- return "request-sign-eip-712-cosmos-tx-v0";
235
- }
236
- validateBasic() {
237
- if (!this.chainId) {
238
- throw new Error("chain id not set");
239
- }
240
- if (!this.signer) {
241
- throw new Error("signer not set");
242
- }
243
- if (this.signDoc.chain_id !== this.chainId) {
244
- throw new Error("Chain id in the message is not matched with the requested chain id");
245
- }
246
- if (!this.signOptions) {
247
- throw new Error("Sign options are null");
248
- }
249
- }
250
- approveExternal() {
251
- return true;
252
- }
253
- route() {
254
- return "keyring";
255
- }
256
- type() {
257
- return RequestSignEIP712CosmosTxMsg_v0.type();
258
- }
259
- }
260
- exports.RequestSignEIP712CosmosTxMsg_v0 = RequestSignEIP712CosmosTxMsg_v0;
261
- class RequestICNSAdr36SignaturesMsg extends router_1.Message {
262
- constructor(chainId, contractAddress, owner, username, addressChainIds) {
263
- super();
264
- this.chainId = chainId;
265
- this.contractAddress = contractAddress;
266
- this.owner = owner;
267
- this.username = username;
268
- this.addressChainIds = addressChainIds;
269
- }
270
- static type() {
271
- return "request-icns-adr-36-signatures";
272
- }
273
- validateBasic() {
274
- if (!this.chainId) {
275
- throw new Error("chain id not set");
276
- }
277
- if (!this.contractAddress) {
278
- throw new Error("contract address not set");
279
- }
280
- if (!this.owner) {
281
- throw new Error("signer not set");
282
- }
283
- // Validate bech32 address.
284
- // Bech32Address.validate(this.signer);
285
- if (!this.username) {
286
- throw new Error("username not set");
287
- }
288
- if (!this.addressChainIds || this.addressChainIds.length === 0) {
289
- throw new Error("address chain ids not set");
290
- }
291
- }
292
- approveExternal() {
293
- return true;
294
- }
295
- route() {
296
- return "keyring";
297
- }
298
- type() {
299
- return RequestICNSAdr36SignaturesMsg.type();
300
- }
301
- }
302
- exports.RequestICNSAdr36SignaturesMsg = RequestICNSAdr36SignaturesMsg;
303
- class RequestVerifyADR36AminoSignDoc extends router_1.Message {
304
- constructor(chainId, signer, data, signature) {
305
- super();
306
- this.chainId = chainId;
307
- this.signer = signer;
308
- this.data = data;
309
- this.signature = signature;
310
- }
311
- static type() {
312
- return "request-verify-adr-36-amino-doc";
313
- }
314
- validateBasic() {
315
- if (!this.chainId) {
316
- throw new Error("chain id not set");
317
- }
318
- if (!this.signer) {
319
- throw new Error("signer not set");
320
- }
321
- if (!this.signature) {
322
- throw new Error("Signature not set");
323
- }
324
- // It is not important to check this on the client side as opposed to increasing the bundle size.
325
- // Validate bech32 address.
326
- // Bech32Address.validate(this.signer);
327
- }
328
- route() {
329
- return "keyring";
330
- }
331
- type() {
332
- return RequestVerifyADR36AminoSignDoc.type();
333
- }
334
- }
335
- exports.RequestVerifyADR36AminoSignDoc = RequestVerifyADR36AminoSignDoc;
336
- class RequestSignDirectMsg extends router_1.Message {
337
- constructor(chainId, signer, signDoc, signOptions = {}) {
338
- super();
339
- this.chainId = chainId;
340
- this.signer = signer;
341
- this.signDoc = signDoc;
342
- this.signOptions = signOptions;
343
- }
344
- static type() {
345
- return "request-sign-direct";
346
- }
347
- validateBasic() {
348
- if (!this.chainId) {
349
- throw new Error("chain id not set");
350
- }
351
- if (!this.signer) {
352
- throw new Error("signer not set");
353
- }
354
- // It is not important to check this on the client side as opposed to increasing the bundle size.
355
- // Validate bech32 address.
356
- // Bech32Address.validate(this.signer);
357
- // const signDoc = cosmos.tx.v1beta1.SignDoc.create({
358
- // bodyBytes: this.signDoc.bodyBytes,
359
- // authInfoBytes: this.signDoc.authInfoBytes,
360
- // chainId: this.signDoc.chainId,
361
- // accountNumber: this.signDoc.accountNumber
362
- // ? Long.fromString(this.signDoc.accountNumber)
363
- // : undefined,
364
- // });
365
- //
366
- // if (signDoc.chainId !== this.chainId) {
367
- // throw new Error(
368
- // "Chain id in the message is not matched with the requested chain id"
369
- // );
370
- // }
371
- if (!this.signOptions) {
372
- throw new Error("Sign options are null");
373
- }
374
- }
375
- route() {
376
- return "keyring";
377
- }
378
- type() {
379
- return RequestSignDirectMsg.type();
380
- }
381
- }
382
- exports.RequestSignDirectMsg = RequestSignDirectMsg;
383
- class GetPubkeyMsg extends router_1.Message {
384
- constructor(chainId) {
385
- super();
386
- this.chainId = chainId;
387
- }
388
- static type() {
389
- return "get-pubkey-msg";
390
- }
391
- validateBasic() {
392
- if (!this.chainId) {
393
- throw new Error("chain id not set");
394
- }
395
- }
396
- route() {
397
- return "secret-wasm";
398
- }
399
- type() {
400
- return GetPubkeyMsg.type();
401
- }
402
- }
403
- exports.GetPubkeyMsg = GetPubkeyMsg;
404
- class ReqeustEncryptMsg extends router_1.Message {
405
- constructor(chainId, contractCodeHash,
406
- // eslint-disable-next-line @typescript-eslint/ban-types
407
- msg) {
408
- super();
409
- this.chainId = chainId;
410
- this.contractCodeHash = contractCodeHash;
411
- this.msg = msg;
412
- }
413
- static type() {
414
- return "request-encrypt-msg";
415
- }
416
- validateBasic() {
417
- if (!this.chainId) {
418
- throw new Error("chain id not set");
419
- }
420
- if (!this.contractCodeHash) {
421
- throw new Error("contract code hash not set");
422
- }
423
- if (!this.msg) {
424
- throw new Error("msg not set");
425
- }
426
- }
427
- route() {
428
- return "secret-wasm";
429
- }
430
- type() {
431
- return ReqeustEncryptMsg.type();
432
- }
433
- }
434
- exports.ReqeustEncryptMsg = ReqeustEncryptMsg;
435
- class RequestDecryptMsg extends router_1.Message {
436
- constructor(chainId, cipherText, nonce) {
437
- super();
438
- this.chainId = chainId;
439
- this.cipherText = cipherText;
440
- this.nonce = nonce;
441
- }
442
- static type() {
443
- return "request-decrypt-msg";
444
- }
445
- validateBasic() {
446
- if (!this.chainId) {
447
- throw new Error("chain id not set");
448
- }
449
- if (!this.cipherText || this.cipherText.length === 0) {
450
- throw new Error("ciphertext not set");
451
- }
452
- if (!this.nonce || this.nonce.length === 0) {
453
- throw new Error("nonce not set");
454
- }
455
- }
456
- route() {
457
- return "secret-wasm";
458
- }
459
- type() {
460
- return RequestDecryptMsg.type();
461
- }
462
- }
463
- exports.RequestDecryptMsg = RequestDecryptMsg;
464
- class GetTxEncryptionKeyMsg extends router_1.Message {
465
- constructor(chainId, nonce) {
466
- super();
467
- this.chainId = chainId;
468
- this.nonce = nonce;
469
- }
470
- static type() {
471
- return "get-tx-encryption-key-msg";
472
- }
473
- validateBasic() {
474
- if (!this.chainId) {
475
- throw new Error("chain id not set");
476
- }
477
- if (!this.nonce) {
478
- // Nonce of zero length is permitted.
479
- throw new Error("nonce is null");
480
- }
481
- }
482
- route() {
483
- return "secret-wasm";
484
- }
485
- type() {
486
- return GetTxEncryptionKeyMsg.type();
487
- }
488
- }
489
- exports.GetTxEncryptionKeyMsg = GetTxEncryptionKeyMsg;
490
- class GetChainInfosWithoutEndpointsMsg extends router_1.Message {
491
- static type() {
492
- return "get-chain-infos-without-endpoints";
493
- }
494
- validateBasic() {
495
- // noop
496
- }
497
- route() {
498
- return "chains";
499
- }
500
- type() {
501
- return GetChainInfosWithoutEndpointsMsg.type();
502
- }
503
- }
504
- exports.GetChainInfosWithoutEndpointsMsg = GetChainInfosWithoutEndpointsMsg;
505
- class GetAnalyticsIdMsg extends router_1.Message {
506
- static type() {
507
- return "get-analytics-id";
508
- }
509
- constructor() {
510
- super();
511
- }
512
- validateBasic() {
513
- // noop
514
- }
515
- approveExternal() {
516
- return true;
517
- }
518
- route() {
519
- return "analytics";
520
- }
521
- type() {
522
- return GetAnalyticsIdMsg.type();
523
- }
524
- }
525
- exports.GetAnalyticsIdMsg = GetAnalyticsIdMsg;
526
- class ChangeKeyRingNameMsg extends router_1.Message {
527
- constructor(defaultName, editable) {
528
- super();
529
- this.defaultName = defaultName;
530
- this.editable = editable;
531
- }
532
- static type() {
533
- return "change-keyring-name-msg";
534
- }
535
- validateBasic() {
536
- // Not allow empty name.
537
- if (!this.defaultName) {
538
- throw new Error("default name not set");
539
- }
540
- }
541
- route() {
542
- return "keyring";
543
- }
544
- type() {
545
- return ChangeKeyRingNameMsg.type();
546
- }
547
- }
548
- exports.ChangeKeyRingNameMsg = ChangeKeyRingNameMsg;
549
- //# sourceMappingURL=msgs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"msgs.js","sourceRoot":"","sources":["../../src/types/msgs.ts"],"names":[],"mappings":";;;AAAA,iDAA+C;AAY/C,MAAa,eAAgB,SAAQ,gBAAa;IAKhD,YAA4B,QAAkB;QAC5C,KAAK,EAAE,CAAC;QADkB,aAAQ,GAAR,QAAQ,CAAU;IAE9C,CAAC;IANM,MAAM,CAAC,IAAI;QAChB,OAAO,eAAe,CAAC;IACzB,CAAC;IAMD,aAAa;QACX,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE;YAChD,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,CAAC;SACrC;IACH,CAAC;IAED,KAAK;QACH,OAAO,YAAY,CAAC;IACtB,CAAC;IAED,IAAI;QACF,OAAO,eAAe,CAAC,IAAI,EAAE,CAAC;IAChC,CAAC;CACF;AAtBD,0CAsBC;AAED,MAAa,gBAAiB,SAAQ,gBAAa;IAKjD,YAA4B,QAAkB;QAC5C,KAAK,EAAE,CAAC;QADkB,aAAQ,GAAR,QAAQ,CAAU;IAE9C,CAAC;IANM,MAAM,CAAC,IAAI;QAChB,OAAO,gBAAgB,CAAC;IAC1B,CAAC;IAMD,aAAa;QACX,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YAClB,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,CAAC;SACrC;IACH,CAAC;IAED,KAAK;QACH,OAAO,YAAY,CAAC;IACtB,CAAC;IAED,IAAI;QACF,OAAO,gBAAgB,CAAC,IAAI,EAAE,CAAC;IACjC,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