@spiffcommerce/core 32.2.6 → 32.2.7
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 +23 -23
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -17
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -15204,22 +15204,12 @@ class Ze {
|
|
15204
15204
|
});
|
15205
15205
|
}
|
15206
15206
|
async finish(t, e) {
|
15207
|
-
|
15208
|
-
|
15209
|
-
|
15210
|
-
|
15211
|
-
|
15212
|
-
|
15213
|
-
}), {
|
15214
|
-
bundleId: this.id,
|
15215
|
-
name: this.getName(),
|
15216
|
-
dispatchDate: this.getDispatchDate() || "",
|
15217
|
-
purchaseOrder: this.getPurchaseOrder() || "",
|
15218
|
-
collectionId: this.getProductCollection()?.getId() || "",
|
15219
|
-
collectionName: this.getProductCollection()?.getName() || "",
|
15220
|
-
items: [],
|
15221
|
-
bundleOwnerId: this.ownerId
|
15222
|
-
};
|
15207
|
+
this.completed && await y.getShadowGraphqlClient().mutate({
|
15208
|
+
mutation: go,
|
15209
|
+
variables: {
|
15210
|
+
bundleId: this.id
|
15211
|
+
}
|
15212
|
+
});
|
15223
15213
|
const a = await Vo(
|
15224
15214
|
this.workflowExperiences.map((r) => ({
|
15225
15215
|
workflowManager: r.getWorkflowManager(),
|
@@ -16002,7 +15992,7 @@ class vd {
|
|
16002
15992
|
} catch (a) {
|
16003
15993
|
throw console.error(a), new ht("Critical - Unable to synchronize workflow state with server.");
|
16004
15994
|
}
|
16005
|
-
}, this.options = t, this.options.applicationKey && Wr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 32.2.
|
15995
|
+
}, this.options = t, this.options.applicationKey && Wr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 32.2.7"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
16006
15996
|
}
|
16007
15997
|
configure(t) {
|
16008
15998
|
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 && Hr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
|