@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.browser.cjs.js +7 -1
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +7 -1
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +7 -1
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.esm.js +7 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +7 -1
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js +1 -1
- package/lib/index.iife.min.js.map +1 -1
- package/package.json +1 -1
- package/src/connection.ts +10 -1
package/lib/index.esm.js
CHANGED
|
@@ -6808,7 +6808,13 @@ class Connection {
|
|
|
6808
6808
|
throw new Error('failed to get transactions: ' + res.error.message);
|
|
6809
6809
|
}
|
|
6810
6810
|
|
|
6811
|
-
|
|
6811
|
+
const result = res.result;
|
|
6812
|
+
if (!result) return result;
|
|
6813
|
+
return { ...result,
|
|
6814
|
+
transaction: { ...result.transaction,
|
|
6815
|
+
message: new Message(result.transaction.message)
|
|
6816
|
+
}
|
|
6817
|
+
};
|
|
6812
6818
|
});
|
|
6813
6819
|
return res;
|
|
6814
6820
|
}
|