@timardex/cluemart-shared 1.1.13 → 1.1.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
@@ -880,12 +880,12 @@ declare const useGetNotificationCount: () => {
880
880
  declare const useGetUserNotificationsSubscription: () => {
881
881
  error: _apollo_client.ApolloError | undefined;
882
882
  loading: boolean;
883
- notifications: NotificationType[];
883
+ notifications: NotificationType[] | undefined;
884
884
  };
885
885
  declare const useGetNotificationCountSubscription: () => {
886
886
  error: _apollo_client.ApolloError | undefined;
887
887
  loading: boolean;
888
- notificationCount: NotificationCount;
888
+ notificationCount: NotificationCount | undefined;
889
889
  };
890
890
 
891
891
  declare const useCreatePoster: () => {
package/dist/index.d.ts CHANGED
@@ -880,12 +880,12 @@ declare const useGetNotificationCount: () => {
880
880
  declare const useGetUserNotificationsSubscription: () => {
881
881
  error: _apollo_client.ApolloError | undefined;
882
882
  loading: boolean;
883
- notifications: NotificationType[];
883
+ notifications: NotificationType[] | undefined;
884
884
  };
885
885
  declare const useGetNotificationCountSubscription: () => {
886
886
  error: _apollo_client.ApolloError | undefined;
887
887
  loading: boolean;
888
- notificationCount: NotificationCount;
888
+ notificationCount: NotificationCount | undefined;
889
889
  };
890
890
 
891
891
  declare const useCreatePoster: () => {
package/dist/index.mjs CHANGED
@@ -2939,7 +2939,7 @@ var useGetUserNotificationsSubscription = () => {
2939
2939
  return {
2940
2940
  error,
2941
2941
  loading,
2942
- notifications: data?.getUserNotifications || []
2942
+ notifications: data?.getUserNotifications
2943
2943
  };
2944
2944
  };
2945
2945
  var useGetNotificationCountSubscription = () => {
@@ -2950,7 +2950,7 @@ var useGetNotificationCountSubscription = () => {
2950
2950
  return {
2951
2951
  error,
2952
2952
  loading,
2953
- notificationCount: data?.getNotificationCount || { total: 0, unread: 0 }
2953
+ notificationCount: data?.getNotificationCount
2954
2954
  };
2955
2955
  };
2956
2956