@metamask-previews/keyring-api 18.0.0-e86c8ec → 18.0.0-f024bb4

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.
Files changed (47) hide show
  1. package/dist/api/account.cjs +2 -2
  2. package/dist/api/account.cjs.map +1 -1
  3. package/dist/api/account.d.cts +2 -22
  4. package/dist/api/account.d.cts.map +1 -1
  5. package/dist/api/account.d.mts +2 -22
  6. package/dist/api/account.d.mts.map +1 -1
  7. package/dist/api/account.mjs +3 -3
  8. package/dist/api/account.mjs.map +1 -1
  9. package/dist/api/discovery.d.cts +2 -2
  10. package/dist/api/discovery.d.mts +2 -2
  11. package/dist/api/index.cjs +0 -1
  12. package/dist/api/index.cjs.map +1 -1
  13. package/dist/api/index.d.cts +0 -1
  14. package/dist/api/index.d.cts.map +1 -1
  15. package/dist/api/index.d.mts +0 -1
  16. package/dist/api/index.d.mts.map +1 -1
  17. package/dist/api/index.mjs +0 -1
  18. package/dist/api/index.mjs.map +1 -1
  19. package/dist/btc/types.d.cts +8 -88
  20. package/dist/btc/types.d.cts.map +1 -1
  21. package/dist/btc/types.d.mts +8 -88
  22. package/dist/btc/types.d.mts.map +1 -1
  23. package/dist/eth/types.d.cts +4 -44
  24. package/dist/eth/types.d.cts.map +1 -1
  25. package/dist/eth/types.d.mts +4 -44
  26. package/dist/eth/types.d.mts.map +1 -1
  27. package/dist/events.d.cts +8 -88
  28. package/dist/events.d.cts.map +1 -1
  29. package/dist/events.d.mts +8 -88
  30. package/dist/events.d.mts.map +1 -1
  31. package/dist/rpc.d.cts +15 -125
  32. package/dist/rpc.d.cts.map +1 -1
  33. package/dist/rpc.d.mts +15 -125
  34. package/dist/rpc.d.mts.map +1 -1
  35. package/dist/sol/types.d.cts +2 -22
  36. package/dist/sol/types.d.cts.map +1 -1
  37. package/dist/sol/types.d.mts +2 -22
  38. package/dist/sol/types.d.mts.map +1 -1
  39. package/package.json +1 -1
  40. package/dist/api/account-options.cjs +0 -122
  41. package/dist/api/account-options.cjs.map +0 -1
  42. package/dist/api/account-options.d.cts +0 -131
  43. package/dist/api/account-options.d.cts.map +0 -1
  44. package/dist/api/account-options.d.mts +0 -131
  45. package/dist/api/account-options.d.mts.map +0 -1
  46. package/dist/api/account-options.mjs +0 -119
  47. package/dist/api/account-options.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.cts","sourceRoot":"","sources":["../../src/eth/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAInD,OAAO,EAAE,QAAQ,EAAE,oBAAU;AAO7B,eAAO,MAAM,cAAc,sDAA+C,CAAC;AAE3E,eAAO,MAAM,gBAAgB,sDAG5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,sDAG5B,CAAC;AAEF;;GAEG;AACH,oBAAY,SAAS;IAEnB,YAAY,kBAAkB;IAC9B,IAAI,aAAa;IACjB,eAAe,wBAAwB;IACvC,eAAe,yBAAyB;IACxC,eAAe,yBAAyB;IACxC,eAAe,yBAAyB;IAExC,oBAAoB,6BAA6B;IACjD,kBAAkB,2BAA2B;IAC7C,iBAAiB,0BAA0B;CAC5C;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;IAG9B;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;;;;;;;;EAWH,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAE9D,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;IAGlC;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;EAaH,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.cts","sourceRoot":"","sources":["../../src/eth/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAInD,OAAO,EAAE,QAAQ,EAAE,oBAAU;AAO7B,eAAO,MAAM,cAAc,sDAA+C,CAAC;AAE3E,eAAO,MAAM,gBAAgB,sDAG5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,sDAG5B,CAAC;AAEF;;GAEG;AACH,oBAAY,SAAS;IAEnB,YAAY,kBAAkB;IAC9B,IAAI,aAAa;IACjB,eAAe,wBAAwB;IACvC,eAAe,yBAAyB;IACxC,eAAe,yBAAyB;IACxC,eAAe,yBAAyB;IAExC,oBAAoB,6BAA6B;IACjD,kBAAkB,2BAA2B;IAC7C,iBAAiB,0BAA0B;CAC5C;AAED,eAAO,MAAM,mBAAmB;;;;;;;;IAG9B;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;EAWH,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAE9D,eAAO,MAAM,uBAAuB;;;;;;;;IAGlC;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;EAaH,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
