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/admin.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- export { P as AdminSession, M as ApiConfig, A as AuthStateListener, K as AuthStorage, U as CreateAdminConfig, J as HttpClientConfig, W as createAdmin } from './admin-DXfc0gEH.cjs';
1
+ export { P as AdminSession, M as ApiConfig, A as AuthStateListener, K as AuthStorage, U as CreateAdminConfig, J as HttpClientConfig, W as createAdmin } from './admin-Cgqo1TcB.cjs';
2
2
  import './types.cjs';
3
3
  import './index-C5gikdBg.cjs';
package/dist/admin.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { P as AdminSession, M as ApiConfig, A as AuthStateListener, K as AuthStorage, U as CreateAdminConfig, J as HttpClientConfig, W as createAdmin } from './admin-0rOB-o2E.js';
1
+ export { P as AdminSession, M as ApiConfig, A as AuthStateListener, K as AuthStorage, U as CreateAdminConfig, J as HttpClientConfig, W as createAdmin } from './admin-CKVQJu8y.js';
2
2
  import './types.js';
3
3
  import './index-MFMjlIfS.js';
package/dist/admin.js CHANGED
@@ -128,8 +128,7 @@ var getImageUrl = (imageBlock, isBlock = true) => {
128
128
  function normalizeOrderQuoteItems(items) {
129
129
  return items.map((item) => {
130
130
  if ("type" in item) {
131
- const type = item.type;
132
- return type === "booking" ? { ...item, type: "service" } : item;
131
+ return item;
133
132
  }
134
133
  if ("product_id" in item) {
135
134
  return { type: "product", ...item };
@@ -140,8 +139,7 @@ function normalizeOrderQuoteItems(items) {
140
139
  function normalizeOrderCheckoutItems(items) {
141
140
  return items.map((item) => {
142
141
  if ("type" in item) {
143
- const type = item.type;
144
- return type === "booking" ? { ...item, type: "service" } : item;
142
+ return item;
145
143
  }
146
144
  if ("product_id" in item) {
147
145
  return { type: "product", ...item };