arky-sdk 0.7.127 → 0.7.129
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/{admin-DGRlGh1M.d.ts → admin-CKVQJu8y.d.ts} +1 -1
- package/dist/{admin-BW3_7HCP.d.cts → admin-Cgqo1TcB.d.cts} +1 -1
- package/dist/admin.cjs +2 -4
- package/dist/admin.cjs.map +1 -1
- package/dist/admin.d.cts +1 -1
- package/dist/admin.d.ts +1 -1
- package/dist/admin.js +2 -4
- package/dist/admin.js.map +1 -1
- package/dist/index.cjs +3 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -5
- package/dist/index.js.map +1 -1
- package/dist/storefront-store.cjs +191 -190
- package/dist/storefront-store.cjs.map +1 -1
- package/dist/storefront-store.d.cts +2 -2
- package/dist/storefront-store.d.ts +2 -2
- package/dist/storefront-store.js +191 -190
- package/dist/storefront-store.js.map +1 -1
- package/dist/storefront.cjs +191 -190
- package/dist/storefront.cjs.map +1 -1
- package/dist/storefront.d.cts +94 -95
- package/dist/storefront.d.ts +94 -95
- package/dist/storefront.js +191 -190
- package/dist/storefront.js.map +1 -1
- package/package.json +1 -1
|
@@ -300,7 +300,7 @@ declare function fetchSvgContent(mediaObject: any): Promise<string | null>;
|
|
|
300
300
|
declare function getSvgContentForAstro(mediaObject: any): Promise<string>;
|
|
301
301
|
declare function injectSvgIntoElement(mediaObject: any, targetElement: HTMLElement, className?: string): Promise<void>;
|
|
302
302
|
|
|
303
|
-
declare const SDK_VERSION = "0.7.
|
|
303
|
+
declare const SDK_VERSION = "0.7.129";
|
|
304
304
|
declare const SUPPORTED_FRAMEWORKS: readonly ["astro", "react", "vue", "svelte", "vanilla"];
|
|
305
305
|
|
|
306
306
|
interface ApiConfig {
|
|
@@ -300,7 +300,7 @@ declare function fetchSvgContent(mediaObject: any): Promise<string | null>;
|
|
|
300
300
|
declare function getSvgContentForAstro(mediaObject: any): Promise<string>;
|
|
301
301
|
declare function injectSvgIntoElement(mediaObject: any, targetElement: HTMLElement, className?: string): Promise<void>;
|
|
302
302
|
|
|
303
|
-
declare const SDK_VERSION = "0.7.
|
|
303
|
+
declare const SDK_VERSION = "0.7.129";
|
|
304
304
|
declare const SUPPORTED_FRAMEWORKS: readonly ["astro", "react", "vue", "svelte", "vanilla"];
|
|
305
305
|
|
|
306
306
|
interface ApiConfig {
|
package/dist/admin.cjs
CHANGED
|
@@ -130,8 +130,7 @@ var getImageUrl = (imageBlock, isBlock = true) => {
|
|
|
130
130
|
function normalizeOrderQuoteItems(items) {
|
|
131
131
|
return items.map((item) => {
|
|
132
132
|
if ("type" in item) {
|
|
133
|
-
|
|
134
|
-
return type === "booking" ? { ...item, type: "service" } : item;
|
|
133
|
+
return item;
|
|
135
134
|
}
|
|
136
135
|
if ("product_id" in item) {
|
|
137
136
|
return { type: "product", ...item };
|
|
@@ -142,8 +141,7 @@ function normalizeOrderQuoteItems(items) {
|
|
|
142
141
|
function normalizeOrderCheckoutItems(items) {
|
|
143
142
|
return items.map((item) => {
|
|
144
143
|
if ("type" in item) {
|
|
145
|
-
|
|
146
|
-
return type === "booking" ? { ...item, type: "service" } : item;
|
|
144
|
+
return item;
|
|
147
145
|
}
|
|
148
146
|
if ("product_id" in item) {
|
|
149
147
|
return { type: "product", ...item };
|