@applicaster/quick-brick-core 14.0.12-rc.0 → 14.0.13-rc.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.
@@ -249,22 +249,24 @@ export function NavigationProvider({ children }: Props) {
249
249
  const screen = rivers[screenId];
250
250
  const parent = findParent(context, navigator.currentRoute);
251
251
 
252
+ const entryClone = structuredClone(entry);
253
+
252
254
  if (!screen) {
253
255
  logger.warn({
254
256
  message: `Cannot resolve type mapping for ${screenId} id`,
255
- data: { entry, screenId },
257
+ data: { entry: entryClone, screenId },
256
258
  });
257
259
 
258
260
  return;
259
261
  }
260
262
 
261
263
  if (parent) {
262
- entry.parent = parent?.data;
264
+ entryClone.parent = parent?.data;
263
265
 
264
- entry.parentId = parent?.id;
266
+ entryClone.parentId = parent?.id;
265
267
  }
266
268
 
267
- dispatch(setNestedContent(pathname, entry, screen));
269
+ dispatch(setNestedContent(pathname, entryClone, screen));
268
270
  };
269
271
 
270
272
  const pushItem = (item, options = {}) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/quick-brick-core",
3
- "version": "14.0.12-rc.0",
3
+ "version": "14.0.13-rc.0",
4
4
  "description": "Core package for Applicaster's Quick Brick App",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -28,13 +28,13 @@
28
28
  },
29
29
  "homepage": "https://github.com/applicaster/quickbrick#readme",
30
30
  "dependencies": {
31
- "@applicaster/applicaster-types": "14.0.12-rc.0",
32
- "@applicaster/quick-brick-core-plugins": "14.0.12-rc.0",
33
- "@applicaster/zapp-pipes-v2-client": "14.0.12-rc.0",
34
- "@applicaster/zapp-react-native-bridge": "14.0.12-rc.0",
35
- "@applicaster/zapp-react-native-redux": "14.0.12-rc.0",
36
- "@applicaster/zapp-react-native-ui-components": "14.0.12-rc.0",
37
- "@applicaster/zapp-react-native-utils": "14.0.12-rc.0",
31
+ "@applicaster/applicaster-types": "14.0.13-rc.0",
32
+ "@applicaster/quick-brick-core-plugins": "14.0.13-rc.0",
33
+ "@applicaster/zapp-pipes-v2-client": "14.0.13-rc.0",
34
+ "@applicaster/zapp-react-native-bridge": "14.0.13-rc.0",
35
+ "@applicaster/zapp-react-native-redux": "14.0.13-rc.0",
36
+ "@applicaster/zapp-react-native-ui-components": "14.0.13-rc.0",
37
+ "@applicaster/zapp-react-native-utils": "14.0.13-rc.0",
38
38
  "atob": "^2.1.2",
39
39
  "axios": "^0.28.0",
40
40
  "btoa": "^1.2.1",