aftermath-ts-sdk 5.0.1 → 5.0.2-dev.0bdd677
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/index.d.ts +7 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3047,8 +3047,13 @@ interface PerpetualsVaultObject {
|
|
|
3047
3047
|
/** Minimum position margin (USD) to trigger full close during force withdraw. */
|
|
3048
3048
|
minForceWithdrawValueUsd: number;
|
|
3049
3049
|
};
|
|
3050
|
-
/**
|
|
3051
|
-
|
|
3050
|
+
/**
|
|
3051
|
+
* Owner address of the vault.
|
|
3052
|
+
*
|
|
3053
|
+
* `null` when the vault's owner cap, or its owner address, cannot be
|
|
3054
|
+
* resolved. The field is always present; only its value may be null.
|
|
3055
|
+
*/
|
|
3056
|
+
ownerAddress: SuiAddress | null;
|
|
3052
3057
|
/** Creation timestamp of the vault. */
|
|
3053
3058
|
creationTimestamp: Timestamp | undefined;
|
|
3054
3059
|
/** Underlying perpetuals account ID that the vault uses. */
|
package/dist/index.js
CHANGED
|
@@ -14516,7 +14516,7 @@ var init_perpetualsVault = __esm({
|
|
|
14516
14516
|
partialVaultCap() {
|
|
14517
14517
|
return {
|
|
14518
14518
|
vaultId: this.vaultObject.objectId,
|
|
14519
|
-
ownerAddress: this.vaultObject.ownerAddress,
|
|
14519
|
+
ownerAddress: this.vaultObject.ownerAddress ?? "",
|
|
14520
14520
|
accountId: this.vaultObject.accountId,
|
|
14521
14521
|
accountObjectId: this.vaultObject.accountObjectId,
|
|
14522
14522
|
collateralCoinType: this.vaultObject.collateralCoinType
|