@carlonicora/nextjs-jsonapi 5.0.0 → 5.0.1
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/{BlockNoteEditor-E6HJD4HB.js → BlockNoteEditor-IU4IZBF3.js} +9 -9
- package/dist/{BlockNoteEditor-E6HJD4HB.js.map → BlockNoteEditor-IU4IZBF3.js.map} +1 -1
- package/dist/{BlockNoteEditor-7BKKGFH3.mjs → BlockNoteEditor-MLOWVEWH.mjs} +2 -2
- package/dist/billing/index.js +371 -371
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-MELHUPVN.mjs → chunk-7F5Q3QQV.mjs} +5 -3
- package/dist/chunk-7F5Q3QQV.mjs.map +1 -0
- package/dist/{chunk-TPGXNPGY.js → chunk-ZPXXZRS2.js} +6 -4
- package/dist/chunk-ZPXXZRS2.js.map +1 -0
- package/dist/client/index.d.mts +7 -2
- package/dist/client/index.d.ts +7 -2
- package/dist/client/index.js +4 -2
- package/dist/client/index.js.map +1 -1
- package/dist/client/index.mjs +3 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/contexts/index.js +2 -2
- package/dist/contexts/index.mjs +1 -1
- package/dist/features/analytics/index.js +88 -88
- package/dist/features/analytics/index.mjs +1 -1
- package/dist/features/help/index.js +31 -31
- package/dist/features/help/index.mjs +1 -1
- package/dist/features/tokenusage/index.js +75 -75
- package/dist/features/tokenusage/index.mjs +1 -1
- package/package.json +1 -1
- package/src/hooks/usePushNotifications.ts +3 -1
- package/dist/chunk-MELHUPVN.mjs.map +0 -1
- package/dist/chunk-TPGXNPGY.js.map +0 -1
- /package/dist/{BlockNoteEditor-7BKKGFH3.mjs.map → BlockNoteEditor-MLOWVEWH.mjs.map} +0 -0
package/dist/billing/index.mjs
CHANGED
|
@@ -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-
|
|
10686
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-MLOWVEWH.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
|
-
|
|
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-
|
|
28308
|
+
//# sourceMappingURL=chunk-7F5Q3QQV.mjs.map
|