@inditextech/weave-store-standalone 3.9.1 → 4.0.0
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/dist/client.js +6 -1
- package/dist/client.stats.html +1 -1
- package/dist/server.js +6 -1
- package/dist/server.stats.html +1 -1
- package/package.json +3 -3
package/dist/client.js
CHANGED
|
@@ -1497,7 +1497,12 @@ var WeaveStoreStandalone = class extends WeaveStore {
|
|
|
1497
1497
|
yjs_default.applyUpdate(tempDoc, roomDataSnapshot);
|
|
1498
1498
|
const actualStateString = JSON.stringify(tempDoc.getMap("weave").toJSON());
|
|
1499
1499
|
const actualStateJson = JSON.parse(actualStateString);
|
|
1500
|
-
|
|
1500
|
+
const actualMetadataStateString = JSON.stringify(tempDoc.getMap("weaveMetadata").toJSON());
|
|
1501
|
+
const actualMetadataStateJson = JSON.parse(actualMetadataStateString);
|
|
1502
|
+
return {
|
|
1503
|
+
weave: actualStateJson,
|
|
1504
|
+
weaveMetadata: actualMetadataStateJson
|
|
1505
|
+
};
|
|
1501
1506
|
}
|
|
1502
1507
|
async connect() {
|
|
1503
1508
|
if (this.roomData) {
|
package/dist/client.stats.html
CHANGED
|
@@ -4930,7 +4930,7 @@ var drawChart = (function (exports) {
|
|
|
4930
4930
|
</script>
|
|
4931
4931
|
<script>
|
|
4932
4932
|
/*<!--*/
|
|
4933
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"client.d.ts","children":[{"name":"src","children":[{"uid":"
|
|
4933
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"client.d.ts","children":[{"name":"src","children":[{"uid":"476bbc4f-1","name":"types.d.ts"},{"uid":"476bbc4f-3","name":"store-standalone.d.ts"},{"uid":"476bbc4f-5","name":"constants.d.ts"},{"uid":"476bbc4f-7","name":"index.client.d.ts"}]}]},{"name":"client.js","children":[{"uid":"476bbc4f-9","name":"rolldown:runtime"},{"name":"src","children":[{"uid":"476bbc4f-11","name":"yjs.ts"},{"uid":"476bbc4f-13","name":"constants.ts"},{"uid":"476bbc4f-21","name":"store-standalone.ts"},{"uid":"476bbc4f-23","name":"index.client.ts"}]},{"name":"home/runner/work/weavejs/weavejs/code/node_modules","children":[{"name":"base64-js/index.js","uid":"476bbc4f-15"},{"name":"ieee754/index.js","uid":"476bbc4f-17"},{"name":"buffer/index.js","uid":"476bbc4f-19"}]}]}],"isRoot":true},"nodeParts":{"476bbc4f-1":{"renderedLength":141,"gzipLength":131,"brotliLength":114,"metaUid":"476bbc4f-0"},"476bbc4f-3":{"renderedLength":218,"gzipLength":145,"brotliLength":134,"metaUid":"476bbc4f-2"},"476bbc4f-5":{"renderedLength":76,"gzipLength":89,"brotliLength":80,"metaUid":"476bbc4f-4"},"476bbc4f-7":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"476bbc4f-6"},"476bbc4f-9":{"renderedLength":1145,"gzipLength":564,"brotliLength":500,"metaUid":"476bbc4f-8"},"476bbc4f-11":{"renderedLength":55,"gzipLength":71,"brotliLength":59,"metaUid":"476bbc4f-10"},"476bbc4f-13":{"renderedLength":91,"gzipLength":99,"brotliLength":78,"metaUid":"476bbc4f-12"},"476bbc4f-15":{"renderedLength":3352,"gzipLength":1102,"brotliLength":980,"metaUid":"476bbc4f-14"},"476bbc4f-17":{"renderedLength":2251,"gzipLength":829,"brotliLength":764,"metaUid":"476bbc4f-16"},"476bbc4f-19":{"renderedLength":50508,"gzipLength":10363,"brotliLength":9054,"metaUid":"476bbc4f-18"},"476bbc4f-21":{"renderedLength":1487,"gzipLength":607,"brotliLength":506,"metaUid":"476bbc4f-20"},"476bbc4f-23":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"476bbc4f-22"}},"nodeMetas":{"476bbc4f-0":{"id":"/src/types.d.ts","moduleParts":{"client.d.ts":"476bbc4f-1"},"imported":[{"uid":"476bbc4f-26"}],"importedBy":[{"uid":"476bbc4f-6"},{"uid":"476bbc4f-2"}]},"476bbc4f-2":{"id":"/src/store-standalone.d.ts","moduleParts":{"client.d.ts":"476bbc4f-3"},"imported":[{"uid":"476bbc4f-24"},{"uid":"476bbc4f-25"},{"uid":"476bbc4f-0"}],"importedBy":[{"uid":"476bbc4f-6"}]},"476bbc4f-4":{"id":"/src/constants.d.ts","moduleParts":{"client.d.ts":"476bbc4f-5"},"imported":[],"importedBy":[{"uid":"476bbc4f-6"}]},"476bbc4f-6":{"id":"/src/index.client.d.ts","moduleParts":{"client.d.ts":"476bbc4f-7"},"imported":[{"uid":"476bbc4f-2"},{"uid":"476bbc4f-4"},{"uid":"476bbc4f-0"}],"importedBy":[],"isEntry":true},"476bbc4f-8":{"id":"rolldown:runtime","moduleParts":{"client.js":"476bbc4f-9"},"imported":[],"importedBy":[]},"476bbc4f-10":{"id":"/src/yjs.ts","moduleParts":{"client.js":"476bbc4f-11"},"imported":[{"uid":"476bbc4f-26"}],"importedBy":[{"uid":"476bbc4f-20"}]},"476bbc4f-12":{"id":"/src/constants.ts","moduleParts":{"client.js":"476bbc4f-13"},"imported":[],"importedBy":[{"uid":"476bbc4f-22"},{"uid":"476bbc4f-20"}]},"476bbc4f-14":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/base64-js/index.js","moduleParts":{"client.js":"476bbc4f-15"},"imported":[],"importedBy":[{"uid":"476bbc4f-18"}]},"476bbc4f-16":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/ieee754/index.js","moduleParts":{"client.js":"476bbc4f-17"},"imported":[],"importedBy":[{"uid":"476bbc4f-18"}]},"476bbc4f-18":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/buffer/index.js","moduleParts":{"client.js":"476bbc4f-19"},"imported":[{"uid":"476bbc4f-14"},{"uid":"476bbc4f-16"}],"importedBy":[{"uid":"476bbc4f-20"}]},"476bbc4f-20":{"id":"/src/store-standalone.ts","moduleParts":{"client.js":"476bbc4f-21"},"imported":[{"uid":"476bbc4f-10"},{"uid":"476bbc4f-24"},{"uid":"476bbc4f-25"},{"uid":"476bbc4f-12"},{"uid":"476bbc4f-18"}],"importedBy":[{"uid":"476bbc4f-22"}]},"476bbc4f-22":{"id":"/src/index.client.ts","moduleParts":{"client.js":"476bbc4f-23"},"imported":[{"uid":"476bbc4f-20"},{"uid":"476bbc4f-12"},{"uid":"476bbc4f-27"}],"importedBy":[],"isEntry":true},"476bbc4f-24":{"id":"@inditextech/weave-sdk","moduleParts":{},"imported":[],"importedBy":[{"uid":"476bbc4f-2"},{"uid":"476bbc4f-20"}]},"476bbc4f-25":{"id":"@inditextech/weave-types","moduleParts":{},"imported":[],"importedBy":[{"uid":"476bbc4f-2"},{"uid":"476bbc4f-20"}]},"476bbc4f-26":{"id":"yjs","moduleParts":{},"imported":[],"importedBy":[{"uid":"476bbc4f-0"},{"uid":"476bbc4f-10"}]},"476bbc4f-27":{"id":"/src/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"476bbc4f-22"}]}},"env":{"rollup":"4.23.0"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
|
|
4934
4934
|
|
|
4935
4935
|
const run = () => {
|
|
4936
4936
|
const width = window.innerWidth;
|
package/dist/server.js
CHANGED
|
@@ -26,7 +26,12 @@ var WeaveStoreStandalone = class extends WeaveStore {
|
|
|
26
26
|
yjs_default.applyUpdate(tempDoc, roomDataSnapshot);
|
|
27
27
|
const actualStateString = JSON.stringify(tempDoc.getMap("weave").toJSON());
|
|
28
28
|
const actualStateJson = JSON.parse(actualStateString);
|
|
29
|
-
|
|
29
|
+
const actualMetadataStateString = JSON.stringify(tempDoc.getMap("weaveMetadata").toJSON());
|
|
30
|
+
const actualMetadataStateJson = JSON.parse(actualMetadataStateString);
|
|
31
|
+
return {
|
|
32
|
+
weave: actualStateJson,
|
|
33
|
+
weaveMetadata: actualMetadataStateJson
|
|
34
|
+
};
|
|
30
35
|
}
|
|
31
36
|
async connect() {
|
|
32
37
|
if (this.roomData) {
|
package/dist/server.stats.html
CHANGED
|
@@ -4930,7 +4930,7 @@ var drawChart = (function (exports) {
|
|
|
4930
4930
|
</script>
|
|
4931
4931
|
<script>
|
|
4932
4932
|
/*<!--*/
|
|
4933
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"server.d.ts","children":[{"name":"src","children":[{"uid":"
|
|
4933
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"server.d.ts","children":[{"name":"src","children":[{"uid":"4d32efef-1","name":"types.d.ts"},{"uid":"4d32efef-3","name":"store-standalone.d.ts"},{"uid":"4d32efef-5","name":"constants.d.ts"},{"uid":"4d32efef-7","name":"index.server.d.ts"}]}]},{"name":"server.js","children":[{"name":"src","children":[{"uid":"4d32efef-9","name":"yjs.ts"},{"uid":"4d32efef-11","name":"constants.ts"},{"uid":"4d32efef-13","name":"store-standalone.ts"},{"uid":"4d32efef-15","name":"index.server.ts"}]}]}],"isRoot":true},"nodeParts":{"4d32efef-1":{"renderedLength":141,"gzipLength":131,"brotliLength":115,"metaUid":"4d32efef-0"},"4d32efef-3":{"renderedLength":218,"gzipLength":144,"brotliLength":137,"metaUid":"4d32efef-2"},"4d32efef-5":{"renderedLength":76,"gzipLength":89,"brotliLength":77,"metaUid":"4d32efef-4"},"4d32efef-7":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"4d32efef-6"},"4d32efef-9":{"renderedLength":55,"gzipLength":71,"brotliLength":59,"metaUid":"4d32efef-8"},"4d32efef-11":{"renderedLength":91,"gzipLength":99,"brotliLength":78,"metaUid":"4d32efef-10"},"4d32efef-13":{"renderedLength":1473,"gzipLength":598,"brotliLength":491,"metaUid":"4d32efef-12"},"4d32efef-15":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"4d32efef-14"}},"nodeMetas":{"4d32efef-0":{"id":"/src/types.d.ts","moduleParts":{"server.d.ts":"4d32efef-1"},"imported":[{"uid":"4d32efef-18"}],"importedBy":[{"uid":"4d32efef-6"},{"uid":"4d32efef-2"}]},"4d32efef-2":{"id":"/src/store-standalone.d.ts","moduleParts":{"server.d.ts":"4d32efef-3"},"imported":[{"uid":"4d32efef-16"},{"uid":"4d32efef-17"},{"uid":"4d32efef-0"}],"importedBy":[{"uid":"4d32efef-6"}]},"4d32efef-4":{"id":"/src/constants.d.ts","moduleParts":{"server.d.ts":"4d32efef-5"},"imported":[],"importedBy":[{"uid":"4d32efef-6"}]},"4d32efef-6":{"id":"/src/index.server.d.ts","moduleParts":{"server.d.ts":"4d32efef-7"},"imported":[{"uid":"4d32efef-2"},{"uid":"4d32efef-4"},{"uid":"4d32efef-0"}],"importedBy":[],"isEntry":true},"4d32efef-8":{"id":"/src/yjs.ts","moduleParts":{"server.js":"4d32efef-9"},"imported":[{"uid":"4d32efef-18"}],"importedBy":[{"uid":"4d32efef-12"}]},"4d32efef-10":{"id":"/src/constants.ts","moduleParts":{"server.js":"4d32efef-11"},"imported":[],"importedBy":[{"uid":"4d32efef-14"},{"uid":"4d32efef-12"}]},"4d32efef-12":{"id":"/src/store-standalone.ts","moduleParts":{"server.js":"4d32efef-13"},"imported":[{"uid":"4d32efef-8"},{"uid":"4d32efef-16"},{"uid":"4d32efef-17"},{"uid":"4d32efef-10"},{"uid":"4d32efef-20"}],"importedBy":[{"uid":"4d32efef-14"}]},"4d32efef-14":{"id":"/src/index.server.ts","moduleParts":{"server.js":"4d32efef-15"},"imported":[{"uid":"4d32efef-12"},{"uid":"4d32efef-10"},{"uid":"4d32efef-19"}],"importedBy":[],"isEntry":true},"4d32efef-16":{"id":"@inditextech/weave-sdk","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d32efef-2"},{"uid":"4d32efef-12"}]},"4d32efef-17":{"id":"@inditextech/weave-types","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d32efef-2"},{"uid":"4d32efef-12"}]},"4d32efef-18":{"id":"yjs","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d32efef-0"},{"uid":"4d32efef-8"}]},"4d32efef-19":{"id":"/src/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d32efef-14"}]},"4d32efef-20":{"id":"buffer","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d32efef-12"}]}},"env":{"rollup":"4.23.0"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
|
|
4934
4934
|
|
|
4935
4935
|
const run = () => {
|
|
4936
4936
|
const width = window.innerWidth;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inditextech/weave-store-standalone",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Jesus Manuel Piñeiro Cid <jesusmpc@inditex.com>",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"version:release": "npm version $RELEASE_VERSION -m \"[npm-scripts] prepare release $RELEASE_VERSION\" --tag-version-prefix \"\""
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@inditextech/weave-sdk": "
|
|
56
|
-
"@inditextech/weave-types": "
|
|
55
|
+
"@inditextech/weave-sdk": "4.0.0",
|
|
56
|
+
"@inditextech/weave-types": "4.0.0",
|
|
57
57
|
"@syncedstore/core": "0.6.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|