@textbus/collaborate 4.0.0-alpha.51 → 4.0.0-alpha.52

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.
@@ -676,7 +676,7 @@ let Collaborate = class Collaborate {
676
676
  for (const action of actions) {
677
677
  switch (action.type) {
678
678
  case 'propSet':
679
- sharedObject.set(action.key, this.createSharedModelByLocalModel(action.value));
679
+ sharedObject.set(action.key, this.createSharedModelByLocalModel(action.ref));
680
680
  break;
681
681
  case 'propDelete':
682
682
  sharedObject.delete(action.key);
package/bundles/index.js CHANGED
@@ -678,7 +678,7 @@ exports.Collaborate = class Collaborate {
678
678
  for (const action of actions) {
679
679
  switch (action.type) {
680
680
  case 'propSet':
681
- sharedObject.set(action.key, this.createSharedModelByLocalModel(action.value));
681
+ sharedObject.set(action.key, this.createSharedModelByLocalModel(action.ref));
682
682
  break;
683
683
  case 'propDelete':
684
684
  sharedObject.delete(action.key);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/collaborate",
3
- "version": "4.0.0-alpha.51",
3
+ "version": "4.0.0-alpha.52",
4
4
  "description": "Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.",
5
5
  "main": "./bundles/index.js",
6
6
  "module": "./bundles/index.esm.js",
@@ -25,8 +25,8 @@
25
25
  "typescript editor"
26
26
  ],
27
27
  "dependencies": {
28
- "@tanbo/stream": "^1.2.3",
29
- "@textbus/core": "^4.0.0-alpha.50",
28
+ "@tanbo/stream": "^1.2.4",
29
+ "@textbus/core": "^4.0.0-alpha.52",
30
30
  "@viewfly/core": "^1.0.0-alpha.4",
31
31
  "reflect-metadata": "^0.1.13",
32
32
  "y-websocket": "^1.4.3",
@@ -50,5 +50,5 @@
50
50
  "bugs": {
51
51
  "url": "https://github.com/textbus/textbus.git/issues"
52
52
  },
53
- "gitHead": "0b54e3b23238b09096449e8fccf0127820f8e206"
53
+ "gitHead": "c32fdbd9a1a03585b408297efc3c5414b3be5559"
54
54
  }