@connectedxm/client 1.4.13 → 1.4.15

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,8 @@ interface BasePass {
527
527
  location: string | null;
528
528
  usedAt: string | null;
529
529
  status: PurchaseStatus;
530
- registrationId: string;
531
- registration: BaseRegistration;
530
+ attendeeId: string;
531
+ attendee: BaseRegistration;
532
532
  ticketId: string;
533
533
  ticket: BasePassType;
534
534
  addOns: BaseEventAddOn[];
@@ -547,7 +547,7 @@ interface Pass extends BasePass {
547
547
  payerId: string | null;
548
548
  }
549
549
  interface ListingPass extends BasePass {
550
- registration: BaseRegistration & {
550
+ attendee: BaseRegistration & {
551
551
  account: BaseAccount & {
552
552
  email: string | null;
553
553
  phone: string | null;
@@ -1097,7 +1097,7 @@ interface BaseRegistration {
1097
1097
  interface Registration extends BaseRegistration {
1098
1098
  event: RegistrationEventDetails;
1099
1099
  account: BaseAccount;
1100
- purchases: BasePass[];
1100
+ passes: BasePass[];
1101
1101
  payments: Payment[];
1102
1102
  coupons: ManagedCoupon[];
1103
1103
  createdAt: string;
@@ -1110,7 +1110,7 @@ interface ListingRegistration extends BaseRegistration {
1110
1110
  };
1111
1111
  couponId: string | null;
1112
1112
  coupon: BaseCoupon | null;
1113
- purchases: BasePass[];
1113
+ passes: BasePass[];
1114
1114
  payments: Payment[];
1115
1115
  createdAt: string;
1116
1116
  }
package/dist/index.d.ts CHANGED
@@ -527,8 +527,8 @@ interface BasePass {
527
527
  location: string | null;
528
528
  usedAt: string | null;
529
529
  status: PurchaseStatus;
530
- registrationId: string;
531
- registration: BaseRegistration;
530
+ attendeeId: string;
531
+ attendee: BaseRegistration;
532
532
  ticketId: string;
533
533
  ticket: BasePassType;
534
534
  addOns: BaseEventAddOn[];
@@ -547,7 +547,7 @@ interface Pass extends BasePass {
547
547
  payerId: string | null;
548
548
  }
549
549
  interface ListingPass extends BasePass {
550
- registration: BaseRegistration & {
550
+ attendee: BaseRegistration & {
551
551
  account: BaseAccount & {
552
552
  email: string | null;
553
553
  phone: string | null;
@@ -1097,7 +1097,7 @@ interface BaseRegistration {
1097
1097
  interface Registration extends BaseRegistration {
1098
1098
  event: RegistrationEventDetails;
1099
1099
  account: BaseAccount;
1100
- purchases: BasePass[];
1100
+ passes: BasePass[];
1101
1101
  payments: Payment[];
1102
1102
  coupons: ManagedCoupon[];
1103
1103
  createdAt: string;
@@ -1110,7 +1110,7 @@ interface ListingRegistration extends BaseRegistration {
1110
1110
  };
1111
1111
  couponId: string | null;
1112
1112
  coupon: BaseCoupon | null;
1113
- purchases: BasePass[];
1113
+ passes: BasePass[];
1114
1114
  payments: Payment[];
1115
1115
  createdAt: string;
1116
1116
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/client",
3
- "version": "1.4.13",
3
+ "version": "1.4.15",
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",