@inditextech/weave-react 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/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":"fd1cf290-1","name":"provider.d.ts"},{"uid":"fd1cf290-3","name":"store.d.ts"}]},{"name":"hooks/events.d.ts","uid":"fd1cf290-5"},{"uid":"fd1cf290-7","name":"index.d.ts"}]}]},{"name":"react.js","children":[{"name":"home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm","children":[{"uid":"fd1cf290-9","name":"vanilla.mjs"},{"uid":"fd1cf290-11","name":"react.mjs"}]},{"name":"src","children":[{"name":"components","children":[{"uid":"fd1cf290-13","name":"store.tsx"},{"uid":"fd1cf290-15","name":"provider.tsx"}]},{"name":"hooks/events.tsx","uid":"fd1cf290-17"},{"uid":"fd1cf290-19","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"fd1cf290-1":{"renderedLength":622,"gzipLength":279,"brotliLength":228,"metaUid":"fd1cf290-0"},"fd1cf290-3":{"renderedLength":569,"gzipLength":216,"brotliLength":174,"metaUid":"fd1cf290-2"},"fd1cf290-5":{"renderedLength":71,"gzipLength":84,"brotliLength":69,"metaUid":"fd1cf290-4"},"fd1cf290-7":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"fd1cf290-6"},"fd1cf290-9":{"renderedLength":1019,"gzipLength":445,"brotliLength":387,"metaUid":"fd1cf290-8"},"fd1cf290-11":{"renderedLength":601,"gzipLength":305,"brotliLength":279,"metaUid":"fd1cf290-10"},"fd1cf290-13":{"renderedLength":3178,"gzipLength":808,"brotliLength":712,"metaUid":"fd1cf290-12"},"fd1cf290-15":{"renderedLength":5557,"gzipLength":1162,"brotliLength":997,"metaUid":"fd1cf290-14"},"fd1cf290-17":{"renderedLength":3978,"gzipLength":814,"brotliLength":750,"metaUid":"fd1cf290-16"},"fd1cf290-19":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"fd1cf290-18"}},"nodeMetas":{"fd1cf290-0":{"id":"/src/components/provider.d.ts","moduleParts":{"react.d.ts":"fd1cf290-1"},"imported":[{"uid":"fd1cf290-20"},{"uid":"fd1cf290-21"},{"uid":"fd1cf290-22"}],"importedBy":[{"uid":"fd1cf290-6"}]},"fd1cf290-2":{"id":"/src/components/store.d.ts","moduleParts":{"react.d.ts":"fd1cf290-3"},"imported":[{"uid":"fd1cf290-21"},{"uid":"fd1cf290-22"},{"uid":"fd1cf290-23"}],"importedBy":[{"uid":"fd1cf290-6"}]},"fd1cf290-4":{"id":"/src/hooks/events.d.ts","moduleParts":{"react.d.ts":"fd1cf290-5"},"imported":[],"importedBy":[{"uid":"fd1cf290-6"}]},"fd1cf290-6":{"id":"/src/index.d.ts","moduleParts":{"react.d.ts":"fd1cf290-7"},"imported":[{"uid":"fd1cf290-0"},{"uid":"fd1cf290-2"},{"uid":"fd1cf290-4"}],"importedBy":[],"isEntry":true},"fd1cf290-8":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/vanilla.mjs","moduleParts":{"react.js":"fd1cf290-9"},"imported":[],"importedBy":[{"uid":"fd1cf290-24"},{"uid":"fd1cf290-10"}]},"fd1cf290-10":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/react.mjs","moduleParts":{"react.js":"fd1cf290-11"},"imported":[{"uid":"fd1cf290-20"},{"uid":"fd1cf290-8"}],"importedBy":[{"uid":"fd1cf290-24"}]},"fd1cf290-12":{"id":"/src/components/store.tsx","moduleParts":{"react.js":"fd1cf290-13"},"imported":[{"uid":"fd1cf290-21"},{"uid":"fd1cf290-22"},{"uid":"fd1cf290-24"}],"importedBy":[{"uid":"fd1cf290-18"},{"uid":"fd1cf290-14"},{"uid":"fd1cf290-16"}]},"fd1cf290-14":{"id":"/src/components/provider.tsx","moduleParts":{"react.js":"fd1cf290-15"},"imported":[{"uid":"fd1cf290-20"},{"uid":"fd1cf290-21"},{"uid":"fd1cf290-22"},{"uid":"fd1cf290-12"}],"importedBy":[{"uid":"fd1cf290-18"}]},"fd1cf290-16":{"id":"/src/hooks/events.tsx","moduleParts":{"react.js":"fd1cf290-17"},"imported":[{"uid":"fd1cf290-12"},{"uid":"fd1cf290-20"}],"importedBy":[{"uid":"fd1cf290-18"}]},"fd1cf290-18":{"id":"/src/index.ts","moduleParts":{"react.js":"fd1cf290-19"},"imported":[{"uid":"fd1cf290-14"},{"uid":"fd1cf290-12"},{"uid":"fd1cf290-16"}],"importedBy":[],"isEntry":true},"fd1cf290-20":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"fd1cf290-0"},{"uid":"fd1cf290-14"},{"uid":"fd1cf290-16"},{"uid":"fd1cf290-10"}]},"fd1cf290-21":{"id":"@inditextech/weave-sdk","moduleParts":{},"imported":[],"importedBy":[{"uid":"fd1cf290-0"},{"uid":"fd1cf290-2"},{"uid":"fd1cf290-14"},{"uid":"fd1cf290-12"}]},"fd1cf290-22":{"id":"@inditextech/weave-types","moduleParts":{},"imported":[],"importedBy":[{"uid":"fd1cf290-0"},{"uid":"fd1cf290-2"},{"uid":"fd1cf290-14"},{"uid":"fd1cf290-12"}]},"fd1cf290-23":{"id":"zustand","moduleParts":{},"imported":[],"importedBy":[{"uid":"fd1cf290-2"}]},"fd1cf290-24":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/index.mjs","moduleParts":{},"imported":[{"uid":"fd1cf290-8"},{"uid":"fd1cf290-10"}],"importedBy":[{"uid":"fd1cf290-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":"b3463866-1","name":"provider.d.ts"},{"uid":"b3463866-3","name":"store.d.ts"}]},{"name":"hooks/events.d.ts","uid":"b3463866-5"},{"uid":"b3463866-7","name":"index.d.ts"}]}]},{"name":"react.js","children":[{"name":"home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm","children":[{"uid":"b3463866-9","name":"vanilla.mjs"},{"uid":"b3463866-11","name":"react.mjs"}]},{"name":"src","children":[{"name":"components","children":[{"uid":"b3463866-13","name":"store.tsx"},{"uid":"b3463866-15","name":"provider.tsx"}]},{"name":"hooks/events.tsx","uid":"b3463866-17"},{"uid":"b3463866-19","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"b3463866-1":{"renderedLength":622,"gzipLength":278,"brotliLength":227,"metaUid":"b3463866-0"},"b3463866-3":{"renderedLength":569,"gzipLength":221,"brotliLength":174,"metaUid":"b3463866-2"},"b3463866-5":{"renderedLength":71,"gzipLength":84,"brotliLength":69,"metaUid":"b3463866-4"},"b3463866-7":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"b3463866-6"},"b3463866-9":{"renderedLength":1019,"gzipLength":445,"brotliLength":387,"metaUid":"b3463866-8"},"b3463866-11":{"renderedLength":601,"gzipLength":305,"brotliLength":279,"metaUid":"b3463866-10"},"b3463866-13":{"renderedLength":3202,"gzipLength":816,"brotliLength":716,"metaUid":"b3463866-12"},"b3463866-15":{"renderedLength":5557,"gzipLength":1162,"brotliLength":997,"metaUid":"b3463866-14"},"b3463866-17":{"renderedLength":3978,"gzipLength":814,"brotliLength":750,"metaUid":"b3463866-16"},"b3463866-19":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"b3463866-18"}},"nodeMetas":{"b3463866-0":{"id":"/src/components/provider.d.ts","moduleParts":{"react.d.ts":"b3463866-1"},"imported":[{"uid":"b3463866-20"},{"uid":"b3463866-21"},{"uid":"b3463866-22"}],"importedBy":[{"uid":"b3463866-6"}]},"b3463866-2":{"id":"/src/components/store.d.ts","moduleParts":{"react.d.ts":"b3463866-3"},"imported":[{"uid":"b3463866-21"},{"uid":"b3463866-22"},{"uid":"b3463866-23"}],"importedBy":[{"uid":"b3463866-6"}]},"b3463866-4":{"id":"/src/hooks/events.d.ts","moduleParts":{"react.d.ts":"b3463866-5"},"imported":[],"importedBy":[{"uid":"b3463866-6"}]},"b3463866-6":{"id":"/src/index.d.ts","moduleParts":{"react.d.ts":"b3463866-7"},"imported":[{"uid":"b3463866-0"},{"uid":"b3463866-2"},{"uid":"b3463866-4"}],"importedBy":[],"isEntry":true},"b3463866-8":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/vanilla.mjs","moduleParts":{"react.js":"b3463866-9"},"imported":[],"importedBy":[{"uid":"b3463866-24"},{"uid":"b3463866-10"}]},"b3463866-10":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/react.mjs","moduleParts":{"react.js":"b3463866-11"},"imported":[{"uid":"b3463866-20"},{"uid":"b3463866-8"}],"importedBy":[{"uid":"b3463866-24"}]},"b3463866-12":{"id":"/src/components/store.tsx","moduleParts":{"react.js":"b3463866-13"},"imported":[{"uid":"b3463866-21"},{"uid":"b3463866-22"},{"uid":"b3463866-24"}],"importedBy":[{"uid":"b3463866-18"},{"uid":"b3463866-14"},{"uid":"b3463866-16"}]},"b3463866-14":{"id":"/src/components/provider.tsx","moduleParts":{"react.js":"b3463866-15"},"imported":[{"uid":"b3463866-20"},{"uid":"b3463866-21"},{"uid":"b3463866-22"},{"uid":"b3463866-12"}],"importedBy":[{"uid":"b3463866-18"}]},"b3463866-16":{"id":"/src/hooks/events.tsx","moduleParts":{"react.js":"b3463866-17"},"imported":[{"uid":"b3463866-12"},{"uid":"b3463866-20"}],"importedBy":[{"uid":"b3463866-18"}]},"b3463866-18":{"id":"/src/index.ts","moduleParts":{"react.js":"b3463866-19"},"imported":[{"uid":"b3463866-14"},{"uid":"b3463866-12"},{"uid":"b3463866-16"}],"importedBy":[],"isEntry":true},"b3463866-20":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"b3463866-0"},{"uid":"b3463866-14"},{"uid":"b3463866-16"},{"uid":"b3463866-10"}]},"b3463866-21":{"id":"@inditextech/weave-sdk","moduleParts":{},"imported":[],"importedBy":[{"uid":"b3463866-0"},{"uid":"b3463866-2"},{"uid":"b3463866-14"},{"uid":"b3463866-12"}]},"b3463866-22":{"id":"@inditextech/weave-types","moduleParts":{},"imported":[],"importedBy":[{"uid":"b3463866-0"},{"uid":"b3463866-2"},{"uid":"b3463866-14"},{"uid":"b3463866-12"}]},"b3463866-23":{"id":"zustand","moduleParts":{},"imported":[],"importedBy":[{"uid":"b3463866-2"}]},"b3463866-24":{"id":"/home/runner/work/weavejs/weavejs/code/node_modules/zustand/esm/index.mjs","moduleParts":{},"imported":[{"uid":"b3463866-8"},{"uid":"b3463866-10"}],"importedBy":[{"uid":"b3463866-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.1",
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>",
@@ -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.1",
50
- "@inditextech/weave-types": "3.9.1",
49
+ "@inditextech/weave-sdk": "4.0.0",
50
+ "@inditextech/weave-types": "4.0.0",
51
51
  "@syncedstore/core": "0.6.0"
52
52
  },
53
53
  "devDependencies": {