@connectedxm/client 1.4.2 → 1.4.4

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.js CHANGED
@@ -7834,7 +7834,7 @@ var useGetSelfEventListingPass = (eventId = "", passId = "", options = {}) => {
7834
7834
  (params) => GetSelfEventListingPass({ eventId, passId, ...params }),
7835
7835
  {
7836
7836
  ...options,
7837
- enabled: !!eventId && !!passId
7837
+ enabled: !!eventId && !!passId && (options?.enabled ?? true)
7838
7838
  }
7839
7839
  );
7840
7840
  };
@@ -10144,7 +10144,7 @@ var CancelPass = async ({
10144
10144
  }) => {
10145
10145
  const clientApi = await GetClientAPI(clientApiParams);
10146
10146
  const { data } = await clientApi.put(
10147
- `/self/events/${eventId}/registration/passes/${passId}/cancel`,
10147
+ `/self/events/${eventId}/attendee/passes/${passId}/cancel`,
10148
10148
  {
10149
10149
  issueRefund
10150
10150
  }
package/dist/index.mjs CHANGED
@@ -6840,7 +6840,7 @@ var useGetSelfEventListingPass = (eventId = "", passId = "", options = {}) => {
6840
6840
  (params) => GetSelfEventListingPass({ eventId, passId, ...params }),
6841
6841
  {
6842
6842
  ...options,
6843
- enabled: !!eventId && !!passId
6843
+ enabled: !!eventId && !!passId && (options?.enabled ?? true)
6844
6844
  }
6845
6845
  );
6846
6846
  };
@@ -9153,7 +9153,7 @@ var CancelPass = async ({
9153
9153
  }) => {
9154
9154
  const clientApi = await GetClientAPI(clientApiParams);
9155
9155
  const { data } = await clientApi.put(
9156
- `/self/events/${eventId}/registration/passes/${passId}/cancel`,
9156
+ `/self/events/${eventId}/attendee/passes/${passId}/cancel`,
9157
9157
  {
9158
9158
  issueRefund
9159
9159
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/client",
3
- "version": "1.4.2",
3
+ "version": "1.4.4",
4
4
  "description": "Client API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "repository": {