@metamask-previews/keyring-internal-api 12.1.0-00307a3 → 12.1.0-a1e782a

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