@metamask-previews/transaction-pay-controller 12.2.0-preview-d01b2f93d → 12.2.0-preview-09a0ddf6c
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
CHANGED
|
@@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
10
10
|
### Changed
|
|
11
11
|
|
|
12
12
|
- Bump `@metamask/bridge-controller` from `^65.3.0` to `^66.0.0` ([#7862](https://github.com/MetaMask/core/pull/7862))
|
|
13
|
-
- Bump `@metamask/transaction-controller` from `^62.14.0` to `^62.
|
|
13
|
+
- Bump `@metamask/transaction-controller` from `^62.14.0` to `^62.16.0` ([#7854](https://github.com/MetaMask/core/pull/7854), [#7872](https://github.com/MetaMask/core/pull/7872))
|
|
14
14
|
- Bump `@metamask/assets-controllers` from `^99.2.0` to `^99.3.1` ([#7855](https://github.com/MetaMask/core/pull/7855), [#7860](https://github.com/MetaMask/core/pull/7860))
|
|
15
15
|
|
|
16
16
|
## [12.2.0]
|
|
@@ -33,14 +33,14 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
33
33
|
totalGasLimit: number;
|
|
34
34
|
gasLimits: number[];
|
|
35
35
|
}>>;
|
|
36
|
-
fetchQuotesMock: jest.Mock<any, any>;
|
|
36
|
+
fetchQuotesMock: jest.Mock<any, any, any>;
|
|
37
37
|
findNetworkClientIdByChainIdMock: jest.MockedFn<(chainId: `0x${string}`) => string>;
|
|
38
38
|
getAccountTrackerControllerStateMock: jest.MockedFn<() => import("@metamask/assets-controllers").AccountTrackerControllerState>;
|
|
39
39
|
getBridgeStatusControllerStateMock: jest.MockedFn<() => import("@metamask/bridge-status-controller").BridgeStatusControllerState>;
|
|
40
40
|
getControllerStateMock: jest.MockedFn<() => import("../index.cjs").TransactionPayControllerState>;
|
|
41
|
-
getCurrencyRateControllerStateMock: jest.Mock<any, any>;
|
|
41
|
+
getCurrencyRateControllerStateMock: jest.Mock<any, any, any>;
|
|
42
42
|
getDelegationTransactionMock: jest.MockedFn<import("../types.cjs").GetDelegationTransactionCallback>;
|
|
43
|
-
getGasFeeControllerStateMock: jest.Mock<any, any>;
|
|
43
|
+
getGasFeeControllerStateMock: jest.Mock<any, any, any>;
|
|
44
44
|
getGasFeeTokensMock: jest.MockedFn<(request: import("@metamask/transaction-controller").GetGasFeeTokensRequest) => Promise<import("@metamask/transaction-controller").GasFeeToken[]>>;
|
|
45
45
|
getNetworkClientByIdMock: jest.MockedFn<{
|
|
46
46
|
(infuraNetworkClientId: import("@metamask/controller-utils").InfuraNetworkType): import("@metamask/network-controller").AutoManagedNetworkClient<import("@metamask/network-controller").InfuraNetworkClientConfiguration>;
|
|
@@ -33,14 +33,14 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
33
33
|
totalGasLimit: number;
|
|
34
34
|
gasLimits: number[];
|
|
35
35
|
}>>;
|
|
36
|
-
fetchQuotesMock: jest.Mock<any, any>;
|
|
36
|
+
fetchQuotesMock: jest.Mock<any, any, any>;
|
|
37
37
|
findNetworkClientIdByChainIdMock: jest.MockedFn<(chainId: `0x${string}`) => string>;
|
|
38
38
|
getAccountTrackerControllerStateMock: jest.MockedFn<() => import("@metamask/assets-controllers").AccountTrackerControllerState>;
|
|
39
39
|
getBridgeStatusControllerStateMock: jest.MockedFn<() => import("@metamask/bridge-status-controller").BridgeStatusControllerState>;
|
|
40
40
|
getControllerStateMock: jest.MockedFn<() => import("../index.mjs").TransactionPayControllerState>;
|
|
41
|
-
getCurrencyRateControllerStateMock: jest.Mock<any, any>;
|
|
41
|
+
getCurrencyRateControllerStateMock: jest.Mock<any, any, any>;
|
|
42
42
|
getDelegationTransactionMock: jest.MockedFn<import("../types.mjs").GetDelegationTransactionCallback>;
|
|
43
|
-
getGasFeeControllerStateMock: jest.Mock<any, any>;
|
|
43
|
+
getGasFeeControllerStateMock: jest.Mock<any, any, any>;
|
|
44
44
|
getGasFeeTokensMock: jest.MockedFn<(request: import("@metamask/transaction-controller").GetGasFeeTokensRequest) => Promise<import("@metamask/transaction-controller").GasFeeToken[]>>;
|
|
45
45
|
getNetworkClientByIdMock: jest.MockedFn<{
|
|
46
46
|
(infuraNetworkClientId: import("@metamask/controller-utils").InfuraNetworkType): import("@metamask/network-controller").AutoManagedNetworkClient<import("@metamask/network-controller").InfuraNetworkClientConfiguration>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/transaction-pay-controller",
|
|
3
|
-
"version": "12.2.0-preview-
|
|
3
|
+
"version": "12.2.0-preview-09a0ddf6c",
|
|
4
4
|
"description": "Manages alternate payment strategies to provide required funds for transactions in MetaMask",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@metamask/metamask-eth-abis": "^3.1.1",
|
|
62
62
|
"@metamask/network-controller": "^29.0.0",
|
|
63
63
|
"@metamask/remote-feature-flag-controller": "^4.0.0",
|
|
64
|
-
"@metamask/transaction-controller": "^62.
|
|
64
|
+
"@metamask/transaction-controller": "^62.16.0",
|
|
65
65
|
"@metamask/utils": "^11.9.0",
|
|
66
66
|
"bignumber.js": "^9.1.2",
|
|
67
67
|
"bn.js": "^5.2.1",
|
|
@@ -71,10 +71,10 @@
|
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@metamask/auto-changelog": "^3.4.4",
|
|
73
73
|
"@ts-bridge/cli": "^0.6.4",
|
|
74
|
-
"@types/jest": "^
|
|
74
|
+
"@types/jest": "^29.5.14",
|
|
75
75
|
"deepmerge": "^4.2.2",
|
|
76
|
-
"jest": "^
|
|
77
|
-
"ts-jest": "^
|
|
76
|
+
"jest": "^29.7.0",
|
|
77
|
+
"ts-jest": "^29.2.5",
|
|
78
78
|
"typedoc": "^0.24.8",
|
|
79
79
|
"typedoc-plugin-missing-exports": "^2.0.0",
|
|
80
80
|
"typescript": "~5.3.3"
|