@spiffcommerce/core 40.3.1 → 40.3.2
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2865,9 +2865,19 @@ interface Asset {
|
|
|
2865
2865
|
* NOTE: Currently svgs from PDF files & video transcoding still require this field.
|
|
2866
2866
|
*/
|
|
2867
2867
|
versions?: AssetVersion[];
|
|
2868
|
+
/**
|
|
2869
|
+
* A list of historical versions of this asset, which may be used for version browsing and reverting to previous versions.
|
|
2870
|
+
*/
|
|
2871
|
+
history?: AssetHistory[];
|
|
2868
2872
|
metadata?: AssetMetadata[];
|
|
2869
2873
|
assetConfiguration?: AssetConfiguration;
|
|
2870
2874
|
}
|
|
2875
|
+
interface AssetHistory {
|
|
2876
|
+
id: string;
|
|
2877
|
+
versionId: string;
|
|
2878
|
+
size: number;
|
|
2879
|
+
createdAt: string;
|
|
2880
|
+
}
|
|
2871
2881
|
interface AssetConfiguration {
|
|
2872
2882
|
colorOption?: OptionResource;
|
|
2873
2883
|
channelNumbers: {
|
package/dist/index.mjs
CHANGED
|
@@ -16278,7 +16278,7 @@ class Wd {
|
|
|
16278
16278
|
} catch (a) {
|
|
16279
16279
|
throw console.error(a), new pt("Critical - Unable to synchronize workflow state with server.");
|
|
16280
16280
|
}
|
|
16281
|
-
}, this.options = t, this.options.applicationKey && Ar(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 40.3.
|
|
16281
|
+
}, this.options = t, this.options.applicationKey && Ar(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 40.3.2"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
16282
16282
|
}
|
|
16283
16283
|
configure(t) {
|
|
16284
16284
|
yt.setHubUrl(t.hubUrl), yt.setServerUrl(t.serverUrl), yt.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 && gr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Gt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
|