@fuel-ts/account 0.100.5 → 0.100.6

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.
@@ -7704,30 +7704,6 @@ var import_transactions28 = require("@fuel-ts/transactions");
7704
7704
  var import_utils38 = require("@fuel-ts/utils");
7705
7705
  var import_ramda9 = require("ramda");
7706
7706
 
7707
- // src/providers/utils/transaction-response-serialization.ts
7708
- var deserializeTransactionResponseJson = /* @__PURE__ */ __name((json) => {
7709
- const {
7710
- id,
7711
- abis,
7712
- status,
7713
- providerUrl,
7714
- requestJson,
7715
- providerCache,
7716
- gqlTransaction,
7717
- preConfirmationStatus
7718
- } = json;
7719
- const provider = new Provider(providerUrl, { cache: providerCache });
7720
- const { chainId } = providerCache.chain.consensusParameters;
7721
- const response = new TransactionResponse(id, provider, Number(chainId), abis);
7722
- if (requestJson) {
7723
- response.request = transactionRequestify(JSON.parse(requestJson));
7724
- }
7725
- response.status = status;
7726
- response.gqlTransaction = gqlTransaction;
7727
- response.preConfirmationStatus = preConfirmationStatus;
7728
- return response;
7729
- }, "deserializeTransactionResponseJson");
7730
-
7731
7707
  // src/types.ts
7732
7708
  var AbstractAccount = class {
7733
7709
  static {
@@ -8424,7 +8400,7 @@ var Account = class extends AbstractAccount {
8424
8400
  transactionRequest,
8425
8401
  params
8426
8402
  );
8427
- return typeof transaction === "string" ? this.provider.getTransactionResponse(transaction) : deserializeTransactionResponseJson(transaction);
8403
+ return typeof transaction === "string" ? this.provider.getTransactionResponse(transaction) : transaction;
8428
8404
  }
8429
8405
  if (estimateTxDependencies) {
8430
8406
  await this.provider.estimateTxDependencies(transactionRequest);