@carlonicora/nextjs-jsonapi 1.77.2 → 1.77.3
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-ALVN35PS.mjs → BlockNoteEditor-7HAAXN3H.mjs} +2 -2
- package/dist/{BlockNoteEditor-ILXF7KHN.js → BlockNoteEditor-UB7T7V67.js} +6 -6
- package/dist/{BlockNoteEditor-ILXF7KHN.js.map → BlockNoteEditor-UB7T7V67.js.map} +1 -1
- package/dist/billing/index.js +299 -299
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-VSWQ7WIV.js → chunk-CV7UOUKQ.js} +5 -2
- package/dist/chunk-CV7UOUKQ.js.map +1 -0
- package/dist/{chunk-ICD6MZ43.mjs → chunk-F44ET4AC.mjs} +5 -2
- package/dist/chunk-F44ET4AC.mjs.map +1 -0
- package/dist/client/index.js +2 -2
- package/dist/client/index.mjs +1 -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/package.json +1 -1
- package/src/hooks/usePushNotifications.ts +3 -0
- package/dist/chunk-ICD6MZ43.mjs.map +0 -1
- package/dist/chunk-VSWQ7WIV.js.map +0 -1
- /package/dist/{BlockNoteEditor-ALVN35PS.mjs.map → BlockNoteEditor-7HAAXN3H.mjs.map} +0 -0
|
@@ -6946,6 +6946,9 @@ function usePushNotifications() {
|
|
|
6946
6946
|
return;
|
|
6947
6947
|
}
|
|
6948
6948
|
const vapidPublicKey = (process.env.NEXT_PUBLIC_VAPID_PUBLIC_KEY || "").trim();
|
|
6949
|
+
if (!vapidPublicKey) {
|
|
6950
|
+
return;
|
|
6951
|
+
}
|
|
6949
6952
|
const convertedKey = urlBase64ToUint8Array(vapidPublicKey);
|
|
6950
6953
|
await navigator.serviceWorker.ready;
|
|
6951
6954
|
let subscription = await registration.pushManager.getSubscription();
|
|
@@ -9199,7 +9202,7 @@ __name(FormCheckbox, "FormCheckbox");
|
|
|
9199
9202
|
import dynamic from "next/dynamic";
|
|
9200
9203
|
import React14 from "react";
|
|
9201
9204
|
import { jsx as jsx73 } from "react/jsx-runtime";
|
|
9202
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
9205
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-7HAAXN3H.mjs"), {
|
|
9203
9206
|
ssr: false
|
|
9204
9207
|
});
|
|
9205
9208
|
var BlockNoteEditorContainer = React14.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -20572,4 +20575,4 @@ export {
|
|
|
20572
20575
|
useOAuthClients,
|
|
20573
20576
|
useOAuthClient
|
|
20574
20577
|
};
|
|
20575
|
-
//# sourceMappingURL=chunk-
|
|
20578
|
+
//# sourceMappingURL=chunk-F44ET4AC.mjs.map
|