coral-plus 0.0.14 → 0.0.15

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/coralPlus.js CHANGED
@@ -36045,7 +36045,7 @@ function Ok(e) {
36045
36045
  const n = (i) => i === "services" ? e?.services?.join(", ") : i === "name" ? insider_object?.user?.name : i === "email" ? insider_object?.user?.email : i === "marketingConsent" ? `${e?.formData?.marketingConsent}` : i === "tripStartDate" ? d$(e?.formData?.tripPeriod[0]) : i === "tripEndDate" ? d$(e?.formData?.tripPeriod[1]) : `${e?.formData?.[i] ?? ""}`, a = (i) => i === "email" ? "ins-dynamic-email-" : i === "marketingConsent" ? "ins-option-input-" : "ins-dynamic-input-";
36046
36046
  return Object.entries(t).reduce((i, [s, u]) => {
36047
36047
  const d = document.querySelector(`[id="${a(s)}${u}"]`);
36048
- return d && (d.value = n(s), i[s] = d.value), i;
36048
+ return d && (d.value = n(s), s === "marketingConsent" && (d.checked = n(s) === "true"), i[s] = d.value), i;
36049
36049
  }, {});
36050
36050
  }
36051
36051
  function _k() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "coral-plus",
3
3
  "private": false,
4
- "version": "0.0.14",
4
+ "version": "0.0.15",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",