@metamask-previews/keyring-api 13.0.0-a527719 → 14.0.0-0b22ddc
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/CHANGELOG.md +13 -1
- package/dist/api/account.cjs +1 -1
- package/dist/api/account.cjs.map +1 -1
- package/dist/api/account.mjs +2 -2
- package/dist/api/account.mjs.map +1 -1
- package/dist/api/asset.cjs +15 -9
- package/dist/api/asset.cjs.map +1 -1
- package/dist/api/asset.d.cts +25 -9
- package/dist/api/asset.d.cts.map +1 -1
- package/dist/api/asset.d.mts +25 -9
- package/dist/api/asset.d.mts.map +1 -1
- package/dist/api/asset.mjs +14 -8
- package/dist/api/asset.mjs.map +1 -1
- package/dist/api/transaction.d.cts +30 -30
- package/dist/api/transaction.d.mts +30 -30
- package/dist/events.cjs +75 -1
- package/dist/events.cjs.map +1 -1
- package/dist/events.d.cts +240 -1
- package/dist/events.d.cts.map +1 -1
- package/dist/events.d.mts +240 -1
- package/dist/events.d.mts.map +1 -1
- package/dist/events.mjs +78 -4
- package/dist/events.mjs.map +1 -1
- package/dist/rpc.d.cts +18 -18
- package/dist/rpc.d.mts +18 -18
- package/package.json +3 -3
package/dist/rpc.d.mts
CHANGED
|
@@ -184,8 +184,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
184
184
|
asset: {
|
|
185
185
|
unit: string;
|
|
186
186
|
type: `${string}:${string}/${string}:${string}`;
|
|
187
|
-
fungible: true;
|
|
188
187
|
amount: string;
|
|
188
|
+
fungible: true;
|
|
189
189
|
} | {
|
|
190
190
|
id: `${string}:${string}/${string}:${string}/${string}`;
|
|
191
191
|
fungible: false;
|
|
@@ -204,8 +204,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
204
204
|
asset: {
|
|
205
205
|
unit: string;
|
|
206
206
|
type: `${string}:${string}/${string}:${string}`;
|
|
207
|
-
fungible: true;
|
|
208
207
|
amount: string;
|
|
208
|
+
fungible: true;
|
|
209
209
|
} | {
|
|
210
210
|
id: `${string}:${string}/${string}:${string}/${string}`;
|
|
211
211
|
fungible: false;
|
|
@@ -216,8 +216,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
216
216
|
asset: {
|
|
217
217
|
unit: string;
|
|
218
218
|
type: `${string}:${string}/${string}:${string}`;
|
|
219
|
-
fungible: true;
|
|
220
219
|
amount: string;
|
|
220
|
+
fungible: true;
|
|
221
221
|
} | {
|
|
222
222
|
id: `${string}:${string}/${string}:${string}/${string}`;
|
|
223
223
|
fungible: false;
|
|
@@ -234,8 +234,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
234
234
|
asset: {
|
|
235
235
|
unit: string;
|
|
236
236
|
type: `${string}:${string}/${string}:${string}`;
|
|
237
|
-
fungible: true;
|
|
238
237
|
amount: string;
|
|
238
|
+
fungible: true;
|
|
239
239
|
} | {
|
|
240
240
|
id: `${string}:${string}/${string}:${string}/${string}`;
|
|
241
241
|
fungible: false;
|
|
@@ -254,8 +254,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
254
254
|
asset: {
|
|
255
255
|
unit: string;
|
|
256
256
|
type: `${string}:${string}/${string}:${string}`;
|
|
257
|
-
fungible: true;
|
|
258
257
|
amount: string;
|
|
258
|
+
fungible: true;
|
|
259
259
|
} | {
|
|
260
260
|
id: `${string}:${string}/${string}:${string}/${string}`;
|
|
261
261
|
fungible: false;
|
|
@@ -266,8 +266,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
266
266
|
asset: {
|
|
267
267
|
unit: string;
|
|
268
268
|
type: `${string}:${string}/${string}:${string}`;
|
|
269
|
-
fungible: true;
|
|
270
269
|
amount: string;
|
|
270
|
+
fungible: true;
|
|
271
271
|
} | {
|
|
272
272
|
id: `${string}:${string}/${string}:${string}/${string}`;
|
|
273
273
|
fungible: false;
|
|
@@ -281,8 +281,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
281
281
|
asset: {
|
|
282
282
|
unit: string;
|
|
283
283
|
type: `${string}:${string}/${string}:${string}`;
|
|
284
|
-
fungible: true;
|
|
285
284
|
amount: string;
|
|
285
|
+
fungible: true;
|
|
286
286
|
} | {
|
|
287
287
|
id: `${string}:${string}/${string}:${string}/${string}`;
|
|
288
288
|
fungible: false;
|
|
@@ -301,8 +301,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
301
301
|
asset: {
|
|
302
302
|
unit: string;
|
|
303
303
|
type: `${string}:${string}/${string}:${string}`;
|
|
304
|
-
fungible: true;
|
|
305
304
|
amount: string;
|
|
305
|
+
fungible: true;
|
|
306
306
|
} | {
|
|
307
307
|
id: `${string}:${string}/${string}:${string}/${string}`;
|
|
308
308
|
fungible: false;
|
|
@@ -313,8 +313,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
313
313
|
asset: {
|
|
314
314
|
unit: string;
|
|
315
315
|
type: `${string}:${string}/${string}:${string}`;
|
|
316
|
-
fungible: true;
|
|
317
316
|
amount: string;
|
|
317
|
+
fungible: true;
|
|
318
318
|
} | {
|
|
319
319
|
id: `${string}:${string}/${string}:${string}/${string}`;
|
|
320
320
|
fungible: false;
|
|
@@ -340,8 +340,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
340
340
|
asset: {
|
|
341
341
|
unit: string;
|
|
342
342
|
type: `${string}:${string}/${string}:${string}`;
|
|
343
|
-
fungible: true;
|
|
344
343
|
amount: string;
|
|
344
|
+
fungible: true;
|
|
345
345
|
} | {
|
|
346
346
|
id: `${string}:${string}/${string}:${string}/${string}`;
|
|
347
347
|
fungible: false;
|
|
@@ -351,8 +351,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
351
351
|
asset: {
|
|
352
352
|
unit: string;
|
|
353
353
|
type: `${string}:${string}/${string}:${string}`;
|
|
354
|
-
fungible: true;
|
|
355
354
|
amount: string;
|
|
355
|
+
fungible: true;
|
|
356
356
|
} | {
|
|
357
357
|
id: `${string}:${string}/${string}:${string}/${string}`;
|
|
358
358
|
fungible: false;
|
|
@@ -362,8 +362,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
362
362
|
asset: import("@metamask/superstruct").Struct<{
|
|
363
363
|
unit: string;
|
|
364
364
|
type: `${string}:${string}/${string}:${string}`;
|
|
365
|
-
fungible: true;
|
|
366
365
|
amount: string;
|
|
366
|
+
fungible: true;
|
|
367
367
|
} | {
|
|
368
368
|
id: `${string}:${string}/${string}:${string}/${string}`;
|
|
369
369
|
fungible: false;
|
|
@@ -374,8 +374,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
374
374
|
asset: {
|
|
375
375
|
unit: string;
|
|
376
376
|
type: `${string}:${string}/${string}:${string}`;
|
|
377
|
-
fungible: true;
|
|
378
377
|
amount: string;
|
|
378
|
+
fungible: true;
|
|
379
379
|
} | {
|
|
380
380
|
id: `${string}:${string}/${string}:${string}/${string}`;
|
|
381
381
|
fungible: false;
|
|
@@ -385,8 +385,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
385
385
|
asset: {
|
|
386
386
|
unit: string;
|
|
387
387
|
type: `${string}:${string}/${string}:${string}`;
|
|
388
|
-
fungible: true;
|
|
389
388
|
amount: string;
|
|
389
|
+
fungible: true;
|
|
390
390
|
} | {
|
|
391
391
|
id: `${string}:${string}/${string}:${string}/${string}`;
|
|
392
392
|
fungible: false;
|
|
@@ -396,8 +396,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
396
396
|
asset: import("@metamask/superstruct").Struct<{
|
|
397
397
|
unit: string;
|
|
398
398
|
type: `${string}:${string}/${string}:${string}`;
|
|
399
|
-
fungible: true;
|
|
400
399
|
amount: string;
|
|
400
|
+
fungible: true;
|
|
401
401
|
} | {
|
|
402
402
|
id: `${string}:${string}/${string}:${string}/${string}`;
|
|
403
403
|
fungible: false;
|
|
@@ -408,8 +408,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
408
408
|
asset: {
|
|
409
409
|
unit: string;
|
|
410
410
|
type: `${string}:${string}/${string}:${string}`;
|
|
411
|
-
fungible: true;
|
|
412
411
|
amount: string;
|
|
412
|
+
fungible: true;
|
|
413
413
|
} | {
|
|
414
414
|
id: `${string}:${string}/${string}:${string}/${string}`;
|
|
415
415
|
fungible: false;
|
|
@@ -419,8 +419,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
419
419
|
asset: {
|
|
420
420
|
unit: string;
|
|
421
421
|
type: `${string}:${string}/${string}:${string}`;
|
|
422
|
-
fungible: true;
|
|
423
422
|
amount: string;
|
|
423
|
+
fungible: true;
|
|
424
424
|
} | {
|
|
425
425
|
id: `${string}:${string}/${string}:${string}/${string}`;
|
|
426
426
|
fungible: false;
|
|
@@ -433,8 +433,8 @@ export declare const ListAccountTransactionsResponseStruct: import("@metamask/su
|
|
|
433
433
|
asset: import("@metamask/superstruct").Struct<{
|
|
434
434
|
unit: string;
|
|
435
435
|
type: `${string}:${string}/${string}:${string}`;
|
|
436
|
-
fungible: true;
|
|
437
436
|
amount: string;
|
|
437
|
+
fungible: true;
|
|
438
438
|
} | {
|
|
439
439
|
id: `${string}:${string}/${string}:${string}/${string}`;
|
|
440
440
|
fungible: false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/keyring-api",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0-0b22ddc",
|
|
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": "1.
|
|
49
|
+
"@metamask/keyring-utils": "1.2.0",
|
|
50
50
|
"@metamask/superstruct": "^3.1.0",
|
|
51
51
|
"@metamask/utils": "^11.0.1",
|
|
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": "1.
|
|
58
|
+
"@metamask/keyring-utils": "1.2.0",
|
|
59
59
|
"@ts-bridge/cli": "^0.6.1",
|
|
60
60
|
"@types/jest": "^29.5.12",
|
|
61
61
|
"@types/node": "^20.12.12",
|