@koordinates/xstate-tree 3.0.0 → 3.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/lib/xstateTree.js CHANGED
@@ -237,7 +237,7 @@ export function buildRootComponent(machine, routing) {
237
237
  // params/query to ensure that all params/query are present
238
238
  query: { ...((_a = activeRoutesEvent.query) !== null && _a !== void 0 ? _a : {}) },
239
239
  params: { ...((_b = activeRoutesEvent.params) !== null && _b !== void 0 ? _b : {}) },
240
- meta: { ...((_c = activeRoutesEvent.meta) !== null && _c !== void 0 ? _c : {}) },
240
+ meta: { replace: true, ...((_c = activeRoutesEvent.meta) !== null && _c !== void 0 ? _c : {}) },
241
241
  });
242
242
  activeRoute.navigate(routeArguments);
243
243
  });
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@koordinates/xstate-tree",
3
3
  "main": "lib/index.js",
4
4
  "types": "lib/xstate-tree.d.ts",
5
- "version": "3.0.0",
5
+ "version": "3.0.1",
6
6
  "license": "MIT",
7
7
  "description": "Build UIs with Actors using xstate and React",
8
8
  "keywords": [