@fuzdev/fuz_app 0.128.0 → 0.130.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/actions/CLAUDE.md +23 -6
- package/dist/actions/connection_closer.d.ts +3 -1
- package/dist/actions/connection_closer.d.ts.map +1 -1
- package/dist/actions/register_action_ws.d.ts +46 -1
- package/dist/actions/register_action_ws.d.ts.map +1 -1
- package/dist/actions/register_action_ws.js +105 -14
- package/dist/actions/transports.d.ts +2 -1
- package/dist/actions/transports.d.ts.map +1 -1
- package/dist/actions/transports.js +2 -1
- package/dist/actions/transports_ws_backend.d.ts +37 -4
- package/dist/actions/transports_ws_backend.d.ts.map +1 -1
- package/dist/actions/transports_ws_backend.js +68 -4
- package/dist/auth/CLAUDE.md +1 -1
- package/dist/auth/actor_lookup_action_specs.d.ts +2 -2
- package/dist/auth/actor_lookup_action_specs.js +2 -2
- package/dist/auth/audit_emitter.d.ts +14 -7
- package/dist/auth/audit_emitter.d.ts.map +1 -1
- package/dist/auth/audit_emitter.js +6 -8
- package/dist/auth/audit_log_routes.d.ts +7 -3
- package/dist/auth/audit_log_routes.d.ts.map +1 -1
- package/dist/auth/audit_log_routes.js +48 -26
- package/dist/auth/bearer_auth.d.ts +3 -2
- package/dist/auth/bearer_auth.d.ts.map +1 -1
- package/dist/auth/bearer_auth.js +3 -2
- package/dist/auth/request_context.d.ts +1 -1
- package/dist/auth/request_context.js +1 -1
- package/dist/auth/token_scope.d.ts +4 -2
- package/dist/auth/token_scope.d.ts.map +1 -1
- package/dist/auth/token_scope.js +10 -2
- package/dist/http/CLAUDE.md +4 -5
- package/dist/http/auth_shape.d.ts +3 -2
- package/dist/http/auth_shape.d.ts.map +1 -1
- package/dist/http/auth_shape.js +3 -2
- package/dist/http/common_routes.d.ts +1 -14
- package/dist/http/common_routes.d.ts.map +1 -1
- package/dist/http/common_routes.js +1 -19
- package/dist/http/ip_canonical.d.ts +1 -1
- package/dist/http/ip_canonical.js +1 -1
- package/dist/http/jsonrpc_errors.d.ts.map +1 -1
- package/dist/http/jsonrpc_errors.js +7 -5
- package/dist/realtime/sse.d.ts +14 -1
- package/dist/realtime/sse.d.ts.map +1 -1
- package/dist/realtime/sse.js +77 -1
- package/dist/realtime/sse_auth_guard.d.ts +3 -1
- package/dist/realtime/sse_auth_guard.d.ts.map +1 -1
- package/dist/realtime/sse_auth_guard.js +4 -2
- package/dist/realtime/subscriber_registry.d.ts +44 -8
- package/dist/realtime/subscriber_registry.d.ts.map +1 -1
- package/dist/realtime/subscriber_registry.js +64 -10
- package/dist/server/app_server.d.ts +122 -8
- package/dist/server/app_server.d.ts.map +1 -1
- package/dist/server/app_server.js +136 -91
- package/dist/server/surface_route.d.ts +32 -0
- package/dist/server/surface_route.d.ts.map +1 -0
- package/dist/server/surface_route.js +46 -0
- package/dist/testing/CLAUDE.md +33 -12
- package/dist/testing/app_server.d.ts +39 -4
- package/dist/testing/app_server.d.ts.map +1 -1
- package/dist/testing/app_server.js +84 -68
- package/dist/testing/audit_completeness.js +1 -1
- package/dist/testing/audit_drift_guard.d.ts +1 -1
- package/dist/testing/cross_backend/default_spine_surface.d.ts +2 -2
- package/dist/testing/cross_backend/default_spine_surface.d.ts.map +1 -1
- package/dist/testing/cross_backend/default_spine_surface.js +5 -2
- package/dist/testing/cross_backend/identity_parity.js +1 -1
- package/dist/testing/cross_backend/in_process_setup.d.ts.map +1 -1
- package/dist/testing/cross_backend/in_process_setup.js +4 -1
- package/dist/testing/cross_backend/method_coverage.d.ts +1 -1
- package/dist/testing/cross_backend/method_coverage.d.ts.map +1 -1
- package/dist/testing/cross_backend/method_coverage.js +2 -2
- package/dist/testing/cross_backend/peer_ping_ws.d.ts +1 -1
- package/dist/testing/cross_backend/peer_ping_ws.d.ts.map +1 -1
- package/dist/testing/cross_backend/peer_ping_ws.js +4 -4
- package/dist/testing/cross_backend/role_grant_offer_notification_ws.d.ts +1 -1
- package/dist/testing/cross_backend/role_grant_offer_notification_ws.d.ts.map +1 -1
- package/dist/testing/cross_backend/setup.d.ts +4 -4
- package/dist/testing/cross_backend/setup.js +1 -1
- package/dist/testing/cross_backend/sse_round_trip.d.ts +1 -1
- package/dist/testing/cross_backend/sse_round_trip.d.ts.map +1 -1
- package/dist/testing/cross_backend/testing_reset_actions.d.ts +24 -14
- package/dist/testing/cross_backend/testing_reset_actions.d.ts.map +1 -1
- package/dist/testing/cross_backend/testing_reset_actions.js +40 -32
- package/dist/testing/cross_backend/testing_server_bun.d.ts +1 -1
- package/dist/testing/cross_backend/testing_server_bun.d.ts.map +1 -1
- package/dist/testing/cross_backend/testing_server_bun.js +80 -64
- package/dist/testing/cross_backend/testing_server_core.d.ts +10 -4
- package/dist/testing/cross_backend/testing_server_core.d.ts.map +1 -1
- package/dist/testing/cross_backend/testing_server_deno.d.ts +1 -1
- package/dist/testing/cross_backend/testing_server_deno.d.ts.map +1 -1
- package/dist/testing/cross_backend/testing_server_deno.js +1 -1
- package/dist/testing/cross_backend/testing_server_node.d.ts +1 -1
- package/dist/testing/cross_backend/testing_server_node.d.ts.map +1 -1
- package/dist/testing/cross_backend/testing_server_node.js +2 -2
- package/dist/testing/cross_backend/ws_inbound_dispatch.d.ts +20 -0
- package/dist/testing/cross_backend/ws_inbound_dispatch.d.ts.map +1 -0
- package/dist/testing/cross_backend/ws_inbound_dispatch.js +177 -0
- package/dist/testing/cross_backend/ws_round_trip.d.ts +1 -1
- package/dist/testing/cross_backend/ws_round_trip.d.ts.map +1 -1
- package/dist/testing/cross_backend/ws_round_trip.js +11 -9
- package/dist/testing/stubs.d.ts +45 -7
- package/dist/testing/stubs.d.ts.map +1 -1
- package/dist/testing/stubs.js +60 -31
- package/dist/testing/ws_round_trip.d.ts +1 -3
- package/dist/testing/ws_round_trip.d.ts.map +1 -1
- package/dist/ui/AdminSurface.svelte +3 -1
- package/dist/ui/AdminSurface.svelte.d.ts.map +1 -1
- package/dist/ui/CLAUDE.md +3 -1
- package/dist/ui/async_slot.svelte.d.ts +4 -4
- package/dist/ui/async_slot.svelte.js +4 -4
- package/dist/ui/keyed_async_slot.svelte.d.ts +4 -4
- package/dist/ui/keyed_async_slot.svelte.js +3 -3
- package/package.json +1 -1
|
@@ -46,7 +46,7 @@ import { AsyncSlot, type AsyncSlotOptions, type RunOptions } from './async_slot.
|
|
|
46
46
|
* Constructor options for `KeyedAsyncSlot`. Propagated to every child
|
|
47
47
|
* `AsyncSlot` at lazy creation time.
|
|
48
48
|
*
|
|
49
|
-
* `initial` from
|
|
49
|
+
* `initial` from `AsyncSlotOptions` is deliberately omitted —
|
|
50
50
|
* keyed slots have no per-key seed concept (the entries don't exist
|
|
51
51
|
* until `run()` creates them).
|
|
52
52
|
*/
|
|
@@ -74,7 +74,7 @@ export declare class KeyedAsyncSlot<K, T = void, E = string> {
|
|
|
74
74
|
* `undefined` if no `run()` has been issued for it yet. Reactive on
|
|
75
75
|
* map population and on the slot's `$state.raw` fields.
|
|
76
76
|
*
|
|
77
|
-
* Prefer the sugar getters (
|
|
77
|
+
* Prefer the sugar getters (`loading`, `error`) for
|
|
78
78
|
* templates; reach for `get(key)` when you need `error_data`, `data`,
|
|
79
79
|
* or to call `abort()` / `set()` / `reset()` on the underlying slot.
|
|
80
80
|
*/
|
|
@@ -109,12 +109,12 @@ export declare class KeyedAsyncSlot<K, T = void, E = string> {
|
|
|
109
109
|
/**
|
|
110
110
|
* Abort the in-flight run for `key`, if any. No-op when the key has
|
|
111
111
|
* no entry. The slot stays in the map at its prior resolved status —
|
|
112
|
-
* call
|
|
112
|
+
* call `delete` to remove the entry entirely.
|
|
113
113
|
*/
|
|
114
114
|
abort(key: K, reason?: unknown): void;
|
|
115
115
|
/**
|
|
116
116
|
* Abort every in-flight run. Resolved entries stay in the map —
|
|
117
|
-
* call
|
|
117
|
+
* call `reset` to clear them too.
|
|
118
118
|
*/
|
|
119
119
|
abort_all(reason?: unknown): void;
|
|
120
120
|
/**
|
|
@@ -73,7 +73,7 @@ export class KeyedAsyncSlot {
|
|
|
73
73
|
* `undefined` if no `run()` has been issued for it yet. Reactive on
|
|
74
74
|
* map population and on the slot's `$state.raw` fields.
|
|
75
75
|
*
|
|
76
|
-
* Prefer the sugar getters (
|
|
76
|
+
* Prefer the sugar getters (`loading`, `error`) for
|
|
77
77
|
* templates; reach for `get(key)` when you need `error_data`, `data`,
|
|
78
78
|
* or to call `abort()` / `set()` / `reset()` on the underlying slot.
|
|
79
79
|
*/
|
|
@@ -131,14 +131,14 @@ export class KeyedAsyncSlot {
|
|
|
131
131
|
/**
|
|
132
132
|
* Abort the in-flight run for `key`, if any. No-op when the key has
|
|
133
133
|
* no entry. The slot stays in the map at its prior resolved status —
|
|
134
|
-
* call
|
|
134
|
+
* call `delete` to remove the entry entirely.
|
|
135
135
|
*/
|
|
136
136
|
abort(key, reason) {
|
|
137
137
|
this.#slots.get(key)?.abort(reason);
|
|
138
138
|
}
|
|
139
139
|
/**
|
|
140
140
|
* Abort every in-flight run. Resolved entries stay in the map —
|
|
141
|
-
* call
|
|
141
|
+
* call `reset` to clear them too.
|
|
142
142
|
*/
|
|
143
143
|
abort_all(reason) {
|
|
144
144
|
for (const slot of this.#slots.values()) {
|