@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.
- package/README.md +8 -6
- package/lib/adapters/evm/index.d.ts +11 -3
- package/lib/adapters/evm/index.js +11 -3
- package/lib/adapters/solana/confirm.d.ts +88 -0
- package/lib/adapters/solana/confirm.js +291 -0
- package/lib/adapters/solana/index.d.ts +1 -1
- package/lib/adapters/solana/utils.d.ts +2 -1
- package/lib/adapters/solana/utils.js +3 -1
- package/lib/adapters/solana/vault.actions.d.ts +6 -0
- package/lib/adapters/solana/vault.actions.js +6 -0
- package/lib/adapters/stellar/soroban.js +3 -13
- package/lib/core/analytics/version.d.ts +1 -1
- package/lib/core/analytics/version.js +1 -1
- package/lib/core/errors/index.d.ts +29 -1
- package/lib/core/errors/index.js +36 -1
- package/lib/core/helpers/concurrency.d.ts +14 -0
- package/lib/core/helpers/concurrency.js +21 -0
- package/lib/core/helpers/swap-router.d.ts +17 -0
- package/lib/core/helpers/swap-router.js +44 -0
- package/lib/modules/vaults/getters.d.ts +40 -17
- package/lib/modules/vaults/getters.js +42 -22
- package/lib/modules/vaults/write.actions.d.ts +27 -17
- package/lib/modules/vaults/write.actions.js +45 -16
- package/lib/sdk.d.ts +158 -43
- package/lib/types/sub-accounts.d.ts +13 -3
- package/package.json +1 -1
|
@@ -9,9 +9,10 @@ export interface IWSSubaccountListChain {
|
|
|
9
9
|
name: string;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
|
-
* One subaccount record
|
|
13
|
-
*
|
|
14
|
-
*
|
|
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 {
|