@drift-labs/vaults-sdk 0.1.192 → 0.1.193
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/vaultClient.js +4 -1
- package/package.json +1 -1
- package/src/vaultClient.ts +4 -1
package/lib/vaultClient.js
CHANGED
|
@@ -702,7 +702,10 @@ class VaultClient {
|
|
|
702
702
|
}),
|
|
703
703
|
...vaultIxs,
|
|
704
704
|
];
|
|
705
|
-
const tx = await this.driftClient.txSender.getVersionedTransaction(ixs, [], undefined,
|
|
705
|
+
const tx = await this.driftClient.txSender.getVersionedTransaction(ixs, [], undefined, {
|
|
706
|
+
preflightCommitment: 'confirmed',
|
|
707
|
+
...this.driftClient.opts,
|
|
708
|
+
});
|
|
706
709
|
let txSig = bytes_1.bs58.encode(tx.signatures[0]);
|
|
707
710
|
if (txParams === null || txParams === void 0 ? void 0 : txParams.simulateTransaction) {
|
|
708
711
|
try {
|
package/package.json
CHANGED
package/src/vaultClient.ts
CHANGED