@augustdigital/sdk 9.9.1 → 9.11.0

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.
@@ -9,9 +9,10 @@ export interface IWSSubaccountListChain {
9
9
  name: string;
10
10
  }
11
11
  /**
12
- * One subaccount record from the admin-only `GET /subaccount` directory
13
- * endpoint (backend `ISubaccountRead` schema). Nullable fields are optional
14
- * metadata the operations team may not have filled in.
12
+ * One subaccount record (backend `ISubaccountRead` schema), as returned by the
13
+ * admin-only `GET /subaccount` directory, `GET /users/{address}/subaccounts`
14
+ * and `GET /org/subaccounts`. Nullable fields are optional metadata the
15
+ * operations team may not have filled in.
15
16
  */
16
17
  export interface IWSSubaccountListItem {
17
18
  id: string;
@@ -33,6 +34,15 @@ export interface IWSSubaccountListItem {
33
34
  variant: string | null;
34
35
  default_fee_rate_in_bips: number | null;
35
36
  wallet_role: string | null;
37
+ /**
38
+ * Cached USD account value, refreshed out of band by an hourly backend job.
39
+ * A sort key and placeholder, not an authoritative NAV — read the live value
40
+ * from the subaccount summary. `null` before the job's first run; absent on
41
+ * backends that predate the field.
42
+ */
43
+ latest_account_value?: number | null;
44
+ /** Naive-UTC ISO timestamp of `latest_account_value`. */
45
+ account_value_updated_at?: string | null;
36
46
  chains: IWSSubaccountListChain[];
37
47
  }
38
48
  export interface IWSSubAccountHealthFactor {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@augustdigital/sdk",
3
- "version": "9.9.1",
3
+ "version": "9.11.0",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/sdk.d.ts",
6
6
  "keywords": [