summit-registration-lite 3.0.17 → 3.0.19

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -516,11 +516,7 @@ const reserveTicket = ({
516
516
  const tickets = [...Array(ticketQuantity)].map(() => ({
517
517
  type_id: ticket.id,
518
518
  promo_code: promoCode || null
519
- })); // Only set the attendee for the first ticket.
520
-
521
- tickets[0].attendee_first_name = firstName;
522
- tickets[0].attendee_last_name = lastName;
523
- tickets[0].attendee_email = email;
519
+ }));
524
520
  let params = {
525
521
  access_token,
526
522
  expand: 'tickets,tickets.owner,tickets.ticket_type,tickets.ticket_type.taxes'
@@ -848,6 +844,9 @@ const RegistrationLiteReducer = (state = DEFAULT_STATE, action) => {
848
844
  return reducer_objectSpread(reducer_objectSpread({}, state), {}, {
849
845
  reservation: null,
850
846
  checkout: null,
847
+ ticketTypes: [],
848
+ requestedTicketTypes: false,
849
+ taxTypes: [],
851
850
  invitation: null,
852
851
  passwordless: reducer_objectSpread({}, DEFAULT_STATE.passwordless),
853
852
  settings: reducer_objectSpread(reducer_objectSpread({}, DEFAULT_STATE.settings), {}, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "summit-registration-lite",
3
- "version": "3.0.17",
3
+ "version": "3.0.19",
4
4
  "description": "Summit Registration Lite",
5
5
  "main": "index.js",
6
6
  "scripts": {