@spiffcommerce/core 32.0.1 → 32.0.2

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
@@ -10271,22 +10271,22 @@ class yo {
10271
10271
  if (this.transaction.recipient?.id)
10272
10272
  this.transaction.recipient = {
10273
10273
  id: this.transaction.recipient.id,
10274
- firstName: t || this.transaction.recipient.firstName,
10275
- lastName: e || this.transaction.recipient.lastName,
10276
- address: a || this.transaction.recipient.address,
10277
- suburb: n || this.transaction.recipient.suburb,
10278
- state: i || this.transaction.recipient.state,
10279
- email: s || this.transaction.recipient.email,
10280
- postalCode: o || this.transaction.recipient.postalCode,
10281
- country: l || this.transaction.recipient.country,
10282
- mobile: c || this.transaction.recipient.mobile,
10283
- company: d || this.transaction.recipient.company,
10284
- apartment: A || this.transaction.recipient.apartment,
10285
- customField1: u || this.transaction.recipient.customField1,
10286
- customField2: h || this.transaction.recipient.customField2,
10287
- customField3: m || this.transaction.recipient.customField3,
10288
- customField4: g || this.transaction.recipient.customField4,
10289
- customField5: p || this.transaction.recipient.customField5,
10274
+ firstName: t ?? this.transaction.recipient.firstName,
10275
+ lastName: e ?? this.transaction.recipient.lastName,
10276
+ address: a ?? this.transaction.recipient.address,
10277
+ suburb: n ?? this.transaction.recipient.suburb,
10278
+ state: i ?? this.transaction.recipient.state,
10279
+ email: s ?? this.transaction.recipient.email,
10280
+ postalCode: o ?? this.transaction.recipient.postalCode,
10281
+ country: l ?? this.transaction.recipient.country,
10282
+ mobile: c ?? this.transaction.recipient.mobile,
10283
+ company: d ?? this.transaction.recipient.company,
10284
+ apartment: A ?? this.transaction.recipient.apartment,
10285
+ customField1: u ?? this.transaction.recipient.customField1,
10286
+ customField2: h ?? this.transaction.recipient.customField2,
10287
+ customField3: m ?? this.transaction.recipient.customField3,
10288
+ customField4: g ?? this.transaction.recipient.customField4,
10289
+ customField5: p ?? this.transaction.recipient.customField5,
10290
10290
  conversionConfigurationId: f || this.transaction.recipient.conversionConfigurationId
10291
10291
  }, await this.graphQlClient().mutate({
10292
10292
  mutation: fo,
@@ -15966,7 +15966,7 @@ class md {
15966
15966
  } catch (a) {
15967
15967
  throw console.error(a), new ht("Critical - Unable to synchronize workflow state with server.");
15968
15968
  }
15969
- }, this.options = t, this.options.applicationKey && Lr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 32.0.1"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15969
+ }, this.options = t, this.options.applicationKey && Lr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 32.0.2"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15970
15970
  }
15971
15971
  configure(t) {
15972
15972
  gt.setHubUrl(t.hubUrl), gt.setServerUrl(t.serverUrl), gt.setServicesApiUrl(t.servicesApiUrl), this.marketplaceThemeInstallId = t.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = t.marketplaceThemeInstallConfigurationId, this.userPoolClientId = t.userPoolClientId, this.userPoolRegion = t.userPoolRegion, this.spiffRegion = t.spiffRegion, t.bearerAuthenticationToken && zr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);