@connectedxm/client 1.3.17 → 1.3.19

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
@@ -3782,7 +3782,7 @@ var GetEventPassTypes = async ({
3782
3782
  };
3783
3783
  var useGetEventPassTypes = (eventId = "", passTypeId = "", options = {}) => {
3784
3784
  return useConnectedSingleQuery_default(
3785
- EVENT_PASS_TYPES_QUERY_KEY(eventId),
3785
+ EVENT_PASS_TYPES_QUERY_KEY(eventId, passTypeId),
3786
3786
  (params) => GetEventPassTypes({ eventId, passTypeId, ...params }),
3787
3787
  {
3788
3788
  ...options,
@@ -9793,9 +9793,12 @@ var SubmitSelfEventRegistration = async ({
9793
9793
  queryClient.invalidateQueries({
9794
9794
  queryKey: SELF_EVENT_PASSES_QUERY_KEY(eventId)
9795
9795
  });
9796
- SET_SELF_EVENT_REGISTRATION_QUERY_DATA(queryClient, [eventId], data, [
9796
+ SET_SELF_EVENT_ATTENDEE_QUERY_DATA(queryClient, [eventId], data, [
9797
9797
  clientApiParams.locale
9798
9798
  ]);
9799
+ queryClient.invalidateQueries({
9800
+ queryKey: SELF_EVENT_REGISTRATION_QUERY_KEY(eventId)
9801
+ });
9799
9802
  ADD_SELF_RELATIONSHIP(
9800
9803
  queryClient,
9801
9804
  [clientApiParams.locale],
package/dist/index.mjs CHANGED
@@ -2806,7 +2806,7 @@ var GetEventPassTypes = async ({
2806
2806
  };
2807
2807
  var useGetEventPassTypes = (eventId = "", passTypeId = "", options = {}) => {
2808
2808
  return useConnectedSingleQuery_default(
2809
- EVENT_PASS_TYPES_QUERY_KEY(eventId),
2809
+ EVENT_PASS_TYPES_QUERY_KEY(eventId, passTypeId),
2810
2810
  (params) => GetEventPassTypes({ eventId, passTypeId, ...params }),
2811
2811
  {
2812
2812
  ...options,
@@ -8820,9 +8820,12 @@ var SubmitSelfEventRegistration = async ({
8820
8820
  queryClient.invalidateQueries({
8821
8821
  queryKey: SELF_EVENT_PASSES_QUERY_KEY(eventId)
8822
8822
  });
8823
- SET_SELF_EVENT_REGISTRATION_QUERY_DATA(queryClient, [eventId], data, [
8823
+ SET_SELF_EVENT_ATTENDEE_QUERY_DATA(queryClient, [eventId], data, [
8824
8824
  clientApiParams.locale
8825
8825
  ]);
8826
+ queryClient.invalidateQueries({
8827
+ queryKey: SELF_EVENT_REGISTRATION_QUERY_KEY(eventId)
8828
+ });
8826
8829
  ADD_SELF_RELATIONSHIP(
8827
8830
  queryClient,
8828
8831
  [clientApiParams.locale],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/client",
3
- "version": "1.3.17",
3
+ "version": "1.3.19",
4
4
  "description": "Client API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "repository": {