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.
@@ -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.127";
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.127";
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
- const type = item.type;
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
- const type = item.type;
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 };