@metamask-previews/eth-snap-keyring 22.1.0-4bf3baf → 22.1.0-862665d

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 CHANGED
@@ -4,6 +4,8 @@ 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}`[];
7
9
  options: Record<string, import("@metamask/utils").Json> & {
8
10
  entropy?: {
9
11
  type: "mnemonic";
@@ -17,8 +19,6 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
17
19
  };
18
20
  exportable?: boolean;
19
21
  };
20
- address: string;
21
- scopes: `${string}:${string}`[];
22
22
  methods: string[];
23
23
  } | {
24
24
  id: string;
@@ -52,6 +52,8 @@ 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}`[];
55
57
  options: Record<string, import("@metamask/utils").Json> & {
56
58
  entropy?: {
57
59
  type: "mnemonic";
@@ -65,8 +67,6 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
65
67
  };
66
68
  exportable?: boolean;
67
69
  };
68
- address: string;
69
- scopes: `${string}:${string}`[];
70
70
  methods: string[];
71
71
  } | {
72
72
  id: string;
@@ -97,6 +97,8 @@ 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}`[];
100
102
  options: Record<string, import("@metamask/utils").Json> & {
101
103
  entropy?: {
102
104
  type: "mnemonic";
@@ -110,8 +112,6 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
110
112
  };
111
113
  exportable?: boolean;
112
114
  };
113
- address: string;
114
- scopes: `${string}:${string}`[];
115
115
  methods: string[];
116
116
  } | {
117
117
  id: string;
@@ -148,6 +148,8 @@ 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}`[];
151
153
  options: Record<string, import("@metamask/utils").Json> & {
152
154
  entropy?: {
153
155
  type: "mnemonic";
@@ -161,8 +163,6 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
161
163
  };
162
164
  exportable?: boolean;
163
165
  };
164
- address: string;
165
- scopes: `${string}:${string}`[];
166
166
  methods: string[];
167
167
  } | {
168
168
  id: string;
@@ -190,6 +190,8 @@ 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}`[];
193
195
  options: Record<string, import("@metamask/utils").Json> & {
194
196
  entropy?: {
195
197
  type: "mnemonic";
@@ -203,8 +205,6 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
203
205
  };
204
206
  exportable?: boolean;
205
207
  };
206
- address: string;
207
- scopes: `${string}:${string}`[];
208
208
  methods: string[];
209
209
  } | {
210
210
  id: string;
@@ -229,6 +229,8 @@ 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}`[];
232
234
  options: Record<string, import("@metamask/utils").Json> & {
233
235
  entropy?: {
234
236
  type: "mnemonic";
@@ -242,8 +244,6 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
242
244
  };
243
245
  exportable?: boolean;
244
246
  };
245
- address: string;
246
- scopes: `${string}:${string}`[];
247
247
  methods: string[];
248
248
  } | {
249
249
  id: string;
package/dist/events.d.mts CHANGED
@@ -4,6 +4,8 @@ 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}`[];
7
9
  options: Record<string, import("@metamask/utils").Json> & {
8
10
  entropy?: {
9
11
  type: "mnemonic";
@@ -17,8 +19,6 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
17
19
  };
18
20
  exportable?: boolean;
19
21
  };
20
- address: string;
21
- scopes: `${string}:${string}`[];
22
22
  methods: string[];
23
23
  } | {
24
24
  id: string;
@@ -52,6 +52,8 @@ 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}`[];
55
57
  options: Record<string, import("@metamask/utils").Json> & {
56
58
  entropy?: {
57
59
  type: "mnemonic";
@@ -65,8 +67,6 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
65
67
  };
66
68
  exportable?: boolean;
67
69
  };
68
- address: string;
69
- scopes: `${string}:${string}`[];
70
70
  methods: string[];
