@carlonicora/nextjs-jsonapi 6.31.0 → 6.32.0
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-O4E67ECL.mjs → BlockNoteEditor-HQTBH527.mjs} +2 -2
- package/dist/{BlockNoteEditor-ICGGCW6N.js → BlockNoteEditor-YONN45A3.js} +15 -15
- package/dist/{BlockNoteEditor-ICGGCW6N.js.map → BlockNoteEditor-YONN45A3.js.map} +1 -1
- package/dist/billing/index.js +378 -378
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-BT3VFB3I.mjs → chunk-6DNGLY5Y.mjs} +4 -4
- package/dist/{chunk-BT3VFB3I.mjs.map → chunk-6DNGLY5Y.mjs.map} +1 -1
- package/dist/{chunk-M7FA63QE.js → chunk-J37GJKCB.js} +4 -4
- package/dist/{chunk-M7FA63QE.js.map → chunk-J37GJKCB.js.map} +1 -1
- 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/dist/email-automations/index.js +78 -78
- package/dist/email-automations/index.mjs +1 -1
- package/dist/features/analytics/index.js +107 -107
- package/dist/features/analytics/index.mjs +1 -1
- package/dist/features/auth/components/forms/Logout.d.ts +7 -1
- package/dist/features/auth/components/forms/Logout.d.ts.map +1 -1
- package/dist/features/blog/index.js +93 -93
- package/dist/features/blog/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 +102 -102
- package/dist/features/tokenusage/index.mjs +1 -1
- package/package.json +1 -1
- package/src/features/auth/components/forms/Logout.tsx +8 -2
- /package/dist/{BlockNoteEditor-O4E67ECL.mjs.map → BlockNoteEditor-HQTBH527.mjs.map} +0 -0
package/dist/billing/index.mjs
CHANGED
|
@@ -10883,7 +10883,7 @@ import { useRef as useRef18 } from "react";
|
|
|
10883
10883
|
import dynamic from "next/dynamic";
|
|
10884
10884
|
import React18 from "react";
|
|
10885
10885
|
import { jsx as jsx91 } from "react/jsx-runtime";
|
|
10886
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
10886
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-HQTBH527.mjs"), {
|
|
10887
10887
|
ssr: false
|
|
10888
10888
|
});
|
|
10889
10889
|
var BlockNoteEditorContainer = React18.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -22116,14 +22116,14 @@ __name(clearClientStorage, "clearClientStorage");
|
|
|
22116
22116
|
|
|
22117
22117
|
// src/features/auth/components/forms/Logout.tsx
|
|
22118
22118
|
import { Fragment as Fragment44, jsx as jsx231 } from "react/jsx-runtime";
|
|
22119
|
-
function Logout({ storageKeys, beforeLogout }) {
|
|
22119
|
+
function Logout({ storageKeys, beforeLogout, redirectTo }) {
|
|
22120
22120
|
const generateUrl = usePageUrlGenerator();
|
|
22121
22121
|
useEffect66(() => {
|
|
22122
22122
|
const logOut = /* @__PURE__ */ __name(async () => {
|
|
22123
22123
|
if (beforeLogout && !await beforeLogout()) return;
|
|
22124
22124
|
clearClientStorage([CURRENT_USER_STORAGE_KEY, ...storageKeys ?? []]);
|
|
22125
22125
|
await AuthService.logout();
|
|
22126
|
-
window.location.href = generateUrl({ page: `/` });
|
|
22126
|
+
window.location.href = redirectTo ?? generateUrl({ page: `/` });
|
|
22127
22127
|
}, "logOut");
|
|
22128
22128
|
logOut();
|
|
22129
22129
|
}, []);
|
|
@@ -31097,4 +31097,4 @@ export {
|
|
|
31097
31097
|
useOAuthClients,
|
|
31098
31098
|
useOAuthClient
|
|
31099
31099
|
};
|
|
31100
|
-
//# sourceMappingURL=chunk-
|
|
31100
|
+
//# sourceMappingURL=chunk-6DNGLY5Y.mjs.map
|