@inditextech/weave-react 3.9.2 → 4.0.1

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/react.js CHANGED
@@ -51,7 +51,10 @@ const create = (createState) => createState ? createImpl(createState) : createIm
51
51
  //#region src/components/store.tsx
52
52
  const defaultAppState = {
53
53
  instance: null,
54
- appState: { weave: {} },
54
+ appState: {
55
+ weave: {},
56
+ weaveMetadata: {}
57
+ },
55
58
  status: WEAVE_INSTANCE_STATUS.IDLE,
56
59
  room: {
57
60
  id: null,
@@ -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":"react.d.ts","children":[{"name":"src","children":[{"name":"components","children":[{"uid":"a0fd9c69-1","name":"provider.d.ts"},{"uid":"a0fd9c69-3","name":"store.d.ts"}]},{"name":"hooks/events.d.ts","uid":"a0fd9c69-5"},{"uid":"a0fd9c69-7","name":"index.d.ts"}]}]},{"name":"react.js","children":[{"name":"home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm","children":[{"uid":"a0fd9c69-9","name":"vanilla.mjs"},{"uid":"a0fd9c69-11","name":"react.mjs"}]},{"name":"src","children":[{"name":"components","children":[{"uid":"a0fd9c69-13","name":"store.tsx"},{"uid":"a0fd9c69-15","name":"provider.tsx"}]},{"name":"hooks/events.tsx","uid":"a0fd9c69-17"},{"uid":"a0fd9c69-19","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"a0fd9c69-1":{"renderedLength":622,"gzipLength":278,"brotliLength":227,"metaUid":"a0fd9c69-0"},"a0fd9c69-3":{"renderedLength":569,"gzipLength":221,"brotliLength":174,"metaUid":"a0fd9c69-2"},"a0fd9c69-5":{"renderedLength":71,"gzipLength":84,"brotliLength":69,"metaUid":"a0fd9c69-4"},"a0fd9c69-7":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"a0fd9c69-6"},"a0fd9c69-9":{"renderedLength":1019,"gzipLength":445,"brotliLength":387,"metaUid":"a0fd9c69-8"},"a0fd9c69-11":{"renderedLength":601,"gzipLength":305,"brotliLength":279,"metaUid":"a0fd9c69-10"},"a0fd9c69-13":{"renderedLength":3178,"gzipLength":808,"brotliLength":712,"metaUid":"a0fd9c69-12"},"a0fd9c69-15":{"renderedLength":5557,"gzipLength":1162,"brotliLength":997,"metaUid":"a0fd9c69-14"},"a0fd9c69-17":{"renderedLength":3978,"gzipLength":814,"brotliLength":750,"metaUid":"a0fd9c69-16"},"a0fd9c69-19":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"a0fd9c69-18"}},"nodeMetas":{"a0fd9c69-0":{"id":"/src/components/provider.d.ts","moduleParts":{"react.d.ts":"a0fd9c69-1"},"imported":[{"uid":"a0fd9c69-20"},{"uid":"a0fd9c69-21"},{"uid":"a0fd9c69-22"}],"importedBy":[{"uid":"a0fd9c69-6"}]},"a0fd9c69-2":{"id":"/src/components/store.d.ts","moduleParts":{"react.d.ts":"a0fd9c69-3"},"imported":[{"uid":"a0fd9c69-21"},{"uid":"a0fd9c69-22"},{"uid":"a0fd9c69-23"}],"importedBy":[{"uid":"a0fd9c69-6"}]},"a0fd9c69-4":{"id":"/src/hooks/events.d.ts","moduleParts":{"react.d.ts":"a0fd9c69-5"},"imported":[],"importedBy":[{"uid":"a0fd9c69-6"}]},"a0fd9c69-6":{"id":"/src/index.d.ts","moduleParts":{"react.d.ts":"a0fd9c69-7"},"imported":[{"uid":"a0fd9c69-0"},{"uid":"a0fd9c69-2"},{"uid":"a0fd9c69-4"}],"importedBy":[],"isEntry":true},"a0fd9c69-8":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/vanilla.mjs","moduleParts":{"react.js":"a0fd9c69-9"},"imported":[],"importedBy":[{"uid":"a0fd9c69-24"},{"uid":"a0fd9c69-10"}]},"a0fd9c69-10":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/react.mjs","moduleParts":{"react.js":"a0fd9c69-11"},"imported":[{"uid":"a0fd9c69-20"},{"uid":"a0fd9c69-8"}],"importedBy":[{"uid":"a0fd9c69-24"}]},"a0fd9c69-12":{"id":"/src/components/store.tsx","moduleParts":{"react.js":"a0fd9c69-13"},"imported":[{"uid":"a0fd9c69-21"},{"uid":"a0fd9c69-22"},{"uid":"a0fd9c69-24"}],"importedBy":[{"uid":"a0fd9c69-18"},{"uid":"a0fd9c69-14"},{"uid":"a0fd9c69-16"}]},"a0fd9c69-14":{"id":"/src/components/provider.tsx","moduleParts":{"react.js":"a0fd9c69-15"},"imported":[{"uid":"a0fd9c69-20"},{"uid":"a0fd9c69-21"},{"uid":"a0fd9c69-22"},{"uid":"a0fd9c69-12"}],"importedBy":[{"uid":"a0fd9c69-18"}]},"a0fd9c69-16":{"id":"/src/hooks/events.tsx","moduleParts":{"react.js":"a0fd9c69-17"},"imported":[{"uid":"a0fd9c69-12"},{"uid":"a0fd9c69-20"}],"importedBy":[{"uid":"a0fd9c69-18"}]},"a0fd9c69-18":{"id":"/src/index.ts","moduleParts":{"react.js":"a0fd9c69-19"},"imported":[{"uid":"a0fd9c69-14"},{"uid":"a0fd9c69-12"},{"uid":"a0fd9c69-16"}],"importedBy":[],"isEntry":true},"a0fd9c69-20":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"a0fd9c69-0"},{"uid":"a0fd9c69-14"},{"uid":"a0fd9c69-16"},{"uid":"a0fd9c69-10"}]},"a0fd9c69-21":{"id":"@inditextech/weave-sdk","moduleParts":{},"imported":[],"importedBy":[{"uid":"a0fd9c69-0"},{"uid":"a0fd9c69-2"},{"uid":"a0fd9c69-14"},{"uid":"a0fd9c69-12"}]},"a0fd9c69-22":{"id":"@inditextech/weave-types","moduleParts":{},"imported":[],"importedBy":[{"uid":"a0fd9c69-0"},{"uid":"a0fd9c69-2"},{"uid":"a0fd9c69-14"},{"uid":"a0fd9c69-12"}]},"a0fd9c69-23":{"id":"zustand","moduleParts":{},"imported":[],"importedBy":[{"uid":"a0fd9c69-2"}]},"a0fd9c69-24":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/index.mjs","moduleParts":{},"imported":[{"uid":"a0fd9c69-8"},{"uid":"a0fd9c69-10"}],"importedBy":[{"uid":"a0fd9c69-12"}]}},"env":{"rollup":"4.23.0"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
4933
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"react.d.ts","children":[{"name":"src","children":[{"name":"components","children":[{"uid":"85993669-1","name":"provider.d.ts"},{"uid":"85993669-3","name":"store.d.ts"}]},{"name":"hooks/events.d.ts","uid":"85993669-5"},{"uid":"85993669-7","name":"index.d.ts"}]}]},{"name":"react.js","children":[{"name":"home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm","children":[{"uid":"85993669-9","name":"vanilla.mjs"},{"uid":"85993669-11","name":"react.mjs"}]},{"name":"src","children":[{"name":"components","children":[{"uid":"85993669-13","name":"store.tsx"},{"uid":"85993669-15","name":"provider.tsx"}]},{"name":"hooks/events.tsx","uid":"85993669-17"},{"uid":"85993669-19","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"85993669-1":{"renderedLength":622,"gzipLength":279,"brotliLength":228,"metaUid":"85993669-0"},"85993669-3":{"renderedLength":569,"gzipLength":216,"brotliLength":174,"metaUid":"85993669-2"},"85993669-5":{"renderedLength":71,"gzipLength":84,"brotliLength":69,"metaUid":"85993669-4"},"85993669-7":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"85993669-6"},"85993669-9":{"renderedLength":1019,"gzipLength":445,"brotliLength":387,"metaUid":"85993669-8"},"85993669-11":{"renderedLength":601,"gzipLength":305,"brotliLength":279,"metaUid":"85993669-10"},"85993669-13":{"renderedLength":3202,"gzipLength":816,"brotliLength":716,"metaUid":"85993669-12"},"85993669-15":{"renderedLength":5557,"gzipLength":1162,"brotliLength":997,"metaUid":"85993669-14"},"85993669-17":{"renderedLength":3978,"gzipLength":814,"brotliLength":750,"metaUid":"85993669-16"},"85993669-19":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"85993669-18"}},"nodeMetas":{"85993669-0":{"id":"/src/components/provider.d.ts","moduleParts":{"react.d.ts":"85993669-1"},"imported":[{"uid":"85993669-20"},{"uid":"85993669-21"},{"uid":"85993669-22"}],"importedBy":[{"uid":"85993669-6"}]},"85993669-2":{"id":"/src/components/store.d.ts","moduleParts":{"react.d.ts":"85993669-3"},"imported":[{"uid":"85993669-21"},{"uid":"85993669-22"},{"uid":"85993669-23"}],"importedBy":[{"uid":"85993669-6"}]},"85993669-4":{"id":"/src/hooks/events.d.ts","moduleParts":{"react.d.ts":"85993669-5"},"imported":[],"importedBy":[{"uid":"85993669-6"}]},"85993669-6":{"id":"/src/index.d.ts","moduleParts":{"react.d.ts":"85993669-7"},"imported":[{"uid":"85993669-0"},{"uid":"85993669-2"},{"uid":"85993669-4"}],"importedBy":[],"isEntry":true},"85993669-8":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/vanilla.mjs","moduleParts":{"react.js":"85993669-9"},"imported":[],"importedBy":[{"uid":"85993669-24"},{"uid":"85993669-10"}]},"85993669-10":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/react.mjs","moduleParts":{"react.js":"85993669-11"},"imported":[{"uid":"85993669-20"},{"uid":"85993669-8"}],"importedBy":[{"uid":"85993669-24"}]},"85993669-12":{"id":"/src/components/store.tsx","moduleParts":{"react.js":"85993669-13"},"imported":[{"uid":"85993669-21"},{"uid":"85993669-22"},{"uid":"85993669-24"}],"importedBy":[{"uid":"85993669-18"},{"uid":"85993669-14"},{"uid":"85993669-16"}]},"85993669-14":{"id":"/src/components/provider.tsx","moduleParts":{"react.js":"85993669-15"},"imported":[{"uid":"85993669-20"},{"uid":"85993669-21"},{"uid":"85993669-22"},{"uid":"85993669-12"}],"importedBy":[{"uid":"85993669-18"}]},"85993669-16":{"id":"/src/hooks/events.tsx","moduleParts":{"react.js":"85993669-17"},"imported":[{"uid":"85993669-12"},{"uid":"85993669-20"}],"importedBy":[{"uid":"85993669-18"}]},"85993669-18":{"id":"/src/index.ts","moduleParts":{"react.js":"85993669-19"},"imported":[{"uid":"85993669-14"},{"uid":"85993669-12"},{"uid":"85993669-16"}],"importedBy":[],"isEntry":true},"85993669-20":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"85993669-0"},{"uid":"85993669-14"},{"uid":"85993669-16"},{"uid":"85993669-10"}]},"85993669-21":{"id":"@inditextech/weave-sdk","moduleParts":{},"imported":[],"importedBy":[{"uid":"85993669-0"},{"uid":"85993669-2"},{"uid":"85993669-14"},{"uid":"85993669-12"}]},"85993669-22":{"id":"@inditextech/weave-types","moduleParts":{},"imported":[],"importedBy":[{"uid":"85993669-0"},{"uid":"85993669-2"},{"uid":"85993669-14"},{"uid":"85993669-12"}]},"85993669-23":{"id":"zustand","moduleParts":{},"imported":[],"importedBy":[{"uid":"85993669-2"}]},"85993669-24":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/index.mjs","moduleParts":{},"imported":[{"uid":"85993669-8"},{"uid":"85993669-10"}],"importedBy":[{"uid":"85993669-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-react",
3
- "version": "3.9.2",
3
+ "version": "4.0.1",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Jesus Manuel Piñeiro Cid <jesusmpc@inditex.com>",
@@ -46,8 +46,8 @@
46
46
  "version:release": "npm version $RELEASE_VERSION -m \"[npm-scripts] prepare release $RELEASE_VERSION\" --tag-version-prefix \"\""
47
47
  },
48
48
  "dependencies": {
49
- "@inditextech/weave-sdk": "3.9.2",
50
- "@inditextech/weave-types": "3.9.2",
49
+ "@inditextech/weave-sdk": "4.0.1",
50
+ "@inditextech/weave-types": "4.0.1",
51
51
  "@syncedstore/core": "0.6.0"
52
52
  },
53
53
  "devDependencies": {