@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.
@@ -702,7 +702,10 @@ class VaultClient {
702
702
  }),
703
703
  ...vaultIxs,
704
704
  ];
705
- const tx = await this.driftClient.txSender.getVersionedTransaction(ixs, [], undefined, this.driftClient.opts);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/vaults-sdk",
3
- "version": "0.1.192",
3
+ "version": "0.1.193",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "directories": {
@@ -1085,7 +1085,10 @@ export class VaultClient {
1085
1085
  ixs,
1086
1086
  [],
1087
1087
  undefined,
1088
- this.driftClient.opts
1088
+ {
1089
+ preflightCommitment: 'confirmed',
1090
+ ...this.driftClient.opts,
1091
+ }
1089
1092
  );
1090
1093
 
1091
1094
  let txSig = bs58.encode(tx.signatures[0]);