@nexus-cross/dapp-ui 1.3.11 → 1.3.12-beta.1

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.cts CHANGED
@@ -2518,6 +2518,8 @@ interface UseRelayOrdersOptions {
2518
2518
  recipient?: string;
2519
2519
  /** Gate: wait for truthy before the first fetch (RelayDeposit passes rawCatalog). Default true. */
2520
2520
  enabled?: boolean;
2521
+ /** Keep the snapshot live with SSE + fallback polling. Default true. */
2522
+ live?: boolean;
2521
2523
  /** REST safety-net cadence in milliseconds. Defaults to 30s; the open Deposit popup uses 1s
2522
2524
  * so completion still appears promptly when the SSE event is absent. */
2523
2525
  refetchInterval?: number;
@@ -2527,7 +2529,7 @@ interface UseRelayOrdersOptions {
2527
2529
  }
2528
2530
  interface UseRelayOrdersResult {
2529
2531
  /** Every order swept from deposits to this recipient so far, newest-first
2530
- * as served by the API. Polled continuously once `recipient` is a valid address. */
2532
+ * as served by the API. Kept live unless `live: false` requests one snapshot. */
2531
2533
  orders: OrderSummary[];
2532
2534
  ordersLoading: boolean;
2533
2535
  ordersError?: Error;
package/dist/index.d.ts CHANGED
@@ -2518,6 +2518,8 @@ interface UseRelayOrdersOptions {
2518
2518
  recipient?: string;
2519
2519
  /** Gate: wait for truthy before the first fetch (RelayDeposit passes rawCatalog). Default true. */
2520
2520
  enabled?: boolean;
2521
+ /** Keep the snapshot live with SSE + fallback polling. Default true. */
2522
+ live?: boolean;
2521
2523
  /** REST safety-net cadence in milliseconds. Defaults to 30s; the open Deposit popup uses 1s
2522
2524
  * so completion still appears promptly when the SSE event is absent. */
2523
2525
  refetchInterval?: number;
@@ -2527,7 +2529,7 @@ interface UseRelayOrdersOptions {
2527
2529
  }
2528
2530
  interface UseRelayOrdersResult {
2529
2531
  /** Every order swept from deposits to this recipient so far, newest-first
2530
- * as served by the API. Polled continuously once `recipient` is a valid address. */
2532
+ * as served by the API. Kept live unless `live: false` requests one snapshot. */
2531
2533
  orders: OrderSummary[];
2532
2534
  ordersLoading: boolean;
2533
2535
  ordersError?: Error;