@connectedxm/client 1.4.22 → 1.4.23
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 +10 -0
- package/dist/index.mjs +10 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10148,6 +10148,11 @@ var SelectSelfEventRegistrationCoupon = async ({
|
|
|
10148
10148
|
queryClient.removeQueries({
|
|
10149
10149
|
queryKey: SELF_EVENT_REGISTRATION_QUERY_KEY(eventId)
|
|
10150
10150
|
});
|
|
10151
|
+
queryClient.invalidateQueries({
|
|
10152
|
+
predicate: ({ queryKey }) => {
|
|
10153
|
+
return queryKey.includes("INTENT");
|
|
10154
|
+
}
|
|
10155
|
+
});
|
|
10151
10156
|
}
|
|
10152
10157
|
return data;
|
|
10153
10158
|
};
|
|
@@ -10169,6 +10174,11 @@ var RemoveSelfEventRegistrationCoupon = async ({
|
|
|
10169
10174
|
queryClient.removeQueries({
|
|
10170
10175
|
queryKey: SELF_EVENT_REGISTRATION_QUERY_KEY(eventId)
|
|
10171
10176
|
});
|
|
10177
|
+
queryClient.invalidateQueries({
|
|
10178
|
+
predicate: ({ queryKey }) => {
|
|
10179
|
+
return queryKey.includes("INTENT");
|
|
10180
|
+
}
|
|
10181
|
+
});
|
|
10172
10182
|
}
|
|
10173
10183
|
return data;
|
|
10174
10184
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -9135,6 +9135,11 @@ var SelectSelfEventRegistrationCoupon = async ({
|
|
|
9135
9135
|
queryClient.removeQueries({
|
|
9136
9136
|
queryKey: SELF_EVENT_REGISTRATION_QUERY_KEY(eventId)
|
|
9137
9137
|
});
|
|
9138
|
+
queryClient.invalidateQueries({
|
|
9139
|
+
predicate: ({ queryKey }) => {
|
|
9140
|
+
return queryKey.includes("INTENT");
|
|
9141
|
+
}
|
|
9142
|
+
});
|
|
9138
9143
|
}
|
|
9139
9144
|
return data;
|
|
9140
9145
|
};
|
|
@@ -9156,6 +9161,11 @@ var RemoveSelfEventRegistrationCoupon = async ({
|
|
|
9156
9161
|
queryClient.removeQueries({
|
|
9157
9162
|
queryKey: SELF_EVENT_REGISTRATION_QUERY_KEY(eventId)
|
|
9158
9163
|
});
|
|
9164
|
+
queryClient.invalidateQueries({
|
|
9165
|
+
predicate: ({ queryKey }) => {
|
|
9166
|
+
return queryKey.includes("INTENT");
|
|
9167
|
+
}
|
|
9168
|
+
});
|
|
9159
9169
|
}
|
|
9160
9170
|
return data;
|
|
9161
9171
|
};
|