@@ -20,17 +20,7 @@ export declare enum EthMethod {
20
20
  export declare const EthEoaAccountStruct: import("@metamask/superstruct").Struct<{
21
21
  type: "eip155:eoa";
22
22
  id: string;
23
- options: Record<string, import("@metamask/utils").Json> & {
24
- entropy?: {
25
- type: "mnemonic";
26
- id: string;
27
- derivationPath: string;
28
- groupIndex: number;
29
- } | {
30
- type: "private-key";
31
- };
32
- exportable?: boolean;
33
- };
23
+ options: Record<string, import("@metamask/utils").Json>;
34
24
  address: string;
35
25
  scopes: EthScope.Eoa[];
36
26
  methods: ("personal_sign" | "eth_sign" | "eth_signTransaction" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4")[];
@@ -59,33 +49,13 @@ export declare const EthEoaAccountStruct: import("@metamask/superstruct").Struct
59
49
  eth_signTypedData_v4: "eth_signTypedData_v4";
60
50
  }>>;
61
51
  id: import("@metamask/superstruct").Struct<string, null>;
62
- options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> & {
63
- entropy?: {
64
- type: "mnemonic";
65
- id: string;
66
- derivationPath: string;
67
- groupIndex: number;
68
- } | {
69
- type: "private-key";
70
- };
71
- exportable?: boolean;
72
- }, null>;
52
+ options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json>, null>;
73
53
  }>;
74
54
  export type EthEoaAccount = Infer<typeof EthEoaAccountStruct>;
75
55
  export declare const EthErc4337AccountStruct: import("@metamask/superstruct").Struct<{
76
56
  type: "eip155:erc4337";
77
57
  id: string;
78
- options: Record<string, import("@metamask/utils").Json> & {
79
- entropy?: {
80
- type: "mnemonic";
81
- id: string;
82
- derivationPath: string;
83
- groupIndex: number;
84
- } | {
85
- type: "private-key";
86
- };
87
- exportable?: boolean;
88
- };
58
+ options: Record<string, import("@metamask/utils").Json>;
89
59
  address: string;
90
60
  scopes: `${string}:${string}`[];
91
61
  methods: ("personal_sign" | "eth_sign" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4" | "eth_prepareUserOperation" | "eth_patchUserOperation" | "eth_signUserOperation")[];
@@ -116,17 +86,7 @@ export declare const EthErc4337AccountStruct: import("@metamask/superstruct").St
116
86
  eth_signUserOperation: "eth_signUserOperation";
117
87
  }>>;
118
88
  id: import("@metamask/superstruct").Struct<string, null>;
119
- options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> & {
120
- entropy?: {
121
- type: "mnemonic";
122
- id: string;
123
- derivationPath: string;
124
- groupIndex: number;
125
- } | {
126
- type: "private-key";
127
- };
128
- exportable?: boolean;
129
- }, null>;
89
+ options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json>, null>;
130
90
  }>;
131
91
  export type EthErc4337Account = Infer<typeof EthErc4337AccountStruct>;
132
92
  //# sourceMappingURL=types.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../../src/eth/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAInD,OAAO,EAAE,QAAQ,EAAE,oBAAU;AAO7B,eAAO,MAAM,cAAc,sDAA+C,CAAC;AAE3E,eAAO,MAAM,gBAAgB,sDAG5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,sDAG5B,CAAC;AAEF;;GAEG;AACH,oBAAY,SAAS;IAEnB,YAAY,kBAAkB;IAC9B,IAAI,aAAa;IACjB,eAAe,wBAAwB;IACvC,eAAe,yBAAyB;IACxC,eAAe,yBAAyB;IACxC,eAAe,yBAAyB;IAExC,oBAAoB,6BAA6B;IACjD,kBAAkB,2BAA2B;IAC7C,iBAAiB,0BAA0B;CAC5C;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;IAG9B;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;;;;;;;;EAWH,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAE9D,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;IAGlC;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;EAaH,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../../src/eth/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAInD,OAAO,EAAE,QAAQ,EAAE,oBAAU;AAO7B,eAAO,MAAM,cAAc,sDAA+C,CAAC;AAE3E,eAAO,MAAM,gBAAgB,sDAG5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,sDAG5B,CAAC;AAEF;;GAEG;AACH,oBAAY,SAAS;IAEnB,YAAY,kBAAkB;IAC9B,IAAI,aAAa;IACjB,eAAe,wBAAwB;IACvC,eAAe,yBAAyB;IACxC,eAAe,yBAAyB;IACxC,eAAe,yBAAyB;IAExC,oBAAoB,6BAA6B;IACjD,kBAAkB,2BAA2B;IAC7C,iBAAiB,0BAA0B;CAC5C;AAED,eAAO,MAAM,mBAAmB;;;;;;;;IAG9B;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;EAWH,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAE9D,eAAO,MAAM,uBAAuB;;;;;;;;IAGlC;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;EAaH,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
package/dist/events.d.cts CHANGED
@@ -18,17 +18,7 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
18
18
  account: {
19
19
  type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
20
20
  id: string;
21
- options: Record<string, import("@metamask/utils").Json> & {
22
- entropy?: {
23
- type: "mnemonic";
24
- id: string;
25
- derivationPath: string;
26
- groupIndex: number;
27
- } | {
28
- type: "private-key";
29
- };
30
- exportable?: boolean;
31
- };
21
+ options: Record<string, import("@metamask/utils").Json>;
32
22
  address: string;
33
23
  scopes: `${string}:${string}`[];
34
24
  methods: string[];
@@ -46,17 +36,7 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
46
36
  account: {
47
37
  type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
48
38
  id: string;
49
- options: Record<string, import("@metamask/utils").Json> & {
50
- entropy?: {
51
- type: "mnemonic";
52
- id: string;
53
- derivationPath: string;
54
- groupIndex: number;
55
- } | {
56
- type: "private-key";
57
- };
58
- exportable?: boolean;
59
- };
39
+ options: Record<string, import("@metamask/utils").Json>;
60
40
  address: string;
61
41
  scopes: `${string}:${string}`[];
62
42
  methods: string[];
@@ -79,17 +59,7 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
79
59
  account: import("@metamask/superstruct").Struct<{
80
60
  type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
81
61
  id: string;
82
- options: Record<string, import("@metamask/utils").Json> & {
83
- entropy?: {
84
- type: "mnemonic";
85
- id: string;
86
- derivationPath: string;
87
- groupIndex: number;
88
- } | {
89
- type: "private-key";
90
- };
91
- exportable?: boolean;
92
- };
62
+ options: Record<string, import("@metamask/utils").Json>;
93
63
  address: string;
94
64
  scopes: `${string}:${string}`[];
95
65
  methods: string[];
@@ -106,17 +76,7 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
106
76
  }>;
107
77
  address: import("@metamask/superstruct").Struct<string, null>;
108
78
  scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
109
- options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> & {
110
- entropy?: {
111
- type: "mnemonic";
112
- id: string;
113
- derivationPath: string;
114
- groupIndex: number;
115
- } | {
116
- type: "private-key";
117
- };
118
- exportable?: boolean;
119
- }, null>;
79
+ options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json>, null>;
120
80
  methods: import("@metamask/superstruct").Struct<string[], import("@metamask/superstruct").Struct<string, null>>;
121
81
  }>;
122
82
  /**
@@ -152,17 +112,7 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
152
112
  account: {
153
113
  type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
154
114
  id: string;
155
- options: Record<string, import("@metamask/utils").Json> & {
156
- entropy?: {
157
- type: "mnemonic";
158
- id: string;
159
- derivationPath: string;
160
- groupIndex: number;
161
- } | {
162
- type: "private-key";
163
- };
164
- exportable?: boolean;
165
- };
115
+ options: Record<string, import("@metamask/utils").Json>;
166
116
  address: string;
167
117
  scopes: `${string}:${string}`[];
168
118
  methods: string[];
@@ -174,17 +124,7 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
174
124
  account: {
175
125
  type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
176
126
  id: string;
177
- options: Record<string, import("@metamask/utils").Json> & {
178
- entropy?: {
179
- type: "mnemonic";
180
- id: string;
181
- derivationPath: string;
182
- groupIndex: number;
183
- } | {
184
- type: "private-key";
185
- };
186
- exportable?: boolean;
187
- };
127
+ options: Record<string, import("@metamask/utils").Json>;
188
128
  address: string;
189
129
  scopes: `${string}:${string}`[];
190
130
  methods: string[];
@@ -196,17 +136,7 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
196
136
  account: import("@metamask/superstruct").Struct<{
197
137
  type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
198
138
  id: string;
199
- options: Record<string, import("@metamask/utils").Json> & {
200
- entropy?: {
201
- type: "mnemonic";
202
- id: string;
203
- derivationPath: string;
204
- groupIndex: number;
205
- } | {
206
- type: "private-key";
207
- };
208
- exportable?: boolean;
209
- };
139
+ options: Record<string, import("@metamask/utils").Json>;
210
140
  address: string;
211
141
  scopes: `${string}:${string}`[];
212
142
  methods: string[];
@@ -223,17 +153,7 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
223
153
  }>;
224
154
  address: import("@metamask/superstruct").Struct<string, null>;
225
155
  scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
226
- options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> & {
227
- entropy?: {
228
- type: "mnemonic";
229
- id: string;
230
- derivationPath: string;
231
- groupIndex: number;
232
- } | {
233
- type: "private-key";
234
- };
235
- exportable?: boolean;
236
- }, null>;
156
+ options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json>, null>;
237
157
  methods: import("@metamask/superstruct").Struct<string[], import("@metamask/superstruct").Struct<string, null>>;
238
158
  }>;
239
159
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.cts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAenD;;GAEG;AACH,oBAAY,YAAY;IAEtB,cAAc,0BAA0B;IACxC,cAAc,0BAA0B;IACxC,cAAc,0BAA0B;IAGxC,eAAe,2BAA2B;IAC1C,eAAe,2BAA2B;IAG1C,sBAAsB,kCAAkC;IACxD,uBAAuB,mCAAmC;IAC1D,0BAA0B,sCAAsC;CACjE;AAED,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAGlC;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAGH;;;;;;WAMG;;QAGH;;;;WAIG;;QAGH;;;;;;;WAOG;;;EAQL,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC1E,MAAM,MAAM,0BAA0B,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC;AAEvE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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GAAG,KAAK,CAC7C,OAAO,iCAAiC,CACzC,CAAC;AACF,MAAM,MAAM,kCAAkC,GAC5C,2BAA2B,CAAC,QAAQ,CAAC,CAAC;AAExC;;;;;;;GAOG;AACH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAG9C;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAaL,CAAC;AACH,MAAM,MAAM,+BAA+B,GAAG,KAAK,CACjD,OAAO,qCAAqC,CAC7C,CAAC;AACF,MAAM,MAAM,sCAAsC,GAChD,+BAA+B,CAAC,QAAQ,CAAC,CAAC;AAE5C;;;;;;GAMG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;QAG3C;;WAEG;;;;;;EAuBL,CAAC;AACH,MAAM,MAAM,4BAA4B,GAAG,KAAK,CAC9C,OAAO,kCAAkC,CAC1C,CAAC;AACF,MAAM,MAAM,mCAAmC,GAC7C,4BAA4B,CAAC,QAAQ,CAAC,CAAC;AAEzC;;GAEG;AAEH,KAAK,aAAa,GACd,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,4BAA4B,GAC5B,2BAA2B,GAC3B,+BAA+B,GAC/B,oBAAoB,GACpB,oBAAoB,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,mBAAmB,CAAC,KAAK,SAAS,YAAY,IAAI,OAAO,CACnE,aAAa,EAGb;IAAE,MAAM,EAAE,GAAG,KAAK,EAAE,CAAA;CAAE,CACvB,CAAC,QAAQ,CAAC,CAAC"}
package/dist/events.d.mts CHANGED
@@ -18,17 +18,7 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
18
18
  account: {
19
19
  type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
20
20
  id: string;
21
- options: Record<string, import("@metamask/utils").Json> & {
22
- entropy?: {
23
- type: "mnemonic";
24
- id: string;
25
- derivationPath: string;
26
- groupIndex: number;
27
- } | {
28
- type: "private-key";
29
- };
30
- exportable?: boolean;
31
- };
21
+ options: Record<string, import("@metamask/utils").Json>;
32
22
  address: string;
33
23
  scopes: `${string}:${string}`[];
34
24
  methods: string[];
@@ -46,17 +36,7 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
46
36
  account: {
47
37
  type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
48
38
  id: string;
49
- options: Record<string, import("@metamask/utils").Json> & {
50
- entropy?: {
51
- type: "mnemonic";
52
- id: string;
53
- derivationPath: string;
54
- groupIndex: number;
55
- } | {
56
- type: "private-key";
57
- };
58
- exportable?: boolean;
59
- };
39
+ options: Record<string, import("@metamask/utils").Json>;
60
40
  address: string;
61
41
  scopes: `${string}:${string}`[];
62
42
  methods: string[];
@@ -79,17 +59,7 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
79
59
  account: import("@metamask/superstruct").Struct<{
80
60
  type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
81
61
  id: string;
82
- options: Record<string, import("@metamask/utils").Json> & {
83
- entropy?: {
84
- type: "mnemonic";
85
- id: string;
86
- derivationPath: string;
87
- groupIndex: number;
88
- } | {
89
- type: "private-key";
90
- };
91
- exportable?: boolean;
92
- };
62
+ options: Record<string, import("@metamask/utils").Json>;
93
63
  address: string;
94
64
  scopes: `${string}:${string}`[];
95
65
  methods: string[];
@@ -106,17 +76,7 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
106
76
  }>;
107
77
  address: import("@metamask/superstruct").Struct<string, null>;
108
78
  scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
109
- options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> & {
110
- entropy?: {
111
- type: "mnemonic";
112
- id: string;
113
- derivationPath: string;
114
- groupIndex: number;
115
- } | {
116
- type: "private-key";
117
- };
118
- exportable?: boolean;
119
- }, null>;
79
+ options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json>, null>;
120
80
  methods: import("@metamask/superstruct").Struct<string[], import("@metamask/superstruct").Struct<string, null>>;
121
81
  }>;
122
82
  /**
@@ -152,17 +112,7 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
152
112
  account: {
153
113
  type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
154
114
  id: string;
155
- options: Record<string, import("@metamask/utils").Json> & {
156
- entropy?: {
157
- type: "mnemonic";
158
- id: string;
159
- derivationPath: string;
160
- groupIndex: number;
161
- } | {
162
- type: "private-key";
163
- };
164
- exportable?: boolean;
165
- };
115
+ options: Record<string, import("@metamask/utils").Json>;
166
116
  address: string;
167
117
  scopes: `${string}:${string}`[];
168
118
  methods: string[];
@@ -174,17 +124,7 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
174
124
  account: {
175
125
  type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
176
126
  id: string;
177
- options: Record<string, import("@metamask/utils").Json> & {
178
- entropy?: {
179
- type: "mnemonic";
180
- id: string;
181
- derivationPath: string;
182
- groupIndex: number;
183
- } | {
184
- type: "private-key";
185
- };
186
- exportable?: boolean;
187
- };
127
+ options: Record<string, import("@metamask/utils").Json>;
188
128
  address: string;
189
129
  scopes: `${string}:${string}`[];
190
130
  methods: string[];
@@ -196,17 +136,7 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
196
136
  account: import("@metamask/superstruct").Struct<{
197
137
  type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
198
138
  id: string;
199
- options: Record<string, import("@metamask/utils").Json> & {
200
- entropy?: {
201
- type: "mnemonic";
202
- id: string;
203
- derivationPath: string;
204
- groupIndex: number;
205
- } | {
206
- type: "private-key";
207
- };
208
- exportable?: boolean;
209
- };
139
+ options: Record<string, import("@metamask/utils").Json>;
210
140
  address: string;
211
141
  scopes: `${string}:${string}`[];
212
142
  methods: string[];
@@ -223,17 +153,7 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
223
153
  }>;
224
154
  address: import("@metamask/superstruct").Struct<string, null>;
225
155
  scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
226
- options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> & {
227
- entropy?: {
228
- type: "mnemonic";
229
- id: string;
230
- derivationPath: string;
231
- groupIndex: number;
232
- } | {
233
- type: "private-key";
234
- };
235
- exportable?: boolean;
236
- }, null>;
156
+ options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json>, null>;
237
157
  methods: import("@metamask/superstruct").Struct<string[], import("@metamask/superstruct").Struct<string, null>>;
238
158
  }>;
239
159
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.mts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAenD;;GAEG;AACH,oBAAY,YAAY;IAEtB,cAAc,0BAA0B;IACxC,cAAc,0BAA0B;IACxC,cAAc,0BAA0B;IAGxC,eAAe,2BAA2B;IAC1C,eAAe,2BAA2B;IAG1C,sBAAsB,kCAAkC;IACxD,uBAAuB,mCAAmC;IAC1D,0BAA0B,sCAAsC;CACjE;AAED,eAAO,MAAM,yBAAyB;;;;;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AC5B,2BAA2B,GAC3B,+BAA+B,GAC/B,oBAAoB,GACpB,oBAAoB,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,mBAAmB,CAAC,KAAK,SAAS,YAAY,IAAI,OAAO,CACnE,aAAa,EAGb;IAAE,MAAM,EAAE,GAAG,KAAK,EAAE,CAAA;CAAE,CACvB,CAAC,QAAQ,CAAC,CAAC"}
package/dist/rpc.d.cts CHANGED
@@ -41,34 +41,14 @@ export type ListAccountsRequest = Infer<typeof ListAccountsRequestStruct>;
41
41
  export declare const ListAccountsResponseStruct: import("@metamask/superstruct").Struct<{
42
42
  type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
43
43
  id: string;
44
- options: Record<string, import("@metamask/utils").Json> & {
45
- entropy?: {
46
- type: "mnemonic";
47
- id: string;
48
- derivationPath: string;
49
- groupIndex: number;
50
- } | {
51
- type: "private-key";
52
- };
53
- exportable?: boolean;
54
- };
44
+ options: Record<string, import("@metamask/utils").Json>;
55
45
  address: string;
56
46
  scopes: `${string}:${string}`[];
57
47
  methods: string[];
58
48
  }[], import("@metamask/superstruct").Struct<{
59
49
  type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
60
50
  id: string;
61
- options: Record<string, import("@metamask/utils").Json> & {
62
- entropy?: {
63
- type: "mnemonic";
64
- id: string;
65
- derivationPath: string;
66
- groupIndex: number;
67
- } | {
68
- type: "private-key";
69
- };
70
- exportable?: boolean;
71
- };
51
+ options: Record<string, import("@metamask/utils").Json>;
72
52
  address: string;
73
53
  scopes: `${string}:${string}`[];
74
54
  methods: string[];
@@ -85,17 +65,7 @@ export declare const ListAccountsResponseStruct: import("@metamask/superstruct")
85
65
  }>;
86
66
  address: import("@metamask/superstruct").Struct<string, null>;
87
67
  scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
88
- options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> & {
89
- entropy?: {
90
- type: "mnemonic";
91
- id: string;
92
- derivationPath: string;
93
- groupIndex: number;
94
- } | {
95
- type: "private-key";
96
- };
97
- exportable?: boolean;
98
- }, null>;
68
+ options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json>, null>;
99
69
  methods: import("@metamask/superstruct").Struct<string[], import("@metamask/superstruct").Struct<string, null>>;
100
70
  }>>;
101
71
  export type ListAccountsResponse = Infer<typeof ListAccountsResponseStruct>;
@@ -120,17 +90,7 @@ export type GetAccountRequest = Infer<typeof GetAccountRequestStruct>;
120
90
  export declare const GetAccountResponseStruct: import("@metamask/superstruct").Struct<{
121
91
  type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
122
92
  id: string;
123
- options: Record<string, import("@metamask/utils").Json> & {
124
- entropy?: {
125
- type: "mnemonic";
126
- id: string;
127
- derivationPath: string;
128
- groupIndex: number;
129
- } | {
130
- type: "private-key";
131
- };
132
- exportable?: boolean;
133
- };
93
+ options: Record<string, import("@metamask/utils").Json>;
134
94
  address: string;
135
95
  scopes: `${string}:${string}`[];
136
96
  methods: string[];
@@ -147,17 +107,7 @@ export declare const GetAccountResponseStruct: import("@metamask/superstruct").S
147
107
  }>;
148
108
  address: import("@metamask/superstruct").Struct<string, null>;
149
109
  scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
150
- options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> & {
151
- entropy?: {
152
- type: "mnemonic";
153
- id: string;
154
- derivationPath: string;
155
- groupIndex: number;
156
- } | {
157
- type: "private-key";
158
- };
159
- exportable?: boolean;
160
- }, null>;
110
+ options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json>, null>;
161
111
  methods: import("@metamask/superstruct").Struct<string[], import("@metamask/superstruct").Struct<string, null>>;
162
112
  }>;
163
113
  export type GetAccountResponse = Infer<typeof GetAccountResponseStruct>;
@@ -182,17 +132,7 @@ export type CreateAccountRequest = Infer<typeof CreateAccountRequestStruct>;
182
132
  export declare const CreateAccountResponseStruct: import("@metamask/superstruct").Struct<{
183
133
  type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
184
134
  id: string;
185
- options: Record<string, import("@metamask/utils").Json> & {
186
- entropy?: {
187
- type: "mnemonic";
188
- id: string;
189
- derivationPath: string;
190
- groupIndex: number;
191
- } | {
192
- type: "private-key";
193
- };
194
- exportable?: boolean;
195
- };
135
+ options: Record<string, import("@metamask/utils").Json>;
196
136
  address: string;
197
137
  scopes: `${string}:${string}`[];
198
138
  methods: string[];
@@ -209,17 +149,7 @@ export declare const CreateAccountResponseStruct: import("@metamask/superstruct"
209
149
  }>;
210
150
  address: import("@metamask/superstruct").Struct<string, null>;
211
151
  scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
212
- options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> & {
213
- entropy?: {
214
- type: "mnemonic";
215
- id: string;
216
- derivationPath: string;
217
- groupIndex: number;
218
- } | {
219
- type: "private-key";
220
- };
221
- exportable?: boolean;
222
- }, null>;
152
+ options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json>, null>;
223
153
  methods: import("@metamask/superstruct").Struct<string[], import("@metamask/superstruct").Struct<string, null>>;
224
154
  }>;
225
155
  export type CreateAccountResponse = Infer<typeof CreateAccountResponseStruct>;
@@ -228,16 +158,16 @@ export declare const DiscoverAccountsRequestStruct: import("@metamask/superstruc
228
158
  id: string | number | null;
229
159
  jsonrpc: "2.0";
230
160
  params: {
231
- groupIndex: number;
232
161
  scopes: `${string}:${string}`[];
233
162
  entropySource: string;
163
+ groupIndex: number;
234
164
  };
235
165
  }, {
236
166
  method: import("@metamask/superstruct").Struct<"keyring_discoverAccounts", "keyring_discoverAccounts">;
237
167
  params: import("@metamask/superstruct").Struct<{
238
- groupIndex: number;
239
168
  scopes: `${string}:${string}`[];
240
169
  entropySource: string;
170
+ groupIndex: number;
241
171
  }, {
242
172
  scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
243
173
  entropySource: import("@metamask/superstruct").Struct<string, null>;
@@ -249,12 +179,12 @@ export declare const DiscoverAccountsRequestStruct: import("@metamask/superstruc
249
179
  export type DiscoverAccountsRequest = Infer<typeof DiscoverAccountsRequestStruct>;
250
180
  export declare const DiscoverAccountsResponseStruct: import("@metamask/superstruct").Struct<{
251
181
  type: "bip44";
252
- derivationPath: `m/${string}`;
253
182
  scopes: `${string}:${string}`[];
183
+ derivationPath: `m/${string}`;
254
184
  }[], import("@metamask/superstruct").Struct<{
255
185
  type: "bip44";
256
- derivationPath: `m/${string}`;
257
186
  scopes: `${string}:${string}`[];
187
+ derivationPath: `m/${string}`;
258
188
  }, {
259
189
  type: import("@metamask/superstruct").Struct<"bip44", "bip44">;
260
190
  scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
@@ -706,17 +636,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
706
636
  account: {
707
637
  type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
708
638
  id: string;
709
- options: Record<string, import("@metamask/utils").Json> & {
710
- entropy?: {
711
- type: "mnemonic";
712
- id: string;
713
- derivationPath: string;
714
- groupIndex: number;
715
- } | {
716
- type: "private-key";
717
- };
718
- exportable?: boolean;
719
- };
639
+ options: Record<string, import("@metamask/utils").Json>;
720
640
  address: string;
721
641
  scopes: `${string}:${string}`[];
722
642
  methods: string[];
@@ -728,17 +648,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
728
648
  account: {
729
649
  type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
730
650
  id: string;
731
- options: Record<string, import("@metamask/utils").Json> & {
732
- entropy?: {
733
- type: "mnemonic";
734
- id: string;
735
- derivationPath: string;
736
- groupIndex: number;
737
- } | {
738
- type: "private-key";
739
- };
740
- exportable?: boolean;
741
- };
651
+ options: Record<string, import("@metamask/utils").Json>;
742
652
  address: string;
743
653
  scopes: `${string}:${string}`[];
744
654
  methods: string[];
@@ -747,17 +657,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
747
657
  account: import("@metamask/superstruct").Struct<{
748
658
  type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
749
659
  id: string;
750
- options: Record<string, import("@metamask/utils").Json> & {
751
- entropy?: {
752
- type: "mnemonic";
753
- id: string;
754
- derivationPath: string;
755
- groupIndex: number;
756
- } | {
757
- type: "private-key";
758
- };
759
- exportable?: boolean;
760
- };
660
+ options: Record<string, import("@metamask/utils").Json>;
761
661
  address: string;
762
662
  scopes: `${string}:${string}`[];
763
663
  methods: string[];
@@ -774,17 +674,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
774
674
  }>;
775
675
  address: import("@metamask/superstruct").Struct<string, null>;
776
676
  scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
777
- options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> & {
778
- entropy?: {
779
- type: "mnemonic";
780
- id: string;
781
- derivationPath: string;
782
- groupIndex: number;
783
- } | {
784
- type: "private-key";
785
- };
786
- exportable?: boolean;
787
- }, null>;
677
+ options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json>, null>;
788
678
  methods: import("@metamask/superstruct").Struct<string[], import("@metamask/superstruct").Struct<string, null>>;
789
679
  }>;
790
680
  }>;