@spiffcommerce/core 41.0.2 → 41.0.3-alpha.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/dist/{index-1Cx7D8FE.cjs → index-BcOOjH1M.cjs} +17 -4
- package/dist/{index-1Cx7D8FE.cjs.map → index-BcOOjH1M.cjs.map} +1 -1
- package/dist/{index-DCCKqjKF.js → index-BrqtxGSz.js} +17 -4
- package/dist/{index-DCCKqjKF.js.map → index-BrqtxGSz.js.map} +1 -1
- package/dist/{index-p1RlkR6Z.cjs → index-CVscbFau.cjs} +2 -2
- package/dist/{index-p1RlkR6Z.cjs.map → index-CVscbFau.cjs.map} +1 -1
- package/dist/{index-D-9zypZB.js → index-CrzzVdn_.js} +2 -2
- package/dist/{index-D-9zypZB.js.map → index-CrzzVdn_.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +16 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -8685,7 +8685,7 @@ var uf = {
|
|
|
8685
8685
|
r.gql = uf.gql, r.resetCaches = uf.resetCaches, r.disableFragmentWarnings = uf.disableFragmentWarnings, r.enableExperimentalFragmentVariables = uf.enableExperimentalFragmentVariables, r.disableExperimentalFragmentVariables = uf.disableExperimentalFragmentVariables;
|
|
8686
8686
|
})(ke || (ke = {}));
|
|
8687
8687
|
ke.default = ke;
|
|
8688
|
-
var rg = /* @__PURE__ */ ((r) => (r.Data = "Data", r.Font = "Font", r.Frame = "Frame", r.Illustration = "Illustration", r.Image = "Image", r.Model = "Model", r.Material = "Material", r.Color = "Color", r.QuestionnaireCollateral = "QuestionnaireCollateral", r.RequestCollateral = "RequestCollateral", r.SignupCollateral = "SignupCollateral", r.Video = "Video", r.ColorProfile = "ColorProfile", r.Environment = "Environment", r))(rg || {}), Ak = /* @__PURE__ */ ((r) => (r.AND = "AND", r.OR = "OR", r))(Ak || {}), Qn = /* @__PURE__ */ ((r) => (r.FileUpload = "FileUpload", r.Option = "Option", r.ColorOption = "ColorOption", r.Text = "Text", r))(Qn || {}), Ze = /* @__PURE__ */ ((r) => (r.Information = "Information", r.Bulk = "Bulk", r.DigitalContent = "DigitalContent", r.Finish = "Finish", r.Frame = "Frame", r.Illustration = "Illustration", r.Introduction = "Introduction", r.Material = "Material", r.Model = "Model", r.Module = "Module", r.Picture = "Picture", r.Photo = "Photo", r.ProductOverlay = "ProductOverlay", r.Question = "Question", r.Shape = "Shape", r.SilentIllustration = "SilentIllustration", r.Text = "Text", r))(Ze || {}), A4 = /* @__PURE__ */ ((r) => (r.Color = "Color", r.Colors = "Colors", r.Selection = "Selection", r.Selections = "Selections", r.Text = "Text", r.Upload = "Upload", r))(A4 || {}), dd = /* @__PURE__ */ ((r) => (r.ThreeD = "ThreeD", r.FreeDesign = "FreeDesign", r.Print = "Print", r))(dd || {}), tr = /* @__PURE__ */ ((r) => (r.Frame = "frame", r.Group = "group", r.Image = "image", r.Pattern = "pattern", r.Illustration = "illustration", r.Textbox = "textbox", r))(tr || {}), b4 = /* @__PURE__ */ ((r) => (r.Default = "Default", r.FirstTransaction = "FirstTransaction", r.OneToOne = "OneToOne", r))(b4 || {}), bk = /* @__PURE__ */ ((r) => (r.Pending = "Pending", r.Failed = "Failed", r.Validated = "Validated", r.Overridden = "Overridden", r))(bk || {}), w4 = /* @__PURE__ */ ((r) => (r.Hyperlink = "Hyperlink", r.Edit = "Edit", r.Approve = "Approve", r))(w4 || {}), x4 = /* @__PURE__ */ ((r) => (r.Hub = "Hub", r.Shopify = "Shopify", r))(x4 || {}), FA = /* @__PURE__ */ ((r) => (r.AdvancedImageManipulation = "BackgroundRemover", r.ConversionAccelerator = "Conversion Accelerator", r.ProcessBuilder = "ProcessBuilder", r))(FA || {}), C4 = /* @__PURE__ */ ((r) => (r[r.Orbit = 0] = "Orbit", r[r.Pan = 1] = "Pan", r))(C4 || {}), wk = /* @__PURE__ */ ((r) => (r.Owner = "Owner", r.Approver = "Approver", r.Editor = "Editor", r.Viewer = "Viewer", r))(wk || {}), dc = /* @__PURE__ */ ((r) => (r.Autosize = "Autosize", r.Traditional = "Traditional", r))(dc || {}), Ci = /* @__PURE__ */ ((r) => (r[r.North = 0] = "North", r[r.Northeast = 1] = "Northeast", r[r.East = 2] = "East", r[r.Southeast = 3] = "Southeast", r[r.South = 4] = "South", r[r.Southwest = 5] = "Southwest", r[r.West = 6] = "West", r[r.Northwest = 7] = "Northwest", r))(Ci || {}), S4 = /* @__PURE__ */ ((r) => (r.Pixel = "px", r.Millimeter = "mm", r.Centimeter = "cm", r))(S4 || {}), Up = /* @__PURE__ */ ((r) => (r.Email = "Email", r.FirstName = "FirstName", r.LastName = "LastName", r.Phone = "Phone", r.Apartment = "Apartment", r.City = "City", r.Country = "Country", r.OrganizationName = "OrganizationName", r.PostCode = "PostCode", r.State = "State", r.StreetAddress = "StreetAddress", r.Custom = "Custom", r))(Up || {});
|
|
8688
|
+
var rg = /* @__PURE__ */ ((r) => (r.Data = "Data", r.Font = "Font", r.Frame = "Frame", r.Illustration = "Illustration", r.Image = "Image", r.Model = "Model", r.Material = "Material", r.Color = "Color", r.QuestionnaireCollateral = "QuestionnaireCollateral", r.RequestCollateral = "RequestCollateral", r.SignupCollateral = "SignupCollateral", r.Video = "Video", r.ColorProfile = "ColorProfile", r.Environment = "Environment", r))(rg || {}), Ak = /* @__PURE__ */ ((r) => (r.AND = "AND", r.OR = "OR", r))(Ak || {}), Qn = /* @__PURE__ */ ((r) => (r.FileUpload = "FileUpload", r.Option = "Option", r.ColorOption = "ColorOption", r.Text = "Text", r))(Qn || {}), Ze = /* @__PURE__ */ ((r) => (r.Information = "Information", r.Bulk = "Bulk", r.DigitalContent = "DigitalContent", r.Finish = "Finish", r.Frame = "Frame", r.Illustration = "Illustration", r.Introduction = "Introduction", r.Material = "Material", r.Model = "Model", r.Module = "Module", r.Picture = "Picture", r.Photo = "Photo", r.Product = "Product", r.ProductOverlay = "ProductOverlay", r.Question = "Question", r.Shape = "Shape", r.SilentIllustration = "SilentIllustration", r.Text = "Text", r))(Ze || {}), A4 = /* @__PURE__ */ ((r) => (r.Color = "Color", r.Colors = "Colors", r.Selection = "Selection", r.Selections = "Selections", r.Text = "Text", r.Upload = "Upload", r))(A4 || {}), dd = /* @__PURE__ */ ((r) => (r.ThreeD = "ThreeD", r.FreeDesign = "FreeDesign", r.Print = "Print", r))(dd || {}), tr = /* @__PURE__ */ ((r) => (r.Frame = "frame", r.Group = "group", r.Image = "image", r.Pattern = "pattern", r.Illustration = "illustration", r.Textbox = "textbox", r))(tr || {}), b4 = /* @__PURE__ */ ((r) => (r.Default = "Default", r.FirstTransaction = "FirstTransaction", r.OneToOne = "OneToOne", r))(b4 || {}), bk = /* @__PURE__ */ ((r) => (r.Pending = "Pending", r.Failed = "Failed", r.Validated = "Validated", r.Overridden = "Overridden", r))(bk || {}), w4 = /* @__PURE__ */ ((r) => (r.Hyperlink = "Hyperlink", r.Edit = "Edit", r.Approve = "Approve", r))(w4 || {}), x4 = /* @__PURE__ */ ((r) => (r.Hub = "Hub", r.Shopify = "Shopify", r))(x4 || {}), FA = /* @__PURE__ */ ((r) => (r.AdvancedImageManipulation = "BackgroundRemover", r.ConversionAccelerator = "Conversion Accelerator", r.ProcessBuilder = "ProcessBuilder", r))(FA || {}), C4 = /* @__PURE__ */ ((r) => (r[r.Orbit = 0] = "Orbit", r[r.Pan = 1] = "Pan", r))(C4 || {}), wk = /* @__PURE__ */ ((r) => (r.Owner = "Owner", r.Approver = "Approver", r.Editor = "Editor", r.Viewer = "Viewer", r))(wk || {}), dc = /* @__PURE__ */ ((r) => (r.Autosize = "Autosize", r.Traditional = "Traditional", r))(dc || {}), Ci = /* @__PURE__ */ ((r) => (r[r.North = 0] = "North", r[r.Northeast = 1] = "Northeast", r[r.East = 2] = "East", r[r.Southeast = 3] = "Southeast", r[r.South = 4] = "South", r[r.Southwest = 5] = "Southwest", r[r.West = 6] = "West", r[r.Northwest = 7] = "Northwest", r))(Ci || {}), S4 = /* @__PURE__ */ ((r) => (r.Pixel = "px", r.Millimeter = "mm", r.Centimeter = "cm", r))(S4 || {}), Up = /* @__PURE__ */ ((r) => (r.Email = "Email", r.FirstName = "FirstName", r.LastName = "LastName", r.Phone = "Phone", r.Apartment = "Apartment", r.City = "City", r.Country = "Country", r.OrganizationName = "OrganizationName", r.PostCode = "PostCode", r.State = "State", r.StreetAddress = "StreetAddress", r.Custom = "Custom", r))(Up || {});
|
|
8689
8689
|
class xk extends Error {
|
|
8690
8690
|
constructor(e) {
|
|
8691
8691
|
super(e), this.name = this.constructor.name;
|
|
@@ -27639,6 +27639,19 @@ const ft = new RB(), $k = ke`
|
|
|
27639
27639
|
}
|
|
27640
27640
|
overlayType
|
|
27641
27641
|
}
|
|
27642
|
+
... on ProductStepData {
|
|
27643
|
+
baseContents
|
|
27644
|
+
categoryFilterEnabled
|
|
27645
|
+
lockedAddOns {
|
|
27646
|
+
lockedQty
|
|
27647
|
+
variantId
|
|
27648
|
+
}
|
|
27649
|
+
max
|
|
27650
|
+
min
|
|
27651
|
+
pricing
|
|
27652
|
+
searchBarEnabled
|
|
27653
|
+
workflows
|
|
27654
|
+
}
|
|
27642
27655
|
... on QuestionStepData {
|
|
27643
27656
|
advancedEditorAnimation {
|
|
27644
27657
|
x
|
|
@@ -71236,7 +71249,7 @@ class SV extends CV {
|
|
|
71236
71249
|
});
|
|
71237
71250
|
}
|
|
71238
71251
|
async loadEventStreamCapability() {
|
|
71239
|
-
const { EventStreamSerde: e } = await import("./index-
|
|
71252
|
+
const { EventStreamSerde: e } = await import("./index-CrzzVdn_.js");
|
|
71240
71253
|
return new e({
|
|
71241
71254
|
marshaller: this.getEventStreamMarshaller(),
|
|
71242
71255
|
serializer: this.serializer,
|
|
@@ -78862,7 +78875,7 @@ class $Q {
|
|
|
78862
78875
|
} catch (n) {
|
|
78863
78876
|
throw console.error(n), new lo("Critical - Unable to synchronize workflow state with server.");
|
|
78864
78877
|
}
|
|
78865
|
-
}, this.options = e, this.options.applicationKey && K4(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 41.0.
|
|
78878
|
+
}, this.options = e, this.options.applicationKey && K4(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 41.0.2"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
78866
78879
|
}
|
|
78867
78880
|
configure(e) {
|
|
78868
78881
|
mo.setHubUrl(e.hubUrl), mo.setServerUrl(e.serverUrl), mo.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 && eO(e.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Of.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
|
|
@@ -80922,4 +80935,4 @@ export {
|
|
|
80922
80935
|
i7 as y,
|
|
80923
80936
|
r7 as z
|
|
80924
80937
|
};
|
|
80925
|
-
//# sourceMappingURL=index-
|
|
80938
|
+
//# sourceMappingURL=index-BrqtxGSz.js.map
|