@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.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
|
-
|
|
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
|
}
|