@expedite-commerce/expedite-components 0.2.2 → 0.2.4

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.
@@ -29641,7 +29641,7 @@ function Zr() {
29641
29641
  },
29642
29642
  processSections: async (i, a, l) => {
29643
29643
  const u = pa();
29644
- if (i && a)
29644
+ if (a && i)
29645
29645
  try {
29646
29646
  const f = typeof i == "string" ? JSON.parse(i) : i;
29647
29647
  u.pageBlocks = f;
@@ -29649,7 +29649,7 @@ function Zr() {
29649
29649
  console.error("[ExpediteCart] Error parsing sections:", f);
29650
29650
  }
29651
29651
  else
29652
- await u.fetchBlockInformationREST({
29652
+ a || await u.fetchBlockInformationREST({
29653
29653
  templateId: l || Wl.value
29654
29654
  });
29655
29655
  }
@@ -35137,6 +35137,8 @@ const ya = (e) => (Ft("data-v-975857d5"), e = e(), Pt(), e), Ub = ["data-test-id
35137
35137
  composablesApiKey: r.composablesApiKey,
35138
35138
  composablesOrgType: r.composablesOrgType
35139
35139
  }), t.quoteId = r.quoteId, await n.processSections(r.sections, r.isPreview, r.templateId);
35140
+ }), Qe(() => [r.sections, r.isPreview], async () => {
35141
+ await n.processSections(r.sections, r.isPreview, r.templateId);
35140
35142
  }), (o, i) => (N(), j(xe, null, [
35141
35143
  de(ZC, {
35142
35144
  "organization-id": r.organizationId,