@voltro/client 0.79.1 → 0.80.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/CHANGELOG.md +79 -0
- package/dist/{authRefresh-h4r7ENkZ.js → authRefresh-Ds_lYhKr.js} +5 -5
- package/dist/index.d.ts +8 -0
- package/dist/index.js +682 -679
- package/dist/runtime.d.ts +5 -1
- package/dist/runtime.js +1 -1
- package/package.json +2 -2
package/dist/runtime.d.ts
CHANGED
|
@@ -767,7 +767,11 @@ export declare type RpcSuccessListener = (event: RpcSuccess) => void;
|
|
|
767
767
|
* `useUpload`) goes through here, so `err._tag` means the same thing on both
|
|
768
768
|
* sides of the client.
|
|
769
769
|
*/
|
|
770
|
-
export declare const runRpcPromise: <A>(runtime: AnyRuntime, effect: Effect.Effect<A, unknown, never
|
|
770
|
+
export declare const runRpcPromise: <A>(runtime: AnyRuntime, effect: Effect.Effect<A, unknown, never>,
|
|
771
|
+
/** Interrupts the call when aborted — a read whose caller has gone. */
|
|
772
|
+
options?: {
|
|
773
|
+
readonly signal?: AbortSignal | undefined;
|
|
774
|
+
}) => Promise<A>;
|
|
771
775
|
|
|
772
776
|
export declare type SocketIssueKind = 'close' | 'error' | 'connect-timeout';
|
|
773
777
|
|
package/dist/runtime.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as e, D as t, E as n, O as r, S as i, T as a, _ as o, a as s, b as c, d as l, f as u, g as d, h as f, i as p, k as m, l as h, m as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C, v as w, x as T, y as E } from "./authRefresh-
|
|
1
|
+
import { A as e, D as t, E as n, O as r, S as i, T as a, _ as o, a as s, b as c, d as l, f as u, g as d, h as f, i as p, k as m, l as h, m as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C, v as w, x as T, y as E } from "./authRefresh-Ds_lYhKr.js";
|
|
2
2
|
export { h as INITIAL_RECOVERY_SNAPSHOT, o as LoadingSubscriptionCache, C as RecoveryCoordinator, y as RpcErrorBus, w as SubscriptionCache, v as buildApiRuntime, T as clearClientDiagnostics, i as clientDiagnosticsSnapshot, S as isUnauthenticated, g as publishClientError, m as publishClientTrace, a as recordClientDiagnostic, l as recoveryCoordinatorFor, t as rememberRpcErrorKind, f as reportClientError, p as resolveByTag, u as resolveRecoveryOptions, r as rpcErrorKind, b as runRpcPromise, E as stableKey, s as startApiSupervisor, n as subscribeClientDiagnostics, d as subscribeClientErrors, e as subscribeClientTraces, c as supersedesConfirmedPatches, _ as wireAuthRefresh, x as withProtocolOpenRecovery };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voltro/client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.80.0",
|
|
4
4
|
"description": "Framework-agnostic client bindings — the typed RpcClient, subscription cache, and reactive data layer the web hooks build on.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"voltro",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@tanstack/form-core": "^1.33.5",
|
|
47
47
|
"@tanstack/react-store": "^0.11.1",
|
|
48
|
-
"@voltro/protocol": "0.
|
|
48
|
+
"@voltro/protocol": "0.80.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"@effect/platform": "^0.97.2",
|