arky-sdk 0.7.92 → 0.7.93
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 +2 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2680,7 +2680,7 @@ function getFirstAvailableFCId(variant, quantity = 1) {
|
|
|
2680
2680
|
}
|
|
2681
2681
|
|
|
2682
2682
|
// src/index.ts
|
|
2683
|
-
var SDK_VERSION = "0.7.
|
|
2683
|
+
var SDK_VERSION = "0.7.93";
|
|
2684
2684
|
var SUPPORTED_FRAMEWORKS = [
|
|
2685
2685
|
"astro",
|
|
2686
2686
|
"react",
|
|
@@ -3003,13 +3003,6 @@ function createStorefront(config) {
|
|
|
3003
3003
|
});
|
|
3004
3004
|
return sessionPromise;
|
|
3005
3005
|
}
|
|
3006
|
-
const activity = {
|
|
3007
|
-
...storefrontApi.activity,
|
|
3008
|
-
async track(params) {
|
|
3009
|
-
await ready;
|
|
3010
|
-
return storefrontApi.activity.track(params);
|
|
3011
|
-
}
|
|
3012
|
-
};
|
|
3013
3006
|
function setMarket(key) {
|
|
3014
3007
|
sessionPromise = null;
|
|
3015
3008
|
return session(key);
|
|
@@ -3022,7 +3015,7 @@ function createStorefront(config) {
|
|
|
3022
3015
|
eshop: storefrontApi.eshop,
|
|
3023
3016
|
booking: storefrontApi.booking,
|
|
3024
3017
|
crm: storefrontApi.crm,
|
|
3025
|
-
activity,
|
|
3018
|
+
activity: storefrontApi.activity,
|
|
3026
3019
|
ready,
|
|
3027
3020
|
automation: storefrontApi.automation,
|
|
3028
3021
|
setBusinessId: (businessId) => {
|