@carlonicora/nextjs-jsonapi 5.0.0 → 5.0.2

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.
Files changed (30) hide show
  1. package/dist/{BlockNoteEditor-E6HJD4HB.js → BlockNoteEditor-6CUJTOMP.js} +9 -9
  2. package/dist/{BlockNoteEditor-E6HJD4HB.js.map → BlockNoteEditor-6CUJTOMP.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-7BKKGFH3.mjs → BlockNoteEditor-NSTBN2E7.mjs} +2 -2
  4. package/dist/billing/index.js +371 -371
  5. package/dist/billing/index.mjs +1 -1
  6. package/dist/{chunk-MELHUPVN.mjs → chunk-UVXHRE67.mjs} +5 -3
  7. package/dist/chunk-UVXHRE67.mjs.map +1 -0
  8. package/dist/{chunk-TPGXNPGY.js → chunk-V72M6XCH.js} +6 -4
  9. package/dist/chunk-V72M6XCH.js.map +1 -0
  10. package/dist/client/index.d.mts +7 -2
  11. package/dist/client/index.d.ts +7 -2
  12. package/dist/client/index.js +4 -2
  13. package/dist/client/index.js.map +1 -1
  14. package/dist/client/index.mjs +3 -1
  15. package/dist/components/index.js +2 -2
  16. package/dist/components/index.mjs +1 -1
  17. package/dist/contexts/index.js +2 -2
  18. package/dist/contexts/index.mjs +1 -1
  19. package/dist/features/analytics/index.js +88 -88
  20. package/dist/features/analytics/index.mjs +1 -1
  21. package/dist/features/help/index.js +31 -31
  22. package/dist/features/help/index.mjs +1 -1
  23. package/dist/features/tokenusage/index.js +75 -75
  24. package/dist/features/tokenusage/index.mjs +1 -1
  25. package/package.json +1 -1
  26. package/src/hooks/__tests__/usePushNotifications.spec.tsx +1 -2
  27. package/src/hooks/usePushNotifications.ts +4 -2
  28. package/dist/chunk-MELHUPVN.mjs.map +0 -1
  29. package/dist/chunk-TPGXNPGY.js.map +0 -1
  30. /package/dist/{BlockNoteEditor-7BKKGFH3.mjs.map → BlockNoteEditor-NSTBN2E7.mjs.map} +0 -0
@@ -65,7 +65,7 @@ import {
65
65
  useCurrentUserContext,
66
66
  useDataListRetriever,
67
67
  usePageUrlGenerator
68
- } from "../chunk-MELHUPVN.mjs";
68
+ } from "../chunk-UVXHRE67.mjs";
69
69
  import {
70
70
  getStripePublishableKey
71
71
  } from "../chunk-MQDR6MEE.mjs";
@@ -10683,7 +10683,7 @@ import { useRef as useRef18 } from "react";
10683
10683
  import dynamic from "next/dynamic";
10684
10684
  import React18 from "react";
10685
10685
  import { jsx as jsx90 } from "react/jsx-runtime";
10686
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-7BKKGFH3.mjs"), {
10686
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-NSTBN2E7.mjs"), {
10687
10687
  ssr: false
10688
10688
  });
10689
10689
  var BlockNoteEditorContainer = React18.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -15248,6 +15248,7 @@ function usePushNotifications(params) {
15248
15248
  }, [userId, canSubscribe]);
15249
15249
  }
15250
15250
  __name(usePushNotifications, "usePushNotifications");
15251
+ var usePushNotifications_default = usePushNotifications;
15251
15252
 
15252
15253
  // src/hooks/useSocket.ts
15253
15254
  import { useEffect as useEffect38, useRef as useRef27, useState as useState47 } from "react";
@@ -25227,7 +25228,7 @@ __name(NotificationModal, "NotificationModal");
25227
25228
  import { Fragment as Fragment59, jsx as jsx284 } from "react/jsx-runtime";
25228
25229
  function PushNotificationProvider({ children }) {
25229
25230
  const { currentUser, hasRole } = useCurrentUserContext();
25230
- usePushNotifications({ currentUser: currentUser ?? void 0, canSubscribe: !hasRole(getRoleId().Administrator) });
25231
+ usePushNotifications_default({ currentUser: currentUser ?? void 0, canSubscribe: !hasRole(getRoleId().Administrator) });
25231
25232
  return /* @__PURE__ */ jsx284(Fragment59, { children });
25232
25233
  }
25233
25234
  __name(PushNotificationProvider, "PushNotificationProvider");
@@ -28228,6 +28229,7 @@ export {
28228
28229
  NotificationsList,
28229
28230
  NotificationsListContainer,
28230
28231
  NotificationModal,
28232
+ usePushNotifications,
28231
28233
  PushNotificationProvider,
28232
28234
  OnboardingCard,
28233
28235
  ReferralCodeCapture,
@@ -28303,4 +28305,4 @@ export {
28303
28305
  useOAuthClients,
28304
28306
  useOAuthClient
28305
28307
  };
28306
- //# sourceMappingURL=chunk-MELHUPVN.mjs.map
28308
+ //# sourceMappingURL=chunk-UVXHRE67.mjs.map