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