@metamask-previews/keyring-api 17.0.0-44b05d1 → 17.0.0-d9aa015
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/api/transaction.d.cts +4 -4
- package/dist/api/transaction.d.mts +4 -4
- package/dist/eth/erc4337/types.d.cts +1 -1
- package/dist/eth/erc4337/types.d.mts +1 -1
- package/dist/events.d.cts +3 -3
- package/dist/events.d.mts +3 -3
- package/dist/rpc.d.cts +3 -3
- package/dist/rpc.d.mts +3 -3
- package/package.json +3 -3
|
@@ -158,8 +158,8 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
|
|
|
158
158
|
timestamp: number | null;
|
|
159
159
|
}[];
|
|
160
160
|
chain: `${string}:${string}`;
|
|
161
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
162
161
|
account: string;
|
|
162
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
163
163
|
timestamp: number | null;
|
|
164
164
|
to: {
|
|
165
165
|
address: string;
|
|
@@ -435,8 +435,8 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
435
435
|
timestamp: number | null;
|
|
436
436
|
}[];
|
|
437
437
|
chain: `${string}:${string}`;
|
|
438
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
439
438
|
account: string;
|
|
439
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
440
440
|
timestamp: number | null;
|
|
441
441
|
to: {
|
|
442
442
|
address: string;
|
|
@@ -488,8 +488,8 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
488
488
|
timestamp: number | null;
|
|
489
489
|
}[];
|
|
490
490
|
chain: `${string}:${string}`;
|
|
491
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
492
491
|
account: string;
|
|
492
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
493
493
|
timestamp: number | null;
|
|
494
494
|
to: {
|
|
495
495
|
address: string;
|
|
@@ -535,8 +535,8 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
535
535
|
timestamp: number | null;
|
|
536
536
|
}[];
|
|
537
537
|
chain: `${string}:${string}`;
|
|
538
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
539
538
|
account: string;
|
|
539
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
540
540
|
timestamp: number | null;
|
|
541
541
|
to: {
|
|
542
542
|
address: string;
|
|
@@ -158,8 +158,8 @@ export declare const TransactionStruct: import("@metamask/superstruct").Struct<{
|
|
|
158
158
|
timestamp: number | null;
|
|
159
159
|
}[];
|
|
160
160
|
chain: `${string}:${string}`;
|
|
161
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
162
161
|
account: string;
|
|
162
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
163
163
|
timestamp: number | null;
|
|
164
164
|
to: {
|
|
165
165
|
address: string;
|
|
@@ -435,8 +435,8 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
435
435
|
timestamp: number | null;
|
|
436
436
|
}[];
|
|
437
437
|
chain: `${string}:${string}`;
|
|
438
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
439
438
|
account: string;
|
|
439
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
440
440
|
timestamp: number | null;
|
|
441
441
|
to: {
|
|
442
442
|
address: string;
|
|
@@ -488,8 +488,8 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
488
488
|
timestamp: number | null;
|
|
489
489
|
}[];
|
|
490
490
|
chain: `${string}:${string}`;
|
|
491
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
492
491
|
account: string;
|
|
492
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
493
493
|
timestamp: number | null;
|
|
494
494
|
to: {
|
|
495
495
|
address: string;
|
|
@@ -535,8 +535,8 @@ export declare const TransactionsPageStruct: import("@metamask/superstruct").Str
|
|
|
535
535
|
timestamp: number | null;
|
|
536
536
|
}[];
|
|
537
537
|
chain: `${string}:${string}`;
|
|
538
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
539
538
|
account: string;
|
|
539
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
540
540
|
timestamp: number | null;
|
|
541
541
|
to: {
|
|
542
542
|
address: string;
|
|
@@ -5,8 +5,8 @@ import { type Infer } from "@metamask/superstruct";
|
|
|
5
5
|
* @see https://eips.ethereum.org/EIPS/eip-4337#definitions
|
|
6
6
|
*/
|
|
7
7
|
export declare const EthUserOperationStruct: import("@metamask/superstruct").Struct<{
|
|
8
|
-
nonce: string;
|
|
9
8
|
sender: string;
|
|
9
|
+
nonce: string;
|
|
10
10
|
initCode: string;
|
|
11
11
|
callData: string;
|
|
12
12
|
callGasLimit: string;
|
|
@@ -5,8 +5,8 @@ import { type Infer } from "@metamask/superstruct";
|
|
|
5
5
|
* @see https://eips.ethereum.org/EIPS/eip-4337#definitions
|
|
6
6
|
*/
|
|
7
7
|
export declare const EthUserOperationStruct: import("@metamask/superstruct").Struct<{
|
|
8
|
-
nonce: string;
|
|
9
8
|
sender: string;
|
|
9
|
+
nonce: string;
|
|
10
10
|
initCode: string;
|
|
11
11
|
callData: string;
|
|
12
12
|
callGasLimit: string;
|
package/dist/events.d.cts
CHANGED
|
@@ -238,8 +238,8 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
|
|
|
238
238
|
timestamp: number | null;
|
|
239
239
|
}[];
|
|
240
240
|
chain: `${string}:${string}`;
|
|
241
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
242
241
|
account: string;
|
|
242
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
243
243
|
timestamp: number | null;
|
|
244
244
|
to: {
|
|
245
245
|
address: string;
|
|
@@ -290,8 +290,8 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
|
|
|
290
290
|
timestamp: number | null;
|
|
291
291
|
}[];
|
|
292
292
|
chain: `${string}:${string}`;
|
|
293
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
294
293
|
account: string;
|
|
294
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
295
295
|
timestamp: number | null;
|
|
296
296
|
to: {
|
|
297
297
|
address: string;
|
|
@@ -342,8 +342,8 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
|
|
|
342
342
|
timestamp: number | null;
|
|
343
343
|
}[];
|
|
344
344
|
chain: `${string}:${string}`;
|
|
345
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
346
345
|
account: string;
|
|
346
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
347
347
|
timestamp: number | null;
|
|
348
348
|
to: {
|
|
349
349
|
address: string;
|
package/dist/events.d.mts
CHANGED
|
@@ -238,8 +238,8 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
|
|
|
238
238
|
timestamp: number | null;
|
|
239
239
|
}[];
|
|
240
240
|
chain: `${string}:${string}`;
|
|
241
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
242
241
|
account: string;
|
|
242
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
243
243
|
timestamp: number | null;
|
|
244
244
|
to: {
|
|
245
245
|
address: string;
|
|
@@ -290,8 +290,8 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
|
|
|
290
290
|
timestamp: number | null;
|
|
291
291
|
}[];
|
|
292
292
|
chain: `${string}:${string}`;
|
|
293
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
294
293
|
account: string;
|
|
294
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
295
295
|
timestamp: number | null;
|
|
296
296
|
to: {
|
|
297
297
|
address: string;
|
|
@@ -342,8 +342,8 @@ export declare const AccountTransactionsUpdatedEventStruct: import("@metamask/su
|
|
|
342
342
|
timestamp: number | null;
|
|
343
343
|
}[];
|
|
344
344
|
chain: `${string}:${string}`;
|
|
345
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
346
345
|
account: string;
|
|
346
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
347
347
|
timestamp: number | null;
|
|
348
348
|
to: {
|
|
349
349
|
address: string;
|
package/dist/rpc.d.cts
CHANGED
|
@@ -197,8 +197,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
197
197
|
timestamp: number | null;
|
|
198
198
|
}[];
|
|
199
199
|
chain: `${string}:${string}`;
|
|
200
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
201
200
|
account: string;
|
|
201
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
202
202
|
timestamp: number | null;
|
|
203
203
|
to: {
|
|
204
204
|
address: string;
|
|
@@ -247,8 +247,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
247
247
|
timestamp: number | null;
|
|
248
248
|
}[];
|
|
249
249
|
chain: `${string}:${string}`;
|
|
250
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
251
250
|
account: string;
|
|
251
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
252
252
|
timestamp: number | null;
|
|
253
253
|
to: {
|
|
254
254
|
address: string;
|
|
@@ -294,8 +294,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
294
294
|
timestamp: number | null;
|
|
295
295
|
}[];
|
|
296
296
|
chain: `${string}:${string}`;
|
|
297
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
298
297
|
account: string;
|
|
298
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
299
299
|
timestamp: number | null;
|
|
300
300
|
to: {
|
|
301
301
|
address: string;
|
package/dist/rpc.d.mts
CHANGED
|
@@ -197,8 +197,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
197
197
|
timestamp: number | null;
|
|
198
198
|
}[];
|
|
199
199
|
chain: `${string}:${string}`;
|
|
200
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
201
200
|
account: string;
|
|
201
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
202
202
|
timestamp: number | null;
|
|
203
203
|
to: {
|
|
204
204
|
address: string;
|
|
@@ -247,8 +247,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
247
247
|
timestamp: number | null;
|
|
248
248
|
}[];
|
|
249
249
|
chain: `${string}:${string}`;
|
|
250
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
251
250
|
account: string;
|
|
251
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
252
252
|
timestamp: number | null;
|
|
253
253
|
to: {
|
|
254
254
|
address: string;
|
|
@@ -294,8 +294,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
294
294
|
timestamp: number | null;
|
|
295
295
|
}[];
|
|
296
296
|
chain: `${string}:${string}`;
|
|
297
|
-
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
298
297
|
account: string;
|
|
298
|
+
status: "submitted" | "unconfirmed" | "confirmed" | "failed";
|
|
299
299
|
timestamp: number | null;
|
|
300
300
|
to: {
|
|
301
301
|
address: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/keyring-api",
|
|
3
|
-
"version": "17.0.0-
|
|
3
|
+
"version": "17.0.0-d9aa015",
|
|
4
4
|
"description": "MetaMask Keyring API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"metamask",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"test:watch": "jest --watch"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@metamask/keyring-utils": "2.
|
|
49
|
+
"@metamask/keyring-utils": "2.0.0",
|
|
50
50
|
"@metamask/superstruct": "^3.1.0",
|
|
51
51
|
"@metamask/utils": "^11.1.0",
|
|
52
52
|
"bech32": "^2.0.0"
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@lavamoat/allow-scripts": "^3.2.1",
|
|
56
56
|
"@lavamoat/preinstall-always-fail": "^2.1.0",
|
|
57
57
|
"@metamask/auto-changelog": "^3.4.4",
|
|
58
|
-
"@metamask/keyring-utils": "2.
|
|
58
|
+
"@metamask/keyring-utils": "2.0.0",
|
|
59
59
|
"@ts-bridge/cli": "^0.6.1",
|
|
60
60
|
"@types/jest": "^29.5.12",
|
|
61
61
|
"@types/node": "^20.12.12",
|