@moonbase.sh/vue 0.3.26 → 0.3.28

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
@@ -245,7 +245,7 @@ var _StorefrontContextImpl = class _StorefrontContextImpl {
245
245
  });
246
246
  }
247
247
  get hasUtm() {
248
- return !!this.utm.value && Object.values(this.utm.value).some((v) => !!v);
248
+ return !!this.utm.value && !!(this.utm.value.source || this.utm.value.medium || this.utm.value.campaign || this.utm.value.term || this.utm.value.content);
249
249
  }
250
250
  get loadedUserPromise() {
251
251
  return new Promise((resolve) => {
package/dist/index.js CHANGED
@@ -215,7 +215,7 @@ var _StorefrontContextImpl = class _StorefrontContextImpl {
215
215
  });
216
216
  }
217
217
  get hasUtm() {
218
- return !!this.utm.value && Object.values(this.utm.value).some((v) => !!v);
218
+ return !!this.utm.value && !!(this.utm.value.source || this.utm.value.medium || this.utm.value.campaign || this.utm.value.term || this.utm.value.content);
219
219
  }
220
220
  get loadedUserPromise() {
221
221
  return new Promise((resolve) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@moonbase.sh/vue",
3
3
  "type": "module",
4
- "version": "0.3.26",
4
+ "version": "0.3.28",
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.26"
22
+ "@moonbase.sh/storefront-api": "0.3.28"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/uuid": "^9.0.8",