@metamask-previews/transaction-pay-controller 10.0.0-preview-e540d3bf → 10.1.0-preview-ecf10eb2
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
|
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Bump `@metamask/transaction-controller` from `^62.2.0` to `^62.3.0` ([#7236](https://github.com/MetaMask/core/pull/7236))
|
|
13
|
+
- Bump `@metamask/bridge-controller` from `^63.0.0` to `^63.1.0` ([#7238](https://github.com/MetaMask/core/pull/7238))
|
|
14
|
+
|
|
15
|
+
## [10.1.0]
|
|
16
|
+
|
|
10
17
|
### Added
|
|
11
18
|
|
|
12
19
|
- Use new feature flags to configure gas limit fallback for Relay quotes ([#7229](https://github.com/MetaMask/core/pull/7229))
|
|
@@ -157,7 +164,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
157
164
|
|
|
158
165
|
- Initial release ([#6820](https://github.com/MetaMask/core/pull/6820))
|
|
159
166
|
|
|
160
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-pay-controller@10.
|
|
167
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-pay-controller@10.1.0...HEAD
|
|
168
|
+
[10.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-pay-controller@10.0.0...@metamask/transaction-pay-controller@10.1.0
|
|
161
169
|
[10.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-pay-controller@9.0.0...@metamask/transaction-pay-controller@10.0.0
|
|
162
170
|
[9.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-pay-controller@8.0.0...@metamask/transaction-pay-controller@9.0.0
|
|
163
171
|
[8.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-pay-controller@7.0.0...@metamask/transaction-pay-controller@8.0.0
|
|
@@ -210,6 +210,15 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
210
210
|
trade: import("@metamask/bridge-controller").Trade;
|
|
211
211
|
approval?: import("@metamask/bridge-controller").Trade | undefined;
|
|
212
212
|
featureId?: import("@metamask/bridge-controller").FeatureId | undefined;
|
|
213
|
+
resetApproval?: {
|
|
214
|
+
chainId: number;
|
|
215
|
+
to: string;
|
|
216
|
+
from: string;
|
|
217
|
+
value: string;
|
|
218
|
+
data: string;
|
|
219
|
+
gasLimit: number | null;
|
|
220
|
+
effectiveGas?: number | undefined;
|
|
221
|
+
} | undefined;
|
|
213
222
|
} & import("@metamask/bridge-controller").QuoteMetadata, isStxEnabledOnClient: boolean, isLoading?: boolean | undefined, warnings?: import("@metamask/bridge-controller").QuoteWarning[] | undefined) => Promise<import("@metamask/transaction-controller").TransactionMeta & Partial<import("../../../bridge-status-controller/src/types.cjs").SolanaTransactionMeta>>>;
|
|
214
223
|
updateTransactionMock: jest.MockedFn<(transactionMeta: import("@metamask/transaction-controller").TransactionMeta, note: string) => void>;
|
|
215
224
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messenger-mock.d.cts","sourceRoot":"","sources":["../../src/tests/messenger-mock.ts"],"names":[],"mappings":";AAsBA,OAAO,KAAK,EAAE,iCAAiC,EAAE,qBAAW;AAY5D;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,GACb,GAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAO
|
|
1
|
+
{"version":3,"file":"messenger-mock.d.cts","sourceRoot":"","sources":["../../src/tests/messenger-mock.ts"],"names":[],"mappings":";AAsBA,OAAO,KAAK,EAAE,iCAAiC,EAAE,qBAAW;AAY5D;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,GACb,GAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+MjC"}
|
|
@@ -210,6 +210,15 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
210
210
|
trade: import("@metamask/bridge-controller").Trade;
|
|
211
211
|
approval?: import("@metamask/bridge-controller").Trade | undefined;
|
|
212
212
|
featureId?: import("@metamask/bridge-controller").FeatureId | undefined;
|
|
213
|
+
resetApproval?: {
|
|
214
|
+
chainId: number;
|
|
215
|
+
to: string;
|
|
216
|
+
from: string;
|
|
217
|
+
value: string;
|
|
218
|
+
data: string;
|
|
219
|
+
gasLimit: number | null;
|
|
220
|
+
effectiveGas?: number | undefined;
|
|
221
|
+
} | undefined;
|
|
213
222
|
} & import("@metamask/bridge-controller").QuoteMetadata, isStxEnabledOnClient: boolean, isLoading?: boolean | undefined, warnings?: import("@metamask/bridge-controller").QuoteWarning[] | undefined) => Promise<import("@metamask/transaction-controller").TransactionMeta & Partial<import("../../../bridge-status-controller/src/types.mjs").SolanaTransactionMeta>>>;
|
|
214
223
|
updateTransactionMock: jest.MockedFn<(transactionMeta: import("@metamask/transaction-controller").TransactionMeta, note: string) => void>;
|
|
215
224
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messenger-mock.d.mts","sourceRoot":"","sources":["../../src/tests/messenger-mock.ts"],"names":[],"mappings":";AAsBA,OAAO,KAAK,EAAE,iCAAiC,EAAE,qBAAW;AAY5D;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,GACb,GAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAO
|
|
1
|
+
{"version":3,"file":"messenger-mock.d.mts","sourceRoot":"","sources":["../../src/tests/messenger-mock.ts"],"names":[],"mappings":";AAsBA,OAAO,KAAK,EAAE,iCAAiC,EAAE,qBAAW;AAY5D;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,GACb,GAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+MjC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/transaction-pay-controller",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.1.0-preview-ecf10eb2",
|
|
4
4
|
"description": "Manages alternate payment strategies to provide required funds for transactions in MetaMask",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@ethersproject/contracts": "^5.7.0",
|
|
54
54
|
"@metamask/assets-controllers": "^91.0.0",
|
|
55
55
|
"@metamask/base-controller": "^9.0.0",
|
|
56
|
-
"@metamask/bridge-controller": "^63.
|
|
56
|
+
"@metamask/bridge-controller": "^63.1.0",
|
|
57
57
|
"@metamask/bridge-status-controller": "^63.0.0",
|
|
58
58
|
"@metamask/controller-utils": "^11.16.0",
|
|
59
59
|
"@metamask/gas-fee-controller": "^26.0.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@metamask/metamask-eth-abis": "^3.1.1",
|
|
62
62
|
"@metamask/network-controller": "^26.0.0",
|
|
63
63
|
"@metamask/remote-feature-flag-controller": "^2.0.1",
|
|
64
|
-
"@metamask/transaction-controller": "^62.
|
|
64
|
+
"@metamask/transaction-controller": "^62.3.0",
|
|
65
65
|
"@metamask/utils": "^11.8.1",
|
|
66
66
|
"bignumber.js": "^9.1.2",
|
|
67
67
|
"bn.js": "^5.2.1",
|