arky-sdk 0.7.64 → 0.7.65
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 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -148,7 +148,7 @@ declare global {
|
|
|
148
148
|
}
|
|
149
149
|
declare function track(eventName: string, params?: Record<string, any>): void;
|
|
150
150
|
|
|
151
|
-
declare const SDK_VERSION = "0.7.
|
|
151
|
+
declare const SDK_VERSION = "0.7.65";
|
|
152
152
|
declare const SUPPORTED_FRAMEWORKS: readonly ["astro", "react", "vue", "svelte", "vanilla"];
|
|
153
153
|
interface ApiConfig {
|
|
154
154
|
httpClient: any;
|
|
@@ -636,7 +636,6 @@ declare function createStorefront(config: HttpClientConfig & {
|
|
|
636
636
|
analytics: {
|
|
637
637
|
track: typeof track;
|
|
638
638
|
};
|
|
639
|
-
ensureSession: () => Promise<void>;
|
|
640
639
|
setBusinessId: (businessId: string) => void;
|
|
641
640
|
getBusinessId: () => string;
|
|
642
641
|
setMarket: (market: string) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -148,7 +148,7 @@ declare global {
|
|
|
148
148
|
}
|
|
149
149
|
declare function track(eventName: string, params?: Record<string, any>): void;
|
|
150
150
|
|
|
151
|
-
declare const SDK_VERSION = "0.7.
|
|
151
|
+
declare const SDK_VERSION = "0.7.65";
|
|
152
152
|
declare const SUPPORTED_FRAMEWORKS: readonly ["astro", "react", "vue", "svelte", "vanilla"];
|
|
153
153
|
interface ApiConfig {
|
|
154
154
|
httpClient: any;
|
|
@@ -636,7 +636,6 @@ declare function createStorefront(config: HttpClientConfig & {
|
|
|
636
636
|
analytics: {
|
|
637
637
|
track: typeof track;
|
|
638
638
|
};
|
|
639
|
-
ensureSession: () => Promise<void>;
|
|
640
639
|
setBusinessId: (businessId: string) => void;
|
|
641
640
|
getBusinessId: () => string;
|
|
642
641
|
setMarket: (market: string) => void;
|
package/dist/index.js
CHANGED
|
@@ -2712,7 +2712,7 @@ function getFirstAvailableFCId(variant, quantity = 1) {
|
|
|
2712
2712
|
}
|
|
2713
2713
|
|
|
2714
2714
|
// src/index.ts
|
|
2715
|
-
var SDK_VERSION = "0.7.
|
|
2715
|
+
var SDK_VERSION = "0.7.65";
|
|
2716
2716
|
var SUPPORTED_FRAMEWORKS = [
|
|
2717
2717
|
"astro",
|
|
2718
2718
|
"react",
|
|
@@ -3024,7 +3024,6 @@ async function createStorefront(config) {
|
|
|
3024
3024
|
analytics: {
|
|
3025
3025
|
track
|
|
3026
3026
|
},
|
|
3027
|
-
ensureSession,
|
|
3028
3027
|
setBusinessId: (businessId) => {
|
|
3029
3028
|
apiConfig.businessId = businessId;
|
|
3030
3029
|
},
|