@metamask-previews/transaction-controller 60.1.0-preview-f06fad2b → 60.1.0-preview-e94ec490

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,10 +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 `isGasFeeIncluded` to `TransactionMeta`, `TransactionBatchRequest` and `addTransaction` options so the client can signal that MetaMask is compensated for the gas fee by the transaction ([#6428](https://github.com/MetaMask/core/pull/6428))
13
-
14
10
  ## [60.1.0]
15
11
 
16
12
  ### Added
@@ -367,7 +367,6 @@ class TransactionController extends base_controller_1.BaseController {
367
367
  * @param options.batchId - A custom ID for the batch this transaction belongs to.
368
368
  * @param options.deviceConfirmedOn - An enum to indicate what device confirmed the transaction.
369
369
  * @param options.disableGasBuffer - Whether to disable the gas estimation buffer.
370
- * @param options.isGasFeeIncluded - Whether MetaMask will be compensated for the gas fee by the transaction.
371
370
  * @param options.method - RPC method that requested the transaction.
372
371
  * @param options.nestedTransactions - Params for any nested transactions encoded in the data.
373
372
  * @param options.origin - The origin of the transaction request, such as a dApp hostname.
@@ -385,7 +384,7 @@ class TransactionController extends base_controller_1.BaseController {
385
384
  */
386
385
  async addTransaction(txParams, options) {
387
386
  (0, logger_1.projectLogger)('Adding transaction', txParams, options);
388
- const { actionId, assetsFiatValues, batchId, deviceConfirmedOn, disableGasBuffer, isGasFeeIncluded, method, nestedTransactions, networkClientId, origin, publishHook, requireApproval, securityAlertResponse, sendFlowHistory, swaps = {}, traceContext, type, } = options;
387
+ const { actionId, assetsFiatValues, batchId, deviceConfirmedOn, disableGasBuffer, method, nestedTransactions, networkClientId, origin, publishHook, requireApproval, securityAlertResponse, sendFlowHistory, swaps = {}, traceContext, type, } = options;
389
388
  txParams = (0, utils_2.normalizeTransactionParams)(txParams);
390
389
  if (!__classPrivateFieldGet(this, _TransactionController_multichainTrackingHelper, "f").has(networkClientId)) {
391
390
  throw new Error(`Network client not found - ${networkClientId}`);
@@ -437,7 +436,6 @@ class TransactionController extends base_controller_1.BaseController {
437
436
  deviceConfirmedOn,
438
437
  disableGasBuffer,
439
438
  id: (0, uuid_1.v1)(),
440
- isGasFeeIncluded,
441
439
  isFirstTimeInteraction: undefined,
442
440
  nestedTransactions,
443
441
  networkClientId,