@voltro/client 0.79.1 → 0.81.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/dist/index.d.ts CHANGED
@@ -388,6 +388,14 @@ export declare interface BuildApiRuntimeOptions {
388
388
  */
389
389
  readonly errorBus?: RpcErrorBus;
390
390
  readonly recovery?: RecoveryCoordinator;
391
+ /**
392
+ * Which of the server's published surfaces this group should match: the
393
+ * browser's client `surface` (default), or the `serviceSurface` another app
394
+ * of the project calls. A service client compared against the client
395
+ * surface would report every framework built-in as missing — true, and not
396
+ * its concern.
397
+ */
398
+ readonly surfaceAudience?: 'client' | 'service';
391
399
  }
392
400
 
393
401
  export declare type BuildClient = (api: MountedApi, generation: number, onSocketOpen: () => void, onSocketIssue: (kind: SocketIssueKind) => void,
@@ -2101,6 +2109,8 @@ export declare interface QueryFiltersState<Row> {
2101
2109
  readonly error: unknown | undefined;
2102
2110
  }
2103
2111
 
2112
+ /* Excluded from this release type: queryOnce */
2113
+
2104
2114
  declare type QueryTag<P extends ProcedureTypeMap> = TagsOfKind<P, 'query'>;
2105
2115
 
2106
2116
  export declare type RawTransportStatus = 'connected' | 'disconnected';
@@ -2278,6 +2288,12 @@ export declare const resetStoreRegistryForTests: () => void;
2278
2288
  /** Test seam: forget both the installed provider and the used flag. */
2279
2289
  export declare const resetStoreStorageForTest: () => void;
2280
2290
 
2291
+ /** The minimum shape every api handle has; each hook reads more from its own. */
2292
+ declare interface ResolvableHandle {
2293
+ readonly runtime: unknown;
2294
+ readonly client: unknown;
2295
+ }
2296
+
2281
2297
  /** Auth headers attached to every rpc MESSAGE frame, resolved per runtime
2282
2298
  * build. In-place socket retries retain them; call refreshAuth() to rebuild
2283
2299
  * after rotating a token, or reconnect() when the subject changes. */