@metamask/transaction-pay-controller 2.0.2 → 3.0.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
CHANGED
|
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [3.0.0]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- **BREAKING:** Bump `@metamask/assets-controller` from `^86.0.0` to `^87.0.0` ([#7043](https://github.com/MetaMask/core/pull/7043))
|
|
15
|
+
- **BREAKING:** Bump `@metamask/bridge-controller` from `^58.0.0` to `^59.0.0` ([#7043](https://github.com/MetaMask/core/pull/7043))
|
|
16
|
+
- **BREAKING:** Bump `@metamask/bridge-status-controller` from `^58.0.0` to `^59.0.0` ([#7043](https://github.com/MetaMask/core/pull/7043))
|
|
17
|
+
|
|
10
18
|
## [2.0.2]
|
|
11
19
|
|
|
12
20
|
### Fixed
|
|
@@ -36,7 +44,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
36
44
|
|
|
37
45
|
- Initial release ([#6820](https://github.com/MetaMask/core/pull/6820))
|
|
38
46
|
|
|
39
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-pay-controller@
|
|
47
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-pay-controller@3.0.0...HEAD
|
|
48
|
+
[3.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-pay-controller@2.0.2...@metamask/transaction-pay-controller@3.0.0
|
|
40
49
|
[2.0.2]: https://github.com/MetaMask/core/compare/@metamask/transaction-pay-controller@2.0.1...@metamask/transaction-pay-controller@2.0.2
|
|
41
50
|
[2.0.1]: https://github.com/MetaMask/core/compare/@metamask/transaction-pay-controller@2.0.0...@metamask/transaction-pay-controller@2.0.1
|
|
42
51
|
[2.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-pay-controller@1.0.0...@metamask/transaction-pay-controller@2.0.0
|
|
@@ -163,6 +163,7 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
163
163
|
priceImpact?: string | undefined;
|
|
164
164
|
totalFeeAmountUsd?: string | undefined;
|
|
165
165
|
} | undefined;
|
|
166
|
+
gasSponsored?: boolean | undefined;
|
|
166
167
|
};
|
|
167
168
|
estimatedProcessingTimeInSeconds: number;
|
|
168
169
|
trade: string | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messenger-mock.d.cts","sourceRoot":"","sources":["../../src/tests/messenger-mock.ts"],"names":[],"mappings":";AAoBA,OAAO,KAAK,EAAE,iCAAiC,EAAE,qBAAW;AAS5D;;;;;;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":";AAoBA,OAAO,KAAK,EAAE,iCAAiC,EAAE,qBAAW;AAS5D;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,GACb,GAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiLjC"}
|
|
@@ -163,6 +163,7 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
163
163
|
priceImpact?: string | undefined;
|
|
164
164
|
totalFeeAmountUsd?: string | undefined;
|
|
165
165
|
} | undefined;
|
|
166
|
+
gasSponsored?: boolean | undefined;
|
|
166
167
|
};
|
|
167
168
|
estimatedProcessingTimeInSeconds: number;
|
|
168
169
|
trade: string | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messenger-mock.d.mts","sourceRoot":"","sources":["../../src/tests/messenger-mock.ts"],"names":[],"mappings":";AAoBA,OAAO,KAAK,EAAE,iCAAiC,EAAE,qBAAW;AAS5D;;;;;;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":";AAoBA,OAAO,KAAK,EAAE,iCAAiC,EAAE,qBAAW;AAS5D;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,GACb,GAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiLjC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask/transaction-pay-controller",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Manages alternate payment strategies to provide required funds for transactions in MetaMask",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
],
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "ts-bridge --project tsconfig.build.json --verbose --clean --no-references",
|
|
39
|
+
"build:all": "ts-bridge --project tsconfig.build.json --verbose --clean",
|
|
39
40
|
"build:docs": "typedoc",
|
|
40
41
|
"changelog:update": "../../scripts/update-changelog.sh @metamask/transaction-pay-controller",
|
|
41
42
|
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/transaction-pay-controller",
|
|
@@ -61,15 +62,15 @@
|
|
|
61
62
|
"lodash": "^4.17.21"
|
|
62
63
|
},
|
|
63
64
|
"devDependencies": {
|
|
64
|
-
"@metamask/assets-controllers": "^
|
|
65
|
+
"@metamask/assets-controllers": "^87.0.0",
|
|
65
66
|
"@metamask/auto-changelog": "^3.4.4",
|
|
66
|
-
"@metamask/bridge-controller": "^
|
|
67
|
-
"@metamask/bridge-status-controller": "^
|
|
67
|
+
"@metamask/bridge-controller": "^59.0.0",
|
|
68
|
+
"@metamask/bridge-status-controller": "^59.0.0",
|
|
68
69
|
"@metamask/gas-fee-controller": "^25.0.0",
|
|
69
70
|
"@metamask/network-controller": "^25.0.0",
|
|
70
71
|
"@metamask/remote-feature-flag-controller": "^2.0.0",
|
|
71
72
|
"@metamask/transaction-controller": "^61.1.0",
|
|
72
|
-
"@ts-bridge/cli": "^0.6.
|
|
73
|
+
"@ts-bridge/cli": "^0.6.4",
|
|
73
74
|
"@types/jest": "^27.4.1",
|
|
74
75
|
"deepmerge": "^4.2.2",
|
|
75
76
|
"jest": "^27.5.1",
|
|
@@ -79,9 +80,9 @@
|
|
|
79
80
|
"typescript": "~5.2.2"
|
|
80
81
|
},
|
|
81
82
|
"peerDependencies": {
|
|
82
|
-
"@metamask/assets-controllers": "^
|
|
83
|
-
"@metamask/bridge-controller": "^
|
|
84
|
-
"@metamask/bridge-status-controller": "^
|
|
83
|
+
"@metamask/assets-controllers": "^87.0.0",
|
|
84
|
+
"@metamask/bridge-controller": "^59.0.0",
|
|
85
|
+
"@metamask/bridge-status-controller": "^59.0.0",
|
|
85
86
|
"@metamask/gas-fee-controller": "^25.0.0",
|
|
86
87
|
"@metamask/network-controller": "^25.0.0",
|
|
87
88
|
"@metamask/remote-feature-flag-controller": "^2.0.0",
|