@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 +1 -1
- package/dist/client.js +1 -1
- package/package.json +1 -1
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:
|
|
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
|
}
|