@moonbase.sh/vue 0.2.39 → 0.2.40

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
@@ -427,8 +427,7 @@ function useActivationRequest(token, context) {
427
427
  }
428
428
  loading.value = false;
429
429
  } else {
430
- error.value = new import_storefront_api3.MoonbaseError("Invalid input", "Missing request id", -1);
431
- loading.value = false;
430
+ console.warn("No token given to `useActivationRequest`");
432
431
  }
433
432
  } catch (err) {
434
433
  error.value = err;
package/dist/index.js CHANGED
@@ -359,7 +359,7 @@ function useInventory(context) {
359
359
  }
360
360
 
361
361
  // src/composables/useActivationRequest.ts
362
- import { ActivationRequestStatus, MoonbaseError } from "@moonbase.sh/storefront-api";
362
+ import { ActivationRequestStatus } from "@moonbase.sh/storefront-api";
363
363
  import { computed as computed6, inject as inject6, onBeforeUnmount, toValue, watch as watch2 } from "vue";
364
364
  function useActivationRequest(token, context) {
365
365
  const storefront = context != null ? context : inject6(storefrontKey);
@@ -392,8 +392,7 @@ function useActivationRequest(token, context) {
392
392
  }
393
393
  loading.value = false;
394
394
  } else {
395
- error.value = new MoonbaseError("Invalid input", "Missing request id", -1);
396
- loading.value = false;
395
+ console.warn("No token given to `useActivationRequest`");
397
396
  }
398
397
  } catch (err) {
399
398
  error.value = err;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@moonbase.sh/vue",
3
3
  "type": "module",
4
- "version": "0.2.39",
4
+ "version": "0.2.40",
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.2.39"
22
+ "@moonbase.sh/storefront-api": "0.2.40"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/uuid": "^9.0.8",