@spiffcommerce/core 32.2.7-beta.fe525a16-f209-5cb8-95bc-b269e8ebcfcc → 32.3.0-beta.69d8a509-cc6d-54dc-80c5-1c8b6fee8d45
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.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -458,7 +458,7 @@ const _r = (n) => new Promise((t) => {
|
|
458
458
|
}, Re = async (n) => {
|
459
459
|
const t = await ti(n);
|
460
460
|
return Qe(n) === "image/jpeg" ? {
|
461
|
-
dataUrl: t.toDataURL("image/jpeg",
|
461
|
+
dataUrl: t.toDataURL("image/jpeg", 1),
|
462
462
|
height: t.height,
|
463
463
|
width: t.width
|
464
464
|
} : {
|
@@ -15996,7 +15996,7 @@ class Ed {
|
|
15996
15996
|
} catch (a) {
|
15997
15997
|
throw console.error(a), new ht("Critical - Unable to synchronize workflow state with server.");
|
15998
15998
|
}
|
15999
|
-
}, this.options = t, this.options.applicationKey && Wr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 32.
|
15999
|
+
}, this.options = t, this.options.applicationKey && Wr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 32.3.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
16000
16000
|
}
|
16001
16001
|
configure(t) {
|
16002
16002
|
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);
|
@@ -16508,7 +16508,7 @@ class Ed {
|
|
16508
16508
|
}));
|
16509
16509
|
}, s = t.map((C, E) => ({ option: C, index: E })), o = s.filter((C) => C.option.type === "transaction"), l = s.filter(
|
16510
16510
|
(C) => C.option.type === "integration" || C.option.type === "external"
|
16511
|
-
), c = Ma(o,
|
16511
|
+
), c = Ma(o, 50), d = Ma(l, 50), A = (await Promise.all([
|
16512
16512
|
...c.map(r),
|
16513
16513
|
...d.map(i)
|
16514
16514
|
])).flat(), u = [...new Set(A.map((C) => C.workflowId))], h = await or(u, e), m = new Map(h.map((C) => [C.id, C])), g = k.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map(), p = A.map(async (C) => {
|