@connectedxm/client 7.9.6 → 7.9.8

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
@@ -2786,6 +2786,32 @@ var useGetEventSessionPassIntent = (eventId = "", sessionId = "", passId = "", a
2786
2786
  );
2787
2787
  };
2788
2788
 
2789
+ // src/queries/events/useGetEventsExplore.ts
2790
+ var EVENTS_EXPLORE_QUERY_KEY = () => ["EVENTS_EXPLORE"];
2791
+ var SET_EVENTS_EXPLORE_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2792
+ client.setQueryData(
2793
+ [
2794
+ ...EVENTS_EXPLORE_QUERY_KEY(...keyParams),
2795
+ ...GetBaseSingleQueryKeys(...baseKeys)
2796
+ ],
2797
+ response
2798
+ );
2799
+ };
2800
+ var GetEventsExplore = async ({
2801
+ clientApiParams
2802
+ }) => {
2803
+ const clientApi = await GetClientAPI(clientApiParams);
2804
+ const { data } = await clientApi.get(`/events/explore`);
2805
+ return data;
2806
+ };
2807
+ var useGetEventsExplore = (options = {}) => {
2808
+ return useConnectedSingleQuery(
2809
+ EVENTS_EXPLORE_QUERY_KEY(),
2810
+ (params) => GetEventsExplore({ ...params }),
2811
+ options
2812
+ );
2813
+ };
2814
+
2789
2815
  // src/queries/groups/useGetGroups.ts
2790
2816
  var GROUPS_QUERY_KEY = (access) => {
2791
2817
  const keys = ["GROUPS"];
@@ -4253,7 +4279,9 @@ var GetLogin = async ({
4253
4279
  clientApiParams
4254
4280
  }) => {
4255
4281
  const clientApi = await GetClientAPI(clientApiParams);
4256
- const { data } = await clientApi.get(`/login`);
4282
+ const { data } = await clientApi.get(`/login`, {
4283
+ headers: { executeAs: null }
4284
+ });
4257
4285
  return data;
4258
4286
  };
4259
4287
  var useGetLogin = (options = {}) => {
@@ -13108,6 +13136,7 @@ export {
13108
13136
  ERR_REGISTER_THROUGH_SERIES,
13109
13137
  ERR_REGISTRATION_UNAVAILABLE,
13110
13138
  ERR_TIER_REQUIRED,
13139
+ EVENTS_EXPLORE_QUERY_KEY,
13111
13140
  EVENTS_QUERY_KEY,
13112
13141
  EVENT_ACTIVATIONS_QUERY_KEY,
13113
13142
  EVENT_ACTIVATION_QUERY_KEY,
@@ -13219,6 +13248,7 @@ export {
13219
13248
  GetEventSponsorship,
13220
13249
  GetEventSponsorshipLevels,
13221
13250
  GetEvents,
13251
+ GetEventsExplore,
13222
13252
  GetGroup,
13223
13253
  GetGroupActivities,
13224
13254
  GetGroupAnnouncements,
@@ -13521,6 +13551,7 @@ export {
13521
13551
  SET_CHANNEL_SUBSCRIBERS_QUERY_DATA,
13522
13552
  SET_CONTENTS_QUERY_DATA,
13523
13553
  SET_CONTENT_ACTIVITIES_QUERY_DATA,
13554
+ SET_EVENTS_EXPLORE_QUERY_DATA,
13524
13555
  SET_EVENTS_QUERY_DATA,
13525
13556
  SET_EVENT_ACTIVATIONS_QUERY_DATA,
13526
13557
  SET_EVENT_ACTIVATION_QUERY_DATA,
@@ -13894,6 +13925,7 @@ export {
13894
13925
  useGetEventSponsorship,
13895
13926
  useGetEventSponsorshipLevels,
13896
13927
  useGetEvents,
13928
+ useGetEventsExplore,
13897
13929
  useGetGroup,
13898
13930
  useGetGroupActivities,
13899
13931
  useGetGroupAnnouncements,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/client",
3
- "version": "7.9.6",
3
+ "version": "7.9.8",
4
4
  "description": "Client API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",