@metamask/bridge-status-controller 70.0.5 → 71.1.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 +58 -8
- package/dist/bridge-status-controller-method-action-types.cjs +7 -0
- package/dist/bridge-status-controller-method-action-types.cjs.map +1 -0
- package/dist/bridge-status-controller-method-action-types.d.cts +38 -0
- package/dist/bridge-status-controller-method-action-types.d.cts.map +1 -0
- package/dist/bridge-status-controller-method-action-types.d.mts +38 -0
- package/dist/bridge-status-controller-method-action-types.d.mts.map +1 -0
- package/dist/bridge-status-controller-method-action-types.mjs +6 -0
- package/dist/bridge-status-controller-method-action-types.mjs.map +1 -0
- package/dist/bridge-status-controller.cjs +217 -123
- package/dist/bridge-status-controller.cjs.map +1 -1
- package/dist/bridge-status-controller.d.cts +4 -1
- package/dist/bridge-status-controller.d.cts.map +1 -1
- package/dist/bridge-status-controller.d.mts +4 -1
- package/dist/bridge-status-controller.d.mts.map +1 -1
- package/dist/bridge-status-controller.mjs +222 -128
- package/dist/bridge-status-controller.mjs.map +1 -1
- package/dist/constants.cjs +2 -1
- package/dist/constants.cjs.map +1 -1
- package/dist/constants.d.cts +1 -0
- package/dist/constants.d.cts.map +1 -1
- package/dist/constants.d.mts +1 -0
- package/dist/constants.d.mts.map +1 -1
- package/dist/constants.mjs +1 -0
- package/dist/constants.mjs.map +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/types.cjs +4 -0
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +21 -18
- package/dist/types.d.cts.map +1 -1
- package/dist/types.d.mts +21 -18
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +4 -0
- package/dist/types.mjs.map +1 -1
- package/dist/utils/accounts.d.cts +1 -1
- package/dist/utils/accounts.d.mts +1 -1
- package/dist/utils/bridge-status.cjs +49 -2
- package/dist/utils/bridge-status.cjs.map +1 -1
- package/dist/utils/bridge-status.d.cts +2 -1
- package/dist/utils/bridge-status.d.cts.map +1 -1
- package/dist/utils/bridge-status.d.mts +2 -1
- package/dist/utils/bridge-status.d.mts.map +1 -1
- package/dist/utils/bridge-status.mjs +48 -2
- package/dist/utils/bridge-status.mjs.map +1 -1
- package/dist/utils/feature-flags.cjs +12 -0
- package/dist/utils/feature-flags.cjs.map +1 -0
- package/dist/utils/feature-flags.d.cts +3 -0
- package/dist/utils/feature-flags.d.cts.map +1 -0
- package/dist/utils/feature-flags.d.mts +3 -0
- package/dist/utils/feature-flags.d.mts.map +1 -0
- package/dist/utils/feature-flags.mjs +8 -0
- package/dist/utils/feature-flags.mjs.map +1 -0
- package/dist/utils/history.cjs +48 -3
- package/dist/utils/history.cjs.map +1 -1
- package/dist/utils/history.d.cts +19 -1
- package/dist/utils/history.d.cts.map +1 -1
- package/dist/utils/history.d.mts +19 -1
- package/dist/utils/history.d.mts.map +1 -1
- package/dist/utils/history.mjs +45 -3
- package/dist/utils/history.mjs.map +1 -1
- package/dist/utils/intent-api.cjs.map +1 -1
- package/dist/utils/intent-api.d.cts +1 -1
- package/dist/utils/intent-api.d.cts.map +1 -1
- package/dist/utils/intent-api.d.mts +1 -1
- package/dist/utils/intent-api.d.mts.map +1 -1
- package/dist/utils/intent-api.mjs.map +1 -1
- package/dist/utils/metrics.cjs +45 -8
- package/dist/utils/metrics.cjs.map +1 -1
- package/dist/utils/metrics.d.cts +37 -6
- package/dist/utils/metrics.d.cts.map +1 -1
- package/dist/utils/metrics.d.mts +37 -6
- package/dist/utils/metrics.d.mts.map +1 -1
- package/dist/utils/metrics.mjs +44 -8
- package/dist/utils/metrics.mjs.map +1 -1
- package/dist/utils/network.cjs +7 -1
- package/dist/utils/network.cjs.map +1 -1
- package/dist/utils/network.d.cts +4 -2
- package/dist/utils/network.d.cts.map +1 -1
- package/dist/utils/network.d.mts +4 -2
- package/dist/utils/network.d.mts.map +1 -1
- package/dist/utils/network.mjs +5 -0
- package/dist/utils/network.mjs.map +1 -1
- package/dist/utils/transaction.cjs +10 -9
- package/dist/utils/transaction.cjs.map +1 -1
- package/dist/utils/transaction.d.cts +3 -0
- package/dist/utils/transaction.d.cts.map +1 -1
- package/dist/utils/transaction.d.mts +3 -0
- package/dist/utils/transaction.d.mts.map +1 -1
- package/dist/utils/transaction.mjs +8 -8
- package/dist/utils/transaction.mjs.map +1 -1
- package/dist/utils/validators.d.cts +2 -2
- package/dist/utils/validators.d.mts +2 -2
- package/package.json +22 -20
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,50 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [71.1.0]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Add optional `tokenSecurityTypeDestination?: string \| null` to `BridgeHistoryItem`, `StartPollingForBridgeTxStatusArgs[Serialized]`, and the `submitTx` / `submitIntent` arguments; when provided, it's persisted on the history item and emitted as `token_security_type_destination` on post-submit analytics events ([#8595](https://github.com/MetaMask/core/pull/8595))
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- Bump `@metamask/transaction-controller` from `^64.3.0` to `^65.0.0` ([#8585](https://github.com/MetaMask/core/pull/8585), [#8613](https://github.com/MetaMask/core/pull/8613))
|
|
19
|
+
- Bump `@metamask/bridge-controller` from `^70.2.0` to `^71.0.0` ([#8622](https://github.com/MetaMask/core/pull/8622))
|
|
20
|
+
|
|
21
|
+
## [71.0.0]
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
|
|
25
|
+
- Remove stale bridge transactions from `txHistory` to prevent excessive polling. Once a history item exceeds the configured maximum age, the status is fetched once, then the src tx hash's receipt is retrieved. If there is no receipt, the history item's hash is presumed to be invalid and the entry is deleted from state. ([#8479](https://github.com/MetaMask/core/pull/8479))
|
|
26
|
+
- Add missing action types for public `BridgeStatusController` methods ([#8367](https://github.com/MetaMask/core/pull/8367))
|
|
27
|
+
- The following types are now available:
|
|
28
|
+
- `BridgeStatusControllerSubmitTxAction`
|
|
29
|
+
- `BridgeStatusControllerSubmitIntentAction`
|
|
30
|
+
- `BridgeStatusControllerGetBridgeHistoryItemByTxMetaIdAction`
|
|
31
|
+
|
|
32
|
+
### Changed
|
|
33
|
+
|
|
34
|
+
- **BREAKING:** Replace `transactionFailed` and `transactionConfirmed` event subscriptions with `TransactionController:transactionStatusUpdated` ([#8479](https://github.com/MetaMask/core/pull/8479))
|
|
35
|
+
- **BREAKING:** Add `RemoteFeatureFlags:getState` to allowed actions to retrieve max history item age config ([#8479](https://github.com/MetaMask/core/pull/8479))
|
|
36
|
+
- Add `account_hardware_type` field to all cross-chain swap analytics events ([#8503](https://github.com/MetaMask/core/pull/8503))
|
|
37
|
+
- `account_hardware_type` carries the specific hardware wallet brand (e.g. `'Ledger'`, `'QR Hardware'`) or `null` for software wallets
|
|
38
|
+
- `is_hardware_wallet` is now derived from `account_hardware_type !== null`, keeping both fields in sync
|
|
39
|
+
- `getEVMTxPropertiesFromTransactionMeta` now accepts an optional `account` parameter to populate `account_hardware_type` for `TransactionController:transactionFailed` events ([#8503](https://github.com/MetaMask/core/pull/8503))
|
|
40
|
+
- Bump `@metamask/accounts-controller` from `^37.1.1` to `^37.2.0` ([#8363](https://github.com/MetaMask/core/pull/8363))
|
|
41
|
+
- Bump `@metamask/keyring-controller` from `^25.1.1` to `^25.2.0` ([#8363](https://github.com/MetaMask/core/pull/8363))
|
|
42
|
+
- Bump `@metamask/messenger` from `^1.0.0` to `^1.1.1` ([#8364](https://github.com/MetaMask/core/pull/8364), [#8373](https://github.com/MetaMask/core/pull/8373))
|
|
43
|
+
- Bump `@metamask/transaction-controller` from `^64.0.0` to `^64.3.0` ([#8432](https://github.com/MetaMask/core/pull/8432), [#8447](https://github.com/MetaMask/core/pull/8447), [#8482](https://github.com/MetaMask/core/pull/8482))
|
|
44
|
+
- Bump `@metamask/base-controller` from `^9.0.1` to `^9.1.0` ([#8457](https://github.com/MetaMask/core/pull/8457))
|
|
45
|
+
- Bump `@metamask/bridge-controller` from `^70.0.1` to `^70.2.0` ([#8466](https://github.com/MetaMask/core/pull/8466), [#8474](https://github.com/MetaMask/core/pull/8474), [#8571](https://github.com/MetaMask/core/pull/8571))
|
|
46
|
+
|
|
47
|
+
### Fixed
|
|
48
|
+
|
|
49
|
+
- Prevent invalid src hashes from being persisted in `txHistory` ([#8479](https://github.com/MetaMask/core/pull/8479))
|
|
50
|
+
- Make transaction status subscribers generic so that `txHistory` items get updated if there are any transaction updates matching by actionId, txMetaId, hash or type
|
|
51
|
+
- Skip saving smart transaction hashes on transaction submission. This used to make it possible for invalid src hashes to be stored in state and polled indefinitely. Instead, the txHistory item will now be updated with the confirmed tx hash when the `transactionStatusUpdated` event is published
|
|
52
|
+
- If there is no srcTxHash in state, attempt to set it based on the local TransactionController state
|
|
53
|
+
|
|
10
54
|
## [70.0.5]
|
|
11
55
|
|
|
12
56
|
### Changed
|
|
@@ -16,6 +60,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
16
60
|
- Add missing `@metamask/messenger` dependency ([#8318](https://github.com/MetaMask/core/pull/8318))
|
|
17
61
|
- Bump `@metamask/controller-utils` from `^11.19.0` to `^11.20.0` ([#8344](https://github.com/MetaMask/core/pull/8344))
|
|
18
62
|
|
|
63
|
+
### Deprecated
|
|
64
|
+
|
|
65
|
+
- Deprecate `BridgeStatusAction` in favor of separate action types ([#8367](https://github.com/MetaMask/core/pull/8367))
|
|
66
|
+
|
|
19
67
|
## [70.0.4]
|
|
20
68
|
|
|
21
69
|
### Changed
|
|
@@ -106,7 +154,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
106
154
|
|
|
107
155
|
### Changed
|
|
108
156
|
|
|
109
|
-
- Bump `@metamask/transaction-controller` from `^62.19.0` to `^62.21.0
|
|
157
|
+
- Bump `@metamask/transaction-controller` from `^62.19.0` to `^62.21.0`, ([#8104](https://github.com/MetaMask/core/pull/8104), [#8140](https://github.com/MetaMask/core/pull/8140))
|
|
110
158
|
- Bump `@metamask/accounts-controller` from `^36.0.1` to `^37.0.0` ([8140](https://github.com/MetaMask/core/pull/8140))
|
|
111
159
|
- Bump `@metamask/bridge-controller` from `^68.0.0` to `^69.0.0` ([8140](https://github.com/MetaMask/core/pull/8140))
|
|
112
160
|
|
|
@@ -171,8 +219,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
171
219
|
### Changed
|
|
172
220
|
|
|
173
221
|
- Bump `@metamask/accounts-controller` from `^35.0.2` to `^36.0.0` ([#7897](https://github.com/MetaMask/core/pull/7897))
|
|
174
|
-
- Bump `@metamask/bridge-controller` from `^65.3.0` to `^66.1.0
|
|
175
|
-
- Bump `@metamask/transaction-controller` from `^62.14.0` to `^62.17.0
|
|
222
|
+
- Bump `@metamask/bridge-controller` from `^65.3.0` to `^66.1.0`, ([#7862](https://github.com/MetaMask/core/pull/7862), [#7897](https://github.com/MetaMask/core/pull/7897))
|
|
223
|
+
- Bump `@metamask/transaction-controller` from `^62.14.0` to `^62.17.0`, ([#7854](https://github.com/MetaMask/core/pull/7854), [#7872](https://github.com/MetaMask/core/pull/7872), [#7897](https://github.com/MetaMask/core/pull/7897))
|
|
176
224
|
|
|
177
225
|
## [66.0.0]
|
|
178
226
|
|
|
@@ -537,7 +585,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
537
585
|
|
|
538
586
|
### Changed
|
|
539
587
|
|
|
540
|
-
- Bump `@metamask/bridge-controller` from `^44.0.1` to `^45.0.0` ([#6716](https://github.com/MetaMask/core/pull/6716), [#6629](https://github.com/MetaMask/core/pull/
|
|
588
|
+
- Bump `@metamask/bridge-controller` from `^44.0.1` to `^45.0.0` ([#6716](https://github.com/MetaMask/core/pull/6716), [#6629](https://github.com/MetaMask/core/pull/6629))
|
|
541
589
|
|
|
542
590
|
## [44.1.0]
|
|
543
591
|
|
|
@@ -678,7 +726,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
678
726
|
|
|
679
727
|
- **BREAKING:** Bump peer dependency `@metamask/accounts-controller` to `^32.0.0` ([#6171](https://github.com/MetaMask/core/pull/6171))
|
|
680
728
|
- **BREAKING:** Bump peer dependency `@metamask/bridge-controller` to `^37.0.0` ([#6171](https://github.com/MetaMask/core/pull/6171))
|
|
681
|
-
- **BREAKING:** Bump peer dependency `@metamask/transaction-controller` to `^59.0.0
|
|
729
|
+
- **BREAKING:** Bump peer dependency `@metamask/transaction-controller` to `^59.0.0`, ([#6171](https://github.com/MetaMask/core/pull/6171), [#6027](https://github.com/MetaMask/core/pull/6027))
|
|
682
730
|
|
|
683
731
|
## [36.1.0]
|
|
684
732
|
|
|
@@ -993,7 +1041,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
993
1041
|
|
|
994
1042
|
### Changed
|
|
995
1043
|
|
|
996
|
-
- **BREAKING** Change `@metamask/bridge-controller` from dependency to peer dependency and bump to `^16.0.0` ([#5657](https://github.com/MetaMask/core/pull/5657), [#5665](https://github.com/MetaMask/core/pull/5665), [#5643](https://github.com/MetaMask/core/pull/5643) [#5672](https://github.com/MetaMask/core/pull/5672))
|
|
1044
|
+
- **BREAKING** Change `@metamask/bridge-controller` from dependency to peer dependency and bump to `^16.0.0` ([#5657](https://github.com/MetaMask/core/pull/5657), [#5665](https://github.com/MetaMask/core/pull/5665), [#5643](https://github.com/MetaMask/core/pull/5643), [#5672](https://github.com/MetaMask/core/pull/5672))
|
|
997
1045
|
- Add optional config.customBridgeApiBaseUrl constructor arg to set the bridge-api base URL ([#5634](https://github.com/MetaMask/core/pull/5634))
|
|
998
1046
|
- Add required `addTransactionFn` and `estimateGasFeeFn` args to the BridgeStatusController constructor to enable calling TransactionController's methods from `submitTx` ([#5643](https://github.com/MetaMask/core/pull/5643))
|
|
999
1047
|
- Add optional `addUserOperationFromTransactionFn` arg to the BridgeStatusController constructor to enable submitting txs from smart accounts using the UserOperationController's addUserOperationFromTransaction method ([#5643](https://github.com/MetaMask/core/pull/5643))
|
|
@@ -1020,7 +1068,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1020
1068
|
|
|
1021
1069
|
- **BREAKING:** Bump `@metamask/transaction-controller` peer dependency to `^53.0.0` ([#5585](https://github.com/MetaMask/core/pull/5585))
|
|
1022
1070
|
- Bump `@metamask/bridge-controller` dependency to `^11.0.0` ([#5525](https://github.com/MetaMask/core/pull/5525))
|
|
1023
|
-
- **BREAKING:** Change controller to fetch multichain address instead of EVM ([#5554](https://github.com/MetaMask/core/pull/
|
|
1071
|
+
- **BREAKING:** Change controller to fetch multichain address instead of EVM ([#5554](https://github.com/MetaMask/core/pull/5554))
|
|
1024
1072
|
|
|
1025
1073
|
## [10.0.0]
|
|
1026
1074
|
|
|
@@ -1098,7 +1146,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1098
1146
|
|
|
1099
1147
|
- Initial release ([#5317](https://github.com/MetaMask/core/pull/5317))
|
|
1100
1148
|
|
|
1101
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/bridge-status-controller@
|
|
1149
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/bridge-status-controller@71.1.0...HEAD
|
|
1150
|
+
[71.1.0]: https://github.com/MetaMask/core/compare/@metamask/bridge-status-controller@71.0.0...@metamask/bridge-status-controller@71.1.0
|
|
1151
|
+
[71.0.0]: https://github.com/MetaMask/core/compare/@metamask/bridge-status-controller@70.0.5...@metamask/bridge-status-controller@71.0.0
|
|
1102
1152
|
[70.0.5]: https://github.com/MetaMask/core/compare/@metamask/bridge-status-controller@70.0.4...@metamask/bridge-status-controller@70.0.5
|
|
1103
1153
|
[70.0.4]: https://github.com/MetaMask/core/compare/@metamask/bridge-status-controller@70.0.3...@metamask/bridge-status-controller@70.0.4
|
|
1104
1154
|
[70.0.3]: https://github.com/MetaMask/core/compare/@metamask/bridge-status-controller@70.0.2...@metamask/bridge-status-controller@70.0.3
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bridge-status-controller-method-action-types.cjs","sourceRoot":"","sources":["../src/bridge-status-controller-method-action-types.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { BridgeStatusController } from './bridge-status-controller';\n\nexport type BridgeStatusControllerStartPollingForBridgeTxStatusAction = {\n type: `BridgeStatusController:startPollingForBridgeTxStatus`;\n handler: BridgeStatusController['startPollingForBridgeTxStatus'];\n};\n\nexport type BridgeStatusControllerWipeBridgeStatusAction = {\n type: `BridgeStatusController:wipeBridgeStatus`;\n handler: BridgeStatusController['wipeBridgeStatus'];\n};\n\nexport type BridgeStatusControllerResetStateAction = {\n type: `BridgeStatusController:resetState`;\n handler: BridgeStatusController['resetState'];\n};\n\nexport type BridgeStatusControllerSubmitTxAction = {\n type: `BridgeStatusController:submitTx`;\n handler: BridgeStatusController['submitTx'];\n};\n\nexport type BridgeStatusControllerSubmitIntentAction = {\n type: `BridgeStatusController:submitIntent`;\n handler: BridgeStatusController['submitIntent'];\n};\n\nexport type BridgeStatusControllerRestartPollingForFailedAttemptsAction = {\n type: `BridgeStatusController:restartPollingForFailedAttempts`;\n handler: BridgeStatusController['restartPollingForFailedAttempts'];\n};\n\nexport type BridgeStatusControllerGetBridgeHistoryItemByTxMetaIdAction = {\n type: `BridgeStatusController:getBridgeHistoryItemByTxMetaId`;\n handler: BridgeStatusController['getBridgeHistoryItemByTxMetaId'];\n};\n\n/**\n * Union of all BridgeStatusController action types.\n */\nexport type BridgeStatusControllerMethodActions =\n | BridgeStatusControllerStartPollingForBridgeTxStatusAction\n | BridgeStatusControllerWipeBridgeStatusAction\n | BridgeStatusControllerResetStateAction\n | BridgeStatusControllerSubmitTxAction\n | BridgeStatusControllerSubmitIntentAction\n | BridgeStatusControllerRestartPollingForFailedAttemptsAction\n | BridgeStatusControllerGetBridgeHistoryItemByTxMetaIdAction;\n"]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is auto generated.
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
*/
|
|
5
|
+
import type { BridgeStatusController } from "./bridge-status-controller.cjs";
|
|
6
|
+
export type BridgeStatusControllerStartPollingForBridgeTxStatusAction = {
|
|
7
|
+
type: `BridgeStatusController:startPollingForBridgeTxStatus`;
|
|
8
|
+
handler: BridgeStatusController['startPollingForBridgeTxStatus'];
|
|
9
|
+
};
|
|
10
|
+
export type BridgeStatusControllerWipeBridgeStatusAction = {
|
|
11
|
+
type: `BridgeStatusController:wipeBridgeStatus`;
|
|
12
|
+
handler: BridgeStatusController['wipeBridgeStatus'];
|
|
13
|
+
};
|
|
14
|
+
export type BridgeStatusControllerResetStateAction = {
|
|
15
|
+
type: `BridgeStatusController:resetState`;
|
|
16
|
+
handler: BridgeStatusController['resetState'];
|
|
17
|
+
};
|
|
18
|
+
export type BridgeStatusControllerSubmitTxAction = {
|
|
19
|
+
type: `BridgeStatusController:submitTx`;
|
|
20
|
+
handler: BridgeStatusController['submitTx'];
|
|
21
|
+
};
|
|
22
|
+
export type BridgeStatusControllerSubmitIntentAction = {
|
|
23
|
+
type: `BridgeStatusController:submitIntent`;
|
|
24
|
+
handler: BridgeStatusController['submitIntent'];
|
|
25
|
+
};
|
|
26
|
+
export type BridgeStatusControllerRestartPollingForFailedAttemptsAction = {
|
|
27
|
+
type: `BridgeStatusController:restartPollingForFailedAttempts`;
|
|
28
|
+
handler: BridgeStatusController['restartPollingForFailedAttempts'];
|
|
29
|
+
};
|
|
30
|
+
export type BridgeStatusControllerGetBridgeHistoryItemByTxMetaIdAction = {
|
|
31
|
+
type: `BridgeStatusController:getBridgeHistoryItemByTxMetaId`;
|
|
32
|
+
handler: BridgeStatusController['getBridgeHistoryItemByTxMetaId'];
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Union of all BridgeStatusController action types.
|
|
36
|
+
*/
|
|
37
|
+
export type BridgeStatusControllerMethodActions = BridgeStatusControllerStartPollingForBridgeTxStatusAction | BridgeStatusControllerWipeBridgeStatusAction | BridgeStatusControllerResetStateAction | BridgeStatusControllerSubmitTxAction | BridgeStatusControllerSubmitIntentAction | BridgeStatusControllerRestartPollingForFailedAttemptsAction | BridgeStatusControllerGetBridgeHistoryItemByTxMetaIdAction;
|
|
38
|
+
//# sourceMappingURL=bridge-status-controller-method-action-types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bridge-status-controller-method-action-types.d.cts","sourceRoot":"","sources":["../src/bridge-status-controller-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,sBAAsB,EAAE,uCAAmC;AAEzE,MAAM,MAAM,yDAAyD,GAAG;IACtE,IAAI,EAAE,sDAAsD,CAAC;IAC7D,OAAO,EAAE,sBAAsB,CAAC,+BAA+B,CAAC,CAAC;CAClE,CAAC;AAEF,MAAM,MAAM,4CAA4C,GAAG;IACzD,IAAI,EAAE,yCAAyC,CAAC;IAChD,OAAO,EAAE,sBAAsB,CAAC,kBAAkB,CAAC,CAAC;CACrD,CAAC;AAEF,MAAM,MAAM,sCAAsC,GAAG;IACnD,IAAI,EAAE,mCAAmC,CAAC;IAC1C,OAAO,EAAE,sBAAsB,CAAC,YAAY,CAAC,CAAC;CAC/C,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG;IACjD,IAAI,EAAE,iCAAiC,CAAC;IACxC,OAAO,EAAE,sBAAsB,CAAC,UAAU,CAAC,CAAC;CAC7C,CAAC;AAEF,MAAM,MAAM,wCAAwC,GAAG;IACrD,IAAI,EAAE,qCAAqC,CAAC;IAC5C,OAAO,EAAE,sBAAsB,CAAC,cAAc,CAAC,CAAC;CACjD,CAAC;AAEF,MAAM,MAAM,2DAA2D,GAAG;IACxE,IAAI,EAAE,wDAAwD,CAAC;IAC/D,OAAO,EAAE,sBAAsB,CAAC,iCAAiC,CAAC,CAAC;CACpE,CAAC;AAEF,MAAM,MAAM,0DAA0D,GAAG;IACvE,IAAI,EAAE,uDAAuD,CAAC;IAC9D,OAAO,EAAE,sBAAsB,CAAC,gCAAgC,CAAC,CAAC;CACnE,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,mCAAmC,GAC3C,yDAAyD,GACzD,4CAA4C,GAC5C,sCAAsC,GACtC,oCAAoC,GACpC,wCAAwC,GACxC,2DAA2D,GAC3D,0DAA0D,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is auto generated.
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
*/
|
|
5
|
+
import type { BridgeStatusController } from "./bridge-status-controller.mjs";
|
|
6
|
+
export type BridgeStatusControllerStartPollingForBridgeTxStatusAction = {
|
|
7
|
+
type: `BridgeStatusController:startPollingForBridgeTxStatus`;
|
|
8
|
+
handler: BridgeStatusController['startPollingForBridgeTxStatus'];
|
|
9
|
+
};
|
|
10
|
+
export type BridgeStatusControllerWipeBridgeStatusAction = {
|
|
11
|
+
type: `BridgeStatusController:wipeBridgeStatus`;
|
|
12
|
+
handler: BridgeStatusController['wipeBridgeStatus'];
|
|
13
|
+
};
|
|
14
|
+
export type BridgeStatusControllerResetStateAction = {
|
|
15
|
+
type: `BridgeStatusController:resetState`;
|
|
16
|
+
handler: BridgeStatusController['resetState'];
|
|
17
|
+
};
|
|
18
|
+
export type BridgeStatusControllerSubmitTxAction = {
|
|
19
|
+
type: `BridgeStatusController:submitTx`;
|
|
20
|
+
handler: BridgeStatusController['submitTx'];
|
|
21
|
+
};
|
|
22
|
+
export type BridgeStatusControllerSubmitIntentAction = {
|
|
23
|
+
type: `BridgeStatusController:submitIntent`;
|
|
24
|
+
handler: BridgeStatusController['submitIntent'];
|
|
25
|
+
};
|
|
26
|
+
export type BridgeStatusControllerRestartPollingForFailedAttemptsAction = {
|
|
27
|
+
type: `BridgeStatusController:restartPollingForFailedAttempts`;
|
|
28
|
+
handler: BridgeStatusController['restartPollingForFailedAttempts'];
|
|
29
|
+
};
|
|
30
|
+
export type BridgeStatusControllerGetBridgeHistoryItemByTxMetaIdAction = {
|
|
31
|
+
type: `BridgeStatusController:getBridgeHistoryItemByTxMetaId`;
|
|
32
|
+
handler: BridgeStatusController['getBridgeHistoryItemByTxMetaId'];
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Union of all BridgeStatusController action types.
|
|
36
|
+
*/
|
|
37
|
+
export type BridgeStatusControllerMethodActions = BridgeStatusControllerStartPollingForBridgeTxStatusAction | BridgeStatusControllerWipeBridgeStatusAction | BridgeStatusControllerResetStateAction | BridgeStatusControllerSubmitTxAction | BridgeStatusControllerSubmitIntentAction | BridgeStatusControllerRestartPollingForFailedAttemptsAction | BridgeStatusControllerGetBridgeHistoryItemByTxMetaIdAction;
|
|
38
|
+
//# sourceMappingURL=bridge-status-controller-method-action-types.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bridge-status-controller-method-action-types.d.mts","sourceRoot":"","sources":["../src/bridge-status-controller-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,sBAAsB,EAAE,uCAAmC;AAEzE,MAAM,MAAM,yDAAyD,GAAG;IACtE,IAAI,EAAE,sDAAsD,CAAC;IAC7D,OAAO,EAAE,sBAAsB,CAAC,+BAA+B,CAAC,CAAC;CAClE,CAAC;AAEF,MAAM,MAAM,4CAA4C,GAAG;IACzD,IAAI,EAAE,yCAAyC,CAAC;IAChD,OAAO,EAAE,sBAAsB,CAAC,kBAAkB,CAAC,CAAC;CACrD,CAAC;AAEF,MAAM,MAAM,sCAAsC,GAAG;IACnD,IAAI,EAAE,mCAAmC,CAAC;IAC1C,OAAO,EAAE,sBAAsB,CAAC,YAAY,CAAC,CAAC;CAC/C,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG;IACjD,IAAI,EAAE,iCAAiC,CAAC;IACxC,OAAO,EAAE,sBAAsB,CAAC,UAAU,CAAC,CAAC;CAC7C,CAAC;AAEF,MAAM,MAAM,wCAAwC,GAAG;IACrD,IAAI,EAAE,qCAAqC,CAAC;IAC5C,OAAO,EAAE,sBAAsB,CAAC,cAAc,CAAC,CAAC;CACjD,CAAC;AAEF,MAAM,MAAM,2DAA2D,GAAG;IACxE,IAAI,EAAE,wDAAwD,CAAC;IAC/D,OAAO,EAAE,sBAAsB,CAAC,iCAAiC,CAAC,CAAC;CACpE,CAAC;AAEF,MAAM,MAAM,0DAA0D,GAAG;IACvE,IAAI,EAAE,uDAAuD,CAAC;IAC9D,OAAO,EAAE,sBAAsB,CAAC,gCAAgC,CAAC,CAAC;CACnE,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,mCAAmC,GAC3C,yDAAyD,GACzD,4CAA4C,GAC5C,sCAAsC,GACtC,oCAAoC,GACpC,wCAAwC,GACxC,2DAA2D,GAC3D,0DAA0D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bridge-status-controller-method-action-types.mjs","sourceRoot":"","sources":["../src/bridge-status-controller-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { BridgeStatusController } from './bridge-status-controller';\n\nexport type BridgeStatusControllerStartPollingForBridgeTxStatusAction = {\n type: `BridgeStatusController:startPollingForBridgeTxStatus`;\n handler: BridgeStatusController['startPollingForBridgeTxStatus'];\n};\n\nexport type BridgeStatusControllerWipeBridgeStatusAction = {\n type: `BridgeStatusController:wipeBridgeStatus`;\n handler: BridgeStatusController['wipeBridgeStatus'];\n};\n\nexport type BridgeStatusControllerResetStateAction = {\n type: `BridgeStatusController:resetState`;\n handler: BridgeStatusController['resetState'];\n};\n\nexport type BridgeStatusControllerSubmitTxAction = {\n type: `BridgeStatusController:submitTx`;\n handler: BridgeStatusController['submitTx'];\n};\n\nexport type BridgeStatusControllerSubmitIntentAction = {\n type: `BridgeStatusController:submitIntent`;\n handler: BridgeStatusController['submitIntent'];\n};\n\nexport type BridgeStatusControllerRestartPollingForFailedAttemptsAction = {\n type: `BridgeStatusController:restartPollingForFailedAttempts`;\n handler: BridgeStatusController['restartPollingForFailedAttempts'];\n};\n\nexport type BridgeStatusControllerGetBridgeHistoryItemByTxMetaIdAction = {\n type: `BridgeStatusController:getBridgeHistoryItemByTxMetaId`;\n handler: BridgeStatusController['getBridgeHistoryItemByTxMetaId'];\n};\n\n/**\n * Union of all BridgeStatusController action types.\n */\nexport type BridgeStatusControllerMethodActions =\n | BridgeStatusControllerStartPollingForBridgeTxStatusAction\n | BridgeStatusControllerWipeBridgeStatusAction\n | BridgeStatusControllerResetStateAction\n | BridgeStatusControllerSubmitTxAction\n | BridgeStatusControllerSubmitIntentAction\n | BridgeStatusControllerRestartPollingForFailedAttemptsAction\n | BridgeStatusControllerGetBridgeHistoryItemByTxMetaIdAction;\n"]}
|