@spiffcommerce/core 26.29.2-beta.a1b1ab5a-9c7e-5d91-921c-d0b1c4be0ff8 → 26.29.3
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/CHANGELOG.md +6 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -10119,7 +10119,17 @@ class io {
|
|
|
10119
10119
|
async updateRecipient(t, e, a, n, i, s, o, l) {
|
|
10120
10120
|
var c, d, A, u;
|
|
10121
10121
|
if (this.transaction.recipient)
|
|
10122
|
-
|
|
10122
|
+
this.transaction.recipient = {
|
|
10123
|
+
id: this.transaction.recipient.id,
|
|
10124
|
+
firstName: t || this.transaction.recipient.firstName,
|
|
10125
|
+
lastName: e || this.transaction.recipient.lastName,
|
|
10126
|
+
address: a || this.transaction.recipient.address,
|
|
10127
|
+
suburb: n || this.transaction.recipient.suburb,
|
|
10128
|
+
state: i || this.transaction.recipient.state,
|
|
10129
|
+
email: s || this.transaction.recipient.email,
|
|
10130
|
+
postalCode: o || this.transaction.recipient.postalCode,
|
|
10131
|
+
country: l || this.transaction.recipient.country
|
|
10132
|
+
}, await b.getShadowGraphqlClient().mutate({
|
|
10123
10133
|
mutation: ao,
|
|
10124
10134
|
errorPolicy: "all",
|
|
10125
10135
|
fetchPolicy: "no-cache",
|
|
@@ -15489,7 +15499,7 @@ class Lc {
|
|
|
15489
15499
|
} catch (a) {
|
|
15490
15500
|
throw console.error(a), new ut("Critical - Unable to synchronize workflow state with server.");
|
|
15491
15501
|
}
|
|
15492
|
-
}, this.options = t, this.options.applicationKey && Fr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.29.
|
|
15502
|
+
}, this.options = t, this.options.applicationKey && Fr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.29.3"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
15493
15503
|
}
|
|
15494
15504
|
configure(t) {
|
|
15495
15505
|
mt.setHubUrl(t.hubUrl), mt.setServerUrl(t.serverUrl), mt.setServicesApiUrl(t.servicesApiUrl), this.marketplaceThemeInstallId = t.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = t.marketplaceThemeInstallConfigurationId, t.bearerAuthenticationToken && kr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration();
|