@connectedxm/client 1.4.12 → 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
@@ -138,7 +138,6 @@ interface BaseAccount {
138
138
  title: string | null;
139
139
  company: string | null;
140
140
  image: BaseImage | null;
141
- chatConnected: boolean;
142
141
  accountTiers: BaseAccountTier[];
143
142
  subscriptions: {
144
143
  subscriptionProduct: {
@@ -528,8 +527,9 @@ interface BasePass {
528
527
  location: string | null;
529
528
  usedAt: string | null;
530
529
  status: PurchaseStatus;
531
- registrationId: string;
532
- registration: BaseRegistration;
530
+ eventId: string;
531
+ attendeeId: string;
532
+ attendee: BaseRegistration;
533
533
  ticketId: string;
534
534
  ticket: BasePassType;
535
535
  addOns: BaseEventAddOn[];
@@ -1098,7 +1098,7 @@ interface BaseRegistration {
1098
1098
  interface Registration extends BaseRegistration {
1099
1099
  event: RegistrationEventDetails;
1100
1100
  account: BaseAccount;
1101
- purchases: BasePass[];
1101
+ passes: BasePass[];
1102
1102
  payments: Payment[];
1103
1103
  coupons: ManagedCoupon[];
1104
1104
  createdAt: string;
@@ -1111,7 +1111,7 @@ interface ListingRegistration extends BaseRegistration {
1111
1111
  };
1112
1112
  couponId: string | null;
1113
1113
  coupon: BaseCoupon | null;
1114
- purchases: BasePass[];
1114
+ passes: BasePass[];
1115
1115
  payments: Payment[];
1116
1116
  createdAt: string;
1117
1117
  }
package/dist/index.d.ts CHANGED
@@ -138,7 +138,6 @@ interface BaseAccount {
138
138
  title: string | null;
139
139
  company: string | null;
140
140
  image: BaseImage | null;
141
- chatConnected: boolean;
142
141
  accountTiers: BaseAccountTier[];
143
142
  subscriptions: {
144
143
  subscriptionProduct: {
@@ -528,8 +527,9 @@ interface BasePass {
528
527
  location: string | null;
529
528
  usedAt: string | null;
530
529
  status: PurchaseStatus;
531
- registrationId: string;
532
- registration: BaseRegistration;
530
+ eventId: string;
531
+ attendeeId: string;
532
+ attendee: BaseRegistration;
533
533
  ticketId: string;
534
534
  ticket: BasePassType;
535
535
  addOns: BaseEventAddOn[];
@@ -1098,7 +1098,7 @@ interface BaseRegistration {
1098
1098
  interface Registration extends BaseRegistration {
1099
1099
  event: RegistrationEventDetails;
1100
1100
  account: BaseAccount;
1101
- purchases: BasePass[];
1101
+ passes: BasePass[];
1102
1102
  payments: Payment[];
1103
1103
  coupons: ManagedCoupon[];
1104
1104
  createdAt: string;
@@ -1111,7 +1111,7 @@ interface ListingRegistration extends BaseRegistration {
1111
1111
  };
1112
1112
  couponId: string | null;
1113
1113
  coupon: BaseCoupon | null;
1114
- purchases: BasePass[];
1114
+ passes: BasePass[];
1115
1115
  payments: Payment[];
1116
1116
  createdAt: string;
1117
1117
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/client",
3
- "version": "1.4.12",
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",