@voltr/vault-sdk 1.0.1 → 1.0.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/dist/client.d.ts CHANGED
@@ -818,7 +818,7 @@ export declare class VoltrClient extends AccountUtils {
818
818
  */
819
819
  getAllPendingWithdrawalsForVault(vault: PublicKey): Promise<{
820
820
  amountAssetToWithdraw: number;
821
- withdrawableFromTs: BN;
821
+ withdrawableFromTs: number;
822
822
  }[]>;
823
823
  calculateLockedProfit(lastUpdatedLockedProfit: BN, lockedProfitDegradationDuration: BN, currentTime: BN): BN;
824
824
  /**
package/dist/client.js CHANGED
@@ -931,7 +931,7 @@ class VoltrClient extends AccountUtils {
931
931
  const amountAssetToWithdraw = amountAssetToWithdrawDecimal.toNumber();
932
932
  return {
933
933
  amountAssetToWithdraw,
934
- withdrawableFromTs: receipt.account.withdrawableFromTs,
934
+ withdrawableFromTs: receipt.account.withdrawableFromTs.toNumber(),
935
935
  };
936
936
  });
937
937
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voltr/vault-sdk",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "SDK for interacting with Voltr Protocol",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",