@connectedxm/client 1.4.13 → 1.4.14

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.d.mts CHANGED
@@ -527,8 +527,9 @@ interface BasePass {
527
527
  location: string | null;
528
528
  usedAt: string | null;
529
529
  status: PurchaseStatus;
530
- registrationId: string;
531
- registration: BaseRegistration;
530
+ eventId: string;
531
+ attendeeId: string;
532
+ attendee: BaseRegistration;
532
533
  ticketId: string;
533
534
  ticket: BasePassType;
534
535
  addOns: BaseEventAddOn[];
@@ -1097,7 +1098,7 @@ interface BaseRegistration {
1097
1098
  interface Registration extends BaseRegistration {
1098
1099
  event: RegistrationEventDetails;
1099
1100
  account: BaseAccount;
1100
- purchases: BasePass[];
1101
+ passes: BasePass[];
1101
1102
  payments: Payment[];
1102
1103
  coupons: ManagedCoupon[];
1103
1104
  createdAt: string;
@@ -1110,7 +1111,7 @@ interface ListingRegistration extends BaseRegistration {
1110
1111
  };
1111
1112
  couponId: string | null;
1112
1113
  coupon: BaseCoupon | null;
1113
- purchases: BasePass[];
1114
+ passes: BasePass[];
1114
1115
  payments: Payment[];
1115
1116
  createdAt: string;
1116
1117
  }
package/dist/index.d.ts CHANGED
@@ -527,8 +527,9 @@ interface BasePass {
527
527
  location: string | null;
528
528
  usedAt: string | null;
529
529
  status: PurchaseStatus;
530
- registrationId: string;
531
- registration: BaseRegistration;
530
+ eventId: string;
531
+ attendeeId: string;
532
+ attendee: BaseRegistration;
532
533
  ticketId: string;
533
534
  ticket: BasePassType;
534
535
  addOns: BaseEventAddOn[];
@@ -1097,7 +1098,7 @@ interface BaseRegistration {
1097
1098
  interface Registration extends BaseRegistration {
1098
1099
  event: RegistrationEventDetails;
1099
1100
  account: BaseAccount;
1100
- purchases: BasePass[];
1101
+ passes: BasePass[];
1101
1102
  payments: Payment[];
1102
1103
  coupons: ManagedCoupon[];
1103
1104
  createdAt: string;
@@ -1110,7 +1111,7 @@ interface ListingRegistration extends BaseRegistration {
1110
1111
  };
1111
1112
  couponId: string | null;
1112
1113
  coupon: BaseCoupon | null;
1113
- purchases: BasePass[];
1114
+ passes: BasePass[];
1114
1115
  payments: Payment[];
1115
1116
  createdAt: string;
1116
1117
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/client",
3
- "version": "1.4.13",
3
+ "version": "1.4.14",
4
4
  "description": "Client API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "repository": {
@@ -22,7 +22,8 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "axios": "^1.6.5",
25
- "immer": "^10.0.3"
25
+ "immer": "^10.0.3",
26
+ "local": "^0.3.3"
26
27
  },
27
28
  "peerDependencies": {
28
29
  "@tanstack/react-query": "^5.0.0",