aftermath-ts-sdk 5.0.0-dev.4e13f9d → 5.0.1-dev.3cb18d6

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 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
- /** Owner address of the vault. */
3051
- ownerAddress: SuiAddress;
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. */
@@ -5525,6 +5530,8 @@ interface PerpetualsMarketMetadata {
5525
5530
  symbol: string;
5526
5531
  /** Long-form name, e.g. `"Bitcoin"`. Absent when unset. */
5527
5532
  displayName?: string;
5533
+ /** Long-form blurb describing the market. Absent when unset. */
5534
+ description?: string;
5528
5535
  /** Grouping label, e.g. `"Crypto"`, `"Commodities"`, `"Equities"`. */
5529
5536
  category: string;
5530
5537
  /** Icon location for the market, e.g. `"/markets/btc.png"`. */
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