@metamask-previews/transaction-controller 59.0.0-preview-7509efdb → 59.0.0-preview-1abef88

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,14 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
- ### Added
11
-
12
- - Add `fiatValue` property on `addTransaction` options ([#6178](https://github.com/MetaMask/core/pull/6178))
13
-
14
- ### Fixed
15
-
16
- - Preserve provided `origin` in `transactions` when calling `addTransactionBatch` ([#6178](https://github.com/MetaMask/core/pull/6178))
17
-
18
10
  ## [59.0.0]
19
11
 
20
12
  ### Added
@@ -363,7 +363,6 @@ class TransactionController extends base_controller_1.BaseController {
363
363
  * @param options.batchId - A custom ID for the batch this transaction belongs to.
364
364
  * @param options.deviceConfirmedOn - An enum to indicate what device confirmed the transaction.
365
365
  * @param options.disableGasBuffer - Whether to disable the gas estimation buffer.
366
- * @param options.fiatValue - The fiat value of the transaction to be used to passed metrics.
367
366
  * @param options.method - RPC method that requested the transaction.
368
367
  * @param options.nestedTransactions - Params for any nested transactions encoded in the data.
369
368
  * @param options.origin - The origin of the transaction request, such as a dApp hostname.
@@ -381,7 +380,7 @@ class TransactionController extends base_controller_1.BaseController {
381
380
  */
382
381
  async addTransaction(txParams, options) {
383
382
  (0, logger_1.projectLogger)('Adding transaction', txParams, options);
384
- const { actionId, batchId, deviceConfirmedOn, disableGasBuffer, fiatValue, method, nestedTransactions, networkClientId, origin, publishHook, requireApproval, securityAlertResponse, sendFlowHistory, swaps = {}, traceContext, type, } = options;
383
+ const { actionId, batchId, deviceConfirmedOn, disableGasBuffer, method, nestedTransactions, networkClientId, origin, publishHook, requireApproval, securityAlertResponse, sendFlowHistory, swaps = {}, traceContext, type, } = options;
385
384
  txParams = (0, utils_2.normalizeTransactionParams)(txParams);
386
385
  if (!__classPrivateFieldGet(this, _TransactionController_multichainTrackingHelper, "f").has(networkClientId)) {
387
386
  throw new Error(`Network client not found - ${networkClientId}`);
@@ -431,7 +430,6 @@ class TransactionController extends base_controller_1.BaseController {
431
430
  delegationAddress,
432
431
  deviceConfirmedOn,
433
432
  disableGasBuffer,
434
- fiatValue,
435
433
  id: (0, uuid_1.v1)(),
436
434
  isFirstTimeInteraction: undefined,
437
435
  nestedTransactions,