@drift-labs/vaults-sdk 0.9.59 → 0.9.60

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.
@@ -22,9 +22,9 @@ export const managerWithdraw = async (program: Command, cmdOpts: OptionValues) =
22
22
 
23
23
  if (cmdOpts.dumpTransactionMessage) {
24
24
  const tx = await driftVault.getManagerWithdrawIx(vaultAddress);
25
- console.log(dumpTransactionMessage(driftClient.wallet.publicKey, [tx]));
25
+ console.log(dumpTransactionMessage(driftClient.wallet.publicKey, tx));
26
26
  } else {
27
27
  const tx = await driftVault.managerWithdraw(vaultAddress);
28
28
  console.log(`Withrew as vault manager: https://solana.fm/tx/${tx}${driftClient.env === "devnet" ? "?cluster=devnet-solana" : ""}`);
29
29
  }
30
- };
30
+ };
package/cli/utils.ts CHANGED
@@ -227,4 +227,4 @@ export function dumpTransactionMessage(payer: PublicKey, ixs: Array<TransactionI
227
227
  tx.recentBlockhash = BLOCKHASH_PLACEHOLDER;
228
228
 
229
229
  return bs58.encode(tx.serialize({ requireAllSignatures: false }));
230
- }
230
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/vaults-sdk",
3
- "version": "0.9.59",
3
+ "version": "0.9.60",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "directories": {