@live-state/sync 0.0.6-canary-13 → 0.0.6-canary-14

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/client.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { e as Client, d as ClientEvents, C as ClientOptions, c as ConnectionStateChangeEvent, M as MessageReceivedEvent, f as createClient, u as useLiveQuery, b as useLoadData } from './index-BiZR-P7f.js';
1
+ export { e as Client, d as ClientEvents, C as ClientOptions, c as ConnectionStateChangeEvent, M as MessageReceivedEvent, f as createClient, u as useLiveQuery, b as useLoadData } from './index-DixUPrmV.js';
2
2
  import 'zod';
3
3
  import 'zod/v3';
4
4
  import 'zod/v4/core';
@@ -1,4 +1,4 @@
1
- import { C as ClientOptions, A as AnyRouter, a as Client } from './index-BiZR-P7f.js';
1
+ import { C as ClientOptions, A as AnyRouter, a as Client } from './index-DixUPrmV.js';
2
2
  import 'zod';
3
3
  import 'zod/v3';
4
4
  import 'zod/v4/core';
@@ -259,7 +259,7 @@ type RawQueryRequest = z.infer<typeof querySchema>;
259
259
  type RouteRecord = Record<string, AnyRoute>;
260
260
  declare class Router<TRoutes extends RouteRecord> {
261
261
  readonly routes: TRoutes;
262
- private readonly hooksRegistry;
262
+ readonly hooksRegistry: Map<string, Hooks<any>>;
263
263
  private constructor();
264
264
  static create<TRoutes extends RouteRecord>(opts: {
265
265
  routes: TRoutes;
package/dist/server.d.cts CHANGED
@@ -48,7 +48,7 @@ type PromiseOrSync<T> = T | Promise<T>;
48
48
  type RouteRecord = Record<string, AnyRoute>;
49
49
  declare class Router<TRoutes extends RouteRecord> {
50
50
  readonly routes: TRoutes;
51
- private readonly hooksRegistry;
51
+ readonly hooksRegistry: Map<string, Hooks<any>>;
52
52
  private constructor();
53
53
  static create<TRoutes extends RouteRecord>(opts: {
54
54
  routes: TRoutes;
package/dist/server.d.ts CHANGED
@@ -48,7 +48,7 @@ type PromiseOrSync<T> = T | Promise<T>;
48
48
  type RouteRecord = Record<string, AnyRoute>;
49
49
  declare class Router<TRoutes extends RouteRecord> {
50
50
  readonly routes: TRoutes;
51
- private readonly hooksRegistry;
51
+ readonly hooksRegistry: Map<string, Hooks<any>>;
52
52
  private constructor();
53
53
  static create<TRoutes extends RouteRecord>(opts: {
54
54
  routes: TRoutes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-state/sync",
3
- "version": "0.0.6-canary-13",
3
+ "version": "0.0.6-canary-14",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"