@connectedxm/zpl-generator 0.0.4-beta.8 → 0.0.4-beta.9
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.es.js +4 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -3119,7 +3119,9 @@ function Gs(e, t) {
|
|
|
3119
3119
|
h = t.account[l];
|
|
3120
3120
|
break;
|
|
3121
3121
|
case "accountAttributes":
|
|
3122
|
-
h = t.accountAttributes.find(
|
|
3122
|
+
h = t.accountAttributes.find(
|
|
3123
|
+
(d) => d.id === l
|
|
3124
|
+
)?.value;
|
|
3123
3125
|
break;
|
|
3124
3126
|
case "accountTiers":
|
|
3125
3127
|
h = t.accountTier?.name;
|
|
@@ -3152,7 +3154,7 @@ function Gs(e, t) {
|
|
|
3152
3154
|
break;
|
|
3153
3155
|
}
|
|
3154
3156
|
}
|
|
3155
|
-
i !== void 0 && n.push(i);
|
|
3157
|
+
i !== void 0 && n.push(i.trim());
|
|
3156
3158
|
}
|
|
3157
3159
|
return n.length === 0 ? e.hideEmpty ? void 0 : (e.defaultValue ?? "").trim() : n.join(e.sourceSeperator ?? " ").trim();
|
|
3158
3160
|
}
|