Socket
Socket
Sign inDemoInstall

@liveblocks/client

Package Overview
Dependencies
Maintainers
3
Versions
379
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liveblocks/client - npm Package Compare versions

Comparing version 0.13.0-beta.1 to 0.13.0

8

lib/cjs/room.js

@@ -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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc