@liveblocks/react 0.17.10 → 0.17.11
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.mjs +24 -23
- package/package.json +9 -2
package/index.mjs
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
import mod from "./index.js";
|
|
2
|
+
|
|
3
|
+
export default mod;
|
|
4
|
+
export const LiveblocksProvider = mod.LiveblocksProvider;
|
|
5
|
+
export const RoomProvider = mod.RoomProvider;
|
|
6
|
+
export const createRoomContext = mod.createRoomContext;
|
|
7
|
+
export const useBatch = mod.useBatch;
|
|
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;
|
package/package.json
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liveblocks/react",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.11",
|
|
4
4
|
"description": "A set of React hooks and providers to use Liveblocks declaratively.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"module": "./index.mjs",
|
|
7
7
|
"types": "./index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"require": "./index.js",
|
|
11
|
+
"import": "./index.mjs",
|
|
12
|
+
"types": "./index.d.ts"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
8
15
|
"keywords": [
|
|
9
16
|
"react",
|
|
10
17
|
"liveblocks",
|
|
@@ -17,7 +24,7 @@
|
|
|
17
24
|
},
|
|
18
25
|
"license": "Apache-2.0",
|
|
19
26
|
"peerDependencies": {
|
|
20
|
-
"@liveblocks/client": "0.17.
|
|
27
|
+
"@liveblocks/client": "0.17.11",
|
|
21
28
|
"react": "^16.14.0 || ^17 || ^18"
|
|
22
29
|
},
|
|
23
30
|
"repository": {
|