@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.
Files changed (2) hide show
  1. package/dist/index.es.js +4 -2
  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((d) => d.id === l)?.value;
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/zpl-generator",
3
- "version": "0.0.4-beta.8",
3
+ "version": "0.0.4-beta.9",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "",