@liveblocks/client 0.17.7 → 0.17.10-debug

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/index.d.ts CHANGED
@@ -1,23 +1,5 @@
1
- import { C as ClientOptions, a as Client } from "./shared.js";
2
- export {
3
- B as BaseUserMeta,
4
- d as BroadcastOptions,
5
- a as Client,
6
- H as History,
7
- J as Json,
8
- e as JsonObject,
9
- L as LiveList,
10
- b as LiveMap,
11
- c as LiveObject,
12
- f as LiveStructure,
13
- g as Lson,
14
- h as LsonObject,
15
- O as Others,
16
- P as Presence,
17
- R as Room,
18
- S as StorageUpdate,
19
- U as User,
20
- } from "./shared.js";
1
+ import { C as ClientOptions, a as Client } from './index-0007883d.js';
2
+ export { B as BaseUserMeta, d as BroadcastOptions, a as Client, H as History, J as Json, e as JsonObject, L as LiveList, b as LiveMap, c as LiveObject, f as LiveStructure, g as Lson, h as LsonObject, O as Others, P as Presence, R as Room, S as StorageUpdate, U as User } from './index-0007883d.js';
21
3
 
22
4
  /**
23
5
  * Create a client that will be responsible to communicate with liveblocks servers.
@@ -52,12 +34,10 @@ declare function createClient(options: ClientOptions): Client;
52
34
  * information, see
53
35
  * https://liveblocks.io/docs/guides/limits#lson-constraint-and-interfaces
54
36
  */
55
- declare type EnsureJson<T> = [unknown] extends [T]
56
- ? T
57
- : T extends (...args: unknown[]) => unknown
58
- ? T
59
- : {
60
- [K in keyof T]: EnsureJson<T[K]>;
61
- };
37
+ declare type EnsureJson<T> = [
38
+ unknown
39
+ ] extends [T] ? T : T extends (...args: unknown[]) => unknown ? T : {
40
+ [K in keyof T]: EnsureJson<T[K]>;
41
+ };
62
42
 
63
43
  export { EnsureJson, createClient };