71
71
  } | {
72
72
  id: string;
@@ -97,6 +97,8 @@ 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}`[];
100
102
  options: Record<string, import("@metamask/utils").Json> & {
101
103
  entropy?: {
102
104
  type: "mnemonic";
@@ -110,8 +112,6 @@ export declare const AccountCreatedEventStruct: import("@metamask/superstruct").
110
112
  };
111
113
  exportable?: boolean;
112
114
  };
113
- address: string;
114
- scopes: `${string}:${string}`[];
115
115
  methods: string[];
116
116
  } | {
117
117
  id: string;
@@ -148,6 +148,8 @@ 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}`[];
151
153
  options: Record<string, import("@metamask/utils").Json> & {
152
154
  entropy?: {
153
155
  type: "mnemonic";
@@ -161,8 +163,6 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
161
163
  };
162
164
  exportable?: boolean;
163
165
  };
164
- address: string;
165
- scopes: `${string}:${string}`[];
166
166
  methods: string[];
167
167
  } | {
168
168
  id: string;
@@ -190,6 +190,8 @@ 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}`[];
193
195
  options: Record<string, import("@metamask/utils").Json> & {
194
196
  entropy?: {
195
197
  type: "mnemonic";
@@ -203,8 +205,6 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
203
205
  };
204
206
  exportable?: boolean;
205
207
  };
206
- address: string;
207
- scopes: `${string}:${string}`[];
208
208
  methods: string[];
209
209
  } | {
210
210
  id: string;
@@ -229,6 +229,8 @@ 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}`[];
232
234
  options: Record<string, import("@metamask/utils").Json> & {
233
235
  entropy?: {
234
236
  type: "mnemonic";
@@ -242,8 +244,6 @@ export declare const AccountUpdatedEventStruct: import("@metamask/superstruct").
242
244
  };
243
245
  exportable?: boolean;
244
246
  };
245
- address: string;
246
- scopes: `${string}:${string}`[];
247
247
  methods: string[];
248
248
  } | {
249
249
  id: string;
@@ -16,6 +16,8 @@ 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}`[];
19
21
  options: Record<string, Json> & {
20
22
  entropy?: {
21
23
  type: "mnemonic";
@@ -29,8 +31,6 @@ export declare const SnapKeyringStateStruct: import("@metamask/superstruct").Str
29
31
  };
30
32
  exportable?: boolean;
31
33
  };
32
- address: string;
33
- scopes: `${string}:${string}`[];
34
34
  methods: string[];
35
35
  } | {
36
36
  id: string;
@@ -61,6 +61,8 @@ 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}`[];
64
66
  options: Record<string, Json> & {
65
67
  entropy?: {
66
68
  type: "mnemonic";
@@ -74,8 +76,6 @@ export declare const SnapKeyringStateStruct: import("@metamask/superstruct").Str
74
76
  };
75
77
  exportable?: boolean;
76
78
  };
77
- address: string;
78
- scopes: `${string}:${string}`[];
79
79
  methods: string[];
80
80
  } | {
81
81
  id: string;
@@ -16,6 +16,8 @@ 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}`[];
19
21
  options: Record<string, Json> & {
20
22
  entropy?: {
21
23
  type: "mnemonic";
@@ -29,8 +31,6 @@ export declare const SnapKeyringStateStruct: import("@metamask/superstruct").Str
29
31
  };
30
32
  exportable?: boolean;
31
33
  };
32
- address: string;
33
- scopes: `${string}:${string}`[];
34
34
  methods: string[];
35
35
  } | {
36
36
  id: string;
@@ -61,6 +61,8 @@ 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}`[];
64
66
  options: Record<string, Json> & {
65
67
  entropy?: {
66
68
  type: "mnemonic";
@@ -74,8 +76,6 @@ export declare const SnapKeyringStateStruct: import("@metamask/superstruct").Str
74
76
  };
75
77
  exportable?: boolean;
76
78
  };
77
- address: string;
78
- scopes: `${string}:${string}`[];
79
79
  methods: string[];
80
80
  } | {
81
81
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/eth-snap-keyring",
3
- "version": "22.1.0-4bf3baf",
3
+ "version": "22.1.0-862665d",
4
4
  "description": "Snaps keyring bridge",
5
5
  "keywords": [
6
6
  "keyring",