@spiffcommerce/core 44.2.0 → 44.4.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 +12 -0
- package/dist/{index-J-SyTUYe.cjs → index-D-PH2Kqn.cjs} +39 -5
- package/dist/{index-J-SyTUYe.cjs.map → index-D-PH2Kqn.cjs.map} +1 -1
- package/dist/{index-DdQDJ_zU.js → index-Gva89Zkz.js} +44 -9
- package/dist/{index-DdQDJ_zU.js.map → index-Gva89Zkz.js.map} +1 -1
- package/dist/{index.browser-Do9ZK5hb.cjs → index.browser-COrSCtBs.cjs} +2 -2
- package/dist/{index.browser-Do9ZK5hb.cjs.map → index.browser-COrSCtBs.cjs.map} +1 -1
- package/dist/{index.browser-8NLj9F1K.js → index.browser-CRGr4u5B.js} +2 -2
- package/dist/{index.browser-8NLj9F1K.js.map → index.browser-CRGr4u5B.js.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
|
@@ -28001,6 +28001,23 @@ const ft = new xB(), zk = Se`
|
|
|
28001
28001
|
conversionConfiguration {
|
|
28002
28002
|
...ConversionConfigurationFields
|
|
28003
28003
|
}
|
|
28004
|
+
metafieldConfiguration {
|
|
28005
|
+
id
|
|
28006
|
+
name
|
|
28007
|
+
description
|
|
28008
|
+
metafieldType
|
|
28009
|
+
}
|
|
28010
|
+
productCollection {
|
|
28011
|
+
id
|
|
28012
|
+
name
|
|
28013
|
+
description
|
|
28014
|
+
image {
|
|
28015
|
+
key
|
|
28016
|
+
name
|
|
28017
|
+
fileLink
|
|
28018
|
+
type
|
|
28019
|
+
}
|
|
28020
|
+
}
|
|
28004
28021
|
listValues
|
|
28005
28022
|
objectValues
|
|
28006
28023
|
schema
|
|
@@ -28180,12 +28197,16 @@ const ft = new xB(), zk = Se`
|
|
|
28180
28197
|
}
|
|
28181
28198
|
}
|
|
28182
28199
|
}
|
|
28183
|
-
`, WB = Se`
|
|
28200
|
+
`, WB = (r) => Se`
|
|
28184
28201
|
${Fd}
|
|
28185
|
-
query GetActivation(
|
|
28202
|
+
query GetActivation(
|
|
28203
|
+
$id: String!
|
|
28204
|
+
${r ? "$productIds: [String!]" : ""}
|
|
28205
|
+
) {
|
|
28186
28206
|
activation(id: $id) {
|
|
28187
28207
|
id
|
|
28188
28208
|
name
|
|
28209
|
+
singleProductMode
|
|
28189
28210
|
marketplaceThemeInstallConfiguration {
|
|
28190
28211
|
...MarketplaceThemeInstallConfigurationFields
|
|
28191
28212
|
}
|
|
@@ -28193,6 +28214,19 @@ const ft = new xB(), zk = Se`
|
|
|
28193
28214
|
id
|
|
28194
28215
|
productCollection {
|
|
28195
28216
|
id
|
|
28217
|
+
${r ? `
|
|
28218
|
+
productCollectionProducts(productIds: $productIds) {
|
|
28219
|
+
productId
|
|
28220
|
+
workflows {
|
|
28221
|
+
id
|
|
28222
|
+
workflowProduct {
|
|
28223
|
+
id
|
|
28224
|
+
friendlyName
|
|
28225
|
+
workflowName
|
|
28226
|
+
}
|
|
28227
|
+
}
|
|
28228
|
+
}
|
|
28229
|
+
` : ""}
|
|
28196
28230
|
}
|
|
28197
28231
|
}
|
|
28198
28232
|
}
|
|
@@ -72390,7 +72424,7 @@ class qV extends GV {
|
|
|
72390
72424
|
});
|
|
72391
72425
|
}
|
|
72392
72426
|
async loadEventStreamCapability() {
|
|
72393
|
-
const { EventStreamSerde: e, eventStreamSerdeProvider: t } = await import("./index.browser-
|
|
72427
|
+
const { EventStreamSerde: e, eventStreamSerdeProvider: t } = await import("./index.browser-CRGr4u5B.js"), n = this.resolveEventStreamMarshaller(t);
|
|
72394
72428
|
return new e({
|
|
72395
72429
|
marshaller: n,
|
|
72396
72430
|
serializer: this.serializer,
|
|
@@ -79821,7 +79855,7 @@ class qQ {
|
|
|
79821
79855
|
} catch (n) {
|
|
79822
79856
|
throw console.error(n), new ao("Critical - Unable to synchronize workflow state with server.");
|
|
79823
79857
|
}
|
|
79824
|
-
}, this.options = e, this.options.applicationKey && j4(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 44.
|
|
79858
|
+
}, this.options = e, this.options.applicationKey && j4(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 44.3.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
79825
79859
|
}
|
|
79826
79860
|
configure(e) {
|
|
79827
79861
|
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 +79864,7 @@ class qQ {
|
|
|
79830
79864
|
* @returns The version of the @spiffcommerce/core package that this client is running.
|
|
79831
79865
|
*/
|
|
79832
79866
|
getVersion() {
|
|
79833
|
-
return "44.
|
|
79867
|
+
return "44.3.0";
|
|
79834
79868
|
}
|
|
79835
79869
|
/**
|
|
79836
79870
|
* @returns The asset manager allows for common operations related to assets
|
|
@@ -80463,11 +80497,12 @@ const FW = async (r, e) => (await He.getShadowGraphqlClient().query({
|
|
|
80463
80497
|
variables: {
|
|
80464
80498
|
id: r
|
|
80465
80499
|
}
|
|
80466
|
-
})).data?.transactions?.[0]?.marketplaceThemeInstallConfiguration, IW = async (r) => (await He.getShadowGraphqlClient().query({
|
|
80467
|
-
query: WB,
|
|
80500
|
+
})).data?.transactions?.[0]?.marketplaceThemeInstallConfiguration, IW = async (r, e) => (await He.getShadowGraphqlClient().query({
|
|
80501
|
+
query: WB(!!e),
|
|
80468
80502
|
errorPolicy: "all",
|
|
80469
80503
|
variables: {
|
|
80470
|
-
id: r
|
|
80504
|
+
id: r,
|
|
80505
|
+
productIds: e
|
|
80471
80506
|
}
|
|
80472
80507
|
})).data?.activation, JQ = async (r) => (await IW(r))?.marketplaceThemeInstallConfiguration;
|
|
80473
80508
|
async function GI() {
|
|
@@ -81953,4 +81988,4 @@ export {
|
|
|
81953
81988
|
t9 as y,
|
|
81954
81989
|
e9 as z
|
|
81955
81990
|
};
|
|
81956
|
-
//# sourceMappingURL=index-
|
|
81991
|
+
//# sourceMappingURL=index-Gva89Zkz.js.map
|