@uniformdev/canvas-react 20.33.1-alpha.53 → 20.33.1-alpha.54

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/index.esm.js CHANGED
@@ -468,6 +468,7 @@ var defaultSystemComponentResolver = {
468
468
  count: Number((_d = (_c = (_b = pzComponent.parameters) == null ? void 0 : _b[CANVAS_PERSONALIZATION_TAKE_PARAM]) == null ? void 0 : _c.value) != null ? _d : 1),
469
469
  name: (_g = (_f = (_e = pzComponent.parameters) == null ? void 0 : _e[CANVAS_PERSONALIZATION_EVENT_NAME_PARAM]) == null ? void 0 : _f.value) != null ? _g : "Untitled Personalization",
470
470
  component: (variation) => renderChild(variation, 0),
471
+ compositionMetadata: (data == null ? void 0 : data._id) ? { compositionId: data._id, matchedRoute, dynamicInputs } : void 0,
471
472
  algorithm: (_i = (_h = pzComponent.parameters) == null ? void 0 : _h[CANVAS_PERSONALIZATION_ALGORITHM_PARAM]) == null ? void 0 : _i.value,
472
473
  compositionId: data == null ? void 0 : data._id,
473
474
  matchedRoute,
package/dist/index.js CHANGED
@@ -491,6 +491,7 @@ var defaultSystemComponentResolver = {
491
491
  count: Number((_d = (_c = (_b = pzComponent.parameters) == null ? void 0 : _b[import_canvas7.CANVAS_PERSONALIZATION_TAKE_PARAM]) == null ? void 0 : _c.value) != null ? _d : 1),
492
492
  name: (_g = (_f = (_e = pzComponent.parameters) == null ? void 0 : _e[import_canvas7.CANVAS_PERSONALIZATION_EVENT_NAME_PARAM]) == null ? void 0 : _f.value) != null ? _g : "Untitled Personalization",
493
493
  component: (variation) => renderChild(variation, 0),
494
+ compositionMetadata: (data == null ? void 0 : data._id) ? { compositionId: data._id, matchedRoute, dynamicInputs } : void 0,
494
495
  algorithm: (_i = (_h = pzComponent.parameters) == null ? void 0 : _h[import_canvas7.CANVAS_PERSONALIZATION_ALGORITHM_PARAM]) == null ? void 0 : _i.value,
495
496
  compositionId: data == null ? void 0 : data._id,
496
497
  matchedRoute,
package/dist/index.mjs CHANGED
@@ -468,6 +468,7 @@ var defaultSystemComponentResolver = {
468
468
  count: Number((_d = (_c = (_b = pzComponent.parameters) == null ? void 0 : _b[CANVAS_PERSONALIZATION_TAKE_PARAM]) == null ? void 0 : _c.value) != null ? _d : 1),
469
469
  name: (_g = (_f = (_e = pzComponent.parameters) == null ? void 0 : _e[CANVAS_PERSONALIZATION_EVENT_NAME_PARAM]) == null ? void 0 : _f.value) != null ? _g : "Untitled Personalization",
470
470
  component: (variation) => renderChild(variation, 0),
471
+ compositionMetadata: (data == null ? void 0 : data._id) ? { compositionId: data._id, matchedRoute, dynamicInputs } : void 0,
471
472
  algorithm: (_i = (_h = pzComponent.parameters) == null ? void 0 : _h[CANVAS_PERSONALIZATION_ALGORITHM_PARAM]) == null ? void 0 : _i.value,
472
473
  compositionId: data == null ? void 0 : data._id,
473
474
  matchedRoute,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas-react",
3
- "version": "20.33.1-alpha.53+0eb981d2f2",
3
+ "version": "20.33.1-alpha.54+03ae0b17d0",
4
4
  "description": "React SDK for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -45,10 +45,10 @@
45
45
  "document:prebuild": "api-extractor run --local"
46
46
  },
47
47
  "dependencies": {
48
- "@uniformdev/canvas": "20.33.1-alpha.53+0eb981d2f2",
49
- "@uniformdev/context": "20.33.1-alpha.53+0eb981d2f2",
50
- "@uniformdev/context-react": "20.33.1-alpha.53+0eb981d2f2",
51
- "@uniformdev/richtext": "20.33.1-alpha.53+0eb981d2f2"
48
+ "@uniformdev/canvas": "20.33.1-alpha.54+03ae0b17d0",
49
+ "@uniformdev/context": "20.33.1-alpha.54+03ae0b17d0",
50
+ "@uniformdev/context-react": "20.33.1-alpha.54+03ae0b17d0",
51
+ "@uniformdev/richtext": "20.33.1-alpha.54+03ae0b17d0"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "immer": ">= 10",
@@ -67,5 +67,5 @@
67
67
  "publishConfig": {
68
68
  "access": "public"
69
69
  },
70
- "gitHead": "0eb981d2f2dc4ac76f097fa4a5cddc8f7988126e"
70
+ "gitHead": "03ae0b17d098f1a09099ea76cf7625dec9a54b21"
71
71
  }