@uniformdev/canvas-next-rsc-shared 19.146.2 → 19.147.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/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
package/dist/index.esm.js
CHANGED
|
@@ -122,7 +122,7 @@ var runPersonalization = ({
|
|
|
122
122
|
const componentVariations = slot.map((v, i) => {
|
|
123
123
|
var _a2, _b2;
|
|
124
124
|
const contextTag = (_b2 = (_a2 = v.parameters) == null ? void 0 : _a2[CANVAS_PERSONALIZATION_PARAM]) == null ? void 0 : _b2.value;
|
|
125
|
-
const id =
|
|
125
|
+
const id = v._id || `pz-${i}-${v.type}`;
|
|
126
126
|
return {
|
|
127
127
|
id,
|
|
128
128
|
pz: contextTag,
|
package/dist/index.js
CHANGED
|
@@ -152,7 +152,7 @@ var runPersonalization = ({
|
|
|
152
152
|
const componentVariations = slot.map((v, i) => {
|
|
153
153
|
var _a2, _b2;
|
|
154
154
|
const contextTag = (_b2 = (_a2 = v.parameters) == null ? void 0 : _a2[import_canvas.CANVAS_PERSONALIZATION_PARAM]) == null ? void 0 : _b2.value;
|
|
155
|
-
const id =
|
|
155
|
+
const id = v._id || `pz-${i}-${v.type}`;
|
|
156
156
|
return {
|
|
157
157
|
id,
|
|
158
158
|
pz: contextTag,
|
package/dist/index.mjs
CHANGED
|
@@ -122,7 +122,7 @@ var runPersonalization = ({
|
|
|
122
122
|
const componentVariations = slot.map((v, i) => {
|
|
123
123
|
var _a2, _b2;
|
|
124
124
|
const contextTag = (_b2 = (_a2 = v.parameters) == null ? void 0 : _a2[CANVAS_PERSONALIZATION_PARAM]) == null ? void 0 : _b2.value;
|
|
125
|
-
const id =
|
|
125
|
+
const id = v._id || `pz-${i}-${v.type}`;
|
|
126
126
|
return {
|
|
127
127
|
id,
|
|
128
128
|
pz: contextTag,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-next-rsc-shared",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.147.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsup",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"react-dom": "18.2.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@uniformdev/canvas": "19.
|
|
36
|
-
"@uniformdev/context": "19.
|
|
35
|
+
"@uniformdev/canvas": "19.147.0",
|
|
36
|
+
"@uniformdev/context": "19.147.0"
|
|
37
37
|
},
|
|
38
38
|
"engines": {
|
|
39
39
|
"node": ">=16.14.0"
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "bdc172cb3eea065221b90993b142e6b34c4b93b1"
|
|
50
50
|
}
|