@liveblocks/redux 1.0.2 → 1.0.6-test2
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/README.md +3 -2
- package/dist/index.js +8 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -34,8 +34,9 @@ npm install @liveblocks/client @liveblocks/redux
|
|
|
34
34
|
|
|
35
35
|
## Documentation
|
|
36
36
|
|
|
37
|
-
Read the
|
|
38
|
-
|
|
37
|
+
Read the
|
|
38
|
+
[documentation](https://liveblocks.io/docs/api-reference/liveblocks-redux) for
|
|
39
|
+
guides and API references.
|
|
39
40
|
|
|
40
41
|
## Examples
|
|
41
42
|
|
package/dist/index.js
CHANGED
|
@@ -246,7 +246,15 @@ var internalEnhancer = (options) => {
|
|
|
246
246
|
};
|
|
247
247
|
};
|
|
248
248
|
var actions = {
|
|
249
|
+
/**
|
|
250
|
+
* Enters a room and starts sync it with Redux state
|
|
251
|
+
* @param roomId The id of the room
|
|
252
|
+
*/
|
|
249
253
|
enterRoom,
|
|
254
|
+
/**
|
|
255
|
+
* Leaves a room and stops sync it with Redux state.
|
|
256
|
+
* @param roomId The id of the room
|
|
257
|
+
*/
|
|
250
258
|
leaveRoom
|
|
251
259
|
};
|
|
252
260
|
function enterRoom(roomId) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liveblocks/redux",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6-test2",
|
|
4
4
|
"description": "A store enhancer to integrate Liveblocks into Redux stores. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"test:watch": "jest --silent --verbose --color=always --watch"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@liveblocks/client": "1.0.
|
|
22
|
-
"@liveblocks/core": "1.0.
|
|
21
|
+
"@liveblocks/client": "1.0.6-test2",
|
|
22
|
+
"@liveblocks/core": "1.0.6-test2"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"redux": "^4"
|