@spiffcommerce/core 26.32.0-beta.8a9cc56e-5e5c-5676-a167-11c3b4f14c05 → 26.32.0-beta.aef207e2-d20b-581d-9434-5da2a8abe830

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.aef207e2-d20b-581d-9434-5da2a8abe830"), 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.31fca93e-f0d0-5a82-b54c-9bb817561cb5"), 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();
@@ -17248,31 +17248,23 @@ const md = async (r) => {
17248
17248
  }
17249
17249
  })).data) == null ? void 0 : e.addressValidationJobs;
17250
17250
  }, fd = async (r) => {
17251
- var e, a;
17252
- return (e = r.getWorkflowManager().getTransaction().recipient) != null && e.id ? (a = (await b.getShadowGraphqlClient().mutate({
17251
+ var e;
17252
+ return (e = (await b.getShadowGraphqlClient().mutate({
17253
17253
  mutation: Hl,
17254
17254
  errorPolicy: "all",
17255
17255
  variables: {
17256
- id: r.getWorkflowManager().getTransaction().recipient.id
17256
+ id: r
17257
17257
  }
17258
- })).data) == null ? void 0 : a.recipientValidate : void 0;
17258
+ })).data) == null ? void 0 : e.recipientValidate;
17259
17259
  }, pd = async (r) => {
17260
- const t = r.map((a) => {
17261
- var n;
17262
- return (n = a.getWorkflowManager().getTransaction().recipient) == null ? void 0 : n.id;
17263
- }).filter((a) => !!a), e = await b.getShadowGraphqlClient().mutate({
17260
+ var e;
17261
+ return (e = (await b.getShadowGraphqlClient().mutate({
17264
17262
  mutation: ql,
17265
17263
  errorPolicy: "all",
17266
17264
  variables: {
17267
- ids: t
17265
+ ids: r
17268
17266
  }
17269
- });
17270
- return r.map((a) => {
17271
- var i, s, o;
17272
- const n = (i = a.getWorkflowManager().getTransaction().recipient) == null ? void 0 : i.id;
17273
- if (!n)
17274
- return (o = (s = e.data) == null ? void 0 : s.recipientValidateBatch) == null ? void 0 : o.find((l) => l.entityId === n);
17275
- });
17267
+ })).data) == null ? void 0 : e.recipientValidateBatch;
17276
17268
  };
17277
17269
  export {
17278
17270
  da as AddonHandle,