@moonbase.sh/vue 0.2.17 → 0.2.18

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
@@ -617,6 +617,7 @@ function useCart(context) {
617
617
  });
618
618
  } else if (updatedOrder.checkoutUrl && typeof window !== "undefined") {
619
619
  window.location.href = updatedOrder.checkoutUrl;
620
+ return { next: void 0 };
620
621
  } else {
621
622
  throw new Error("No checkout URL found");
622
623
  }
package/dist/index.js CHANGED
@@ -582,6 +582,7 @@ function useCart(context) {
582
582
  });
583
583
  } else if (updatedOrder.checkoutUrl && typeof window !== "undefined") {
584
584
  window.location.href = updatedOrder.checkoutUrl;
585
+ return { next: void 0 };
585
586
  } else {
586
587
  throw new Error("No checkout URL found");
587
588
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@moonbase.sh/vue",
3
3
  "type": "module",
4
- "version": "0.2.17",
4
+ "version": "0.2.18",
5
5
  "description": "Package to let you build vue.js storefronts with Moonbase.sh as payment and delivery provider",
6
6
  "author": "Tobias Lønnerød Madsen <m@dsen.tv>",
7
7
  "license": "MIT",
@@ -19,7 +19,7 @@
19
19
  "@vue/devtools-api": "^6.5.1",
20
20
  "uuid": "^9.0.1",
21
21
  "zod": "^3.21.4",
22
- "@moonbase.sh/storefront-api": "0.2.17"
22
+ "@moonbase.sh/storefront-api": "0.2.18"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/uuid": "^9.0.7",