@metamask-previews/keyring-internal-api 9.1.0-7d43e97 → 9.1.1-2d9d5c0
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 +17 -1
- package/dist/compatibility/index.cjs +1 -1
- package/dist/compatibility/index.cjs.map +1 -1
- package/dist/compatibility/index.d.cts +1 -1
- package/dist/compatibility/index.d.cts.map +1 -1
- package/dist/compatibility/index.d.mts +1 -1
- package/dist/compatibility/index.d.mts.map +1 -1
- package/dist/compatibility/index.mjs +1 -1
- package/dist/compatibility/index.mjs.map +1 -1
- package/dist/compatibility/keyring-request.cjs +28 -0
- package/dist/compatibility/keyring-request.cjs.map +1 -0
- package/dist/compatibility/{v1.d.mts → keyring-request.d.cts} +7 -7
- package/dist/compatibility/keyring-request.d.cts.map +1 -0
- package/dist/compatibility/{v1.d.cts → keyring-request.d.mts} +7 -7
- package/dist/compatibility/keyring-request.d.mts.map +1 -0
- package/dist/compatibility/{v1.mjs → keyring-request.mjs} +8 -6
- package/dist/compatibility/keyring-request.mjs.map +1 -0
- package/dist/eth/EthKeyring.cjs +0 -1
- package/dist/eth/EthKeyring.cjs.map +1 -1
- package/dist/eth/EthKeyring.d.cts.map +1 -1
- package/dist/eth/EthKeyring.d.mts.map +1 -1
- package/dist/eth/EthKeyring.mjs +0 -1
- package/dist/eth/EthKeyring.mjs.map +1 -1
- package/dist/index.cjs +0 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +0 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +0 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +0 -1
- package/dist/index.mjs.map +1 -1
- package/dist/types.cjs +2 -3
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +62 -24
- package/dist/types.d.cts.map +1 -1
- package/dist/types.d.mts +62 -24
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +2 -3
- package/dist/types.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/compatibility/v1.cjs +0 -26
- package/dist/compatibility/v1.cjs.map +0 -1
- package/dist/compatibility/v1.d.cts.map +0 -1
- package/dist/compatibility/v1.d.mts.map +0 -1
- package/dist/compatibility/v1.mjs.map +0 -1
- package/dist/versions.cjs +0 -16
- package/dist/versions.cjs.map +0 -1
- package/dist/versions.d.cts +0 -12
- package/dist/versions.d.cts.map +0 -1
- package/dist/versions.d.mts +0 -12
- package/dist/versions.d.mts.map +0 -1
- package/dist/versions.mjs +0 -13
- package/dist/versions.mjs.map +0 -1
package/dist/types.d.cts
CHANGED
|
@@ -8,12 +8,12 @@ export declare const InternalAccountMetadataStruct: Struct<{
|
|
|
8
8
|
keyring: {
|
|
9
9
|
type: string;
|
|
10
10
|
};
|
|
11
|
-
nameLastUpdatedAt?: number;
|
|
12
11
|
snap?: {
|
|
13
12
|
name: string;
|
|
14
13
|
id: string;
|
|
15
14
|
enabled: boolean;
|
|
16
15
|
};
|
|
16
|
+
nameLastUpdatedAt?: number;
|
|
17
17
|
lastSelected?: number;
|
|
18
18
|
};
|
|
19
19
|
}, {
|
|
@@ -23,12 +23,12 @@ export declare const InternalAccountMetadataStruct: Struct<{
|
|
|
23
23
|
keyring: {
|
|
24
24
|
type: string;
|
|
25
25
|
};
|
|
26
|
-
nameLastUpdatedAt?: number;
|
|
27
26
|
snap?: {
|
|
28
27
|
name: string;
|
|
29
28
|
id: string;
|
|
30
29
|
enabled: boolean;
|
|
31
30
|
};
|
|
31
|
+
nameLastUpdatedAt?: number;
|
|
32
32
|
lastSelected?: number;
|
|
33
33
|
}, {
|
|
34
34
|
name: Struct<string, null>;
|
|
@@ -62,6 +62,8 @@ export declare const InternalEthEoaAccountStruct: Struct<{
|
|
|
62
62
|
groupIndex: number;
|
|
63
63
|
} | {
|
|
64
64
|
type: "private-key";
|
|
65
|
+
} | {
|
|
66
|
+
type: "custom";
|
|
65
67
|
};
|
|
66
68
|
exportable?: boolean;
|
|
67
69
|
};
|
|
@@ -71,15 +73,15 @@ export declare const InternalEthEoaAccountStruct: Struct<{
|
|
|
71
73
|
keyring: {
|
|
72
74
|
type: string;
|
|
73
75
|
};
|
|
74
|
-
nameLastUpdatedAt?: number;
|
|
75
76
|
snap?: {
|
|
76
77
|
name: string;
|
|
77
78
|
id: string;
|
|
78
79
|
enabled: boolean;
|
|
79
80
|
};
|
|
81
|
+
nameLastUpdatedAt?: number;
|
|
80
82
|
lastSelected?: number;
|
|
81
83
|
};
|
|
82
|
-
address: string
|
|
84
|
+
address: `0x${string}`;
|
|
83
85
|
scopes: import("@metamask/keyring-api").EthScope.Eoa[];
|
|
84
86
|
methods: ("personal_sign" | "eth_sign" | "eth_signTransaction" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4")[];
|
|
85
87
|
}, {
|
|
@@ -89,12 +91,12 @@ export declare const InternalEthEoaAccountStruct: Struct<{
|
|
|
89
91
|
keyring: {
|
|
90
92
|
type: string;
|
|
91
93
|
};
|
|
92
|
-
nameLastUpdatedAt?: number;
|
|
93
94
|
snap?: {
|
|
94
95
|
name: string;
|
|
95
96
|
id: string;
|
|
96
97
|
enabled: boolean;
|
|
97
98
|
};
|
|
99
|
+
nameLastUpdatedAt?: number;
|
|
98
100
|
lastSelected?: number;
|
|
99
101
|
}, {
|
|
100
102
|
name: Struct<string, null>;
|
|
@@ -116,7 +118,7 @@ export declare const InternalEthEoaAccountStruct: Struct<{
|
|
|
116
118
|
type: Struct<string, null>;
|
|
117
119
|
}>;
|
|
118
120
|
}>;
|
|
119
|
-
address: import("@metamask/superstruct").Struct
|
|
121
|
+
address: import("@metamask/superstruct").Struct<`0x${string}`, null>;
|
|
120
122
|
type: import("@metamask/superstruct").Struct<"eip155:eoa", "eip155:eoa">;
|
|
121
123
|
scopes: import("@metamask/superstruct").Struct<import("@metamask/keyring-api").EthScope.Eoa[], import("@metamask/superstruct").Struct<import("@metamask/keyring-api").EthScope.Eoa, import("@metamask/keyring-api").EthScope.Eoa>>;
|
|
122
124
|
methods: import("@metamask/superstruct").Struct<("personal_sign" | "eth_sign" | "eth_signTransaction" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4")[], import("@metamask/superstruct").Struct<"personal_sign" | "eth_sign" | "eth_signTransaction" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4", {
|
|
@@ -136,6 +138,8 @@ export declare const InternalEthEoaAccountStruct: Struct<{
|
|
|
136
138
|
groupIndex: number;
|
|
137
139
|
} | {
|
|
138
140
|
type: "private-key";
|
|
141
|
+
} | {
|
|
142
|
+
type: "custom";
|
|
139
143
|
};
|
|
140
144
|
exportable?: boolean;
|
|
141
145
|
}, null>;
|
|
@@ -151,6 +155,8 @@ export declare const InternalEthErc4337AccountStruct: Struct<{
|
|
|
151
155
|
groupIndex: number;
|
|
152
156
|
} | {
|
|
153
157
|
type: "private-key";
|
|
158
|
+
} | {
|
|
159
|
+
type: "custom";
|
|
154
160
|
};
|
|
155
161
|
exportable?: boolean;
|
|
156
162
|
};
|
|
@@ -160,15 +166,15 @@ export declare const InternalEthErc4337AccountStruct: Struct<{
|
|
|
160
166
|
keyring: {
|
|
161
167
|
type: string;
|
|
162
168
|
};
|
|
163
|
-
nameLastUpdatedAt?: number;
|
|
164
169
|
snap?: {
|
|
165
170
|
name: string;
|
|
166
171
|
id: string;
|
|
167
172
|
enabled: boolean;
|
|
168
173
|
};
|
|
174
|
+
nameLastUpdatedAt?: number;
|
|
169
175
|
lastSelected?: number;
|
|
170
176
|
};
|
|
171
|
-
address: string
|
|
177
|
+
address: `0x${string}`;
|
|
172
178
|
scopes: `${string}:${string}`[];
|
|
173
179
|
methods: ("personal_sign" | "eth_sign" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4" | "eth_prepareUserOperation" | "eth_patchUserOperation" | "eth_signUserOperation")[];
|
|
174
180
|
}, {
|
|
@@ -178,12 +184,12 @@ export declare const InternalEthErc4337AccountStruct: Struct<{
|
|
|
178
184
|
keyring: {
|
|
179
185
|
type: string;
|
|
180
186
|
};
|
|
181
|
-
nameLastUpdatedAt?: number;
|
|
182
187
|
snap?: {
|
|
183
188
|
name: string;
|
|
184
189
|
id: string;
|
|
185
190
|
enabled: boolean;
|
|
186
191
|
};
|
|
192
|
+
nameLastUpdatedAt?: number;
|
|
187
193
|
lastSelected?: number;
|
|
188
194
|
}, {
|
|
189
195
|
name: Struct<string, null>;
|
|
@@ -205,7 +211,7 @@ export declare const InternalEthErc4337AccountStruct: Struct<{
|
|
|
205
211
|
type: Struct<string, null>;
|
|
206
212
|
}>;
|
|
207
213
|
}>;
|
|
208
|
-
address: import("@metamask/superstruct").Struct
|
|
214
|
+
address: import("@metamask/superstruct").Struct<`0x${string}`, null>;
|
|
209
215
|
type: import("@metamask/superstruct").Struct<"eip155:erc4337", "eip155:erc4337">;
|
|
210
216
|
scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
|
|
211
217
|
methods: import("@metamask/superstruct").Struct<("personal_sign" | "eth_sign" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4" | "eth_prepareUserOperation" | "eth_patchUserOperation" | "eth_signUserOperation")[], import("@metamask/superstruct").Struct<"personal_sign" | "eth_sign" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4" | "eth_prepareUserOperation" | "eth_patchUserOperation" | "eth_signUserOperation", {
|
|
@@ -227,6 +233,8 @@ export declare const InternalEthErc4337AccountStruct: Struct<{
|
|
|
227
233
|
groupIndex: number;
|
|
228
234
|
} | {
|
|
229
235
|
type: "private-key";
|
|
236
|
+
} | {
|
|
237
|
+
type: "custom";
|
|
230
238
|
};
|
|
231
239
|
exportable?: boolean;
|
|
232
240
|
}, null>;
|
|
@@ -242,6 +250,8 @@ export declare const InternalBtcP2pkhAccountStruct: Struct<{
|
|
|
242
250
|
groupIndex: number;
|
|
243
251
|
} | {
|
|
244
252
|
type: "private-key";
|
|
253
|
+
} | {
|
|
254
|
+
type: "custom";
|
|
245
255
|
};
|
|
246
256
|
exportable?: boolean;
|
|
247
257
|
};
|
|
@@ -251,12 +261,12 @@ export declare const InternalBtcP2pkhAccountStruct: Struct<{
|
|
|
251
261
|
keyring: {
|
|
252
262
|
type: string;
|
|
253
263
|
};
|
|
254
|
-
nameLastUpdatedAt?: number;
|
|
255
264
|
snap?: {
|
|
256
265
|
name: string;
|
|
257
266
|
id: string;
|
|
258
267
|
enabled: boolean;
|
|
259
268
|
};
|
|
269
|
+
nameLastUpdatedAt?: number;
|
|
260
270
|
lastSelected?: number;
|
|
261
271
|
};
|
|
262
272
|
address: string;
|
|
@@ -269,12 +279,12 @@ export declare const InternalBtcP2pkhAccountStruct: Struct<{
|
|
|
269
279
|
keyring: {
|
|
270
280
|
type: string;
|
|
271
281
|
};
|
|
272
|
-
nameLastUpdatedAt?: number;
|
|
273
282
|
snap?: {
|
|
274
283
|
name: string;
|
|
275
284
|
id: string;
|
|
276
285
|
enabled: boolean;
|
|
277
286
|
};
|
|
287
|
+
nameLastUpdatedAt?: number;
|
|
278
288
|
lastSelected?: number;
|
|
279
289
|
}, {
|
|
280
290
|
name: Struct<string, null>;
|
|
@@ -319,6 +329,8 @@ export declare const InternalBtcP2pkhAccountStruct: Struct<{
|
|
|
319
329
|
groupIndex: number;
|
|
320
330
|
} | {
|
|
321
331
|
type: "private-key";
|
|
332
|
+
} | {
|
|
333
|
+
type: "custom";
|
|
322
334
|
};
|
|
323
335
|
exportable?: boolean;
|
|
324
336
|
}, null>;
|
|
@@ -334,6 +346,8 @@ export declare const InternalBtcP2shAccountStruct: Struct<{
|
|
|
334
346
|
groupIndex: number;
|
|
335
347
|
} | {
|
|
336
348
|
type: "private-key";
|
|
349
|
+
} | {
|
|
350
|
+
type: "custom";
|
|
337
351
|
};
|
|
338
352
|
exportable?: boolean;
|
|
339
353
|
};
|
|
@@ -343,12 +357,12 @@ export declare const InternalBtcP2shAccountStruct: Struct<{
|
|
|
343
357
|
keyring: {
|
|
344
358
|
type: string;
|
|
345
359
|
};
|
|
346
|
-
nameLastUpdatedAt?: number;
|
|
347
360
|
snap?: {
|
|
348
361
|
name: string;
|
|
349
362
|
id: string;
|
|
350
363
|
enabled: boolean;
|
|
351
364
|
};
|
|
365
|
+
nameLastUpdatedAt?: number;
|
|
352
366
|
lastSelected?: number;
|
|
353
367
|
};
|
|
354
368
|
address: string;
|
|
@@ -361,12 +375,12 @@ export declare const InternalBtcP2shAccountStruct: Struct<{
|
|
|
361
375
|
keyring: {
|
|
362
376
|
type: string;
|
|
363
377
|
};
|
|
364
|
-
nameLastUpdatedAt?: number;
|
|
365
378
|
snap?: {
|
|
366
379
|
name: string;
|
|
367
380
|
id: string;
|
|
368
381
|
enabled: boolean;
|
|
369
382
|
};
|
|
383
|
+
nameLastUpdatedAt?: number;
|
|
370
384
|
lastSelected?: number;
|
|
371
385
|
}, {
|
|
372
386
|
name: Struct<string, null>;
|
|
@@ -411,6 +425,8 @@ export declare const InternalBtcP2shAccountStruct: Struct<{
|
|
|
411
425
|
groupIndex: number;
|
|
412
426
|
} | {
|
|
413
427
|
type: "private-key";
|
|
428
|
+
} | {
|
|
429
|
+
type: "custom";
|
|
414
430
|
};
|
|
415
431
|
exportable?: boolean;
|
|
416
432
|
}, null>;
|
|
@@ -426,6 +442,8 @@ export declare const InternalBtcP2wpkhAccountStruct: Struct<{
|
|
|
426
442
|
groupIndex: number;
|
|
427
443
|
} | {
|
|
428
444
|
type: "private-key";
|
|
445
|
+
} | {
|
|
446
|
+
type: "custom";
|
|
429
447
|
};
|
|
430
448
|
exportable?: boolean;
|
|
431
449
|
};
|
|
@@ -435,12 +453,12 @@ export declare const InternalBtcP2wpkhAccountStruct: Struct<{
|
|
|
435
453
|
keyring: {
|
|
436
454
|
type: string;
|
|
437
455
|
};
|
|
438
|
-
nameLastUpdatedAt?: number;
|
|
439
456
|
snap?: {
|
|
440
457
|
name: string;
|
|
441
458
|
id: string;
|
|
442
459
|
enabled: boolean;
|
|
443
460
|
};
|
|
461
|
+
nameLastUpdatedAt?: number;
|
|
444
462
|
lastSelected?: number;
|
|
445
463
|
};
|
|
446
464
|
address: string;
|
|
@@ -453,12 +471,12 @@ export declare const InternalBtcP2wpkhAccountStruct: Struct<{
|
|
|
453
471
|
keyring: {
|
|
454
472
|
type: string;
|
|
455
473
|
};
|
|
456
|
-
nameLastUpdatedAt?: number;
|
|
457
474
|
snap?: {
|
|
458
475
|
name: string;
|
|
459
476
|
id: string;
|
|
460
477
|
enabled: boolean;
|
|
461
478
|
};
|
|
479
|
+
nameLastUpdatedAt?: number;
|
|
462
480
|
lastSelected?: number;
|
|
463
481
|
}, {
|
|
464
482
|
name: Struct<string, null>;
|
|
@@ -503,6 +521,8 @@ export declare const InternalBtcP2wpkhAccountStruct: Struct<{
|
|
|
503
521
|
groupIndex: number;
|
|
504
522
|
} | {
|
|
505
523
|
type: "private-key";
|
|
524
|
+
} | {
|
|
525
|
+
type: "custom";
|
|
506
526
|
};
|
|
507
527
|
exportable?: boolean;
|
|
508
528
|
}, null>;
|
|
@@ -518,6 +538,8 @@ export declare const InternalBtcP2trAccountStruct: Struct<{
|
|
|
518
538
|
groupIndex: number;
|
|
519
539
|
} | {
|
|
520
540
|
type: "private-key";
|
|
541
|
+
} | {
|
|
542
|
+
type: "custom";
|
|
521
543
|
};
|
|
522
544
|
exportable?: boolean;
|
|
523
545
|
};
|
|
@@ -527,12 +549,12 @@ export declare const InternalBtcP2trAccountStruct: Struct<{
|
|
|
527
549
|
keyring: {
|
|
528
550
|
type: string;
|
|
529
551
|
};
|
|
530
|
-
nameLastUpdatedAt?: number;
|
|
531
552
|
snap?: {
|
|
532
553
|
name: string;
|
|
533
554
|
id: string;
|
|
534
555
|
enabled: boolean;
|
|
535
556
|
};
|
|
557
|
+
nameLastUpdatedAt?: number;
|
|
536
558
|
lastSelected?: number;
|
|
537
559
|
};
|
|
538
560
|
address: string;
|
|
@@ -545,12 +567,12 @@ export declare const InternalBtcP2trAccountStruct: Struct<{
|
|
|
545
567
|
keyring: {
|
|
546
568
|
type: string;
|
|
547
569
|
};
|
|
548
|
-
nameLastUpdatedAt?: number;
|
|
549
570
|
snap?: {
|
|
550
571
|
name: string;
|
|
551
572
|
id: string;
|
|
552
573
|
enabled: boolean;
|
|
553
574
|
};
|
|
575
|
+
nameLastUpdatedAt?: number;
|
|
554
576
|
lastSelected?: number;
|
|
555
577
|
}, {
|
|
556
578
|
name: Struct<string, null>;
|
|
@@ -595,6 +617,8 @@ export declare const InternalBtcP2trAccountStruct: Struct<{
|
|
|
595
617
|
groupIndex: number;
|
|
596
618
|
} | {
|
|
597
619
|
type: "private-key";
|
|
620
|
+
} | {
|
|
621
|
+
type: "custom";
|
|
598
622
|
};
|
|
599
623
|
exportable?: boolean;
|
|
600
624
|
}, null>;
|
|
@@ -610,6 +634,8 @@ export declare const InternalSolDataAccountStruct: Struct<{
|
|
|
610
634
|
groupIndex: number;
|
|
611
635
|
} | {
|
|
612
636
|
type: "private-key";
|
|
637
|
+
} | {
|
|
638
|
+
type: "custom";
|
|
613
639
|
};
|
|
614
640
|
exportable?: boolean;
|
|
615
641
|
};
|
|
@@ -619,12 +645,12 @@ export declare const InternalSolDataAccountStruct: Struct<{
|
|
|
619
645
|
keyring: {
|
|
620
646
|
type: string;
|
|
621
647
|
};
|
|
622
|
-
nameLastUpdatedAt?: number;
|
|
623
648
|
snap?: {
|
|
624
649
|
name: string;
|
|
625
650
|
id: string;
|
|
626
651
|
enabled: boolean;
|
|
627
652
|
};
|
|
653
|
+
nameLastUpdatedAt?: number;
|
|
628
654
|
lastSelected?: number;
|
|
629
655
|
};
|
|
630
656
|
address: string;
|
|
@@ -637,12 +663,12 @@ export declare const InternalSolDataAccountStruct: Struct<{
|
|
|
637
663
|
keyring: {
|
|
638
664
|
type: string;
|
|
639
665
|
};
|
|
640
|
-
nameLastUpdatedAt?: number;
|
|
641
666
|
snap?: {
|
|
642
667
|
name: string;
|
|
643
668
|
id: string;
|
|
644
669
|
enabled: boolean;
|
|
645
670
|
};
|
|
671
|
+
nameLastUpdatedAt?: number;
|
|
646
672
|
lastSelected?: number;
|
|
647
673
|
}, {
|
|
648
674
|
name: Struct<string, null>;
|
|
@@ -683,6 +709,8 @@ export declare const InternalSolDataAccountStruct: Struct<{
|
|
|
683
709
|
groupIndex: number;
|
|
684
710
|
} | {
|
|
685
711
|
type: "private-key";
|
|
712
|
+
} | {
|
|
713
|
+
type: "custom";
|
|
686
714
|
};
|
|
687
715
|
exportable?: boolean;
|
|
688
716
|
}, null>;
|
|
@@ -698,6 +726,8 @@ export declare const InternalTrxEoaAccountStruct: Struct<{
|
|
|
698
726
|
groupIndex: number;
|
|
699
727
|
} | {
|
|
700
728
|
type: "private-key";
|
|
729
|
+
} | {
|
|
730
|
+
type: "custom";
|
|
701
731
|
};
|
|
702
732
|
exportable?: boolean;
|
|
703
733
|
};
|
|
@@ -707,12 +737,12 @@ export declare const InternalTrxEoaAccountStruct: Struct<{
|
|
|
707
737
|
keyring: {
|
|
708
738
|
type: string;
|
|
709
739
|
};
|
|
710
|
-
nameLastUpdatedAt?: number;
|
|
711
740
|
snap?: {
|
|
712
741
|
name: string;
|
|
713
742
|
id: string;
|
|
714
743
|
enabled: boolean;
|
|
715
744
|
};
|
|
745
|
+
nameLastUpdatedAt?: number;
|
|
716
746
|
lastSelected?: number;
|
|
717
747
|
};
|
|
718
748
|
address: string;
|
|
@@ -725,12 +755,12 @@ export declare const InternalTrxEoaAccountStruct: Struct<{
|
|
|
725
755
|
keyring: {
|
|
726
756
|
type: string;
|
|
727
757
|
};
|
|
728
|
-
nameLastUpdatedAt?: number;
|
|
729
758
|
snap?: {
|
|
730
759
|
name: string;
|
|
731
760
|
id: string;
|
|
732
761
|
enabled: boolean;
|
|
733
762
|
};
|
|
763
|
+
nameLastUpdatedAt?: number;
|
|
734
764
|
lastSelected?: number;
|
|
735
765
|
}, {
|
|
736
766
|
name: Struct<string, null>;
|
|
@@ -756,6 +786,8 @@ export declare const InternalTrxEoaAccountStruct: Struct<{
|
|
|
756
786
|
type: import("@metamask/superstruct").Struct<"tron:eoa", "tron:eoa">;
|
|
757
787
|
scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
|
|
758
788
|
methods: import("@metamask/superstruct").Struct<import("@metamask/keyring-api").TrxMethod[], import("@metamask/superstruct").Struct<import("@metamask/keyring-api").TrxMethod, {
|
|
789
|
+
signMessage: import("@metamask/keyring-api").TrxMethod.SignMessage;
|
|
790
|
+
signTransaction: import("@metamask/keyring-api").TrxMethod.SignTransaction;
|
|
759
791
|
signMessageV2: import("@metamask/keyring-api").TrxMethod.SignMessageV2;
|
|
760
792
|
verifyMessageV2: import("@metamask/keyring-api").TrxMethod.VerifyMessageV2;
|
|
761
793
|
}>>;
|
|
@@ -768,6 +800,8 @@ export declare const InternalTrxEoaAccountStruct: Struct<{
|
|
|
768
800
|
groupIndex: number;
|
|
769
801
|
} | {
|
|
770
802
|
type: "private-key";
|
|
803
|
+
} | {
|
|
804
|
+
type: "custom";
|
|
771
805
|
};
|
|
772
806
|
exportable?: boolean;
|
|
773
807
|
}, null>;
|
|
@@ -793,6 +827,8 @@ export declare const InternalAccountStruct: Struct<{
|
|
|
793
827
|
groupIndex: number;
|
|
794
828
|
} | {
|
|
795
829
|
type: "private-key";
|
|
830
|
+
} | {
|
|
831
|
+
type: "custom";
|
|
796
832
|
};
|
|
797
833
|
exportable?: boolean;
|
|
798
834
|
};
|
|
@@ -802,12 +838,12 @@ export declare const InternalAccountStruct: Struct<{
|
|
|
802
838
|
keyring: {
|
|
803
839
|
type: string;
|
|
804
840
|
};
|
|
805
|
-
nameLastUpdatedAt?: number;
|
|
806
841
|
snap?: {
|
|
807
842
|
name: string;
|
|
808
843
|
id: string;
|
|
809
844
|
enabled: boolean;
|
|
810
845
|
};
|
|
846
|
+
nameLastUpdatedAt?: number;
|
|
811
847
|
lastSelected?: number;
|
|
812
848
|
};
|
|
813
849
|
address: string;
|
|
@@ -820,12 +856,12 @@ export declare const InternalAccountStruct: Struct<{
|
|
|
820
856
|
keyring: {
|
|
821
857
|
type: string;
|
|
822
858
|
};
|
|
823
|
-
nameLastUpdatedAt?: number;
|
|
824
859
|
snap?: {
|
|
825
860
|
name: string;
|
|
826
861
|
id: string;
|
|
827
862
|
enabled: boolean;
|
|
828
863
|
};
|
|
864
|
+
nameLastUpdatedAt?: number;
|
|
829
865
|
lastSelected?: number;
|
|
830
866
|
}, {
|
|
831
867
|
name: Struct<string, null>;
|
|
@@ -869,6 +905,8 @@ export declare const InternalAccountStruct: Struct<{
|
|
|
869
905
|
groupIndex: number;
|
|
870
906
|
} | {
|
|
871
907
|
type: "private-key";
|
|
908
|
+
} | {
|
|
909
|
+
type: "custom";
|
|
872
910
|
};
|
|
873
911
|
exportable?: boolean;
|
|
874
912
|
}, null>;
|
package/dist/types.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.cts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,cAAc,EACd,cAAc,EAEd,cAAc,EAQd,cAAc,EAEf,8BAA8B;AAE/B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,8BAA8B;AAG3D,MAAM,MAAM,mBAAmB,GAC3B,cAAc,GACd,cAAc,GACd,cAAc,GACd,cAAc,CAAC;AAEnB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBxC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAwDU,CAAA;;;;;;;;;;kBAO7C,CAAC;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