@metamask-previews/keyring-internal-api 12.1.0-00307a3 → 12.1.0-487a8e0
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/dist/types.d.cts +20 -20
- package/dist/types.d.mts +20 -20
- package/package.json +1 -1
package/dist/types.d.cts
CHANGED
|
@@ -59,6 +59,8 @@ export declare const InternalEthEoaAccountStruct: Struct<{
|
|
|
59
59
|
};
|
|
60
60
|
exportable?: boolean;
|
|
61
61
|
};
|
|
62
|
+
address: string;
|
|
63
|
+
scopes: import("@metamask/keyring-api").EthScope.Eoa[];
|
|
62
64
|
metadata: {
|
|
63
65
|
name: string;
|
|
64
66
|
importTime: number;
|
|
@@ -71,8 +73,6 @@ export declare const InternalEthEoaAccountStruct: Struct<{
|
|
|
71
73
|
nameLastUpdatedAt?: number;
|
|
72
74
|
lastSelected?: number;
|
|
73
75
|
};
|
|
74
|
-
address: string;
|
|
75
|
-
scopes: import("@metamask/keyring-api").EthScope.Eoa[];
|
|
76
76
|
methods: ("personal_sign" | "eth_sign" | "eth_signTransaction" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4")[];
|
|
77
77
|
}, {
|
|
78
78
|
metadata: Struct<{
|
|
@@ -144,6 +144,8 @@ export declare const InternalEthErc4337AccountStruct: Struct<{
|
|
|
144
144
|
};
|
|
145
145
|
exportable?: boolean;
|
|
146
146
|
};
|
|
147
|
+
address: string;
|
|
148
|
+
scopes: `${string}:${string}`[];
|
|
147
149
|
metadata: {
|
|
148
150
|
name: string;
|
|
149
151
|
importTime: number;
|
|
@@ -156,8 +158,6 @@ export declare const InternalEthErc4337AccountStruct: Struct<{
|
|
|
156
158
|
nameLastUpdatedAt?: number;
|
|
157
159
|
lastSelected?: number;
|
|
158
160
|
};
|
|
159
|
-
address: string;
|
|
160
|
-
scopes: `${string}:${string}`[];
|
|
161
161
|
methods: ("personal_sign" | "eth_sign" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4" | "eth_prepareUserOperation" | "eth_patchUserOperation" | "eth_signUserOperation")[];
|
|
162
162
|
}, {
|
|
163
163
|
metadata: Struct<{
|
|
@@ -231,6 +231,8 @@ export declare const InternalBtcP2pkhAccountStruct: Struct<{
|
|
|
231
231
|
};
|
|
232
232
|
exportable?: boolean;
|
|
233
233
|
};
|
|
234
|
+
address: string;
|
|
235
|
+
scopes: `${string}:${string}`[];
|
|
234
236
|
metadata: {
|
|
235
237
|
name: string;
|
|
236
238
|
importTime: number;
|
|
@@ -243,8 +245,6 @@ export declare const InternalBtcP2pkhAccountStruct: Struct<{
|
|
|
243
245
|
nameLastUpdatedAt?: number;
|
|
244
246
|
lastSelected?: number;
|
|
245
247
|
};
|
|
246
|
-
address: string;
|
|
247
|
-
scopes: `${string}:${string}`[];
|
|
248
248
|
methods: import("@metamask/keyring-api").BtcMethod[];
|
|
249
249
|
}, {
|
|
250
250
|
metadata: Struct<{
|
|
@@ -319,6 +319,8 @@ export declare const InternalBtcP2shAccountStruct: Struct<{
|
|
|
319
319
|
};
|
|
320
320
|
exportable?: boolean;
|
|
321
321
|
};
|
|
322
|
+
address: string;
|
|
323
|
+
scopes: `${string}:${string}`[];
|
|
322
324
|
metadata: {
|
|
323
325
|
name: string;
|
|
324
326
|
importTime: number;
|
|
@@ -331,8 +333,6 @@ export declare const InternalBtcP2shAccountStruct: Struct<{
|
|
|
331
333
|
nameLastUpdatedAt?: number;
|
|
332
334
|
lastSelected?: number;
|
|
333
335
|
};
|
|
334
|
-
address: string;
|
|
335
|
-
scopes: `${string}:${string}`[];
|
|
336
336
|
methods: import("@metamask/keyring-api").BtcMethod[];
|
|
337
337
|
}, {
|
|
338
338
|
metadata: Struct<{
|
|
@@ -412,6 +412,8 @@ export declare const InternalBtcP2wpkhAccountStruct: Struct<{
|
|
|
412
412
|
};
|
|
413
413
|
exportable?: boolean;
|
|
414
414
|
};
|
|
415
|
+
address: string;
|
|
416
|
+
scopes: `${string}:${string}`[];
|
|
415
417
|
metadata: {
|
|
416
418
|
name: string;
|
|
417
419
|
importTime: number;
|
|
@@ -424,8 +426,6 @@ export declare const InternalBtcP2wpkhAccountStruct: Struct<{
|
|
|
424
426
|
nameLastUpdatedAt?: number;
|
|
425
427
|
lastSelected?: number;
|
|
426
428
|
};
|
|
427
|
-
address: string;
|
|
428
|
-
scopes: `${string}:${string}`[];
|
|
429
429
|
methods: import("@metamask/keyring-api").BtcMethod[];
|
|
430
430
|
}, {
|
|
431
431
|
metadata: Struct<{
|
|
@@ -500,6 +500,8 @@ export declare const InternalBtcP2trAccountStruct: Struct<{
|
|
|
500
500
|
};
|
|
501
501
|
exportable?: boolean;
|
|
502
502
|
};
|
|
503
|
+
address: string;
|
|
504
|
+
scopes: `${string}:${string}`[];
|
|
503
505
|
metadata: {
|
|
504
506
|
name: string;
|
|
505
507
|
importTime: number;
|
|
@@ -512,8 +514,6 @@ export declare const InternalBtcP2trAccountStruct: Struct<{
|
|
|
512
514
|
nameLastUpdatedAt?: number;
|
|
513
515
|
lastSelected?: number;
|
|
514
516
|
};
|
|
515
|
-
address: string;
|
|
516
|
-
scopes: `${string}:${string}`[];
|
|
517
517
|
methods: import("@metamask/keyring-api").BtcMethod[];
|
|
518
518
|
}, {
|
|
519
519
|
metadata: Struct<{
|
|
@@ -588,6 +588,8 @@ export declare const InternalSolDataAccountStruct: Struct<{
|
|
|
588
588
|
};
|
|
589
589
|
exportable?: boolean;
|
|
590
590
|
};
|
|
591
|
+
address: string;
|
|
592
|
+
scopes: `${string}:${string}`[];
|
|
591
593
|
metadata: {
|
|
592
594
|
name: string;
|
|
593
595
|
importTime: number;
|
|
@@ -600,8 +602,6 @@ export declare const InternalSolDataAccountStruct: Struct<{
|
|
|
600
602
|
nameLastUpdatedAt?: number;
|
|
601
603
|
lastSelected?: number;
|
|
602
604
|
};
|
|
603
|
-
address: string;
|
|
604
|
-
scopes: `${string}:${string}`[];
|
|
605
605
|
methods: import("@metamask/keyring-api").SolMethod[];
|
|
606
606
|
}, {
|
|
607
607
|
metadata: Struct<{
|
|
@@ -672,6 +672,8 @@ export declare const InternalTrxEoaAccountStruct: Struct<{
|
|
|
672
672
|
};
|
|
673
673
|
exportable?: boolean;
|
|
674
674
|
};
|
|
675
|
+
address: string;
|
|
676
|
+
scopes: `${string}:${string}`[];
|
|
675
677
|
metadata: {
|
|
676
678
|
name: string;
|
|
677
679
|
importTime: number;
|
|
@@ -684,8 +686,6 @@ export declare const InternalTrxEoaAccountStruct: Struct<{
|
|
|
684
686
|
nameLastUpdatedAt?: number;
|
|
685
687
|
lastSelected?: number;
|
|
686
688
|
};
|
|
687
|
-
address: string;
|
|
688
|
-
scopes: `${string}:${string}`[];
|
|
689
689
|
methods: import("@metamask/keyring-api").TrxMethod[];
|
|
690
690
|
}, {
|
|
691
691
|
metadata: Struct<{
|
|
@@ -755,6 +755,8 @@ export declare const InternalXlmAccountStruct: Struct<{
|
|
|
755
755
|
};
|
|
756
756
|
exportable?: boolean;
|
|
757
757
|
};
|
|
758
|
+
address: string;
|
|
759
|
+
scopes: `${string}:${string}`[];
|
|
758
760
|
metadata: {
|
|
759
761
|
name: string;
|
|
760
762
|
importTime: number;
|
|
@@ -767,8 +769,6 @@ export declare const InternalXlmAccountStruct: Struct<{
|
|
|
767
769
|
nameLastUpdatedAt?: number;
|
|
768
770
|
lastSelected?: number;
|
|
769
771
|
};
|
|
770
|
-
address: string;
|
|
771
|
-
scopes: `${string}:${string}`[];
|
|
772
772
|
methods: import("@metamask/keyring-api").XlmMethod[];
|
|
773
773
|
}, {
|
|
774
774
|
metadata: Struct<{
|
|
@@ -848,6 +848,8 @@ export declare const InternalAccountStruct: Struct<{
|
|
|
848
848
|
};
|
|
849
849
|
exportable?: boolean;
|
|
850
850
|
};
|
|
851
|
+
address: string;
|
|
852
|
+
scopes: `${string}:${string}`[];
|
|
851
853
|
metadata: {
|
|
852
854
|
name: string;
|
|
853
855
|
importTime: number;
|
|
@@ -860,8 +862,6 @@ export declare const InternalAccountStruct: Struct<{
|
|
|
860
862
|
nameLastUpdatedAt?: number;
|
|
861
863
|
lastSelected?: number;
|
|
862
864
|
};
|
|
863
|
-
address: string;
|
|
864
|
-
scopes: `${string}:${string}`[];
|
|
865
865
|
methods: string[];
|
|
866
866
|
}, {
|
|
867
867
|
metadata: Struct<{
|
package/dist/types.d.mts
CHANGED
|
@@ -59,6 +59,8 @@ export declare const InternalEthEoaAccountStruct: Struct<{
|
|
|
59
59
|
};
|
|
60
60
|
exportable?: boolean;
|
|
61
61
|
};
|
|
62
|
+
address: string;
|
|
63
|
+
scopes: import("@metamask/keyring-api").EthScope.Eoa[];
|
|
62
64
|
metadata: {
|
|
63
65
|
name: string;
|
|
64
66
|
importTime: number;
|
|
@@ -71,8 +73,6 @@ export declare const InternalEthEoaAccountStruct: Struct<{
|
|
|
71
73
|
nameLastUpdatedAt?: number;
|
|
72
74
|
lastSelected?: number;
|
|
73
75
|
};
|
|
74
|
-
address: string;
|
|
75
|
-
scopes: import("@metamask/keyring-api").EthScope.Eoa[];
|
|
76
76
|
methods: ("personal_sign" | "eth_sign" | "eth_signTransaction" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4")[];
|
|
77
77
|
}, {
|
|
78
78
|
metadata: Struct<{
|
|
@@ -144,6 +144,8 @@ export declare const InternalEthErc4337AccountStruct: Struct<{
|
|
|
144
144
|
};
|
|
145
145
|
exportable?: boolean;
|
|
146
146
|
};
|
|
147
|
+
address: string;
|
|
148
|
+
scopes: `${string}:${string}`[];
|
|
147
149
|
metadata: {
|
|
148
150
|
name: string;
|
|
149
151
|
importTime: number;
|
|
@@ -156,8 +158,6 @@ export declare const InternalEthErc4337AccountStruct: Struct<{
|
|
|
156
158
|
nameLastUpdatedAt?: number;
|
|
157
159
|
lastSelected?: number;
|
|
158
160
|
};
|
|
159
|
-
address: string;
|
|
160
|
-
scopes: `${string}:${string}`[];
|
|
161
161
|
methods: ("personal_sign" | "eth_sign" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4" | "eth_prepareUserOperation" | "eth_patchUserOperation" | "eth_signUserOperation")[];
|
|
162
162
|
}, {
|
|
163
163
|
metadata: Struct<{
|
|
@@ -231,6 +231,8 @@ export declare const InternalBtcP2pkhAccountStruct: Struct<{
|
|
|
231
231
|
};
|
|
232
232
|
exportable?: boolean;
|
|
233
233
|
};
|
|
234
|
+
address: string;
|
|
235
|
+
scopes: `${string}:${string}`[];
|
|
234
236
|
metadata: {
|
|
235
237
|
name: string;
|
|
236
238
|
importTime: number;
|
|
@@ -243,8 +245,6 @@ export declare const InternalBtcP2pkhAccountStruct: Struct<{
|
|
|
243
245
|
nameLastUpdatedAt?: number;
|
|
244
246
|
lastSelected?: number;
|
|
245
247
|
};
|
|
246
|
-
address: string;
|
|
247
|
-
scopes: `${string}:${string}`[];
|
|
248
248
|
methods: import("@metamask/keyring-api").BtcMethod[];
|
|
249
249
|
}, {
|
|
250
250
|
metadata: Struct<{
|
|
@@ -319,6 +319,8 @@ export declare const InternalBtcP2shAccountStruct: Struct<{
|
|
|
319
319
|
};
|
|
320
320
|
exportable?: boolean;
|
|
321
321
|
};
|
|
322
|
+
address: string;
|
|
323
|
+
scopes: `${string}:${string}`[];
|
|
322
324
|
metadata: {
|
|
323
325
|
name: string;
|
|
324
326
|
importTime: number;
|
|
@@ -331,8 +333,6 @@ export declare const InternalBtcP2shAccountStruct: Struct<{
|
|
|
331
333
|
nameLastUpdatedAt?: number;
|
|
332
334
|
lastSelected?: number;
|
|
333
335
|
};
|
|
334
|
-
address: string;
|
|
335
|
-
scopes: `${string}:${string}`[];
|
|
336
336
|
methods: import("@metamask/keyring-api").BtcMethod[];
|
|
337
337
|
}, {
|
|
338
338
|
metadata: Struct<{
|
|
@@ -412,6 +412,8 @@ export declare const InternalBtcP2wpkhAccountStruct: Struct<{
|
|
|
412
412
|
};
|
|
413
413
|
exportable?: boolean;
|
|
414
414
|
};
|
|
415
|
+
address: string;
|
|
416
|
+
scopes: `${string}:${string}`[];
|
|
415
417
|
metadata: {
|
|
416
418
|
name: string;
|
|
417
419
|
importTime: number;
|
|
@@ -424,8 +426,6 @@ export declare const InternalBtcP2wpkhAccountStruct: Struct<{
|
|
|
424
426
|
nameLastUpdatedAt?: number;
|
|
425
427
|
lastSelected?: number;
|
|
426
428
|
};
|
|
427
|
-
address: string;
|
|
428
|
-
scopes: `${string}:${string}`[];
|
|
429
429
|
methods: import("@metamask/keyring-api").BtcMethod[];
|
|
430
430
|
}, {
|
|
431
431
|
metadata: Struct<{
|
|
@@ -500,6 +500,8 @@ export declare const InternalBtcP2trAccountStruct: Struct<{
|
|
|
500
500
|
};
|
|
501
501
|
exportable?: boolean;
|
|
502
502
|
};
|
|
503
|
+
address: string;
|
|
504
|
+
scopes: `${string}:${string}`[];
|
|
503
505
|
metadata: {
|
|
504
506
|
name: string;
|
|
505
507
|
importTime: number;
|
|
@@ -512,8 +514,6 @@ export declare const InternalBtcP2trAccountStruct: Struct<{
|
|
|
512
514
|
nameLastUpdatedAt?: number;
|
|
513
515
|
lastSelected?: number;
|
|
514
516
|
};
|
|
515
|
-
address: string;
|
|
516
|
-
scopes: `${string}:${string}`[];
|
|
517
517
|
methods: import("@metamask/keyring-api").BtcMethod[];
|
|
518
518
|
}, {
|
|
519
519
|
metadata: Struct<{
|
|
@@ -588,6 +588,8 @@ export declare const InternalSolDataAccountStruct: Struct<{
|
|
|
588
588
|
};
|
|
589
589
|
exportable?: boolean;
|
|
590
590
|
};
|
|
591
|
+
address: string;
|
|
592
|
+
scopes: `${string}:${string}`[];
|
|
591
593
|
metadata: {
|
|
592
594
|
name: string;
|
|
593
595
|
importTime: number;
|
|
@@ -600,8 +602,6 @@ export declare const InternalSolDataAccountStruct: Struct<{
|
|
|
600
602
|
nameLastUpdatedAt?: number;
|
|
601
603
|
lastSelected?: number;
|
|
602
604
|
};
|
|
603
|
-
address: string;
|
|
604
|
-
scopes: `${string}:${string}`[];
|
|
605
605
|
methods: import("@metamask/keyring-api").SolMethod[];
|
|
606
606
|
}, {
|
|
607
607
|
metadata: Struct<{
|
|
@@ -672,6 +672,8 @@ export declare const InternalTrxEoaAccountStruct: Struct<{
|
|
|
672
672
|
};
|
|
673
673
|
exportable?: boolean;
|
|
674
674
|
};
|
|
675
|
+
address: string;
|
|
676
|
+
scopes: `${string}:${string}`[];
|
|
675
677
|
metadata: {
|
|
676
678
|
name: string;
|
|
677
679
|
importTime: number;
|
|
@@ -684,8 +686,6 @@ export declare const InternalTrxEoaAccountStruct: Struct<{
|
|
|
684
686
|
nameLastUpdatedAt?: number;
|
|
685
687
|
lastSelected?: number;
|
|
686
688
|
};
|
|
687
|
-
address: string;
|
|
688
|
-
scopes: `${string}:${string}`[];
|
|
689
689
|
methods: import("@metamask/keyring-api").TrxMethod[];
|
|
690
690
|
}, {
|
|
691
691
|
metadata: Struct<{
|
|
@@ -755,6 +755,8 @@ export declare const InternalXlmAccountStruct: Struct<{
|
|
|
755
755
|
};
|
|
756
756
|
exportable?: boolean;
|
|
757
757
|
};
|
|
758
|
+
address: string;
|
|
759
|
+
scopes: `${string}:${string}`[];
|
|
758
760
|
metadata: {
|
|
759
761
|
name: string;
|
|
760
762
|
importTime: number;
|
|
@@ -767,8 +769,6 @@ export declare const InternalXlmAccountStruct: Struct<{
|
|
|
767
769
|
nameLastUpdatedAt?: number;
|
|
768
770
|
lastSelected?: number;
|
|
769
771
|
};
|
|
770
|
-
address: string;
|
|
771
|
-
scopes: `${string}:${string}`[];
|
|
772
772
|
methods: import("@metamask/keyring-api").XlmMethod[];
|
|
773
773
|
}, {
|
|
774
774
|
metadata: Struct<{
|
|
@@ -848,6 +848,8 @@ export declare const InternalAccountStruct: Struct<{
|
|
|
848
848
|
};
|
|
849
849
|
exportable?: boolean;
|
|
850
850
|
};
|
|
851
|
+
address: string;
|
|
852
|
+
scopes: `${string}:${string}`[];
|
|
851
853
|
metadata: {
|
|
852
854
|
name: string;
|
|
853
855
|
importTime: number;
|
|
@@ -860,8 +862,6 @@ export declare const InternalAccountStruct: Struct<{
|
|
|
860
862
|
nameLastUpdatedAt?: number;
|
|
861
863
|
lastSelected?: number;
|
|
862
864
|
};
|
|
863
|
-
address: string;
|
|
864
|
-
scopes: `${string}:${string}`[];
|
|
865
865
|
methods: string[];
|
|
866
866
|
}, {
|
|
867
867
|
metadata: Struct<{
|