@metamask-previews/user-operation-controller 41.2.9-preview-8bfa290fb → 42.0.0-preview-0a30e47
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 +22 -2
- package/dist/{BlockTrackerPollingController.d.mts → BlockTrackerPollingController.d.ts} +11 -11
- package/dist/BlockTrackerPollingController.d.ts.map +1 -0
- package/dist/{BlockTrackerPollingController.mjs → BlockTrackerPollingController.js} +17 -19
- package/dist/BlockTrackerPollingController.js.map +1 -0
- package/dist/{UserOperationController-method-action-types.d.cts → UserOperationController-method-action-types.d.ts} +2 -2
- package/dist/UserOperationController-method-action-types.d.ts.map +1 -0
- package/dist/{UserOperationController-method-action-types.mjs → UserOperationController-method-action-types.js} +1 -1
- package/dist/UserOperationController-method-action-types.js.map +1 -0
- package/dist/{UserOperationController.d.cts → UserOperationController.d.ts} +13 -15
- package/dist/UserOperationController.d.ts.map +1 -0
- package/dist/UserOperationController.js +495 -0
- package/dist/UserOperationController.js.map +1 -0
- package/dist/{constants.d.cts → constants.d.ts} +1 -1
- package/dist/constants.d.ts.map +1 -0
- package/dist/{constants.mjs → constants.js} +1 -1
- package/dist/constants.js.map +1 -0
- package/dist/helpers/{Bundler.d.cts → Bundler.d.ts} +2 -2
- package/dist/helpers/Bundler.d.ts.map +1 -0
- package/dist/helpers/Bundler.js +74 -0
- package/dist/helpers/Bundler.js.map +1 -0
- package/dist/helpers/{PendingUserOperationTracker.d.cts → PendingUserOperationTracker.d.ts} +10 -12
- package/dist/helpers/PendingUserOperationTracker.d.ts.map +1 -0
- package/dist/helpers/PendingUserOperationTracker.js +115 -0
- package/dist/helpers/PendingUserOperationTracker.js.map +1 -0
- package/dist/helpers/{SnapSmartContractAccount.d.cts → SnapSmartContractAccount.d.ts} +3 -3
- package/dist/helpers/SnapSmartContractAccount.d.ts.map +1 -0
- package/dist/helpers/SnapSmartContractAccount.js +47 -0
- package/dist/helpers/SnapSmartContractAccount.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/logger.d.ts +4 -0
- package/dist/logger.d.ts.map +1 -0
- package/dist/{logger.mjs → logger.js} +2 -2
- package/dist/logger.js.map +1 -0
- package/dist/{types.d.mts → types.d.ts} +3 -3
- package/dist/types.d.ts.map +1 -0
- package/dist/{types.mjs → types.js} +1 -1
- package/dist/types.js.map +1 -0
- package/dist/utils/{chain-id.d.cts → chain-id.d.ts} +1 -1
- package/dist/utils/chain-id.d.ts.map +1 -0
- package/dist/utils/{chain-id.mjs → chain-id.js} +1 -1
- package/dist/utils/chain-id.js.map +1 -0
- package/dist/utils/{gas-fees.d.cts → gas-fees.d.ts} +6 -6
- package/dist/utils/gas-fees.d.ts.map +1 -0
- package/dist/utils/{gas-fees.mjs → gas-fees.js} +8 -15
- package/dist/utils/gas-fees.js.map +1 -0
- package/dist/utils/{gas.d.mts → gas.d.ts} +2 -2
- package/dist/utils/gas.d.ts.map +1 -0
- package/dist/utils/{gas.mjs → gas.js} +7 -14
- package/dist/utils/gas.js.map +1 -0
- package/dist/utils/{transaction.d.cts → transaction.d.ts} +3 -3
- package/dist/utils/transaction.d.ts.map +1 -0
- package/dist/utils/{transaction.mjs → transaction.js} +6 -13
- package/dist/utils/transaction.js.map +1 -0
- package/dist/utils/{validation.d.cts → validation.d.ts} +3 -3
- package/dist/utils/validation.d.ts.map +1 -0
- package/dist/utils/{validation.mjs → validation.js} +5 -5
- package/dist/utils/validation.js.map +1 -0
- package/package.json +24 -28
- package/dist/BlockTrackerPollingController.cjs +0 -68
- package/dist/BlockTrackerPollingController.cjs.map +0 -1
- package/dist/BlockTrackerPollingController.d.cts +0 -41
- package/dist/BlockTrackerPollingController.d.cts.map +0 -1
- package/dist/BlockTrackerPollingController.d.mts.map +0 -1
- package/dist/BlockTrackerPollingController.mjs.map +0 -1
- package/dist/UserOperationController-method-action-types.cjs +0 -7
- package/dist/UserOperationController-method-action-types.cjs.map +0 -1
- package/dist/UserOperationController-method-action-types.d.cts.map +0 -1
- package/dist/UserOperationController-method-action-types.d.mts +0 -57
- package/dist/UserOperationController-method-action-types.d.mts.map +0 -1
- package/dist/UserOperationController-method-action-types.mjs.map +0 -1
- package/dist/UserOperationController.cjs +0 -495
- package/dist/UserOperationController.cjs.map +0 -1
- package/dist/UserOperationController.d.cts.map +0 -1
- package/dist/UserOperationController.d.mts +0 -136
- package/dist/UserOperationController.d.mts.map +0 -1
- package/dist/UserOperationController.mjs +0 -489
- package/dist/UserOperationController.mjs.map +0 -1
- package/dist/constants.cjs +0 -7
- package/dist/constants.cjs.map +0 -1
- package/dist/constants.d.cts.map +0 -1
- package/dist/constants.d.mts +0 -4
- package/dist/constants.d.mts.map +0 -1
- package/dist/constants.mjs.map +0 -1
- package/dist/helpers/Bundler.cjs +0 -91
- package/dist/helpers/Bundler.cjs.map +0 -1
- package/dist/helpers/Bundler.d.cts.map +0 -1
- package/dist/helpers/Bundler.d.mts +0 -46
- package/dist/helpers/Bundler.d.mts.map +0 -1
- package/dist/helpers/Bundler.mjs +0 -87
- package/dist/helpers/Bundler.mjs.map +0 -1
- package/dist/helpers/PendingUserOperationTracker.cjs +0 -127
- package/dist/helpers/PendingUserOperationTracker.cjs.map +0 -1
- package/dist/helpers/PendingUserOperationTracker.d.cts.map +0 -1
- package/dist/helpers/PendingUserOperationTracker.d.mts +0 -51
- package/dist/helpers/PendingUserOperationTracker.d.mts.map +0 -1
- package/dist/helpers/PendingUserOperationTracker.mjs +0 -127
- package/dist/helpers/PendingUserOperationTracker.mjs.map +0 -1
- package/dist/helpers/SnapSmartContractAccount.cjs +0 -64
- package/dist/helpers/SnapSmartContractAccount.cjs.map +0 -1
- package/dist/helpers/SnapSmartContractAccount.d.cts.map +0 -1
- package/dist/helpers/SnapSmartContractAccount.d.mts +0 -10
- package/dist/helpers/SnapSmartContractAccount.d.mts.map +0 -1
- package/dist/helpers/SnapSmartContractAccount.mjs +0 -60
- package/dist/helpers/SnapSmartContractAccount.mjs.map +0 -1
- package/dist/index.cjs +0 -19
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -4
- package/dist/index.d.cts.map +0 -1
- package/dist/index.d.mts +0 -4
- package/dist/index.d.mts.map +0 -1
- package/dist/index.mjs +0 -3
- package/dist/index.mjs.map +0 -1
- package/dist/logger.cjs +0 -8
- package/dist/logger.cjs.map +0 -1
- package/dist/logger.d.cts +0 -5
- package/dist/logger.d.cts.map +0 -1
- package/dist/logger.d.mts +0 -5
- package/dist/logger.d.mts.map +0 -1
- package/dist/logger.mjs.map +0 -1
- package/dist/types.cjs +0 -16
- package/dist/types.cjs.map +0 -1
- package/dist/types.d.cts +0 -294
- package/dist/types.d.cts.map +0 -1
- package/dist/types.d.mts.map +0 -1
- package/dist/types.mjs.map +0 -1
- package/dist/utils/chain-id.cjs +0 -17
- package/dist/utils/chain-id.cjs.map +0 -1
- package/dist/utils/chain-id.d.cts.map +0 -1
- package/dist/utils/chain-id.d.mts +0 -8
- package/dist/utils/chain-id.d.mts.map +0 -1
- package/dist/utils/chain-id.mjs.map +0 -1
- package/dist/utils/gas-fees.cjs +0 -194
- package/dist/utils/gas-fees.cjs.map +0 -1
- package/dist/utils/gas-fees.d.cts.map +0 -1
- package/dist/utils/gas-fees.d.mts +0 -24
- package/dist/utils/gas-fees.d.mts.map +0 -1
- package/dist/utils/gas-fees.mjs.map +0 -1
- package/dist/utils/gas.cjs +0 -72
- package/dist/utils/gas.cjs.map +0 -1
- package/dist/utils/gas.d.cts +0 -10
- package/dist/utils/gas.d.cts.map +0 -1
- package/dist/utils/gas.d.mts.map +0 -1
- package/dist/utils/gas.mjs.map +0 -1
- package/dist/utils/transaction.cjs +0 -117
- package/dist/utils/transaction.cjs.map +0 -1
- package/dist/utils/transaction.d.cts.map +0 -1
- package/dist/utils/transaction.d.mts +0 -10
- package/dist/utils/transaction.d.mts.map +0 -1
- package/dist/utils/transaction.mjs.map +0 -1
- package/dist/utils/validation.cjs +0 -162
- package/dist/utils/validation.cjs.map +0 -1
- package/dist/utils/validation.d.cts.map +0 -1
- package/dist/utils/validation.d.mts +0 -33
- package/dist/utils/validation.d.mts.map +0 -1
- package/dist/utils/validation.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,8 +9,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
### Changed
|
|
11
11
|
|
|
12
|
-
- Bump
|
|
12
|
+
- Bump `uuid` from `^8.3.2` to `^9.0.1` ([#10117](https://github.com/MetaMask/core/pull/10117))
|
|
13
|
+
|
|
14
|
+
## [42.0.0]
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- **BREAKING:** Drop CommonJS support ([#9536](https://github.com/MetaMask/core/pull/9536))
|
|
19
|
+
- This package is now ESM-only, but can still be used in CommonJS projects via `require(esm)` in modern Node.js versions (22+), or dynamic imports in older Node.js versions.
|
|
20
|
+
- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976))
|
|
21
|
+
- **BREAKING:** Bump TypeScript target to ES2022 ([#10019](https://github.com/MetaMask/core/pull/10019))
|
|
22
|
+
- This package now ships ES2022 code, requiring a compatible modern environment or bundler configuration to consume.
|
|
23
|
+
- Bump `@metamask/transaction-controller` from `^69.6.1` to `^70.0.0` ([#10046](https://github.com/MetaMask/core/pull/10046), [#10080](https://github.com/MetaMask/core/pull/10080), [#10124](https://github.com/MetaMask/core/pull/10124), [#10160](https://github.com/MetaMask/core/pull/10160))
|
|
13
24
|
- Bump `@metamask/utils` from `^11.11.0` to `^11.12.0` ([#10076](https://github.com/MetaMask/core/pull/10076))
|
|
25
|
+
- Bump `@metamask/approval-controller` from `^9.0.2` to `^10.0.0` ([#10160](https://github.com/MetaMask/core/pull/10160))
|
|
26
|
+
- Bump `@metamask/base-controller` from `^9.1.0` to `^10.0.0` ([#10160](https://github.com/MetaMask/core/pull/10160))
|
|
27
|
+
- Bump `@metamask/controller-utils` from `^12.3.0` to `^13.0.0` ([#10160](https://github.com/MetaMask/core/pull/10160))
|
|
28
|
+
- Bump `@metamask/gas-fee-controller` from `^26.3.2` to `^27.0.0` ([#10160](https://github.com/MetaMask/core/pull/10160))
|
|
29
|
+
- Bump `@metamask/keyring-controller` from `^27.1.1` to `^28.0.0` ([#10160](https://github.com/MetaMask/core/pull/10160))
|
|
30
|
+
- Bump `@metamask/messenger` from `^2.0.0` to `^3.0.0` ([#10160](https://github.com/MetaMask/core/pull/10160))
|
|
31
|
+
- Bump `@metamask/network-controller` from `^36.0.0` to `^37.0.0` ([#10160](https://github.com/MetaMask/core/pull/10160))
|
|
32
|
+
- Bump `@metamask/polling-controller` from `^16.0.9` to `^17.0.0` ([#10160](https://github.com/MetaMask/core/pull/10160))
|
|
14
33
|
|
|
15
34
|
## [41.2.9]
|
|
16
35
|
|
|
@@ -666,7 +685,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
666
685
|
|
|
667
686
|
- Initial Release ([#3749](https://github.com/MetaMask/core/pull/3749))
|
|
668
687
|
|
|
669
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/user-operation-controller@
|
|
688
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/user-operation-controller@42.0.0...HEAD
|
|
689
|
+
[42.0.0]: https://github.com/MetaMask/core/compare/@metamask/user-operation-controller@41.2.9...@metamask/user-operation-controller@42.0.0
|
|
670
690
|
[41.2.9]: https://github.com/MetaMask/core/compare/@metamask/user-operation-controller@41.2.8...@metamask/user-operation-controller@41.2.9
|
|
671
691
|
[41.2.8]: https://github.com/MetaMask/core/compare/@metamask/user-operation-controller@41.2.7...@metamask/user-operation-controller@41.2.8
|
|
672
692
|
[41.2.7]: https://github.com/MetaMask/core/compare/@metamask/user-operation-controller@41.2.6...@metamask/user-operation-controller@41.2.7
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BaseController } from
|
|
2
|
-
import type { NetworkClientId, NetworkClient } from
|
|
3
|
-
import { PollingTokenSetId } from
|
|
4
|
-
import type { Json } from
|
|
1
|
+
import { BaseController } from '@metamask/base-controller';
|
|
2
|
+
import type { NetworkClientId, NetworkClient } from '@metamask/network-controller';
|
|
3
|
+
import { PollingTokenSetId } from '@metamask/polling-controller';
|
|
4
|
+
import type { Json } from '@metamask/utils';
|
|
5
5
|
/**
|
|
6
6
|
* The minimum input required to start polling for a {@link BlockTrackerPollingController}.
|
|
7
7
|
* Implementing classes may provide additional properties.
|
|
@@ -12,12 +12,12 @@ export type BlockTrackerPollingInput = {
|
|
|
12
12
|
declare class Empty {
|
|
13
13
|
}
|
|
14
14
|
export declare const BlockTrackerPollingControllerOnly: <PollingInput extends BlockTrackerPollingInput>() => (abstract new (...args: any[]) => {
|
|
15
|
-
|
|
15
|
+
_activeListeners: Record<string, (options: Json) => Promise<void>>;
|
|
16
16
|
_getNetworkClientById(networkClientId: NetworkClientId): NetworkClient | undefined;
|
|
17
17
|
_startPolling(input: PollingInput): void;
|
|
18
18
|
_stopPollingByPollingTokenSetId(key: PollingTokenSetId): void;
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
19
|
+
readonly _pollingTokenSets: Map<PollingTokenSetId, Set<string>>;
|
|
20
|
+
readonly _callbacks: Map<string, Set<(input: PollingInput) => void>>;
|
|
21
21
|
_executePoll(input: PollingInput): Promise<void>;
|
|
22
22
|
startPolling(input: PollingInput): string;
|
|
23
23
|
stopAllPolling(): void;
|
|
@@ -25,12 +25,12 @@ export declare const BlockTrackerPollingControllerOnly: <PollingInput extends Bl
|
|
|
25
25
|
onPollingComplete(input: PollingInput, callback: (input: PollingInput) => void): void;
|
|
26
26
|
}) & typeof Empty;
|
|
27
27
|
export declare const BlockTrackerPollingController: <PollingInput extends BlockTrackerPollingInput>() => (abstract new (...args: any[]) => {
|
|
28
|
-
|
|
28
|
+
_activeListeners: Record<string, (options: Json) => Promise<void>>;
|
|
29
29
|
_getNetworkClientById(networkClientId: NetworkClientId): NetworkClient | undefined;
|
|
30
30
|
_startPolling(input: PollingInput): void;
|
|
31
31
|
_stopPollingByPollingTokenSetId(key: PollingTokenSetId): void;
|
|
32
|
-
readonly
|
|
33
|
-
readonly
|
|
32
|
+
readonly _pollingTokenSets: Map<PollingTokenSetId, Set<string>>;
|
|
33
|
+
readonly _callbacks: Map<string, Set<(input: PollingInput) => void>>;
|
|
34
34
|
_executePoll(input: PollingInput): Promise<void>;
|
|
35
35
|
startPolling(input: PollingInput): string;
|
|
36
36
|
stopAllPolling(): void;
|
|
@@ -38,4 +38,4 @@ export declare const BlockTrackerPollingController: <PollingInput extends BlockT
|
|
|
38
38
|
onPollingComplete(input: PollingInput, callback: (input: PollingInput) => void): void;
|
|
39
39
|
}) & typeof BaseController;
|
|
40
40
|
export {};
|
|
41
|
-
//# sourceMappingURL=BlockTrackerPollingController.d.
|
|
41
|
+
//# sourceMappingURL=BlockTrackerPollingController.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlockTrackerPollingController.d.ts","sourceRoot":"","sources":["../src/BlockTrackerPollingController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EACV,eAAe,EACf,aAAa,EACd,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAIL,iBAAiB,EAClB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,eAAe,EAAE,eAAe,CAAC;CAClC,CAAC;AA4EF,cAAM,KAAK;CAAG;AAEd,eAAO,MAAM,iCAAiC,GAC5C,YAAY,SAAS,wBAAwB;+CAnDA,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC;2CAG9C,eAAe,GAC/B,aAAa,GAAG,SAAS;wCAEQ,IAAI;yCAqBH,iBAAiB,GAAG,IAAI;;;;;;;;iBA4BW,CAAC;AAE7E,eAAO,MAAM,6BAA6B,GACxC,YAAY,SAAS,wBAAwB;+CA1DA,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC;2CAG9C,eAAe,GAC/B,aAAa,GAAG,SAAS;wCAEQ,IAAI;yCAqBH,iBAAiB,GAAG,IAAI;;;;;;;;0BAsC9D,CAAC"}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
|
-
};
|
|
6
|
-
import { BaseController } from "@metamask/base-controller";
|
|
7
|
-
import { AbstractPollingControllerBaseMixin, getKey } from "@metamask/polling-controller";
|
|
1
|
+
import { BaseController } from '@metamask/base-controller';
|
|
2
|
+
import { AbstractPollingControllerBaseMixin, getKey, } from '@metamask/polling-controller';
|
|
8
3
|
/**
|
|
9
4
|
* BlockTrackerPollingControllerMixin
|
|
10
5
|
* A polling controller that polls using a block tracker.
|
|
@@ -16,15 +11,19 @@ import { AbstractPollingControllerBaseMixin, getKey } from "@metamask/polling-co
|
|
|
16
11
|
// the class defined inside the function scope, so this can't be easily typed.
|
|
17
12
|
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type, @typescript-eslint/naming-convention
|
|
18
13
|
function BlockTrackerPollingControllerMixin(Base) {
|
|
19
|
-
var _BlockTrackerPollingController_activeListeners;
|
|
20
14
|
class BlockTrackerPollingController extends AbstractPollingControllerBaseMixin(Base) {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
// This field is public (rather than using `#`) so that declaration
|
|
16
|
+
// emission can describe it. Private/protected members on the class
|
|
17
|
+
// returned by an exported mixin function trigger TS4094, and giving the
|
|
18
|
+
// mixin an explicit return type to work around that breaks consumers
|
|
19
|
+
// that supply the base class's own type arguments via
|
|
20
|
+
// `BlockTrackerPollingController()<Name, State, Messenger>`. The
|
|
21
|
+
// leading underscore signals "internal, do not use" without needing
|
|
22
|
+
// true privacy.
|
|
23
|
+
_activeListeners = {};
|
|
25
24
|
_startPolling(input) {
|
|
26
25
|
const key = getKey(input);
|
|
27
|
-
if (
|
|
26
|
+
if (this._activeListeners[key]) {
|
|
28
27
|
return;
|
|
29
28
|
}
|
|
30
29
|
const networkClient = this._getNetworkClientById(input.networkClientId);
|
|
@@ -33,7 +32,7 @@ function BlockTrackerPollingControllerMixin(Base) {
|
|
|
33
32
|
// TODO: Either fix this lint violation or explain why it's necessary to ignore.
|
|
34
33
|
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
|
35
34
|
networkClient.blockTracker.addListener('latest', updateOnNewBlock);
|
|
36
|
-
|
|
35
|
+
this._activeListeners[key] = updateOnNewBlock;
|
|
37
36
|
}
|
|
38
37
|
else {
|
|
39
38
|
throw new Error(`Unable to retrieve blockTracker for networkClientId ${input.networkClientId}`);
|
|
@@ -42,22 +41,21 @@ function BlockTrackerPollingControllerMixin(Base) {
|
|
|
42
41
|
_stopPollingByPollingTokenSetId(key) {
|
|
43
42
|
const { networkClientId } = JSON.parse(key);
|
|
44
43
|
const networkClient = this._getNetworkClientById(networkClientId);
|
|
45
|
-
if (networkClient &&
|
|
46
|
-
const listener =
|
|
44
|
+
if (networkClient && this._activeListeners[key]) {
|
|
45
|
+
const listener = this._activeListeners[key];
|
|
47
46
|
if (listener) {
|
|
48
47
|
// TODO: Either fix this lint violation or explain why it's necessary to ignore.
|
|
49
48
|
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
|
50
49
|
networkClient.blockTracker.removeListener('latest', listener);
|
|
51
|
-
delete
|
|
50
|
+
delete this._activeListeners[key];
|
|
52
51
|
}
|
|
53
52
|
}
|
|
54
53
|
}
|
|
55
54
|
}
|
|
56
|
-
_BlockTrackerPollingController_activeListeners = new WeakMap();
|
|
57
55
|
return BlockTrackerPollingController;
|
|
58
56
|
}
|
|
59
57
|
class Empty {
|
|
60
58
|
}
|
|
61
59
|
export const BlockTrackerPollingControllerOnly = () => BlockTrackerPollingControllerMixin(Empty);
|
|
62
60
|
export const BlockTrackerPollingController = () => BlockTrackerPollingControllerMixin(BaseController);
|
|
63
|
-
//# sourceMappingURL=BlockTrackerPollingController.
|
|
61
|
+
//# sourceMappingURL=BlockTrackerPollingController.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlockTrackerPollingController.js","sourceRoot":"","sources":["../src/BlockTrackerPollingController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAK3D,OAAO,EACL,kCAAkC,EAClC,MAAM,GAGP,MAAM,8BAA8B,CAAC;AAWtC;;;;;;GAMG;AACH,gFAAgF;AAChF,8EAA8E;AAC9E,kHAAkH;AAClH,SAAS,kCAAkC,CAGzC,IAAW;IACX,MAAe,6BAA8B,SAAQ,kCAAkC,CAGrF,IAAI,CAAC;QACL,mEAAmE;QACnE,mEAAmE;QACnE,wEAAwE;QACxE,qEAAqE;QACrE,sDAAsD;QACtD,iEAAiE;QACjE,oEAAoE;QACpE,gBAAgB;QAChB,gBAAgB,GAAqD,EAAE,CAAC;QAMxE,aAAa,CAAC,KAAmB;YAC/B,MAAM,GAAG,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;YAE1B,IAAI,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,EAAE,CAAC;gBAC/B,OAAO;YACT,CAAC;YAED,MAAM,aAAa,GAAG,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;YACxE,IAAI,aAAa,EAAE,CAAC;gBAClB,MAAM,gBAAgB,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;gBAC7D,gFAAgF;gBAChF,kEAAkE;gBAClE,aAAa,CAAC,YAAY,CAAC,WAAW,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAC;gBACnE,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,GAAG,gBAAgB,CAAC;YAChD,CAAC;iBAAM,CAAC;gBACN,MAAM,IAAI,KAAK,CACb,uDAAuD,KAAK,CAAC,eAAe,EAAE,CAC/E,CAAC;YACJ,CAAC;QACH,CAAC;QAED,+BAA+B,CAAC,GAAsB;YACpD,MAAM,EAAE,eAAe,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5C,MAAM,aAAa,GAAG,IAAI,CAAC,qBAAqB,CAC9C,eAAkC,CACnC,CAAC;YAEF,IAAI,aAAa,IAAI,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,EAAE,CAAC;gBAChD,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;gBAC5C,IAAI,QAAQ,EAAE,CAAC;oBACb,gFAAgF;oBAChF,kEAAkE;oBAClE,aAAa,CAAC,YAAY,CAAC,cAAc,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;oBAC9D,OAAO,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;gBACpC,CAAC;YACH,CAAC;QACH,CAAC;KACF;IAED,OAAO,6BAA6B,CAAC;AACvC,CAAC;AAED,MAAM,KAAK;CAAG;AAEd,MAAM,CAAC,MAAM,iCAAiC,GAAG,GAK7C,EAAE,CAAC,kCAAkC,CAA6B,KAAK,CAAC,CAAC;AAE7E,MAAM,CAAC,MAAM,6BAA6B,GAAG,GAKzC,EAAE,CACJ,kCAAkC,CAChC,cAAc,CACf,CAAC","sourcesContent":["import { BaseController } from '@metamask/base-controller';\nimport type {\n NetworkClientId,\n NetworkClient,\n} from '@metamask/network-controller';\nimport {\n AbstractPollingControllerBaseMixin,\n getKey,\n Constructor,\n PollingTokenSetId,\n} from '@metamask/polling-controller';\nimport type { Json } from '@metamask/utils';\n\n/**\n * The minimum input required to start polling for a {@link BlockTrackerPollingController}.\n * Implementing classes may provide additional properties.\n */\nexport type BlockTrackerPollingInput = {\n networkClientId: NetworkClientId;\n};\n\n/**\n * BlockTrackerPollingControllerMixin\n * A polling controller that polls using a block tracker.\n *\n * @param Base - The base class to mix onto.\n * @returns The composed class.\n */\n// This is a function that's used as class, and the return type is inferred from\n// the class defined inside the function scope, so this can't be easily typed.\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type, @typescript-eslint/naming-convention\nfunction BlockTrackerPollingControllerMixin<\n TBase extends Constructor,\n PollingInput extends BlockTrackerPollingInput,\n>(Base: TBase) {\n abstract class BlockTrackerPollingController extends AbstractPollingControllerBaseMixin<\n TBase,\n PollingInput\n >(Base) {\n // This field is public (rather than using `#`) so that declaration\n // emission can describe it. Private/protected members on the class\n // returned by an exported mixin function trigger TS4094, and giving the\n // mixin an explicit return type to work around that breaks consumers\n // that supply the base class's own type arguments via\n // `BlockTrackerPollingController()<Name, State, Messenger>`. The\n // leading underscore signals \"internal, do not use\" without needing\n // true privacy.\n _activeListeners: Record<string, (options: Json) => Promise<void>> = {};\n\n abstract _getNetworkClientById(\n networkClientId: NetworkClientId,\n ): NetworkClient | undefined;\n\n _startPolling(input: PollingInput): void {\n const key = getKey(input);\n\n if (this._activeListeners[key]) {\n return;\n }\n\n const networkClient = this._getNetworkClientById(input.networkClientId);\n if (networkClient) {\n const updateOnNewBlock = this._executePoll.bind(this, input);\n // TODO: Either fix this lint violation or explain why it's necessary to ignore.\n // eslint-disable-next-line @typescript-eslint/no-misused-promises\n networkClient.blockTracker.addListener('latest', updateOnNewBlock);\n this._activeListeners[key] = updateOnNewBlock;\n } else {\n throw new Error(\n `Unable to retrieve blockTracker for networkClientId ${input.networkClientId}`,\n );\n }\n }\n\n _stopPollingByPollingTokenSetId(key: PollingTokenSetId): void {\n const { networkClientId } = JSON.parse(key);\n const networkClient = this._getNetworkClientById(\n networkClientId as NetworkClientId,\n );\n\n if (networkClient && this._activeListeners[key]) {\n const listener = this._activeListeners[key];\n if (listener) {\n // TODO: Either fix this lint violation or explain why it's necessary to ignore.\n // eslint-disable-next-line @typescript-eslint/no-misused-promises\n networkClient.blockTracker.removeListener('latest', listener);\n delete this._activeListeners[key];\n }\n }\n }\n }\n\n return BlockTrackerPollingController;\n}\n\nclass Empty {}\n\nexport const BlockTrackerPollingControllerOnly = <\n PollingInput extends BlockTrackerPollingInput,\n // The return type is inferred from the class defined inside the function\n // scope, so this can't be easily typed.\n // eslint-disable-next-line @typescript-eslint/explicit-function-return-type\n>() => BlockTrackerPollingControllerMixin<typeof Empty, PollingInput>(Empty);\n\nexport const BlockTrackerPollingController = <\n PollingInput extends BlockTrackerPollingInput,\n // The return type is inferred from the class defined inside the function\n // scope, so this can't be easily typed.\n // eslint-disable-next-line @typescript-eslint/explicit-function-return-type\n>() =>\n BlockTrackerPollingControllerMixin<typeof BaseController, PollingInput>(\n BaseController,\n );\n"]}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file is auto generated.
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
*/
|
|
5
|
-
import type { UserOperationController } from
|
|
5
|
+
import type { UserOperationController } from './UserOperationController.js';
|
|
6
6
|
/**
|
|
7
7
|
* Create and submit a user operation.
|
|
8
8
|
*
|
|
@@ -54,4 +54,4 @@ export type UserOperationControllerStartPollingByNetworkClientIdAction = {
|
|
|
54
54
|
* Union of all UserOperationController action types.
|
|
55
55
|
*/
|
|
56
56
|
export type UserOperationControllerMethodActions = UserOperationControllerAddUserOperationAction | UserOperationControllerAddUserOperationFromTransactionAction | UserOperationControllerStartPollingByNetworkClientIdAction;
|
|
57
|
-
//# sourceMappingURL=UserOperationController-method-action-types.d.
|
|
57
|
+
//# sourceMappingURL=UserOperationController-method-action-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserOperationController-method-action-types.d.ts","sourceRoot":"","sources":["../src/UserOperationController-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAE5E;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,MAAM,6CAA6C,GAAG;IAC1D,IAAI,EAAE,0CAA0C,CAAC;IACjD,OAAO,EAAE,uBAAuB,CAAC,kBAAkB,CAAC,CAAC;CACtD,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,4DAA4D,GAAG;IACzE,IAAI,EAAE,yDAAyD,CAAC;IAChE,OAAO,EAAE,uBAAuB,CAAC,iCAAiC,CAAC,CAAC;CACrE,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,0DAA0D,GAAG;IACvE,IAAI,EAAE,uDAAuD,CAAC;IAC9D,OAAO,EAAE,uBAAuB,CAAC,+BAA+B,CAAC,CAAC;CACnE,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,oCAAoC,GAC5C,6CAA6C,GAC7C,4DAA4D,GAC5D,0DAA0D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserOperationController-method-action-types.js","sourceRoot":"","sources":["../src/UserOperationController-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { UserOperationController } from './UserOperationController.js';\n\n/**\n * Create and submit a user operation.\n *\n * @param request - Information required to create a user operation.\n * @param request.data - Data to include in the resulting transaction.\n * @param request.maxFeePerGas - Maximum fee per gas to pay towards the transaction.\n * @param request.maxPriorityFeePerGas - Maximum priority fee per gas to pay towards the transaction.\n * @param request.to - Destination address of the resulting transaction.\n * @param request.value - Value to include in the resulting transaction.\n * @param options - Configuration options when creating a user operation.\n * @param options.networkClientId - ID of the network client used to query the chain.\n * @param options.origin - Origin of the user operation, such as the hostname of a dApp.\n * @param options.requireApproval - Whether to require user approval before submitting the user operation. Defaults to true.\n * @param options.smartContractAccount - Smart contract abstraction to provide the contract specific values such as call data and nonce. Defaults to the current snap account.\n * @param options.swaps - Swap metadata to record with the user operation.\n * @param options.type - Type of the transaction.\n */\nexport type UserOperationControllerAddUserOperationAction = {\n type: `UserOperationController:addUserOperation`;\n handler: UserOperationController['addUserOperation'];\n};\n\n/**\n * Create and submit a user operation equivalent to the provided transaction.\n *\n * @param transaction - Transaction to use as the basis for the user operation.\n * @param options - Configuration options when creating a user operation.\n * @param options.networkClientId - ID of the network client used to query the chain.\n * @param options.origin - Origin of the user operation, such as the hostname of a dApp.\n * @param options.requireApproval - Whether to require user approval before submitting the user operation. Defaults to true.\n * @param options.smartContractAccount - Smart contract abstraction to provide the contract specific values such as call data and nonce. Defaults to the current snap account.\n * @param options.swaps - Swap metadata to record with the user operation.\n * @param options.type - Type of the transaction.\n */\nexport type UserOperationControllerAddUserOperationFromTransactionAction = {\n type: `UserOperationController:addUserOperationFromTransaction`;\n handler: UserOperationController['addUserOperationFromTransaction'];\n};\n\n/**\n * Starts polling for pending user operations on the given network.\n *\n * @param networkClientId - The ID of the network client to poll.\n * @returns The polling token that can be used to stop polling.\n */\nexport type UserOperationControllerStartPollingByNetworkClientIdAction = {\n type: `UserOperationController:startPollingByNetworkClientId`;\n handler: UserOperationController['startPollingByNetworkClientId'];\n};\n\n/**\n * Union of all UserOperationController action types.\n */\nexport type UserOperationControllerMethodActions =\n | UserOperationControllerAddUserOperationAction\n | UserOperationControllerAddUserOperationFromTransactionAction\n | UserOperationControllerStartPollingByNetworkClientIdAction;\n"]}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import type {
|
|
4
|
-
import {
|
|
5
|
-
import type {
|
|
6
|
-
import type {
|
|
7
|
-
import type {
|
|
8
|
-
import
|
|
9
|
-
import type {
|
|
10
|
-
import
|
|
11
|
-
import type {
|
|
12
|
-
import
|
|
13
|
-
import type { SmartContractAccount, UserOperationMetadata } from "./types.cjs";
|
|
14
|
-
import type { UserOperationControllerMethodActions } from "./UserOperationController-method-action-types.cjs";
|
|
1
|
+
import type { ApprovalControllerAddRequestAction } from '@metamask/approval-controller';
|
|
2
|
+
import { BaseController } from '@metamask/base-controller';
|
|
3
|
+
import type { ControllerGetStateAction, ControllerStateChangeEvent } from '@metamask/base-controller';
|
|
4
|
+
import type { GasFeeState } from '@metamask/gas-fee-controller';
|
|
5
|
+
import type { KeyringControllerPrepareUserOperationAction, KeyringControllerPatchUserOperationAction, KeyringControllerSignUserOperationAction } from '@metamask/keyring-controller';
|
|
6
|
+
import type { Messenger } from '@metamask/messenger';
|
|
7
|
+
import type { NetworkControllerGetNetworkClientByIdAction } from '@metamask/network-controller';
|
|
8
|
+
import { TransactionType } from '@metamask/transaction-controller';
|
|
9
|
+
import type { TransactionMeta, TransactionParams } from '@metamask/transaction-controller';
|
|
10
|
+
import EventEmitter from 'events';
|
|
11
|
+
import type { SmartContractAccount, UserOperationMetadata } from './types.js';
|
|
12
|
+
import type { UserOperationControllerMethodActions } from './UserOperationController-method-action-types.js';
|
|
15
13
|
declare const controllerName = "UserOperationController";
|
|
16
14
|
type Events = {
|
|
17
15
|
'transaction-updated': [metadata: TransactionMeta];
|
|
@@ -133,4 +131,4 @@ export declare class UserOperationController extends BaseController<typeof contr
|
|
|
133
131
|
startPollingByNetworkClientId(networkClientId: string): string;
|
|
134
132
|
}
|
|
135
133
|
export {};
|
|
136
|
-
//# sourceMappingURL=UserOperationController.d.
|
|
134
|
+
//# sourceMappingURL=UserOperationController.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserOperationController.d.ts","sourceRoot":"","sources":["../src/UserOperationController.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,kCAAkC,EAEnC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EACV,wBAAwB,EACxB,0BAA0B,EAC3B,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