@spiffcommerce/core 26.29.2-beta.8054c82c-e9b3-5a87-b442-76be54891176 → 26.29.2-beta.a1b1ab5a-9c7e-5d91-921c-d0b1c4be0ff8
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.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -10119,17 +10119,7 @@ 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
|
-
|
|
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
|
-
}, console.log(`CORE DEBUG: updating recipient to manager: ${JSON.stringify(this.transaction.recipient, null, 2)}`), await b.getShadowGraphqlClient().mutate({
|
|
10122
|
+
await b.getShadowGraphqlClient().mutate({
|
|
10133
10123
|
mutation: ao,
|
|
10134
10124
|
errorPolicy: "all",
|
|
10135
10125
|
fetchPolicy: "no-cache",
|
|
@@ -10171,7 +10161,7 @@ class io {
|
|
|
10171
10161
|
email: s,
|
|
10172
10162
|
postalCode: o,
|
|
10173
10163
|
country: l
|
|
10174
|
-
},
|
|
10164
|
+
}, await b.getShadowGraphqlClient().mutate({
|
|
10175
10165
|
mutation: no,
|
|
10176
10166
|
errorPolicy: "all",
|
|
10177
10167
|
fetchPolicy: "no-cache",
|
|
@@ -15499,7 +15489,7 @@ class Lc {
|
|
|
15499
15489
|
} catch (a) {
|
|
15500
15490
|
throw console.error(a), new ut("Critical - Unable to synchronize workflow state with server.");
|
|
15501
15491
|
}
|
|
15502
|
-
}, this.options = t, this.options.applicationKey && Fr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.29.2
|
|
15492
|
+
}, this.options = t, this.options.applicationKey && Fr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.29.2"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
15503
15493
|
}
|
|
15504
15494
|
configure(t) {
|
|
15505
15495
|
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();
|