@metamask-previews/transaction-pay-controller 10.5.0-preview-565dfca2 → 10.5.0-preview-3fa1672
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
|
@@ -9,7 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
### Changed
|
|
11
11
|
|
|
12
|
-
- Bump `@metamask/assets-controllers` from `^93.1.0` to `^94.
|
|
12
|
+
- Bump `@metamask/assets-controllers` from `^93.1.0` to `^94.1.0` ([#7444](https://github.com/MetaMask/core/pull/7444), [#7488](https://github.com/MetaMask/core/pull/7488))
|
|
13
|
+
- Bump `@metamask/transaction-controller` from `^62.6.0` to `^62.7.0` ([#7494](https://github.com/MetaMask/core/pull/7494))
|
|
13
14
|
|
|
14
15
|
## [10.5.0]
|
|
15
16
|
|
|
@@ -187,32 +187,13 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
187
187
|
priceImpact?: string | undefined;
|
|
188
188
|
totalFeeAmountUsd?: string | undefined;
|
|
189
189
|
} | undefined;
|
|
190
|
-
intent?: {
|
|
191
|
-
protocol: "cowswap";
|
|
192
|
-
order: {
|
|
193
|
-
sellToken: string;
|
|
194
|
-
buyToken: string;
|
|
195
|
-
validTo: string | number;
|
|
196
|
-
appData: string;
|
|
197
|
-
appDataHash: string;
|
|
198
|
-
feeAmount: string;
|
|
199
|
-
kind: "sell" | "buy";
|
|
200
|
-
partiallyFillable: boolean;
|
|
201
|
-
receiver?: string | undefined;
|
|
202
|
-
sellAmount?: string | undefined;
|
|
203
|
-
buyAmount?: string | undefined;
|
|
204
|
-
from?: string | undefined;
|
|
205
|
-
};
|
|
206
|
-
settlementContract?: string | undefined;
|
|
207
|
-
relayer?: string | undefined;
|
|
208
|
-
} | undefined;
|
|
209
190
|
gasSponsored?: boolean | undefined;
|
|
210
191
|
};
|
|
211
192
|
estimatedProcessingTimeInSeconds: number;
|
|
212
193
|
trade: string | {
|
|
213
194
|
chainId: number;
|
|
214
|
-
from: string;
|
|
215
195
|
to: string;
|
|
196
|
+
from: string;
|
|
216
197
|
value: string;
|
|
217
198
|
data: string;
|
|
218
199
|
gasLimit: number | null;
|
|
@@ -232,8 +213,8 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
232
213
|
};
|
|
233
214
|
approval?: {
|
|
234
215
|
chainId: number;
|
|
235
|
-
from: string;
|
|
236
216
|
to: string;
|
|
217
|
+
from: string;
|
|
237
218
|
value: string;
|
|
238
219
|
data: string;
|
|
239
220
|
gasLimit: number | null;
|
|
@@ -254,8 +235,8 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
254
235
|
featureId?: import("@metamask/bridge-controller").FeatureId | undefined;
|
|
255
236
|
resetApproval?: {
|
|
256
237
|
chainId: number;
|
|
257
|
-
from: string;
|
|
258
238
|
to: string;
|
|
239
|
+
from: string;
|
|
259
240
|
value: string;
|
|
260
241
|
data: string;
|
|
261
242
|
gasLimit: number | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messenger-mock.d.cts","sourceRoot":"","sources":["../../src/tests/messenger-mock.ts"],"names":[],"mappings":";AAwBA,OAAO,KAAK,EAAE,iCAAiC,EAAE,qBAAW;AAY5D;;;;;;GAMG;AAEH,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":";AAwBA,OAAO,KAAK,EAAE,iCAAiC,EAAE,qBAAW;AAY5D;;;;;;GAMG;AAEH,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,GACb,GAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmOjC"}
|
|
@@ -187,32 +187,13 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
187
187
|
priceImpact?: string | undefined;
|
|
188
188
|
totalFeeAmountUsd?: string | undefined;
|
|
189
189
|
} | undefined;
|
|
190
|
-
intent?: {
|
|
191
|
-
protocol: "cowswap";
|
|
192
|
-
order: {
|
|
193
|
-
sellToken: string;
|
|
194
|
-
buyToken: string;
|
|
195
|
-
validTo: string | number;
|
|
196
|
-
appData: string;
|
|
197
|
-
appDataHash: string;
|
|
198
|
-
feeAmount: string;
|
|
199
|
-
kind: "sell" | "buy";
|
|
200
|
-
partiallyFillable: boolean;
|
|
201
|
-
receiver?: string | undefined;
|
|
202
|
-
sellAmount?: string | undefined;
|
|
203
|
-
buyAmount?: string | undefined;
|
|
204
|
-
from?: string | undefined;
|
|
205
|
-
};
|
|
206
|
-
settlementContract?: string | undefined;
|
|
207
|
-
relayer?: string | undefined;
|
|
208
|
-
} | undefined;
|
|
209
190
|
gasSponsored?: boolean | undefined;
|
|
210
191
|
};
|
|
211
192
|
estimatedProcessingTimeInSeconds: number;
|
|
212
193
|
trade: string | {
|
|
213
194
|
chainId: number;
|
|
214
|
-
from: string;
|
|
215
195
|
to: string;
|
|
196
|
+
from: string;
|
|
216
197
|
value: string;
|
|
217
198
|
data: string;
|
|
218
199
|
gasLimit: number | null;
|
|
@@ -232,8 +213,8 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
232
213
|
};
|
|
233
214
|
approval?: {
|
|
234
215
|
chainId: number;
|
|
235
|
-
from: string;
|
|
236
216
|
to: string;
|
|
217
|
+
from: string;
|
|
237
218
|
value: string;
|
|
238
219
|
data: string;
|
|
239
220
|
gasLimit: number | null;
|
|
@@ -254,8 +235,8 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
254
235
|
featureId?: import("@metamask/bridge-controller").FeatureId | undefined;
|
|
255
236
|
resetApproval?: {
|
|
256
237
|
chainId: number;
|
|
257
|
-
from: string;
|
|
258
238
|
to: string;
|
|
239
|
+
from: string;
|
|
259
240
|
value: string;
|
|
260
241
|
data: string;
|
|
261
242
|
gasLimit: number | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messenger-mock.d.mts","sourceRoot":"","sources":["../../src/tests/messenger-mock.ts"],"names":[],"mappings":";AAwBA,OAAO,KAAK,EAAE,iCAAiC,EAAE,qBAAW;AAY5D;;;;;;GAMG;AAEH,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":";AAwBA,OAAO,KAAK,EAAE,iCAAiC,EAAE,qBAAW;AAY5D;;;;;;GAMG;AAEH,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,GACb,GAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmOjC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/transaction-pay-controller",
|
|
3
|
-
"version": "10.5.0-preview-
|
|
3
|
+
"version": "10.5.0-preview-3fa1672",
|
|
4
4
|
"description": "Manages alternate payment strategies to provide required funds for transactions in MetaMask",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@ethersproject/abi": "^5.7.0",
|
|
53
53
|
"@ethersproject/contracts": "^5.7.0",
|
|
54
|
-
"@metamask/assets-controllers": "^94.
|
|
54
|
+
"@metamask/assets-controllers": "^94.1.0",
|
|
55
55
|
"@metamask/base-controller": "^9.0.0",
|
|
56
56
|
"@metamask/bridge-controller": "^64.1.0",
|
|
57
57
|
"@metamask/bridge-status-controller": "^64.1.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@metamask/metamask-eth-abis": "^3.1.1",
|
|
62
62
|
"@metamask/network-controller": "^27.0.0",
|
|
63
63
|
"@metamask/remote-feature-flag-controller": "^3.0.0",
|
|
64
|
-
"@metamask/transaction-controller": "^62.
|
|
64
|
+
"@metamask/transaction-controller": "^62.7.0",
|
|
65
65
|
"@metamask/utils": "^11.8.1",
|
|
66
66
|
"bignumber.js": "^9.1.2",
|
|
67
67
|
"bn.js": "^5.2.1",
|