@metamask/assets-controllers 102.0.0 → 103.0.0
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 +20 -1
- package/dist/MultichainAssetsController/MultichainAssetsController.cjs +1 -4
- package/dist/MultichainAssetsController/MultichainAssetsController.cjs.map +1 -1
- package/dist/MultichainAssetsController/MultichainAssetsController.d.cts +2 -2
- package/dist/MultichainAssetsController/MultichainAssetsController.d.cts.map +1 -1
- package/dist/MultichainAssetsController/MultichainAssetsController.d.mts +2 -2
- package/dist/MultichainAssetsController/MultichainAssetsController.d.mts.map +1 -1
- package/dist/MultichainAssetsController/MultichainAssetsController.mjs +1 -4
- package/dist/MultichainAssetsController/MultichainAssetsController.mjs.map +1 -1
- package/dist/MultichainAssetsRatesController/MultichainAssetsRatesController.cjs.map +1 -1
- package/dist/MultichainAssetsRatesController/MultichainAssetsRatesController.d.cts +2 -2
- package/dist/MultichainAssetsRatesController/MultichainAssetsRatesController.d.cts.map +1 -1
- package/dist/MultichainAssetsRatesController/MultichainAssetsRatesController.d.mts +2 -2
- package/dist/MultichainAssetsRatesController/MultichainAssetsRatesController.d.mts.map +1 -1
- package/dist/MultichainAssetsRatesController/MultichainAssetsRatesController.mjs.map +1 -1
- package/dist/MultichainBalancesController/MultichainBalancesController.cjs.map +1 -1
- package/dist/MultichainBalancesController/MultichainBalancesController.d.cts +2 -2
- package/dist/MultichainBalancesController/MultichainBalancesController.d.cts.map +1 -1
- package/dist/MultichainBalancesController/MultichainBalancesController.d.mts +2 -2
- package/dist/MultichainBalancesController/MultichainBalancesController.d.mts.map +1 -1
- package/dist/MultichainBalancesController/MultichainBalancesController.mjs.map +1 -1
- package/dist/TokenBalancesController.cjs +73 -39
- package/dist/TokenBalancesController.cjs.map +1 -1
- package/dist/TokenBalancesController.d.cts +20 -5
- package/dist/TokenBalancesController.d.cts.map +1 -1
- package/dist/TokenBalancesController.d.mts +20 -5
- package/dist/TokenBalancesController.d.mts.map +1 -1
- package/dist/TokenBalancesController.mjs +72 -39
- package/dist/TokenBalancesController.mjs.map +1 -1
- package/dist/utils/create-batch-handler.cjs +54 -0
- package/dist/utils/create-batch-handler.cjs.map +1 -0
- package/dist/utils/create-batch-handler.d.cts +16 -0
- package/dist/utils/create-batch-handler.d.cts.map +1 -0
- package/dist/utils/create-batch-handler.d.mts +16 -0
- package/dist/utils/create-batch-handler.d.mts.map +1 -0
- package/dist/utils/create-batch-handler.mjs +51 -0
- package/dist/utils/create-batch-handler.mjs.map +1 -0
- package/package.json +8 -8
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createBatchedHandler = void 0;
|
|
4
|
+
const lodash_1 = require("lodash");
|
|
5
|
+
/**
|
|
6
|
+
* Batched handler: buffers arguments, debounces flush, then runs an aggregator
|
|
7
|
+
* on the buffer and invokes onFlush with the result. Used to coalesce rapid
|
|
8
|
+
* updateBalances calls without dropping params.
|
|
9
|
+
*
|
|
10
|
+
* Each call to the returned function returns a Promise that resolves when the
|
|
11
|
+
* flush that includes that call completes, or rejects if onFlush throws, so
|
|
12
|
+
* callers can await or use .catch() for error handling.
|
|
13
|
+
*
|
|
14
|
+
* @param aggregatorFn - Reduces the buffered items into one.
|
|
15
|
+
* @param timeframeMs - Debounce wait before flushing.
|
|
16
|
+
* @param onFlush - Called with the aggregated result when flush runs.
|
|
17
|
+
* @returns Function that accepts an item, schedules a batched flush, and returns a Promise that settles when that batch completes.
|
|
18
|
+
*/
|
|
19
|
+
function createBatchedHandler(aggregatorFn, timeframeMs, onFlush) {
|
|
20
|
+
let eventBuffer = [];
|
|
21
|
+
let pendingSettlers = [];
|
|
22
|
+
const flush = async () => {
|
|
23
|
+
if (eventBuffer.length === 0) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
const buffer = eventBuffer;
|
|
27
|
+
const settlers = pendingSettlers;
|
|
28
|
+
eventBuffer = [];
|
|
29
|
+
pendingSettlers = [];
|
|
30
|
+
try {
|
|
31
|
+
const merged = aggregatorFn(buffer);
|
|
32
|
+
await onFlush(merged);
|
|
33
|
+
settlers.forEach((settler) => settler.resolve());
|
|
34
|
+
}
|
|
35
|
+
catch (error) {
|
|
36
|
+
settlers.forEach((settler) => settler.reject(error));
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
const debouncedFlush = (0, lodash_1.debounce)(flush, timeframeMs, {
|
|
40
|
+
leading: false,
|
|
41
|
+
trailing: true,
|
|
42
|
+
});
|
|
43
|
+
const capture = (arg) => {
|
|
44
|
+
return new Promise((resolve, reject) => {
|
|
45
|
+
eventBuffer.push(arg);
|
|
46
|
+
pendingSettlers.push({ resolve, reject });
|
|
47
|
+
// eslint-disable-next-line @typescript-eslint/no-floating-promises -- Rejections are forwarded to capture() callers via pendingSettlers.
|
|
48
|
+
debouncedFlush();
|
|
49
|
+
});
|
|
50
|
+
};
|
|
51
|
+
return capture;
|
|
52
|
+
}
|
|
53
|
+
exports.createBatchedHandler = createBatchedHandler;
|
|
54
|
+
//# sourceMappingURL=create-batch-handler.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-batch-handler.cjs","sourceRoot":"","sources":["../../src/utils/create-batch-handler.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AAOlC;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAClC,YAAsC,EACtC,WAAmB,EACnB,OAA+C;IAE/C,IAAI,WAAW,GAAW,EAAE,CAAC;IAC7B,IAAI,eAAe,GAAqB,EAAE,CAAC;IAE3C,MAAM,KAAK,GAAG,KAAK,IAAmB,EAAE;QACtC,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC7B,OAAO;QACT,CAAC;QACD,MAAM,MAAM,GAAG,WAAW,CAAC;QAC3B,MAAM,QAAQ,GAAG,eAAe,CAAC;QACjC,WAAW,GAAG,EAAE,CAAC;QACjB,eAAe,GAAG,EAAE,CAAC;QAErB,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC;YACpC,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;YACtB,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;QACnD,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QACvD,CAAC;IACH,CAAC,CAAC;IAEF,MAAM,cAAc,GAAG,IAAA,iBAAQ,EAAC,KAAK,EAAE,WAAW,EAAE;QAClD,OAAO,EAAE,KAAK;QACd,QAAQ,EAAE,IAAI;KACf,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,CAAC,GAAS,EAAiB,EAAE;QAC3C,OAAO,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YAC3C,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACtB,eAAe,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC;YAC1C,yIAAyI;YACzI,cAAc,EAAE,CAAC;QACnB,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;IAEF,OAAO,OAAO,CAAC;AACjB,CAAC;AAzCD,oDAyCC","sourcesContent":["import { debounce } from 'lodash';\n\ntype PendingSettler = {\n resolve: () => void;\n reject: (reason: unknown) => void;\n};\n\n/**\n * Batched handler: buffers arguments, debounces flush, then runs an aggregator\n * on the buffer and invokes onFlush with the result. Used to coalesce rapid\n * updateBalances calls without dropping params.\n *\n * Each call to the returned function returns a Promise that resolves when the\n * flush that includes that call completes, or rejects if onFlush throws, so\n * callers can await or use .catch() for error handling.\n *\n * @param aggregatorFn - Reduces the buffered items into one.\n * @param timeframeMs - Debounce wait before flushing.\n * @param onFlush - Called with the aggregated result when flush runs.\n * @returns Function that accepts an item, schedules a batched flush, and returns a Promise that settles when that batch completes.\n */\nexport function createBatchedHandler<Item>(\n aggregatorFn: (buffer: Item[]) => Item,\n timeframeMs: number,\n onFlush: (merged: Item) => void | Promise<void>,\n): (arg: Item) => Promise<void> {\n let eventBuffer: Item[] = [];\n let pendingSettlers: PendingSettler[] = [];\n\n const flush = async (): Promise<void> => {\n if (eventBuffer.length === 0) {\n return;\n }\n const buffer = eventBuffer;\n const settlers = pendingSettlers;\n eventBuffer = [];\n pendingSettlers = [];\n\n try {\n const merged = aggregatorFn(buffer);\n await onFlush(merged);\n settlers.forEach((settler) => settler.resolve());\n } catch (error) {\n settlers.forEach((settler) => settler.reject(error));\n }\n };\n\n const debouncedFlush = debounce(flush, timeframeMs, {\n leading: false,\n trailing: true,\n });\n\n const capture = (arg: Item): Promise<void> => {\n return new Promise<void>((resolve, reject) => {\n eventBuffer.push(arg);\n pendingSettlers.push({ resolve, reject });\n // eslint-disable-next-line @typescript-eslint/no-floating-promises -- Rejections are forwarded to capture() callers via pendingSettlers.\n debouncedFlush();\n });\n };\n\n return capture;\n}\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Batched handler: buffers arguments, debounces flush, then runs an aggregator
|
|
3
|
+
* on the buffer and invokes onFlush with the result. Used to coalesce rapid
|
|
4
|
+
* updateBalances calls without dropping params.
|
|
5
|
+
*
|
|
6
|
+
* Each call to the returned function returns a Promise that resolves when the
|
|
7
|
+
* flush that includes that call completes, or rejects if onFlush throws, so
|
|
8
|
+
* callers can await or use .catch() for error handling.
|
|
9
|
+
*
|
|
10
|
+
* @param aggregatorFn - Reduces the buffered items into one.
|
|
11
|
+
* @param timeframeMs - Debounce wait before flushing.
|
|
12
|
+
* @param onFlush - Called with the aggregated result when flush runs.
|
|
13
|
+
* @returns Function that accepts an item, schedules a batched flush, and returns a Promise that settles when that batch completes.
|
|
14
|
+
*/
|
|
15
|
+
export declare function createBatchedHandler<Item>(aggregatorFn: (buffer: Item[]) => Item, timeframeMs: number, onFlush: (merged: Item) => void | Promise<void>): (arg: Item) => Promise<void>;
|
|
16
|
+
//# sourceMappingURL=create-batch-handler.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-batch-handler.d.cts","sourceRoot":"","sources":["../../src/utils/create-batch-handler.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;GAaG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EACvC,YAAY,EAAE,CAAC,MAAM,EAAE,IAAI,EAAE,KAAK,IAAI,EACtC,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,CAAC,MAAM,EAAE,IAAI,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,GAC9C,CAAC,GAAG,EAAE,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,CAqC9B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Batched handler: buffers arguments, debounces flush, then runs an aggregator
|
|
3
|
+
* on the buffer and invokes onFlush with the result. Used to coalesce rapid
|
|
4
|
+
* updateBalances calls without dropping params.
|
|
5
|
+
*
|
|
6
|
+
* Each call to the returned function returns a Promise that resolves when the
|
|
7
|
+
* flush that includes that call completes, or rejects if onFlush throws, so
|
|
8
|
+
* callers can await or use .catch() for error handling.
|
|
9
|
+
*
|
|
10
|
+
* @param aggregatorFn - Reduces the buffered items into one.
|
|
11
|
+
* @param timeframeMs - Debounce wait before flushing.
|
|
12
|
+
* @param onFlush - Called with the aggregated result when flush runs.
|
|
13
|
+
* @returns Function that accepts an item, schedules a batched flush, and returns a Promise that settles when that batch completes.
|
|
14
|
+
*/
|
|
15
|
+
export declare function createBatchedHandler<Item>(aggregatorFn: (buffer: Item[]) => Item, timeframeMs: number, onFlush: (merged: Item) => void | Promise<void>): (arg: Item) => Promise<void>;
|
|
16
|
+
//# sourceMappingURL=create-batch-handler.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-batch-handler.d.mts","sourceRoot":"","sources":["../../src/utils/create-batch-handler.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;GAaG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EACvC,YAAY,EAAE,CAAC,MAAM,EAAE,IAAI,EAAE,KAAK,IAAI,EACtC,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,CAAC,MAAM,EAAE,IAAI,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,GAC9C,CAAC,GAAG,EAAE,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,CAqC9B"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import $lodash from "lodash";
|
|
2
|
+
const { debounce } = $lodash;
|
|
3
|
+
/**
|
|
4
|
+
* Batched handler: buffers arguments, debounces flush, then runs an aggregator
|
|
5
|
+
* on the buffer and invokes onFlush with the result. Used to coalesce rapid
|
|
6
|
+
* updateBalances calls without dropping params.
|
|
7
|
+
*
|
|
8
|
+
* Each call to the returned function returns a Promise that resolves when the
|
|
9
|
+
* flush that includes that call completes, or rejects if onFlush throws, so
|
|
10
|
+
* callers can await or use .catch() for error handling.
|
|
11
|
+
*
|
|
12
|
+
* @param aggregatorFn - Reduces the buffered items into one.
|
|
13
|
+
* @param timeframeMs - Debounce wait before flushing.
|
|
14
|
+
* @param onFlush - Called with the aggregated result when flush runs.
|
|
15
|
+
* @returns Function that accepts an item, schedules a batched flush, and returns a Promise that settles when that batch completes.
|
|
16
|
+
*/
|
|
17
|
+
export function createBatchedHandler(aggregatorFn, timeframeMs, onFlush) {
|
|
18
|
+
let eventBuffer = [];
|
|
19
|
+
let pendingSettlers = [];
|
|
20
|
+
const flush = async () => {
|
|
21
|
+
if (eventBuffer.length === 0) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
const buffer = eventBuffer;
|
|
25
|
+
const settlers = pendingSettlers;
|
|
26
|
+
eventBuffer = [];
|
|
27
|
+
pendingSettlers = [];
|
|
28
|
+
try {
|
|
29
|
+
const merged = aggregatorFn(buffer);
|
|
30
|
+
await onFlush(merged);
|
|
31
|
+
settlers.forEach((settler) => settler.resolve());
|
|
32
|
+
}
|
|
33
|
+
catch (error) {
|
|
34
|
+
settlers.forEach((settler) => settler.reject(error));
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
const debouncedFlush = debounce(flush, timeframeMs, {
|
|
38
|
+
leading: false,
|
|
39
|
+
trailing: true,
|
|
40
|
+
});
|
|
41
|
+
const capture = (arg) => {
|
|
42
|
+
return new Promise((resolve, reject) => {
|
|
43
|
+
eventBuffer.push(arg);
|
|
44
|
+
pendingSettlers.push({ resolve, reject });
|
|
45
|
+
// eslint-disable-next-line @typescript-eslint/no-floating-promises -- Rejections are forwarded to capture() callers via pendingSettlers.
|
|
46
|
+
debouncedFlush();
|
|
47
|
+
});
|
|
48
|
+
};
|
|
49
|
+
return capture;
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=create-batch-handler.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-batch-handler.mjs","sourceRoot":"","sources":["../../src/utils/create-batch-handler.ts"],"names":[],"mappings":";;AAOA;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,oBAAoB,CAClC,YAAsC,EACtC,WAAmB,EACnB,OAA+C;IAE/C,IAAI,WAAW,GAAW,EAAE,CAAC;IAC7B,IAAI,eAAe,GAAqB,EAAE,CAAC;IAE3C,MAAM,KAAK,GAAG,KAAK,IAAmB,EAAE;QACtC,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC7B,OAAO;QACT,CAAC;QACD,MAAM,MAAM,GAAG,WAAW,CAAC;QAC3B,MAAM,QAAQ,GAAG,eAAe,CAAC;QACjC,WAAW,GAAG,EAAE,CAAC;QACjB,eAAe,GAAG,EAAE,CAAC;QAErB,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC;YACpC,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;YACtB,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;QACnD,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QACvD,CAAC;IACH,CAAC,CAAC;IAEF,MAAM,cAAc,GAAG,QAAQ,CAAC,KAAK,EAAE,WAAW,EAAE;QAClD,OAAO,EAAE,KAAK;QACd,QAAQ,EAAE,IAAI;KACf,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,CAAC,GAAS,EAAiB,EAAE;QAC3C,OAAO,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YAC3C,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACtB,eAAe,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC;YAC1C,yIAAyI;YACzI,cAAc,EAAE,CAAC;QACnB,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;IAEF,OAAO,OAAO,CAAC;AACjB,CAAC","sourcesContent":["import { debounce } from 'lodash';\n\ntype PendingSettler = {\n resolve: () => void;\n reject: (reason: unknown) => void;\n};\n\n/**\n * Batched handler: buffers arguments, debounces flush, then runs an aggregator\n * on the buffer and invokes onFlush with the result. Used to coalesce rapid\n * updateBalances calls without dropping params.\n *\n * Each call to the returned function returns a Promise that resolves when the\n * flush that includes that call completes, or rejects if onFlush throws, so\n * callers can await or use .catch() for error handling.\n *\n * @param aggregatorFn - Reduces the buffered items into one.\n * @param timeframeMs - Debounce wait before flushing.\n * @param onFlush - Called with the aggregated result when flush runs.\n * @returns Function that accepts an item, schedules a batched flush, and returns a Promise that settles when that batch completes.\n */\nexport function createBatchedHandler<Item>(\n aggregatorFn: (buffer: Item[]) => Item,\n timeframeMs: number,\n onFlush: (merged: Item) => void | Promise<void>,\n): (arg: Item) => Promise<void> {\n let eventBuffer: Item[] = [];\n let pendingSettlers: PendingSettler[] = [];\n\n const flush = async (): Promise<void> => {\n if (eventBuffer.length === 0) {\n return;\n }\n const buffer = eventBuffer;\n const settlers = pendingSettlers;\n eventBuffer = [];\n pendingSettlers = [];\n\n try {\n const merged = aggregatorFn(buffer);\n await onFlush(merged);\n settlers.forEach((settler) => settler.resolve());\n } catch (error) {\n settlers.forEach((settler) => settler.reject(error));\n }\n };\n\n const debouncedFlush = debounce(flush, timeframeMs, {\n leading: false,\n trailing: true,\n });\n\n const capture = (arg: Item): Promise<void> => {\n return new Promise<void>((resolve, reject) => {\n eventBuffer.push(arg);\n pendingSettlers.push({ resolve, reject });\n // eslint-disable-next-line @typescript-eslint/no-floating-promises -- Rejections are forwarded to capture() callers via pendingSettlers.\n debouncedFlush();\n });\n };\n\n return capture;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask/assets-controllers",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "103.0.0",
|
|
4
4
|
"description": "Controllers which manage interactions involving ERC-20, ERC-721, and ERC-1155 tokens (including NFTs)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"@ethersproject/contracts": "^5.7.0",
|
|
58
58
|
"@ethersproject/providers": "^5.7.0",
|
|
59
59
|
"@metamask/abi-utils": "^2.0.3",
|
|
60
|
-
"@metamask/account-tree-controller": "^
|
|
61
|
-
"@metamask/accounts-controller": "^37.1.
|
|
60
|
+
"@metamask/account-tree-controller": "^7.0.0",
|
|
61
|
+
"@metamask/accounts-controller": "^37.1.1",
|
|
62
62
|
"@metamask/approval-controller": "^9.0.1",
|
|
63
63
|
"@metamask/base-controller": "^9.0.1",
|
|
64
64
|
"@metamask/contract-metadata": "^2.4.0",
|
|
@@ -69,18 +69,18 @@
|
|
|
69
69
|
"@metamask/keyring-controller": "^25.1.1",
|
|
70
70
|
"@metamask/messenger": "^1.0.0",
|
|
71
71
|
"@metamask/metamask-eth-abis": "^3.1.1",
|
|
72
|
-
"@metamask/multichain-account-service": "^8.0.
|
|
72
|
+
"@metamask/multichain-account-service": "^8.0.1",
|
|
73
73
|
"@metamask/network-controller": "^30.0.1",
|
|
74
74
|
"@metamask/network-enablement-controller": "^5.0.1",
|
|
75
75
|
"@metamask/permission-controller": "^12.3.0",
|
|
76
76
|
"@metamask/phishing-controller": "^17.1.0",
|
|
77
77
|
"@metamask/polling-controller": "^16.0.4",
|
|
78
78
|
"@metamask/preferences-controller": "^23.1.0",
|
|
79
|
-
"@metamask/profile-sync-controller": "^28.0.
|
|
79
|
+
"@metamask/profile-sync-controller": "^28.0.2",
|
|
80
80
|
"@metamask/rpc-errors": "^7.0.2",
|
|
81
|
-
"@metamask/snaps-controllers": "^
|
|
82
|
-
"@metamask/snaps-sdk": "^
|
|
83
|
-
"@metamask/snaps-utils": "^
|
|
81
|
+
"@metamask/snaps-controllers": "^19.0.0",
|
|
82
|
+
"@metamask/snaps-sdk": "^11.0.0",
|
|
83
|
+
"@metamask/snaps-utils": "^12.1.2",
|
|
84
84
|
"@metamask/storage-service": "^1.0.1",
|
|
85
85
|
"@metamask/transaction-controller": "^63.3.1",
|
|
86
86
|
"@metamask/utils": "^11.9.0",
|