@spiffcommerce/core 26.7.5 → 26.7.6
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 +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -217,7 +217,7 @@ const Wa = /* @__PURE__ */ new Map(), wa = /* @__PURE__ */ new Map(), ya = /* @_
|
|
|
217
217
|
if (xt([typeof FontFace])) {
|
|
218
218
|
if (xe.has(t))
|
|
219
219
|
return xe.get(t);
|
|
220
|
-
const e = r.names.
|
|
220
|
+
const e = r.names.fullName.en, a = new FontFace(e, `url(${t})`);
|
|
221
221
|
document.fonts.add(a);
|
|
222
222
|
const n = a.load();
|
|
223
223
|
return xe.set(t, n), n;
|
|
@@ -6314,7 +6314,7 @@ class jl {
|
|
|
6314
6314
|
var m;
|
|
6315
6315
|
const { configuration: a, fontSrc: n, designInputStep: i } = e, s = await kt(n), o = {
|
|
6316
6316
|
assetUrl: n,
|
|
6317
|
-
name: s.names.
|
|
6317
|
+
name: s.names.fullName.en
|
|
6318
6318
|
}, l = (i == null ? void 0 : i.text) || a.defaultText || "", c = a.replaceableText ? a.replaceableText.replace("{{}}", l) : l, d = ge(c, {
|
|
6319
6319
|
vertical: a.vertical,
|
|
6320
6320
|
uppercase: a.uppercase
|
|
@@ -8965,7 +8965,7 @@ class rs {
|
|
|
8965
8965
|
const n = await kt(a);
|
|
8966
8966
|
return {
|
|
8967
8967
|
assetUrl: a,
|
|
8968
|
-
name: n.names.
|
|
8968
|
+
name: n.names.fullName.en
|
|
8969
8969
|
};
|
|
8970
8970
|
}
|
|
8971
8971
|
async selectVariantCommand(t, e, a, n, i, s, o, l, c) {
|
|
@@ -12530,7 +12530,7 @@ const Ao = [
|
|
|
12530
12530
|
const p = await kt(f);
|
|
12531
12531
|
return {
|
|
12532
12532
|
assetUrl: f,
|
|
12533
|
-
name: p.names.
|
|
12533
|
+
name: p.names.fullName.en
|
|
12534
12534
|
};
|
|
12535
12535
|
})(), A = (a.data.replaceableText ? a.data.replaceableText.replace("{{}}", i.text) : i.text) || "", u = ge(A, {
|
|
12536
12536
|
vertical: a.data.vertical,
|
|
@@ -14775,7 +14775,7 @@ class ic {
|
|
|
14775
14775
|
} catch (a) {
|
|
14776
14776
|
throw console.error(a), new lt("Critical - Unable to synchronize workflow state with server.");
|
|
14777
14777
|
}
|
|
14778
|
-
}, this.options = t, this.options.applicationKey && gr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.7.
|
|
14778
|
+
}, this.options = t, this.options.applicationKey && gr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.7.6"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
14779
14779
|
}
|
|
14780
14780
|
configure(t) {
|
|
14781
14781
|
pt.setHubUrl(t.hubUrl), pt.setServerUrl(t.serverUrl), pt.setServicesApiUrl(t.servicesApiUrl), this.marketplaceThemeInstallId = t.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = t.marketplaceThemeInstallConfigurationId, t.bearerAuthenticationToken && pr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration();
|