@spiffcommerce/core 27.2.1-beta.5756496b-3a49-5000-b986-4209fb32572c → 27.2.1-beta.dabb7794-c627-5751-8578-07b1311c272c
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 +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -11514,7 +11514,9 @@ class So extends it {
|
|
|
11514
11514
|
helperData: {}
|
|
11515
11515
|
}, a = j.findLayoutElements(this.manager, this.step), n = j.filterUnsupportedCharacters(t, (d = a[0]) == null ? void 0 : d.fontData), i = !!this.step.data && !!this.step.data.maxLength && n.length > this.step.data.maxLength;
|
|
11516
11516
|
i || (e.input = n);
|
|
11517
|
-
const s = a.length <= 0
|
|
11517
|
+
const s = a.length <= 0;
|
|
11518
|
+
console.log(`LOG: setting text ${t} to ${a.length} regions`);
|
|
11519
|
+
const o = s ? { inputText: n, text: n } : { inputText: n };
|
|
11518
11520
|
this.manager.updateStorage(this.step.stepName, o);
|
|
11519
11521
|
const l = this.manager.getStepStorage(this.step.stepName), c = j.getProcessedInput(
|
|
11520
11522
|
n,
|
|
@@ -15905,7 +15907,7 @@ class rd {
|
|
|
15905
15907
|
} catch (a) {
|
|
15906
15908
|
throw console.error(a), new ut("Critical - Unable to synchronize workflow state with server.");
|
|
15907
15909
|
}
|
|
15908
|
-
}, this.options = t, this.options.applicationKey && Rr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 27.2.1-beta.
|
|
15910
|
+
}, this.options = t, this.options.applicationKey && Rr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 27.2.1-beta.5756496b-3a49-5000-b986-4209fb32572c"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
15909
15911
|
}
|
|
15910
15912
|
configure(t) {
|
|
15911
15913
|
mt.setHubUrl(t.hubUrl), mt.setServerUrl(t.serverUrl), mt.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 && $r(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
|