@metamask-previews/eth-snap-keyring 22.2.0-c42f34c → 22.2.0-e5bc458
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/events.d.cts +12 -12
- package/dist/events.d.mts +12 -12
- package/dist/v2/SnapKeyring.d.cts +4 -4
- package/dist/v2/SnapKeyring.d.mts +4 -4
- package/package.json +1 -1
package/dist/events.d.cts
CHANGED
|
@@ -4,8 +4,6 @@ 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" | "tron:eoa" | "stellar:account" | "any:account";
|
|
6
6
|
id: string;
|
|
7
|
-
address: string;
|
|
8
|
-
scopes: `${string}:${string}`[];
|
|
9
7
|
options: Record<string, import("@metamask/utils").Json> & {
|
|
10
8
|
entropy?: {
|
|
11
9
|
type: "mnemonic";
|
|
@@ -19,6 +17,8 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
19
17
|
};
|
|
20
18
|
exportable?: boolean;
|
|
21
19
|
};
|
|
20
|
+
address: string;
|
|
21
|
+
scopes: `${string}:${string}`[];
|
|
22
22
|
methods: string[];
|
|
23
23
|
} | {
|
|
24
24
|
id: string;
|
|
@@ -52,8 +52,6 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
52
52
|
account: {
|
|
53
53
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
54
54
|
id: string;
|
|
55
|
-
address: string;
|
|
56
|
-
scopes: `${string}:${string}`[];
|
|
57
55
|
options: Record<string, import("@metamask/utils").Json> & {
|
|
58
56
|
entropy?: {
|
|
59
57
|
type: "mnemonic";
|
|
@@ -67,6 +65,8 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
67
65
|
};
|
|
68
66
|
exportable?: boolean;
|
|
69
67
|
};
|
|
68
|
+
address: string;
|
|
69
|
+
scopes: `${string}:${string}`[];
|
|
70
70
|
methods: string[];
|
|
71
71
|
} | {
|
|
72
72
|
id: string;
|
|
@@ -97,8 +97,6 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
97
97
|
account: import("@metamask/superstruct").Struct<{
|
|
98
98
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
99
99
|
id: string;
|
|
100
|
-
address: string;
|
|
101
|
-
scopes: `${string}:${string}`[];
|
|
102
100
|
options: Record<string, import("@metamask/utils").Json> & {
|
|
103
101
|
entropy?: {
|
|
104
102
|
type: "mnemonic";
|
|
@@ -112,6 +110,8 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
112
110
|
};
|
|
113
111
|
exportable?: boolean;
|
|
114
112
|
};
|
|
113
|
+
address: string;
|
|
114
|
+
scopes: `${string}:${string}`[];
|
|
115
115
|
methods: string[];
|
|
116
116
|
} | {
|
|
117
117
|
id: string;
|
|
@@ -148,8 +148,6 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
148
148
|
account: {
|
|
149
149
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
150
150
|
id: string;
|
|
151
|
-
address: string;
|
|
152
|
-
scopes: `${string}:${string}`[];
|
|
153
151
|
options: Record<string, import("@metamask/utils").Json> & {
|
|
154
152
|
entropy?: {
|
|
155
153
|
type: "mnemonic";
|
|
@@ -163,6 +161,8 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
163
161
|
};
|
|
164
162
|
exportable?: boolean;
|
|
165
163
|
};
|
|
164
|
+
address: string;
|
|
165
|
+
scopes: `${string}:${string}`[];
|
|
166
166
|
methods: string[];
|
|
167
167
|
} | {
|
|
168
168
|
id: string;
|
|
@@ -190,8 +190,6 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
190
190
|
account: {
|
|
191
191
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
192
192
|
id: string;
|
|
193
|
-
address: string;
|
|
194
|
-
scopes: `${string}:${string}`[];
|
|
195
193
|
options: Record<string, import("@metamask/utils").Json> & {
|
|
196
194
|
entropy?: {
|
|
197
195
|
type: "mnemonic";
|
|
@@ -205,6 +203,8 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
205
203
|
};
|
|
206
204
|
exportable?: boolean;
|
|
207
205
|
};
|
|
206
|
+
address: string;
|
|
207
|
+
scopes: `${string}:${string}`[];
|
|
208
208
|
methods: string[];
|
|
209
209
|
} | {
|
|
210
210
|
id: string;
|
|
@@ -229,8 +229,6 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
229
229
|
account: import("@metamask/superstruct").Struct<{
|
|
230
230
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
231
231
|
id: string;
|
|
232
|
-
address: string;
|
|
233
|
-
scopes: `${string}:${string}`[];
|
|
234
232
|
options: Record<string, import("@metamask/utils").Json> & {
|
|
235
233
|
entropy?: {
|
|
236
234
|
type: "mnemonic";
|
|
@@ -244,6 +242,8 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
244
242
|
};
|
|
245
243
|
exportable?: boolean;
|
|
246
244
|
};
|
|
245
|
+
address: string;
|
|
246
|
+
scopes: `${string}:${string}`[];
|
|
247
247
|
methods: string[];
|
|
248
248
|
} | {
|
|
249
249
|
id: string;
|
package/dist/events.d.mts
CHANGED
|
@@ -4,8 +4,6 @@ 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" | "tron:eoa" | "stellar:account" | "any:account";
|
|
6
6
|
id: string;
|
|
7
|
-
address: string;
|
|
8
|
-
scopes: `${string}:${string}`[];
|
|
9
7
|
options: Record<string, import("@metamask/utils").Json> & {
|
|
10
8
|
entropy?: {
|
|
11
9
|
type: "mnemonic";
|
|
@@ -19,6 +17,8 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
19
17
|
};
|
|
20
18
|
exportable?: boolean;
|
|
21
19
|
};
|
|
20
|
+
address: string;
|
|
21
|
+
scopes: `${string}:${string}`[];
|
|
22
22
|
methods: string[];
|
|
23
23
|
} | {
|
|
24
24
|
id: string;
|
|
@@ -52,8 +52,6 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
52
52
|
account: {
|
|
53
53
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
54
54
|
id: string;
|
|
55
|
-
address: string;
|
|
56
|
-
scopes: `${string}:${string}`[];
|
|
57
55
|
options: Record<string, import("@metamask/utils").Json> & {
|
|
58
56
|
entropy?: {
|
|
59
57
|
type: "mnemonic";
|
|
@@ -67,6 +65,8 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
67
65
|
};
|
|
68
66
|
exportable?: boolean;
|
|
69
67
|
};
|
|
68
|
+
address: string;
|
|
69
|
+
scopes: `${string}:${string}`[];
|
|
70
70
|
methods: string[];
|
|
71
71
|
} | {
|
|
72
72
|
id: string;
|
|
@@ -97,8 +97,6 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
97
97
|
account: import("@metamask/superstruct").Struct<{
|
|
98
98
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
99
99
|
id: string;
|
|
100
|
-
address: string;
|
|
101
|
-
scopes: `${string}:${string}`[];
|
|
102
100
|
options: Record<string, import("@metamask/utils").Json> & {
|
|
103
101
|
entropy?: {
|
|
104
102
|
type: "mnemonic";
|
|
@@ -112,6 +110,8 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
|
|
|
112
110
|
};
|
|
113
111
|
exportable?: boolean;
|
|
114
112
|
};
|
|
113
|
+
address: string;
|
|
114
|
+
scopes: `${string}:${string}`[];
|
|
115
115
|
methods: string[];
|
|
116
116
|
} | {
|
|
117
117
|
id: string;
|
|
@@ -148,8 +148,6 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
148
148
|
account: {
|
|
149
149
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
150
150
|
id: string;
|
|
151
|
-
address: string;
|
|
152
|
-
scopes: `${string}:${string}`[];
|
|
153
151
|
options: Record<string, import("@metamask/utils").Json> & {
|
|
154
152
|
entropy?: {
|
|
155
153
|
type: "mnemonic";
|
|
@@ -163,6 +161,8 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
163
161
|
};
|
|
164
162
|
exportable?: boolean;
|
|
165
163
|
};
|
|
164
|
+
address: string;
|
|
165
|
+
scopes: `${string}:${string}`[];
|
|
166
166
|
methods: string[];
|
|
167
167
|
} | {
|
|
168
168
|
id: string;
|
|
@@ -190,8 +190,6 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
190
190
|
account: {
|
|
191
191
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
192
192
|
id: string;
|
|
193
|
-
address: string;
|
|
194
|
-
scopes: `${string}:${string}`[];
|
|
195
193
|
options: Record<string, import("@metamask/utils").Json> & {
|
|
196
194
|
entropy?: {
|
|
197
195
|
type: "mnemonic";
|
|
@@ -205,6 +203,8 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
205
203
|
};
|
|
206
204
|
exportable?: boolean;
|
|
207
205
|
};
|
|
206
|
+
address: string;
|
|
207
|
+
scopes: `${string}:${string}`[];
|
|
208
208
|
methods: string[];
|
|
209
209
|
} | {
|
|
210
210
|
id: string;
|
|
@@ -229,8 +229,6 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
229
229
|
account: import("@metamask/superstruct").Struct<{
|
|
230
230
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
231
231
|
id: string;
|
|
232
|
-
address: string;
|
|
233
|
-
scopes: `${string}:${string}`[];
|
|
234
232
|
options: Record<string, import("@metamask/utils").Json> & {
|
|
235
233
|
entropy?: {
|
|
236
234
|
type: "mnemonic";
|
|
@@ -244,6 +242,8 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
|
|
|
244
242
|
};
|
|
245
243
|
exportable?: boolean;
|
|
246
244
|
};
|
|
245
|
+
address: string;
|
|
246
|
+
scopes: `${string}:${string}`[];
|
|
247
247
|
methods: string[];
|
|
248
248
|
} | {
|
|
249
249
|
id: string;
|
|
@@ -16,8 +16,6 @@ export declare const SnapKeyringStateStruct: import("@metamask/superstruct").Str
|
|
|
16
16
|
accounts: Record<string, {
|
|
17
17
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
18
18
|
id: string;
|
|
19
|
-
address: string;
|
|
20
|
-
scopes: `${string}:${string}`[];
|
|
21
19
|
options: Record<string, Json> & {
|
|
22
20
|
entropy?: {
|
|
23
21
|
type: "mnemonic";
|
|
@@ -31,6 +29,8 @@ export declare const SnapKeyringStateStruct: import("@metamask/superstruct").Str
|
|
|
31
29
|
};
|
|
32
30
|
exportable?: boolean;
|
|
33
31
|
};
|
|
32
|
+
address: string;
|
|
33
|
+
scopes: `${string}:${string}`[];
|
|
34
34
|
methods: string[];
|
|
35
35
|
} | {
|
|
36
36
|
id: string;
|
|
@@ -61,8 +61,6 @@ export declare const SnapKeyringStateStruct: import("@metamask/superstruct").Str
|
|
|
61
61
|
accounts: import("@metamask/superstruct").Struct<Record<string, {
|
|
62
62
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
63
63
|
id: string;
|
|
64
|
-
address: string;
|
|
65
|
-
scopes: `${string}:${string}`[];
|
|
66
64
|
options: Record<string, Json> & {
|
|
67
65
|
entropy?: {
|
|
68
66
|
type: "mnemonic";
|
|
@@ -76,6 +74,8 @@ export declare const SnapKeyringStateStruct: import("@metamask/superstruct").Str
|
|
|
76
74
|
};
|
|
77
75
|
exportable?: boolean;
|
|
78
76
|
};
|
|
77
|
+
address: string;
|
|
78
|
+
scopes: `${string}:${string}`[];
|
|
79
79
|
methods: string[];
|
|
80
80
|
} | {
|
|
81
81
|
id: string;
|
|
@@ -16,8 +16,6 @@ export declare const SnapKeyringStateStruct: import("@metamask/superstruct").Str
|
|
|
16
16
|
accounts: Record<string, {
|
|
17
17
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
18
18
|
id: string;
|
|
19
|
-
address: string;
|
|
20
|
-
scopes: `${string}:${string}`[];
|
|
21
19
|
options: Record<string, Json> & {
|
|
22
20
|
entropy?: {
|
|
23
21
|
type: "mnemonic";
|
|
@@ -31,6 +29,8 @@ export declare const SnapKeyringStateStruct: import("@metamask/superstruct").Str
|
|
|
31
29
|
};
|
|
32
30
|
exportable?: boolean;
|
|
33
31
|
};
|
|
32
|
+
address: string;
|
|
33
|
+
scopes: `${string}:${string}`[];
|
|
34
34
|
methods: string[];
|
|
35
35
|
} | {
|
|
36
36
|
id: string;
|
|
@@ -61,8 +61,6 @@ export declare const SnapKeyringStateStruct: import("@metamask/superstruct").Str
|
|
|
61
61
|
accounts: import("@metamask/superstruct").Struct<Record<string, {
|
|
62
62
|
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
|
|
63
63
|
id: string;
|
|
64
|
-
address: string;
|
|
65
|
-
scopes: `${string}:${string}`[];
|
|
66
64
|
options: Record<string, Json> & {
|
|
67
65
|
entropy?: {
|
|
68
66
|
type: "mnemonic";
|
|
@@ -76,6 +74,8 @@ export declare const SnapKeyringStateStruct: import("@metamask/superstruct").Str
|
|
|
76
74
|
};
|
|
77
75
|
exportable?: boolean;
|
|
78
76
|
};
|
|
77
|
+
address: string;
|
|
78
|
+
scopes: `${string}:${string}`[];
|
|
79
79
|
methods: string[];
|
|
80
80
|
} | {
|
|
81
81
|
id: string;
|