@moonbase.sh/vue 0.3.38 → 0.4.0

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
@@ -339,7 +339,7 @@ var _StorefrontContextImpl = class _StorefrontContextImpl {
339
339
  }
340
340
  async refreshOrder() {
341
341
  try {
342
- const latestOrder = await this.client.orders.get(this.currentOrder.value.id, this.refreshOrderAbortController.signal);
342
+ const latestOrder = await this.client.orders.get(this.currentOrder.value.id, { abort: this.refreshOrderAbortController.signal });
343
343
  if (latestOrder) {
344
344
  if (latestOrder.status !== import_storefront_api2.OrderStatus.Open) {
345
345
  this.resetOrder();
package/dist/index.js CHANGED
@@ -309,7 +309,7 @@ var _StorefrontContextImpl = class _StorefrontContextImpl {
309
309
  }
310
310
  async refreshOrder() {
311
311
  try {
312
- const latestOrder = await this.client.orders.get(this.currentOrder.value.id, this.refreshOrderAbortController.signal);
312
+ const latestOrder = await this.client.orders.get(this.currentOrder.value.id, { abort: this.refreshOrderAbortController.signal });
313
313
  if (latestOrder) {
314
314
  if (latestOrder.status !== OrderStatus.Open) {
315
315
  this.resetOrder();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@moonbase.sh/vue",
3
3
  "type": "module",
4
- "version": "0.3.38",
4
+ "version": "0.4.0",
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.6.3",
20
20
  "uuid": "^9.0.1",
21
21
  "zod": "^3.23.8",
22
- "@moonbase.sh/storefront-api": "0.3.38"
22
+ "@moonbase.sh/storefront-api": "0.4.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/uuid": "^9.0.8",