@metamask-previews/smart-transactions-controller 19.2.1-preview-520a56d → 24.2.1-preview-be04faa3e
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 +2 -703
- package/README.md +36 -77
- package/dist/SmartTransactionsController-method-action-types.cjs +7 -0
- package/dist/SmartTransactionsController-method-action-types.cjs.map +1 -0
- package/dist/SmartTransactionsController-method-action-types.d.cts +94 -0
- package/dist/SmartTransactionsController-method-action-types.d.cts.map +1 -0
- package/dist/SmartTransactionsController-method-action-types.d.mts +94 -0
- package/dist/SmartTransactionsController-method-action-types.d.mts.map +1 -0
- package/dist/SmartTransactionsController-method-action-types.mjs +6 -0
- package/dist/SmartTransactionsController-method-action-types.mjs.map +1 -0
- package/dist/SmartTransactionsController.cjs +164 -120
- package/dist/SmartTransactionsController.cjs.map +1 -1
- package/dist/SmartTransactionsController.d.cts +45 -25
- package/dist/SmartTransactionsController.d.cts.map +1 -1
- package/dist/SmartTransactionsController.d.mts +45 -25
- package/dist/SmartTransactionsController.d.mts.map +1 -1
- package/dist/SmartTransactionsController.mjs +167 -123
- package/dist/SmartTransactionsController.mjs.map +1 -1
- package/dist/constants.cjs +26 -4
- package/dist/constants.cjs.map +1 -1
- package/dist/constants.d.cts +22 -1
- package/dist/constants.d.cts.map +1 -1
- package/dist/constants.d.mts +22 -1
- package/dist/constants.d.mts.map +1 -1
- package/dist/constants.mjs +25 -3
- package/dist/constants.mjs.map +1 -1
- package/dist/featureFlags/feature-flags.cjs +121 -0
- package/dist/featureFlags/feature-flags.cjs.map +1 -0
- package/dist/featureFlags/feature-flags.d.cts +76 -0
- package/dist/featureFlags/feature-flags.d.cts.map +1 -0
- package/dist/featureFlags/feature-flags.d.mts +76 -0
- package/dist/featureFlags/feature-flags.d.mts.map +1 -0
- package/dist/featureFlags/feature-flags.mjs +114 -0
- package/dist/featureFlags/feature-flags.mjs.map +1 -0
- package/dist/featureFlags/index.cjs +14 -0
- package/dist/featureFlags/index.cjs.map +1 -0
- package/dist/featureFlags/index.d.cts +3 -0
- package/dist/featureFlags/index.d.cts.map +1 -0
- package/dist/featureFlags/index.d.mts +3 -0
- package/dist/featureFlags/index.d.mts.map +1 -0
- package/dist/featureFlags/index.mjs +3 -0
- package/dist/featureFlags/index.mjs.map +1 -0
- package/dist/featureFlags/validators.cjs +128 -0
- package/dist/featureFlags/validators.cjs.map +1 -0
- package/dist/featureFlags/validators.d.cts +148 -0
- package/dist/featureFlags/validators.d.cts.map +1 -0
- package/dist/featureFlags/validators.d.mts +148 -0
- package/dist/featureFlags/validators.d.mts.map +1 -0
- package/dist/featureFlags/validators.mjs +123 -0
- package/dist/featureFlags/validators.mjs.map +1 -0
- package/dist/index.cjs +8 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/dist/selectors.cjs +66 -0
- package/dist/selectors.cjs.map +1 -0
- package/dist/selectors.d.cts +181 -0
- package/dist/selectors.d.cts.map +1 -0
- package/dist/selectors.d.mts +181 -0
- package/dist/selectors.d.mts.map +1 -0
- package/dist/selectors.mjs +63 -0
- package/dist/selectors.mjs.map +1 -0
- package/dist/types.cjs +46 -6
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +85 -11
- package/dist/types.d.cts.map +1 -1
- package/dist/types.d.mts +85 -11
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +45 -5
- package/dist/types.mjs.map +1 -1
- package/dist/utils.cjs +57 -78
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.d.cts +9 -30
- package/dist/utils.d.cts.map +1 -1
- package/dist/utils.d.mts +9 -30
- package/dist/utils.d.mts.map +1 -1
- package/dist/utils.mjs +56 -75
- package/dist/utils.mjs.map +1 -1
- package/package.json +57 -100
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import type { ControllerGetStateAction, ControllerStateChangeEvent } from "@metamask/base-controller
|
|
3
|
-
import {
|
|
2
|
+
import type { ControllerGetStateAction, ControllerStateChangeEvent } from "@metamask/base-controller";
|
|
3
|
+
import type { TraceCallback } from "@metamask/controller-utils";
|
|
4
4
|
import type { Messenger } from "@metamask/messenger";
|
|
5
5
|
import type { NetworkClientId, NetworkControllerGetNetworkClientByIdAction, NetworkControllerGetStateAction, NetworkControllerStateChangeEvent } from "@metamask/network-controller";
|
|
6
|
-
import type {
|
|
6
|
+
import type { AuthenticationControllerGetBearerTokenAction } from "@metamask/profile-sync-controller/auth";
|
|
7
|
+
import type { RemoteFeatureFlagControllerGetStateAction, RemoteFeatureFlagControllerStateChangeEvent } from "@metamask/remote-feature-flag-controller";
|
|
8
|
+
import type { TransactionControllerGetNonceLockAction, TransactionControllerGetTransactionsAction, TransactionControllerUpdateTransactionAction, TransactionMeta, TransactionParams } from "@metamask/transaction-controller";
|
|
9
|
+
import type { Hex } from "@metamask/utils";
|
|
7
10
|
import { MetaMetricsEventCategory, MetaMetricsEventName } from "./constants.mjs";
|
|
8
|
-
import type {
|
|
11
|
+
import type { SmartTransactionsControllerMethodActions } from "./SmartTransactionsController-method-action-types.mjs";
|
|
12
|
+
import type { Fees, IndividualTxFees, SignedCanceledTransaction, SignedTransaction, SignedTransactionWithMetadata, SmartTransaction, SmartTransactionsStatus, UnsignedTransaction, MetaMetricsProps, FeatureFlags, ClientId } from "./types.mjs";
|
|
9
13
|
import { SmartTransactionStatuses } from "./types.mjs";
|
|
10
14
|
import { getSmartTransactionMetricsProperties, getSmartTransactionMetricsSensitiveProperties } from "./utils.mjs";
|
|
11
15
|
export declare const DEFAULT_INTERVAL: number;
|
|
@@ -13,11 +17,11 @@ export declare const DEFAULT_INTERVAL: number;
|
|
|
13
17
|
* The name of the {@link SmartTransactionsController}
|
|
14
18
|
*/
|
|
15
19
|
declare const controllerName = "SmartTransactionsController";
|
|
16
|
-
|
|
20
|
+
type FeeEstimates = {
|
|
17
21
|
approvalTxFees: IndividualTxFees | null;
|
|
18
22
|
tradeTxFees: IndividualTxFees | null;
|
|
19
23
|
};
|
|
20
|
-
export
|
|
24
|
+
export type SmartTransactionsControllerState = {
|
|
21
25
|
smartTransactionsState: {
|
|
22
26
|
smartTransactions: Record<Hex, SmartTransaction[]>;
|
|
23
27
|
userOptIn: boolean | null;
|
|
@@ -34,31 +38,31 @@ export declare type SmartTransactionsControllerState = {
|
|
|
34
38
|
* @returns The default {@link SmartTransactionsController} state.
|
|
35
39
|
*/
|
|
36
40
|
export declare function getDefaultSmartTransactionsControllerState(): SmartTransactionsControllerState;
|
|
37
|
-
export
|
|
41
|
+
export type SmartTransactionsControllerGetStateAction = ControllerGetStateAction<typeof controllerName, SmartTransactionsControllerState>;
|
|
38
42
|
/**
|
|
39
43
|
* The actions that can be performed using the {@link SmartTransactionsController}.
|
|
40
44
|
*/
|
|
41
|
-
export
|
|
42
|
-
|
|
43
|
-
export
|
|
44
|
-
export
|
|
45
|
+
export type SmartTransactionsControllerActions = SmartTransactionsControllerGetStateAction | SmartTransactionsControllerMethodActions;
|
|
46
|
+
type AllowedActions = AuthenticationControllerGetBearerTokenAction | NetworkControllerGetNetworkClientByIdAction | NetworkControllerGetStateAction | RemoteFeatureFlagControllerGetStateAction | TransactionControllerGetNonceLockAction | TransactionControllerGetTransactionsAction | TransactionControllerUpdateTransactionAction;
|
|
47
|
+
export type SmartTransactionsControllerStateChangeEvent = ControllerStateChangeEvent<typeof controllerName, SmartTransactionsControllerState>;
|
|
48
|
+
export type SmartTransactionsControllerSmartTransactionEvent = {
|
|
45
49
|
type: 'SmartTransactionsController:smartTransaction';
|
|
46
50
|
payload: [SmartTransaction];
|
|
47
51
|
};
|
|
48
|
-
export
|
|
52
|
+
export type SmartTransactionsControllerSmartTransactionConfirmationDoneEvent = {
|
|
49
53
|
type: 'SmartTransactionsController:smartTransactionConfirmationDone';
|
|
50
54
|
payload: [SmartTransaction];
|
|
51
55
|
};
|
|
52
56
|
/**
|
|
53
57
|
* The events that {@link SmartTransactionsController} can emit.
|
|
54
58
|
*/
|
|
55
|
-
export
|
|
56
|
-
|
|
59
|
+
export type SmartTransactionsControllerEvents = SmartTransactionsControllerStateChangeEvent | SmartTransactionsControllerSmartTransactionEvent | SmartTransactionsControllerSmartTransactionConfirmationDoneEvent;
|
|
60
|
+
type AllowedEvents = NetworkControllerStateChangeEvent | RemoteFeatureFlagControllerStateChangeEvent;
|
|
57
61
|
/**
|
|
58
62
|
* The messenger of the {@link SmartTransactionsController}.
|
|
59
63
|
*/
|
|
60
|
-
export
|
|
61
|
-
|
|
64
|
+
export type SmartTransactionsControllerMessenger = Messenger<typeof controllerName, SmartTransactionsControllerActions | AllowedActions, SmartTransactionsControllerEvents | AllowedEvents>;
|
|
65
|
+
type SmartTransactionsControllerOptions = {
|
|
62
66
|
interval?: number;
|
|
63
67
|
clientId: ClientId;
|
|
64
68
|
chainId?: Hex;
|
|
@@ -74,31 +78,36 @@ declare type SmartTransactionsControllerOptions = {
|
|
|
74
78
|
state?: Partial<SmartTransactionsControllerState>;
|
|
75
79
|
messenger: SmartTransactionsControllerMessenger;
|
|
76
80
|
getMetaMetricsProps: () => Promise<MetaMetricsProps>;
|
|
77
|
-
|
|
81
|
+
/**
|
|
82
|
+
* @deprecated This option is ignored. Feature flags are now read directly
|
|
83
|
+
* from RemoteFeatureFlagController via the messenger. This option will be
|
|
84
|
+
* removed in a future version.
|
|
85
|
+
*/
|
|
86
|
+
getFeatureFlags?: () => FeatureFlags;
|
|
78
87
|
trace?: TraceCallback;
|
|
79
88
|
};
|
|
80
|
-
export
|
|
89
|
+
export type SmartTransactionsControllerPollingInput = {
|
|
81
90
|
chainIds: Hex[];
|
|
82
91
|
};
|
|
83
92
|
declare const SmartTransactionsController_base: (abstract new (...args: any[]) => {
|
|
84
|
-
readonly "__#
|
|
85
|
-
"__#
|
|
93
|
+
readonly "__#17@#intervalIds": Record<string, NodeJS.Timeout>;
|
|
94
|
+
"__#17@#intervalLength": number | undefined;
|
|
86
95
|
setIntervalLength(intervalLength: number): void;
|
|
87
96
|
getIntervalLength(): number | undefined;
|
|
88
97
|
_startPolling(input: SmartTransactionsControllerPollingInput): void;
|
|
89
98
|
_stopPollingByPollingTokenSetId(key: string): void;
|
|
90
99
|
readonly "__#3@#pollingTokenSets": Map<string, Set<string>>;
|
|
91
|
-
"__#3@#callbacks": Map<string, Set<(input: SmartTransactionsControllerPollingInput) => void>>;
|
|
100
|
+
readonly "__#3@#callbacks": Map<string, Set<(input: SmartTransactionsControllerPollingInput) => void>>;
|
|
92
101
|
_executePoll(input: SmartTransactionsControllerPollingInput): Promise<void>;
|
|
93
102
|
startPolling(input: SmartTransactionsControllerPollingInput): string;
|
|
94
103
|
stopAllPolling(): void;
|
|
95
104
|
stopPollingByPollingToken(pollingToken: string): void;
|
|
96
105
|
onPollingComplete(input: SmartTransactionsControllerPollingInput, callback: (input: SmartTransactionsControllerPollingInput) => void): void;
|
|
97
|
-
}) & typeof import("@metamask/base-controller
|
|
106
|
+
}) & typeof import("@metamask/base-controller").BaseController;
|
|
98
107
|
export declare class SmartTransactionsController extends SmartTransactionsController_base<typeof controllerName, SmartTransactionsControllerState, SmartTransactionsControllerMessenger> {
|
|
99
108
|
#private;
|
|
100
109
|
timeoutHandle?: NodeJS.Timeout;
|
|
101
|
-
constructor({ interval, clientId, chainId: InitialChainId, supportedChainIds, trackMetaMetricsEvent, state, messenger, getMetaMetricsProps,
|
|
110
|
+
constructor({ interval, clientId, chainId: InitialChainId, supportedChainIds, trackMetaMetricsEvent, state, messenger, getMetaMetricsProps, trace, }: SmartTransactionsControllerOptions);
|
|
102
111
|
_executePoll({ chainIds, }: SmartTransactionsControllerPollingInput): Promise<void>;
|
|
103
112
|
checkPoll({ smartTransactionsState: { smartTransactions }, }: SmartTransactionsControllerState): void;
|
|
104
113
|
initializeSmartTransactionsForChainId(): void;
|
|
@@ -122,9 +131,10 @@ export declare class SmartTransactionsController extends SmartTransactionsContro
|
|
|
122
131
|
getFees(tradeTx: UnsignedTransaction, approvalTx?: UnsignedTransaction, { networkClientId }?: {
|
|
123
132
|
networkClientId?: NetworkClientId;
|
|
124
133
|
}): Promise<Fees>;
|
|
125
|
-
submitSignedTransactions({ transactionMeta, txParams, signedTransactions, signedCanceledTransactions, networkClientId, }: {
|
|
134
|
+
submitSignedTransactions({ transactionMeta, txParams, signedTransactions, signedCanceledTransactions, signedTransactionsWithMetadata, networkClientId, }: {
|
|
126
135
|
signedTransactions: SignedTransaction[];
|
|
127
136
|
signedCanceledTransactions?: SignedCanceledTransaction[];
|
|
137
|
+
signedTransactionsWithMetadata?: SignedTransactionWithMetadata[];
|
|
128
138
|
transactionMeta?: TransactionMeta;
|
|
129
139
|
txParams?: TransactionParams;
|
|
130
140
|
networkClientId?: NetworkClientId;
|
|
@@ -132,8 +142,18 @@ export declare class SmartTransactionsController extends SmartTransactionsContro
|
|
|
132
142
|
cancelSmartTransaction(uuid: string, { networkClientId, }?: {
|
|
133
143
|
networkClientId?: NetworkClientId;
|
|
134
144
|
}): Promise<void>;
|
|
135
|
-
|
|
145
|
+
/**
|
|
146
|
+
* Fetches the liveness status of Smart Transactions for a given chain.
|
|
147
|
+
*
|
|
148
|
+
* @param options - The options object.
|
|
149
|
+
* @param options.chainId - The chain ID to fetch liveness for. Preferred over networkClientId.
|
|
150
|
+
* @param options.networkClientId - The network client ID to derive chain ID from.
|
|
151
|
+
* @returns A promise that resolves to the liveness status.
|
|
152
|
+
*/
|
|
153
|
+
fetchLiveness({ networkClientId, chainId: chainIdArg, }?: {
|
|
154
|
+
/** @deprecated Use `chainId` instead. */
|
|
136
155
|
networkClientId?: NetworkClientId;
|
|
156
|
+
chainId?: Hex;
|
|
137
157
|
}): Promise<boolean>;
|
|
138
158
|
setStatusRefreshInterval(interval: number): Promise<void>;
|
|
139
159
|
getTransactions({ addressFrom, status, }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SmartTransactionsController.d.mts","sourceRoot":"","sources":["../src/SmartTransactionsController.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EACV,wBAAwB,EACxB,0BAA0B,EAE3B,
|
|
1
|
+
{"version":3,"file":"SmartTransactionsController.d.mts","sourceRoot":"","sources":["../src/SmartTransactionsController.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EACV,wBAAwB,EACxB,0BAA0B,EAE3B,kCAAkC;AAOnC,OAAO,KAAK,EAAE,aAAa,EAAE,mCAAmC;AAEhE,OAAO,KAAK,EAAE,SAAS,EAAE,4BAA4B;AACrD,OAAO,KAAK,EACV,eAAe,EACf,2CAA2C,EAC3C,+BAA+B,EAC/B,iCAAiC,EAClC,qCAAqC;AAEtC,OAAO,KAAK,EAAE,4CAA4C,EAAE,+CAA+C;AAC3G,OAAO,KAAK,EACV,yCAAyC,EACzC,2CAA2C,EAC5C,iDAAiD;AAClD,OAAO,KAAK,EACV,uCAAuC,EACvC,0CAA0C,EAC1C,4CAA4C,EAC5C,eAAe,EACf,iBAAiB,EAClB,yCAAyC;AAC1C,OAAO,KAAK,EAAE,GAAG,EAAE,wBAAwB;AAI3C,OAAO,EAGL,wBAAwB,EACxB,oBAAoB,EAGrB,wBAAoB;AAMrB,OAAO,KAAK,EAAE,wCAAwC,EAAE,8DAA0D;AAClH,OAAO,KAAK,EACV,IAAI,EACJ,gBAAgB,EAChB,yBAAyB,EACzB,iBAAiB,EACjB,6BAA6B,EAC7B,gBAAgB,EAChB,uBAAuB,EACvB,mBAAmB,EACnB,gBAAgB,EAChB,YAAY,EACZ,QAAQ,EACT,oBAAgB;AACjB,OAAO,EAAW,wBAAwB,EAAE,oBAAgB;AAC5D,OAAO,EAQL,oCAAoC,EACpC,6CAA6C,EAG9C,oBAAgB;AAGjB,eAAO,MAAM,gBAAgB,QAAa,CAAC;AAI3C;;GAEG;AACH,QAAA,MAAM,cAAc,gCAAgC,CAAC;AAWrD,KAAK,YAAY,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