@moonbase.sh/storefront-api 0.2.26 → 0.2.27

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
@@ -528,7 +528,7 @@ var OrderEndpoints = class {
528
528
  `/api/customer/orders/${order.id}?${new URLSearchParams(query).toString()}`,
529
529
  "PATCH",
530
530
  {
531
- currency: order.currency,
531
+ currency: order.currency || void 0,
532
532
  items: order.items
533
533
  }
534
534
  );
package/dist/index.js CHANGED
@@ -481,7 +481,7 @@ var OrderEndpoints = class {
481
481
  `/api/customer/orders/${order.id}?${new URLSearchParams(query).toString()}`,
482
482
  "PATCH",
483
483
  {
484
- currency: order.currency,
484
+ currency: order.currency || void 0,
485
485
  items: order.items
486
486
  }
487
487
  );
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@moonbase.sh/storefront-api",
3
3
  "type": "module",
4
- "version": "0.2.26",
4
+ "version": "0.2.27",
5
5
  "description": "Package to let you build storefronts with Moonbase.sh as payment and delivery provider",
6
6
  "author": "Tobias Lønnerød Madsen <m@dsen.tv>",
7
7
  "license": "MIT",