@metamask-previews/transaction-controller 43.0.0-preview-455ba549 → 43.0.0-preview-3fc797ab
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 +0 -7
- package/dist/TransactionController.cjs +1 -0
- package/dist/TransactionController.cjs.map +1 -1
- package/dist/TransactionController.d.cts.map +1 -1
- package/dist/TransactionController.d.mts.map +1 -1
- package/dist/TransactionController.mjs +1 -0
- package/dist/TransactionController.mjs.map +1 -1
- package/dist/constants.cjs +1 -71
- package/dist/constants.cjs.map +1 -1
- package/dist/constants.d.cts +0 -35
- package/dist/constants.d.cts.map +1 -1
- package/dist/constants.d.mts +0 -35
- package/dist/constants.d.mts.map +1 -1
- package/dist/constants.mjs +0 -70
- package/dist/constants.mjs.map +1 -1
- package/dist/helpers/MethodDataHelper.cjs +22 -25
- package/dist/helpers/MethodDataHelper.cjs.map +1 -1
- package/dist/helpers/MethodDataHelper.d.cts +3 -2
- package/dist/helpers/MethodDataHelper.d.cts.map +1 -1
- package/dist/helpers/MethodDataHelper.d.mts +3 -2
- package/dist/helpers/MethodDataHelper.d.mts.map +1 -1
- package/dist/helpers/MethodDataHelper.mjs +22 -25
- package/dist/helpers/MethodDataHelper.mjs.map +1 -1
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,13 +7,6 @@ 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
|
-
- Replaced `eth-method-registry` dependency with `@ethersproject/abi` for ABI method lookups ([#5203](https://github.com/MetaMask/core/pull/5203))
|
|
13
|
-
- The `MethodDataHelper` class now uses ethers.js `Interface` class to parse and lookup method signatures
|
|
14
|
-
- Method data is now derived directly from the ABI interface
|
|
15
|
-
- The structure of returned method data remains compatible with previous implementation
|
|
16
|
-
|
|
17
10
|
## [43.0.0]
|
|
18
11
|
|
|
19
12
|
### Added
|
|
@@ -274,6 +274,7 @@ class TransactionController extends base_controller_1.BaseController {
|
|
|
274
274
|
});
|
|
275
275
|
gasFeePoller.hub.on('transaction-updated', __classPrivateFieldGet(this, _TransactionController_instances, "m", _TransactionController_onGasFeePollerTransactionUpdate).bind(this));
|
|
276
276
|
__classPrivateFieldSet(this, _TransactionController_methodDataHelper, new MethodDataHelper_1.MethodDataHelper({
|
|
277
|
+
getProvider: (networkClientId) => __classPrivateFieldGet(this, _TransactionController_instances, "m", _TransactionController_getProvider).call(this, { networkClientId }),
|
|
277
278
|
getState: () => this.state.methodData,
|
|
278
279
|
}), "f");
|
|
279
280
|
__classPrivateFieldGet(this, _TransactionController_methodDataHelper, "f").hub.on('update', ({ fourBytePrefix, methodData }) => {
|