@liveblocks/client
Advanced tools
Comparing version 0.13.0-beta.1 to 0.13.0
@@ -842,6 +842,10 @@ "use strict"; | ||
state.isBatching = false; | ||
addToUndoStack(state.batch.reverseOps); | ||
if (state.batch.reverseOps.length > 0) { | ||
addToUndoStack(state.batch.reverseOps); | ||
} | ||
// Clear the redo stack because batch is always called from a local operation | ||
state.redoStack = []; | ||
dispatch(state.batch.ops); | ||
if (state.batch.ops.length > 0) { | ||
dispatch(state.batch.ops); | ||
} | ||
notify(state.batch.updates); | ||
@@ -848,0 +852,0 @@ state.batch = { |
@@ -820,6 +820,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
state.isBatching = false; | ||
addToUndoStack(state.batch.reverseOps); | ||
if (state.batch.reverseOps.length > 0) { | ||
addToUndoStack(state.batch.reverseOps); | ||
} | ||
// Clear the redo stack because batch is always called from a local operation | ||
state.redoStack = []; | ||
dispatch(state.batch.ops); | ||
if (state.batch.ops.length > 0) { | ||
dispatch(state.batch.ops); | ||
} | ||
notify(state.batch.updates); | ||
@@ -826,0 +830,0 @@ state.batch = { |
{ | ||
"name": "@liveblocks/client", | ||
"version": "0.13.0-beta.1", | ||
"version": "0.13.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/cjs/index.js", |
@@ -11,2 +11,8 @@ <p align="center"> | ||
## Installation | ||
``` | ||
npm install @liveblocks/client | ||
``` | ||
## Examples | ||
@@ -17,8 +23,2 @@ | ||
## Packages | ||
- [@liveblocks/client](https://github.com/liveblocks/liveblocks/tree/main/packages/liveblocks) | ||
- [@liveblocks/react](https://github.com/liveblocks/liveblocks/tree/main/packages/liveblocks-react) | ||
- [@liveblocks/node](https://github.com/liveblocks/liveblocks/tree/main/packages/liveblocks-node) | ||
## Documentation | ||
@@ -40,3 +40,3 @@ | ||
- [Slack](https://join.slack.com/t/liveblocks-community/shared_invite/zt-qozwnk75-6RB0i1wk1lx470KX0YuZxQ) - To get involved with the Liveblocks community, ask questions and share tips. | ||
- [Discord](https://discord.gg/X4YWJuH9VY) - To get involved with the Liveblocks community, ask questions and share tips. | ||
- [Twitter](https://twitter.com/liveblocks) - To receive updates, announcements, blog posts, and general Liveblocks tips. | ||
@@ -48,2 +48,2 @@ | ||
See [LICENSE](./LICENSE) for more information. | ||
See [LICENSE](../../LICENSE) for more information. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
7323
2
274746