@cocreate/crdt 1.9.6 → 1.9.7

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.9.7](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.9.6...v1.9.7) (2022-02-16)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update action param to name ([49e60b5](https://github.com/CoCreate-app/CoCreate-crdt/commit/49e60b593477e138fd3ae6bd6738f4f64fb804f6))
7
+
1
8
  ## [1.9.6](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.9.5...v1.9.6) (2022-02-10)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/crdt",
3
- "version": "1.9.6",
3
+ "version": "1.9.7",
4
4
  "description": "CoCreate crdt",
5
5
  "author": "CoCreate LLC",
6
6
  "license": "SEE LICENSE",
package/src/index.js CHANGED
@@ -340,7 +340,7 @@ function generateDocName(info) {
340
340
  }
341
341
 
342
342
  action.init({
343
- action: "undo",
343
+ name: "undo",
344
344
  endEvent: "undo",
345
345
  callback: (btn, data) => {
346
346
  undoChange(btn);
@@ -348,7 +348,7 @@ action.init({
348
348
  });
349
349
 
350
350
  action.init({
351
- action: "redo",
351
+ name: "redo",
352
352
  endEvent: "redo",
353
353
  callback: (btn, data) => {
354
354
  redoChange(btn);