Comparing version 0.0.25 to 0.0.26
@@ -112,3 +112,3 @@ "use strict"; | ||
this.ot.reset(this.state && this.state.history ? this.state.history : []); | ||
this.workspace.reset(this.state && this.state.history ? this.state.history : []); | ||
yield this.workspace.reset(this.state && this.state.history ? this.state.history : []); | ||
this.workspace.onOp(op => this.onWorkspaceOp(op)); | ||
@@ -115,0 +115,0 @@ this.workspace.onReset(newOp => this.onWorkspaceReset(newOp)); |
{ | ||
"name": "libzap", | ||
"version": "0.0.25", | ||
"version": "0.0.26", | ||
"description": "JavaScript library for Zap", | ||
@@ -5,0 +5,0 @@ "license": "none", |
@@ -143,3 +143,3 @@ import { Client as OTClient } from "../ot/client"; | ||
this.ot.reset(this.state && this.state.history ? this.state.history : []); | ||
this.workspace.reset(this.state && this.state.history ? this.state.history : []); | ||
await this.workspace.reset(this.state && this.state.history ? this.state.history : []); | ||
this.workspace.onOp(op => this.onWorkspaceOp(op)); | ||
@@ -146,0 +146,0 @@ this.workspace.onReset(newOp => this.onWorkspaceReset(newOp)); |
Sorry, the diff of this file is not supported yet
229959