@live-change/content-service 0.8.30 → 0.8.32
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/index.js +1 -2
- package/package.json +4 -4
package/index.js
CHANGED
|
@@ -138,8 +138,7 @@ definition.action({
|
|
|
138
138
|
])
|
|
139
139
|
if(!documentData) throw new Error("Document not found")
|
|
140
140
|
if(version > documentData.version) throw new Error("Version not found")
|
|
141
|
-
await service.triggerService("prosemirror", {
|
|
142
|
-
type: 'takeSnapshot',
|
|
141
|
+
await service.triggerService({ service: "prosemirror", type: 'takeSnapshot' }, {
|
|
143
142
|
targetType: objectType,
|
|
144
143
|
target: object,
|
|
145
144
|
documentType: type || 'content',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/content-service",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.32",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"url": "https://www.viamage.com/"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@live-change/framework": "^0.8.
|
|
25
|
-
"@live-change/relations-plugin": "^0.8.
|
|
24
|
+
"@live-change/framework": "^0.8.32",
|
|
25
|
+
"@live-change/relations-plugin": "^0.8.32",
|
|
26
26
|
"lru-cache": "^7.12.0",
|
|
27
27
|
"pluralize": "^8.0.0",
|
|
28
28
|
"progress-stream": "^2.0.0",
|
|
29
29
|
"prosemirror-model": "^1.18.1"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "9ea7767670a99404794087726223064c45d798d3",
|
|
32
32
|
"type": "module"
|
|
33
33
|
}
|