@liveblocks/react 0.17.11 → 0.18.0-beta2
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/.built-by-link-script +1 -1
- package/index.d.ts +206 -231
- package/index.js +345 -498
- package/index.mjs +2 -20
- package/package.json +5 -2
package/index.mjs
CHANGED
|
@@ -1,24 +1,6 @@
|
|
|
1
1
|
import mod from "./index.js";
|
|
2
2
|
|
|
3
3
|
export default mod;
|
|
4
|
-
export const
|
|
5
|
-
export const RoomProvider = mod.RoomProvider;
|
|
4
|
+
export const ClientSideSuspense = mod.ClientSideSuspense;
|
|
6
5
|
export const createRoomContext = mod.createRoomContext;
|
|
7
|
-
export const
|
|
8
|
-
export const useBroadcastEvent = mod.useBroadcastEvent;
|
|
9
|
-
export const useClient = mod.useClient;
|
|
10
|
-
export const useErrorListener = mod.useErrorListener;
|
|
11
|
-
export const useEventListener = mod.useEventListener;
|
|
12
|
-
export const useHistory = mod.useHistory;
|
|
13
|
-
export const useList = mod.useList;
|
|
14
|
-
export const useMap = mod.useMap;
|
|
15
|
-
export const useMyPresence = mod.useMyPresence;
|
|
16
|
-
export const useObject = mod.useObject;
|
|
17
|
-
export const useOthers = mod.useOthers;
|
|
18
|
-
export const useRedo = mod.useRedo;
|
|
19
|
-
export const useRoom = mod.useRoom;
|
|
20
|
-
export const useSelf = mod.useSelf;
|
|
21
|
-
export const useStorage = mod.useStorage;
|
|
22
|
-
export const useStorageRoot = mod.useStorageRoot;
|
|
23
|
-
export const useUndo = mod.useUndo;
|
|
24
|
-
export const useUpdateMyPresence = mod.useUpdateMyPresence;
|
|
6
|
+
export const shallow = mod.shallow;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liveblocks/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0-beta2",
|
|
4
4
|
"description": "A set of React hooks and providers to use Liveblocks declaratively.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"module": "./index.mjs",
|
|
@@ -23,8 +23,11 @@
|
|
|
23
23
|
"url": "https://github.com/liveblocks/liveblocks/issues"
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"use-sync-external-store": "^1.2.0"
|
|
28
|
+
},
|
|
26
29
|
"peerDependencies": {
|
|
27
|
-
"@liveblocks/client": "0.
|
|
30
|
+
"@liveblocks/client": "0.18.0-beta2",
|
|
28
31
|
"react": "^16.14.0 || ^17 || ^18"
|
|
29
32
|
},
|
|
30
33
|
"repository": {
|