@gomusdev/web-components 1.55.0 → 1.55.1

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.
@@ -36195,7 +36195,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
36195
36195
  }
36196
36196
  const preCarts = this.ticketSelectionDetails.preCarts;
36197
36197
  const newItems = preCarts.flatMap((pc) => {
36198
- return pc.nonEmptyItems.map((i) => createCartItem(i.product, { quantity: i.quantity, time: i.time }));
36198
+ return pc.nonEmptyItems.map((i) => {
36199
+ const time2 = i.product.ticket_type != "annual" ? i.time : void 0;
36200
+ return createCartItem(i.product, { quantity: i.quantity, time: time2 });
36201
+ });
36199
36202
  });
36200
36203
  shop.cart.addItems(newItems);
36201
36204
  preCarts.forEach((pc) => pc.items.forEach((i) => i.quantity = 0));
@@ -36195,7 +36195,10 @@ class Details2 {
36195
36195
  }
36196
36196
  const preCarts = this.ticketSelectionDetails.preCarts;
36197
36197
  const newItems = preCarts.flatMap((pc) => {
36198
- return pc.nonEmptyItems.map((i) => createCartItem(i.product, { quantity: i.quantity, time: i.time }));
36198
+ return pc.nonEmptyItems.map((i) => {
36199
+ const time2 = i.product.ticket_type != "annual" ? i.time : void 0;
36200
+ return createCartItem(i.product, { quantity: i.quantity, time: time2 });
36201
+ });
36199
36202
  });
36200
36203
  shop.cart.addItems(newItems);
36201
36204
  preCarts.forEach((pc) => pc.items.forEach((i) => i.quantity = 0));
@@ -1,7 +1,7 @@
1
1
  export declare class Auth {
2
2
  #private;
3
3
  constructor();
4
- customerLevel(): 10 | 20 | undefined;
4
+ customerLevel(): 20 | 10 | undefined;
5
5
  isAuthenticated(): boolean;
6
6
  isLoggedIn(): boolean;
7
7
  isGuest(): boolean;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "Giantmonkey GmbH"
5
5
  },
6
6
  "license": "MIT",
7
- "version": "1.55.0",
7
+ "version": "1.55.1",
8
8
  "type": "module",
9
9
  "main": "./dist-js/gomus-webcomponents.iife.js",
10
10
  "module": "./dist-js/gomus-webcomponents.iife.js",