@metamask-previews/eth-snap-keyring 13.0.0-e86c8ec → 13.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.
- package/dist/account.d.cts +2 -22
- package/dist/account.d.cts.map +1 -1
- package/dist/account.d.mts +2 -22
- package/dist/account.d.mts.map +1 -1
- package/dist/events.d.cts +12 -132
- package/dist/events.d.cts.map +1 -1
- package/dist/events.d.mts +12 -132
- package/dist/events.d.mts.map +1 -1
- package/package.json +1 -1
package/dist/account.d.cts
CHANGED
|
@@ -8,17 +8,7 @@ export declare const KeyringAccountV1Struct: import("@metamask/superstruct").Str
|
|
|
8
8
|
id: string;
|
|
9
9
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
10
10
|
address: string;
|
|
11
|
-
options: Record<string, import("@metamask/utils").Json
|
|
12
|
-
entropy?: {
|
|
13
|
-
type: "mnemonic";
|
|
14
|
-
id: string;
|
|
15
|
-
derivationPath: string;
|
|
16
|
-
groupIndex: number;
|
|
17
|
-
} | {
|
|
18
|
-
type: "private-key";
|
|
19
|
-
};
|
|
20
|
-
exportable?: boolean;
|
|
21
|
-
};
|
|
11
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
22
12
|
methods: string[];
|
|
23
13
|
}, Omit<{
|
|
24
14
|
id: import("@metamask/superstruct").Struct<string, null>;
|
|
@@ -33,17 +23,7 @@ export declare const KeyringAccountV1Struct: import("@metamask/superstruct").Str
|
|
|
33
23
|
}>;
|
|
34
24
|
address: import("@metamask/superstruct").Struct<string, null>;
|
|
35
25
|
scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
|
|
36
|
-
options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json
|
|
37
|
-
entropy?: {
|
|
38
|
-
type: "mnemonic";
|
|
39
|
-
id: string;
|
|
40
|
-
derivationPath: string;
|
|
41
|
-
groupIndex: number;
|
|
42
|
-
} | {
|
|
43
|
-
type: "private-key";
|
|
44
|
-
};
|
|
45
|
-
exportable?: boolean;
|
|
46
|
-
}, null>;
|
|
26
|
+
options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json>, null>;
|
|
47
27
|
methods: import("@metamask/superstruct").Struct<string[], import("@metamask/superstruct").Struct<string, null>>;
|
|
48
28
|
}, "scopes">>;
|
|
49
29
|
export type KeyringAccountV1 = Infer<typeof KeyringAccountV1Struct>;
|
package/dist/account.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.cts","sourceRoot":"","sources":["../src/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,8BAA8B;AAchF,OAAO,EAAgB,KAAK,KAAK,EAAE,8BAA8B;AAIjE;;;GAGG;AACH,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"account.d.cts","sourceRoot":"","sources":["../src/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,8BAA8B;AAchF,OAAO,EAAgB,KAAK,KAAK,EAAE,8BAA8B;AAIjE;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;aAAyC,CAAC;AAE7E,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEpE;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,SAAS;IAAE,IAAI,EAAE,kBAAkB,CAAA;CAAE,EAC5C,OAAO,EAAE,OAAO,GAAG,cAAc,CAuClC;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAE9B,kBAAkB,EAAE,gBAAgB,GAAG,cAAc,GACpD,cAAc,CAShB"}
|
package/dist/account.d.mts
CHANGED
|
@@ -8,17 +8,7 @@ export declare const KeyringAccountV1Struct: import("@metamask/superstruct").Str
|
|
|
8
8
|
id: string;
|
|
9
9
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
10
10
|
address: string;
|
|
11
|
-
options: Record<string, import("@metamask/utils").Json
|
|
12
|
-
entropy?: {
|
|
13
|
-
type: "mnemonic";
|
|
14
|
-
id: string;
|
|
15
|
-
derivationPath: string;
|
|
16
|
-
groupIndex: number;
|
|
17
|
-
} | {
|
|
18
|
-
type: "private-key";
|
|
19
|
-
};
|
|
20
|
-
exportable?: boolean;
|
|
21
|
-
};
|
|
11
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
22
12
|
methods: string[];
|
|
23
13
|
}, Omit<{
|
|
24
14
|
id: import("@metamask/superstruct").Struct<string, null>;
|
|
@@ -33,17 +23,7 @@ export declare const KeyringAccountV1Struct: import("@metamask/superstruct").Str
|
|
|
33
23
|
}>;
|
|
34
24
|
address: import("@metamask/superstruct").Struct<string, null>;
|
|
35
25
|
scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
|
|
36
|
-
options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json
|
|
37
|
-
entropy?: {
|
|
38
|
-
type: "mnemonic";
|
|
39
|
-
id: string;
|
|
40
|
-
derivationPath: string;
|
|
41
|
-
groupIndex: number;
|
|
42
|
-
} | {
|
|
43
|
-
type: "private-key";
|
|
44
|
-
};
|
|
45
|
-
exportable?: boolean;
|
|
46
|
-
}, null>;
|
|
26
|
+
options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json>, null>;
|
|
47
27
|
methods: import("@metamask/superstruct").Struct<string[], import("@metamask/superstruct").Struct<string, null>>;
|
|
48
28
|
}, "scopes">>;
|
|
49
29
|
export type KeyringAccountV1 = Infer<typeof KeyringAccountV1Struct>;
|
package/dist/account.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.mts","sourceRoot":"","sources":["../src/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,8BAA8B;AAchF,OAAO,EAAgB,KAAK,KAAK,EAAE,8BAA8B;AAIjE;;;GAGG;AACH,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"account.d.mts","sourceRoot":"","sources":["../src/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,8BAA8B;AAchF,OAAO,EAAgB,KAAK,KAAK,EAAE,8BAA8B;AAIjE;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;aAAyC,CAAC;AAE7E,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEpE;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,SAAS;IAAE,IAAI,EAAE,kBAAkB,CAAA;CAAE,EAC5C,OAAO,EAAE,OAAO,GAAG,cAAc,CAuClC;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAE9B,kBAAkB,EAAE,gBAAgB,GAAG,cAAc,GACpD,cAAc,CAShB"}
|
package/dist/events.d.cts
CHANGED
|
@@ -4,17 +4,7 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
4
4
|
account: {
|
|
5
5
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
6
6
|
id: string;
|
|
7
|
-
options: Record<string, import("@metamask/utils").Json
|
|
8
|
-
entropy?: {
|
|
9
|
-
type: "mnemonic";
|
|
10
|
-
id: string;
|
|
11
|
-
derivationPath: string;
|
|
12
|
-
groupIndex: number;
|
|
13
|
-
} | {
|
|
14
|
-
type: "private-key";
|
|
15
|
-
};
|
|
16
|
-
exportable?: boolean;
|
|
17
|
-
};
|
|
7
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
18
8
|
address: string;
|
|
19
9
|
scopes: `${string}:${string}`[];
|
|
20
10
|
methods: string[];
|
|
@@ -22,17 +12,7 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
22
12
|
id: string;
|
|
23
13
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
24
14
|
address: string;
|
|
25
|
-
options: Record<string, import("@metamask/utils").Json
|
|
26
|
-
entropy?: {
|
|
27
|
-
type: "mnemonic";
|
|
28
|
-
id: string;
|
|
29
|
-
derivationPath: string;
|
|
30
|
-
groupIndex: number;
|
|
31
|
-
} | {
|
|
32
|
-
type: "private-key";
|
|
33
|
-
};
|
|
34
|
-
exportable?: boolean;
|
|
35
|
-
};
|
|
15
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
36
16
|
methods: string[];
|
|
37
17
|
};
|
|
38
18
|
metamask?: {
|
|
@@ -48,17 +28,7 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
48
28
|
account: {
|
|
49
29
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
50
30
|
id: string;
|
|
51
|
-
options: Record<string, import("@metamask/utils").Json
|
|
52
|
-
entropy?: {
|
|
53
|
-
type: "mnemonic";
|
|
54
|
-
id: string;
|
|
55
|
-
derivationPath: string;
|
|
56
|
-
groupIndex: number;
|
|
57
|
-
} | {
|
|
58
|
-
type: "private-key";
|
|
59
|
-
};
|
|
60
|
-
exportable?: boolean;
|
|
61
|
-
};
|
|
31
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
62
32
|
address: string;
|
|
63
33
|
scopes: `${string}:${string}`[];
|
|
64
34
|
methods: string[];
|
|
@@ -66,17 +36,7 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
66
36
|
id: string;
|
|
67
37
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
68
38
|
address: string;
|
|
69
|
-
options: Record<string, import("@metamask/utils").Json
|
|
70
|
-
entropy?: {
|
|
71
|
-
type: "mnemonic";
|
|
72
|
-
id: string;
|
|
73
|
-
derivationPath: string;
|
|
74
|
-
groupIndex: number;
|
|
75
|
-
} | {
|
|
76
|
-
type: "private-key";
|
|
77
|
-
};
|
|
78
|
-
exportable?: boolean;
|
|
79
|
-
};
|
|
39
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
80
40
|
methods: string[];
|
|
81
41
|
};
|
|
82
42
|
metamask?: {
|
|
@@ -89,17 +49,7 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
89
49
|
account: import("@metamask/superstruct").Struct<{
|
|
90
50
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
91
51
|
id: string;
|
|
92
|
-
options: Record<string, import("@metamask/utils").Json
|
|
93
|
-
entropy?: {
|
|
94
|
-
type: "mnemonic";
|
|
95
|
-
id: string;
|
|
96
|
-
derivationPath: string;
|
|
97
|
-
groupIndex: number;
|
|
98
|
-
} | {
|
|
99
|
-
type: "private-key";
|
|
100
|
-
};
|
|
101
|
-
exportable?: boolean;
|
|
102
|
-
};
|
|
52
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
103
53
|
address: string;
|
|
104
54
|
scopes: `${string}:${string}`[];
|
|
105
55
|
methods: string[];
|
|
@@ -107,17 +57,7 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
107
57
|
id: string;
|
|
108
58
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
109
59
|
address: string;
|
|
110
|
-
options: Record<string, import("@metamask/utils").Json
|
|
111
|
-
entropy?: {
|
|
112
|
-
type: "mnemonic";
|
|
113
|
-
id: string;
|
|
114
|
-
derivationPath: string;
|
|
115
|
-
groupIndex: number;
|
|
116
|
-
} | {
|
|
117
|
-
type: "private-key";
|
|
118
|
-
};
|
|
119
|
-
exportable?: boolean;
|
|
120
|
-
};
|
|
60
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
121
61
|
methods: string[];
|
|
122
62
|
}, null>;
|
|
123
63
|
metamask: import("@metamask/superstruct").Struct<import("@metamask/keyring-utils").ExactOptionalTag | {
|
|
@@ -136,17 +76,7 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
136
76
|
account: {
|
|
137
77
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
138
78
|
id: string;
|
|
139
|
-
options: Record<string, import("@metamask/utils").Json
|
|
140
|
-
entropy?: {
|
|
141
|
-
type: "mnemonic";
|
|
142
|
-
id: string;
|
|
143
|
-
derivationPath: string;
|
|
144
|
-
groupIndex: number;
|
|
145
|
-
} | {
|
|
146
|
-
type: "private-key";
|
|
147
|
-
};
|
|
148
|
-
exportable?: boolean;
|
|
149
|
-
};
|
|
79
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
150
80
|
address: string;
|
|
151
81
|
scopes: `${string}:${string}`[];
|
|
152
82
|
methods: string[];
|
|
@@ -154,17 +84,7 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
154
84
|
id: string;
|
|
155
85
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
156
86
|
address: string;
|
|
157
|
-
options: Record<string, import("@metamask/utils").Json
|
|
158
|
-
entropy?: {
|
|
159
|
-
type: "mnemonic";
|
|
160
|
-
id: string;
|
|
161
|
-
derivationPath: string;
|
|
162
|
-
groupIndex: number;
|
|
163
|
-
} | {
|
|
164
|
-
type: "private-key";
|
|
165
|
-
};
|
|
166
|
-
exportable?: boolean;
|
|
167
|
-
};
|
|
87
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
168
88
|
methods: string[];
|
|
169
89
|
};
|
|
170
90
|
};
|
|
@@ -174,17 +94,7 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
174
94
|
account: {
|
|
175
95
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
176
96
|
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
|
-
};
|
|
97
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
188
98
|
address: string;
|
|
189
99
|
scopes: `${string}:${string}`[];
|
|
190
100
|
methods: string[];
|
|
@@ -192,34 +102,14 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
192
102
|
id: string;
|
|
193
103
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
194
104
|
address: string;
|
|
195
|
-
options: Record<string, import("@metamask/utils").Json
|
|
196
|
-
entropy?: {
|
|
197
|
-
type: "mnemonic";
|
|
198
|
-
id: string;
|
|
199
|
-
derivationPath: string;
|
|
200
|
-
groupIndex: number;
|
|
201
|
-
} | {
|
|
202
|
-
type: "private-key";
|
|
203
|
-
};
|
|
204
|
-
exportable?: boolean;
|
|
205
|
-
};
|
|
105
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
206
106
|
methods: string[];
|
|
207
107
|
};
|
|
208
108
|
}, {
|
|
209
109
|
account: import("@metamask/superstruct").Struct<{
|
|
210
110
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
211
111
|
id: string;
|
|
212
|
-
options: 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
|
-
};
|
|
112
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
223
113
|
address: string;
|
|
224
114
|
scopes: `${string}:${string}`[];
|
|
225
115
|
methods: string[];
|
|
@@ -227,17 +117,7 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
227
117
|
id: string;
|
|
228
118
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
229
119
|
address: string;
|
|
230
|
-
options: Record<string, import("@metamask/utils").Json
|
|
231
|
-
entropy?: {
|
|
232
|
-
type: "mnemonic";
|
|
233
|
-
id: string;
|
|
234
|
-
derivationPath: string;
|
|
235
|
-
groupIndex: number;
|
|
236
|
-
} | {
|
|
237
|
-
type: "private-key";
|
|
238
|
-
};
|
|
239
|
-
exportable?: boolean;
|
|
240
|
-
};
|
|
120
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
241
121
|
methods: string[];
|
|
242
122
|
}, null>;
|
|
243
123
|
}>;
|
package/dist/events.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.cts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,yBAAyB,EACzB,0BAA0B,EAC1B,0BAA0B,EAE3B,8BAA8B;AAM/B,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"events.d.cts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,yBAAyB,EACzB,0BAA0B,EAC1B,0BAA0B,EAE3B,8BAA8B;AAM/B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOpC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOpC,CAAC;AAIH,OAAO,EACL,yBAAyB,EACzB,0BAA0B,EAC1B,0BAA0B,GAC3B,CAAC"}
|
package/dist/events.d.mts
CHANGED
|
@@ -4,17 +4,7 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
4
4
|
account: {
|
|
5
5
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
6
6
|
id: string;
|
|
7
|
-
options: Record<string, import("@metamask/utils").Json
|
|
8
|
-
entropy?: {
|
|
9
|
-
type: "mnemonic";
|
|
10
|
-
id: string;
|
|
11
|
-
derivationPath: string;
|
|
12
|
-
groupIndex: number;
|
|
13
|
-
} | {
|
|
14
|
-
type: "private-key";
|
|
15
|
-
};
|
|
16
|
-
exportable?: boolean;
|
|
17
|
-
};
|
|
7
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
18
8
|
address: string;
|
|
19
9
|
scopes: `${string}:${string}`[];
|
|
20
10
|
methods: string[];
|
|
@@ -22,17 +12,7 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
22
12
|
id: string;
|
|
23
13
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
24
14
|
address: string;
|
|
25
|
-
options: Record<string, import("@metamask/utils").Json
|
|
26
|
-
entropy?: {
|
|
27
|
-
type: "mnemonic";
|
|
28
|
-
id: string;
|
|
29
|
-
derivationPath: string;
|
|
30
|
-
groupIndex: number;
|
|
31
|
-
} | {
|
|
32
|
-
type: "private-key";
|
|
33
|
-
};
|
|
34
|
-
exportable?: boolean;
|
|
35
|
-
};
|
|
15
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
36
16
|
methods: string[];
|
|
37
17
|
};
|
|
38
18
|
metamask?: {
|
|
@@ -48,17 +28,7 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
48
28
|
account: {
|
|
49
29
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
50
30
|
id: string;
|
|
51
|
-
options: Record<string, import("@metamask/utils").Json
|
|
52
|
-
entropy?: {
|
|
53
|
-
type: "mnemonic";
|
|
54
|
-
id: string;
|
|
55
|
-
derivationPath: string;
|
|
56
|
-
groupIndex: number;
|
|
57
|
-
} | {
|
|
58
|
-
type: "private-key";
|
|
59
|
-
};
|
|
60
|
-
exportable?: boolean;
|
|
61
|
-
};
|
|
31
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
62
32
|
address: string;
|
|
63
33
|
scopes: `${string}:${string}`[];
|
|
64
34
|
methods: string[];
|
|
@@ -66,17 +36,7 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
66
36
|
id: string;
|
|
67
37
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
68
38
|
address: string;
|
|
69
|
-
options: Record<string, import("@metamask/utils").Json
|
|
70
|
-
entropy?: {
|
|
71
|
-
type: "mnemonic";
|
|
72
|
-
id: string;
|
|
73
|
-
derivationPath: string;
|
|
74
|
-
groupIndex: number;
|
|
75
|
-
} | {
|
|
76
|
-
type: "private-key";
|
|
77
|
-
};
|
|
78
|
-
exportable?: boolean;
|
|
79
|
-
};
|
|
39
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
80
40
|
methods: string[];
|
|
81
41
|
};
|
|
82
42
|
metamask?: {
|
|
@@ -89,17 +49,7 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
89
49
|
account: import("@metamask/superstruct").Struct<{
|
|
90
50
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
91
51
|
id: string;
|
|
92
|
-
options: Record<string, import("@metamask/utils").Json
|
|
93
|
-
entropy?: {
|
|
94
|
-
type: "mnemonic";
|
|
95
|
-
id: string;
|
|
96
|
-
derivationPath: string;
|
|
97
|
-
groupIndex: number;
|
|
98
|
-
} | {
|
|
99
|
-
type: "private-key";
|
|
100
|
-
};
|
|
101
|
-
exportable?: boolean;
|
|
102
|
-
};
|
|
52
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
103
53
|
address: string;
|
|
104
54
|
scopes: `${string}:${string}`[];
|
|
105
55
|
methods: string[];
|
|
@@ -107,17 +57,7 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
107
57
|
id: string;
|
|
108
58
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
109
59
|
address: string;
|
|
110
|
-
options: Record<string, import("@metamask/utils").Json
|
|
111
|
-
entropy?: {
|
|
112
|
-
type: "mnemonic";
|
|
113
|
-
id: string;
|
|
114
|
-
derivationPath: string;
|
|
115
|
-
groupIndex: number;
|
|
116
|
-
} | {
|
|
117
|
-
type: "private-key";
|
|
118
|
-
};
|
|
119
|
-
exportable?: boolean;
|
|
120
|
-
};
|
|
60
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
121
61
|
methods: string[];
|
|
122
62
|
}, null>;
|
|
123
63
|
metamask: import("@metamask/superstruct").Struct<import("@metamask/keyring-utils").ExactOptionalTag | {
|
|
@@ -136,17 +76,7 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
136
76
|
account: {
|
|
137
77
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
138
78
|
id: string;
|
|
139
|
-
options: Record<string, import("@metamask/utils").Json
|
|
140
|
-
entropy?: {
|
|
141
|
-
type: "mnemonic";
|
|
142
|
-
id: string;
|
|
143
|
-
derivationPath: string;
|
|
144
|
-
groupIndex: number;
|
|
145
|
-
} | {
|
|
146
|
-
type: "private-key";
|
|
147
|
-
};
|
|
148
|
-
exportable?: boolean;
|
|
149
|
-
};
|
|
79
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
150
80
|
address: string;
|
|
151
81
|
scopes: `${string}:${string}`[];
|
|
152
82
|
methods: string[];
|
|
@@ -154,17 +84,7 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
154
84
|
id: string;
|
|
155
85
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
156
86
|
address: string;
|
|
157
|
-
options: Record<string, import("@metamask/utils").Json
|
|
158
|
-
entropy?: {
|
|
159
|
-
type: "mnemonic";
|
|
160
|
-
id: string;
|
|
161
|
-
derivationPath: string;
|
|
162
|
-
groupIndex: number;
|
|
163
|
-
} | {
|
|
164
|
-
type: "private-key";
|
|
165
|
-
};
|
|
166
|
-
exportable?: boolean;
|
|
167
|
-
};
|
|
87
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
168
88
|
methods: string[];
|
|
169
89
|
};
|
|
170
90
|
};
|
|
@@ -174,17 +94,7 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
174
94
|
account: {
|
|
175
95
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
176
96
|
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
|
-
};
|
|
97
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
188
98
|
address: string;
|
|
189
99
|
scopes: `${string}:${string}`[];
|
|
190
100
|
methods: string[];
|
|
@@ -192,34 +102,14 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
192
102
|
id: string;
|
|
193
103
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
194
104
|
address: string;
|
|
195
|
-
options: Record<string, import("@metamask/utils").Json
|
|
196
|
-
entropy?: {
|
|
197
|
-
type: "mnemonic";
|
|
198
|
-
id: string;
|
|
199
|
-
derivationPath: string;
|
|
200
|
-
groupIndex: number;
|
|
201
|
-
} | {
|
|
202
|
-
type: "private-key";
|
|
203
|
-
};
|
|
204
|
-
exportable?: boolean;
|
|
205
|
-
};
|
|
105
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
206
106
|
methods: string[];
|
|
207
107
|
};
|
|
208
108
|
}, {
|
|
209
109
|
account: import("@metamask/superstruct").Struct<{
|
|
210
110
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
211
111
|
id: string;
|
|
212
|
-
options: 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
|
-
};
|
|
112
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
223
113
|
address: string;
|
|
224
114
|
scopes: `${string}:${string}`[];
|
|
225
115
|
methods: string[];
|
|
@@ -227,17 +117,7 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
227
117
|
id: string;
|
|
228
118
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
|
229
119
|
address: string;
|
|
230
|
-
options: Record<string, import("@metamask/utils").Json
|
|
231
|
-
entropy?: {
|
|
232
|
-
type: "mnemonic";
|
|
233
|
-
id: string;
|
|
234
|
-
derivationPath: string;
|
|
235
|
-
groupIndex: number;
|
|
236
|
-
} | {
|
|
237
|
-
type: "private-key";
|
|
238
|
-
};
|
|
239
|
-
exportable?: boolean;
|
|
240
|
-
};
|
|
120
|
+
options: Record<string, import("@metamask/utils").Json>;
|
|
241
121
|
methods: string[];
|
|
242
122
|
}, null>;
|
|
243
123
|
}>;
|
package/dist/events.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.mts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,yBAAyB,EACzB,0BAA0B,EAC1B,0BAA0B,EAE3B,8BAA8B;AAM/B,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"events.d.mts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,yBAAyB,EACzB,0BAA0B,EAC1B,0BAA0B,EAE3B,8BAA8B;AAM/B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOpC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOpC,CAAC;AAIH,OAAO,EACL,yBAAyB,EACzB,0BAA0B,EAC1B,0BAA0B,GAC3B,CAAC"}
|