@spiffcommerce/core 44.2.0 → 44.3.0
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-J-SyTUYe.cjs → index-D-YBycxO.cjs} +22 -5
- package/dist/{index-J-SyTUYe.cjs.map → index-D-YBycxO.cjs.map} +1 -1
- package/dist/{index-DdQDJ_zU.js → index-SA7ESQN7.js} +27 -9
- package/dist/{index-DdQDJ_zU.js.map → index-SA7ESQN7.js.map} +1 -1
- package/dist/{index.browser-8NLj9F1K.js → index.browser-BkdoBXAc.js} +2 -2
- package/dist/{index.browser-8NLj9F1K.js.map → index.browser-BkdoBXAc.js.map} +1 -1
- package/dist/{index.browser-Do9ZK5hb.cjs → index.browser-DZ9V5B30.cjs} +2 -2
- package/dist/{index.browser-Do9ZK5hb.cjs.map → index.browser-DZ9V5B30.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +23 -8
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -28180,12 +28180,16 @@ const ft = new xB(), zk = Se`
|
|
|
28180
28180
|
}
|
|
28181
28181
|
}
|
|
28182
28182
|
}
|
|
28183
|
-
`, WB = Se`
|
|
28183
|
+
`, WB = (r) => Se`
|
|
28184
28184
|
${Fd}
|
|
28185
|
-
query GetActivation(
|
|
28185
|
+
query GetActivation(
|
|
28186
|
+
$id: String!
|
|
28187
|
+
${r ? "$productIds: [String!]" : ""}
|
|
28188
|
+
) {
|
|
28186
28189
|
activation(id: $id) {
|
|
28187
28190
|
id
|
|
28188
28191
|
name
|
|
28192
|
+
singleProductMode
|
|
28189
28193
|
marketplaceThemeInstallConfiguration {
|
|
28190
28194
|
...MarketplaceThemeInstallConfigurationFields
|
|
28191
28195
|
}
|
|
@@ -28193,6 +28197,19 @@ const ft = new xB(), zk = Se`
|
|
|
28193
28197
|
id
|
|
28194
28198
|
productCollection {
|
|
28195
28199
|
id
|
|
28200
|
+
${r ? `
|
|
28201
|
+
productCollectionProducts(productIds: $productIds) {
|
|
28202
|
+
productId
|
|
28203
|
+
workflows {
|
|
28204
|
+
id
|
|
28205
|
+
workflowProduct {
|
|
28206
|
+
id
|
|
28207
|
+
friendlyName
|
|
28208
|
+
workflowName
|
|
28209
|
+
}
|
|
28210
|
+
}
|
|
28211
|
+
}
|
|
28212
|
+
` : ""}
|
|
28196
28213
|
}
|
|
28197
28214
|
}
|
|
28198
28215
|
}
|
|
@@ -72390,7 +72407,7 @@ class qV extends GV {
|
|
|
72390
72407
|
});
|
|
72391
72408
|
}
|
|
72392
72409
|
async loadEventStreamCapability() {
|
|
72393
|
-
const { EventStreamSerde: e, eventStreamSerdeProvider: t } = await import("./index.browser-
|
|
72410
|
+
const { EventStreamSerde: e, eventStreamSerdeProvider: t } = await import("./index.browser-BkdoBXAc.js"), n = this.resolveEventStreamMarshaller(t);
|
|
72394
72411
|
return new e({
|
|
72395
72412
|
marshaller: n,
|
|
72396
72413
|
serializer: this.serializer,
|
|
@@ -79821,7 +79838,7 @@ class qQ {
|
|
|
79821
79838
|
} catch (n) {
|
|
79822
79839
|
throw console.error(n), new ao("Critical - Unable to synchronize workflow state with server.");
|
|
79823
79840
|
}
|
|
79824
|
-
}, this.options = e, this.options.applicationKey && j4(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 44.
|
|
79841
|
+
}, this.options = e, this.options.applicationKey && j4(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 44.2.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
79825
79842
|
}
|
|
79826
79843
|
configure(e) {
|
|
79827
79844
|
vl.setHubUrl(e.hubUrl), vl.setServerUrl(e.serverUrl), vl.setServicesApiUrl(e.servicesApiUrl), this.marketplaceThemeInstallId = e.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = e.marketplaceThemeInstallConfigurationId, this.userPoolClientId = e.userPoolClientId, this.userPoolRegion = e.userPoolRegion, this.spiffRegion = e.spiffRegion, e.bearerAuthenticationToken && q4(e.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Ef.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
|
|
@@ -79830,7 +79847,7 @@ class qQ {
|
|
|
79830
79847
|
* @returns The version of the @spiffcommerce/core package that this client is running.
|
|
79831
79848
|
*/
|
|
79832
79849
|
getVersion() {
|
|
79833
|
-
return "44.
|
|
79850
|
+
return "44.2.0";
|
|
79834
79851
|
}
|
|
79835
79852
|
/**
|
|
79836
79853
|
* @returns The asset manager allows for common operations related to assets
|
|
@@ -80463,11 +80480,12 @@ const FW = async (r, e) => (await He.getShadowGraphqlClient().query({
|
|
|
80463
80480
|
variables: {
|
|
80464
80481
|
id: r
|
|
80465
80482
|
}
|
|
80466
|
-
})).data?.transactions?.[0]?.marketplaceThemeInstallConfiguration, IW = async (r) => (await He.getShadowGraphqlClient().query({
|
|
80467
|
-
query: WB,
|
|
80483
|
+
})).data?.transactions?.[0]?.marketplaceThemeInstallConfiguration, IW = async (r, e) => (await He.getShadowGraphqlClient().query({
|
|
80484
|
+
query: WB(!!e),
|
|
80468
80485
|
errorPolicy: "all",
|
|
80469
80486
|
variables: {
|
|
80470
|
-
id: r
|
|
80487
|
+
id: r,
|
|
80488
|
+
productIds: e
|
|
80471
80489
|
}
|
|
80472
80490
|
})).data?.activation, JQ = async (r) => (await IW(r))?.marketplaceThemeInstallConfiguration;
|
|
80473
80491
|
async function GI() {
|
|
@@ -81953,4 +81971,4 @@ export {
|
|
|
81953
81971
|
t9 as y,
|
|
81954
81972
|
e9 as z
|
|
81955
81973
|
};
|
|
81956
|
-
//# sourceMappingURL=index-
|
|
81974
|
+
//# sourceMappingURL=index-SA7ESQN7.js.map
|