arky-sdk 0.7.128 → 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/index.cjs CHANGED
@@ -137,8 +137,7 @@ var getImageUrl = (imageBlock, isBlock = true) => {
137
137
  function normalizeOrderQuoteItems(items) {
138
138
  return items.map((item) => {
139
139
  if ("type" in item) {
140
- const type = item.type;
141
- return type === "booking" ? { ...item, type: "service" } : item;
140
+ return item;
142
141
  }
143
142
  if ("product_id" in item) {
144
143
  return { type: "product", ...item };
@@ -149,8 +148,7 @@ function normalizeOrderQuoteItems(items) {
149
148
  function normalizeOrderCheckoutItems(items) {
150
149
  return items.map((item) => {
151
150
  if ("type" in item) {
152
- const type = item.type;
153
- return type === "booking" ? { ...item, type: "service" } : item;
151
+ return item;
154
152
  }
155
153
  if ("product_id" in item) {
156
154
  return { type: "product", ...item };
@@ -2799,7 +2797,7 @@ function getFirstAvailableFCId(variant, quantity = 1) {
2799
2797
  }
2800
2798
 
2801
2799
  // src/index.ts
2802
- var SDK_VERSION = "0.7.128";
2800
+ var SDK_VERSION = "0.7.129";
2803
2801
  var SUPPORTED_FRAMEWORKS = [
2804
2802
  "astro",
2805
2803
  "react",