@spiffcommerce/core 26.32.0-beta.aef207e2-d20b-581d-9434-5da2a8abe830 → 26.32.0-beta.cf9b855c-b5d3-5d50-a076-25da5f9000cd

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.mjs CHANGED
@@ -15576,7 +15576,7 @@ class _c {
15576
15576
  } catch (a) {
15577
15577
  throw console.error(a), new ut("Critical - Unable to synchronize workflow state with server.");
15578
15578
  }
15579
- }, this.options = t, this.options.applicationKey && Mr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.32.0-beta.31fca93e-f0d0-5a82-b54c-9bb817561cb5"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15579
+ }, this.options = t, this.options.applicationKey && Mr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.32.0-beta.f75bfd7c-56a9-5d0c-ab5e-d9a1cd38130f"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15580
15580
  }
15581
15581
  configure(t) {
15582
15582
  mt.setHubUrl(t.hubUrl), mt.setServerUrl(t.serverUrl), mt.setServicesApiUrl(t.servicesApiUrl), this.marketplaceThemeInstallId = t.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = t.marketplaceThemeInstallConfigurationId, t.bearerAuthenticationToken && Qr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration();
@@ -17181,7 +17181,6 @@ const ar = y`
17181
17181
  ${ar}
17182
17182
  fragment AddressValidationJobFields on AddressValidationJob {
17183
17183
  id
17184
- entityId
17185
17184
  status
17186
17185
  createdAt
17187
17186
  updatedAt
@@ -17222,22 +17221,14 @@ const ar = y`
17222
17221
  `;
17223
17222
  var Yl = /* @__PURE__ */ ((r) => (r.Confirmed = "Confirmed", r.Plausible = "Plausible", r.Unlikely = "Unlikely", r))(Yl || {}), Jl = /* @__PURE__ */ ((r) => (r.Created = "Created", r.Processing = "Processing", r.Completed = "Completed", r.Failed = "Failed", r.Cancelled = "Cancelled", r))(Jl || {});
17224
17223
  const md = async (r) => {
17225
- const t = r.map((a) => {
17226
- var n;
17227
- return (n = a.getWorkflowManager().getTransaction().recipient) == null ? void 0 : n.id;
17228
- }).filter((a) => !!a), e = await b.getShadowGraphqlClient().query({
17224
+ var e, a;
17225
+ return (a = (e = (await b.getShadowGraphqlClient().query({
17229
17226
  query: jl,
17230
17227
  errorPolicy: "all",
17231
17228
  variables: {
17232
- ids: t
17229
+ ids: r
17233
17230
  }
17234
- });
17235
- return r.map((a) => {
17236
- var i, s, o, l;
17237
- const n = (i = a.getWorkflowManager().getTransaction().recipient) == null ? void 0 : i.id;
17238
- if (!n)
17239
- return (l = (o = (s = e.data) == null ? void 0 : s.recipients) == null ? void 0 : o.find((c) => c.id === n)) == null ? void 0 : l.addressValidationJob;
17240
- });
17231
+ })).data) == null ? void 0 : e.recipients) == null ? void 0 : a.map((n) => n.addressValidationJob);
17241
17232
  }, gd = async (r) => {
17242
17233
  var e;
17243
17234
  return (e = (await b.getShadowGraphqlClient().query({
@@ -17393,6 +17384,7 @@ export {
17393
17384
  Zc as getOverrideThemeConfiguration,
17394
17385
  Dc as getPointOfRotation,
17395
17386
  qc as getProductCollections,
17387
+ md as getRecipientsAddressValidationJobs,
17396
17388
  xc as getSEPoint,
17397
17389
  wa as getSvgElement,
17398
17390
  hd as getTemplateBundles,
@@ -17402,7 +17394,6 @@ export {
17402
17394
  cd as getTransactionsForBundle,
17403
17395
  Ic as getTrueCoordinates,
17404
17396
  dd as getUnorderedTransactions,
17405
- md as getValidationJobsForWorkflowExperiences,
17406
17397
  Kc as getWorkflow,
17407
17398
  tr as getWorkflows,
17408
17399
  b as graphQlManager,
@@ -17442,8 +17433,8 @@ export {
17442
17433
  Aa as svgToDataUrl,
17443
17434
  H as textStepService,
17444
17435
  ws as toast,
17445
- fd as validateWorkflowExperienceRecipient,
17446
- pd as validateWorkflowExperienceRecipients,
17436
+ fd as validateRecipient,
17437
+ pd as validateRecipients,
17447
17438
  Bt as xmlSerializer
17448
17439
  };
17449
17440
  //# sourceMappingURL=index.mjs.map