@solana/web3.js 1.44.1 → 1.44.2

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/lib/index.cjs.js CHANGED
@@ -6842,7 +6842,13 @@ class Connection {
6842
6842
  throw new Error('failed to get transactions: ' + res.error.message);
6843
6843
  }
6844
6844
 
6845
- return res.result;
6845
+ const result = res.result;
6846
+ if (!result) return result;
6847
+ return { ...result,
6848
+ transaction: { ...result.transaction,
6849
+ message: new Message(result.transaction.message)
6850
+ }
6851
+ };
6846
6852
  });
6847
6853
  return res;
6848
6854
  }