@carlonicora/nextjs-jsonapi 3.24.0 → 3.24.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.
Files changed (58) hide show
  1. package/dist/{BlockNoteEditor-PTD2V4CH.js → BlockNoteEditor-7I7PL3KS.js} +19 -19
  2. package/dist/{BlockNoteEditor-PTD2V4CH.js.map → BlockNoteEditor-7I7PL3KS.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-Q2WEDMKJ.mjs → BlockNoteEditor-BNS3U3CP.mjs} +4 -4
  4. package/dist/{BlockNoteViewer-WO6GTDSI.mjs → BlockNoteViewer-THOJS3OG.mjs} +2 -2
  5. package/dist/{BlockNoteViewer-WOXEJ6RM.js → BlockNoteViewer-UCWWHBTZ.js} +3 -3
  6. package/dist/{BlockNoteViewer-WOXEJ6RM.js.map → BlockNoteViewer-UCWWHBTZ.js.map} +1 -1
  7. package/dist/billing/index.d.mts +57 -2
  8. package/dist/billing/index.d.ts +57 -2
  9. package/dist/billing/index.js +406 -401
  10. package/dist/billing/index.js.map +1 -1
  11. package/dist/billing/index.mjs +8 -3
  12. package/dist/{chunk-GJHKOG5L.mjs → chunk-6R45U3GH.mjs} +7 -7
  13. package/dist/chunk-6R45U3GH.mjs.map +1 -0
  14. package/dist/{chunk-3D2MCVRZ.js → chunk-7EFTSFZO.js} +7 -7
  15. package/dist/{chunk-3D2MCVRZ.js.map → chunk-7EFTSFZO.js.map} +1 -1
  16. package/dist/{chunk-3YJF7QY4.js → chunk-7XD2BJN6.js} +826 -826
  17. package/dist/{chunk-3YJF7QY4.js.map → chunk-7XD2BJN6.js.map} +1 -1
  18. package/dist/{chunk-IV4DTYXN.js → chunk-WRMTBKSN.js} +9 -3
  19. package/dist/chunk-WRMTBKSN.js.map +1 -0
  20. package/dist/{chunk-HAI7G6MD.mjs → chunk-Z7KPVKWV.mjs} +2 -2
  21. package/dist/{chunk-2O3SFHQ7.mjs → chunk-ZE5ZUY6Y.mjs} +9 -3
  22. package/dist/chunk-ZE5ZUY6Y.mjs.map +1 -0
  23. package/dist/client/index.js +4 -4
  24. package/dist/client/index.mjs +3 -3
  25. package/dist/components/index.js +4 -4
  26. package/dist/components/index.mjs +3 -3
  27. package/dist/contexts/index.js +4 -4
  28. package/dist/contexts/index.mjs +3 -3
  29. package/dist/core/index.d.mts +2 -2
  30. package/dist/core/index.d.ts +2 -2
  31. package/dist/core/index.js +2 -2
  32. package/dist/core/index.mjs +1 -1
  33. package/dist/features/help/index.js +37 -37
  34. package/dist/features/help/index.mjs +3 -3
  35. package/dist/features/tokenusage/index.js +101 -101
  36. package/dist/features/tokenusage/index.mjs +3 -3
  37. package/dist/index.d.mts +1 -1
  38. package/dist/index.d.ts +1 -1
  39. package/dist/index.js +3 -3
  40. package/dist/index.mjs +2 -2
  41. package/dist/{s3.service-DJHqEZAp.d.ts → s3.service-Bqr-fQmi.d.ts} +1 -0
  42. package/dist/{s3.service-DaRFLnrX.d.mts → s3.service-Buiy1ncj.d.mts} +1 -0
  43. package/dist/server/index.d.mts +1 -1
  44. package/dist/server/index.d.ts +1 -1
  45. package/dist/server/index.js +3 -3
  46. package/dist/server/index.mjs +1 -1
  47. package/package.json +1 -1
  48. package/src/features/billing/stripe-customer/data/stripe-customer.service.ts +5 -0
  49. package/src/features/billing/stripe-subscription/components/index.ts +1 -0
  50. package/src/features/notification/contexts/NotificationContext.tsx +5 -2
  51. package/src/features/notification/contexts/__tests__/NotificationContext.spec.tsx +32 -0
  52. package/src/features/notification/data/notification.service.ts +6 -1
  53. package/dist/chunk-2O3SFHQ7.mjs.map +0 -1
  54. package/dist/chunk-GJHKOG5L.mjs.map +0 -1
  55. package/dist/chunk-IV4DTYXN.js.map +0 -1
  56. /package/dist/{BlockNoteEditor-Q2WEDMKJ.mjs.map → BlockNoteEditor-BNS3U3CP.mjs.map} +0 -0
  57. /package/dist/{BlockNoteViewer-WO6GTDSI.mjs.map → BlockNoteViewer-THOJS3OG.mjs.map} +0 -0
  58. /package/dist/{chunk-HAI7G6MD.mjs.map → chunk-Z7KPVKWV.mjs.map} +0 -0
@@ -62,12 +62,12 @@ import {
62
62
  useCurrentUserContext,
63
63
  useDataListRetriever,
64
64
  usePageUrlGenerator
65
- } from "../chunk-GJHKOG5L.mjs";
65
+ } from "../chunk-6R45U3GH.mjs";
66
66
  import {
67
67
  getRoleId,
68
68
  getStripePublishableKey,
69
69
  useI18nRouter
70
- } from "../chunk-HAI7G6MD.mjs";
70
+ } from "../chunk-Z7KPVKWV.mjs";
71
71
  import {
72
72
  FeatureService,
73
73
  Modules,
@@ -81,7 +81,7 @@ import {
81
81
  cn,
82
82
  rehydrate,
83
83
  showToast
84
- } from "../chunk-2O3SFHQ7.mjs";
84
+ } from "../chunk-ZE5ZUY6Y.mjs";
85
85
  import "../chunk-AUXK7QSA.mjs";
86
86
  import "../chunk-C7C7VY4F.mjs";
87
87
  import "../chunk-BMVA2IM5.mjs";
@@ -4449,12 +4449,17 @@ export {
4449
4449
  SubscriptionDetails,
4450
4450
  SubscriptionStatusBadge,
4451
4451
  SubscriptionSummaryCard,
4452
+ SubscriptionWizard,
4452
4453
  SubscriptionsContainer,
4453
4454
  SubscriptionsList,
4454
4455
  UsageContainer,
4455
4456
  UsageHistoryTable,
4456
4457
  UsageSummaryCard,
4457
4458
  UsageSummaryCards,
4459
+ WizardProgressIndicator,
4460
+ WizardStepPaymentMethod,
4461
+ WizardStepPlanSelection,
4462
+ WizardStepReview,
4458
4463
  formatCurrency,
4459
4464
  formatDate3 as formatDate,
4460
4465
  formatInterval,
@@ -20,7 +20,7 @@ import {
20
20
  useI18nLocale,
21
21
  useI18nRouter,
22
22
  useI18nTranslations
23
- } from "./chunk-HAI7G6MD.mjs";
23
+ } from "./chunk-Z7KPVKWV.mjs";
24
24
  import {
25
25
  AVAILABLE_OAUTH_SCOPES,
26
26
  AiConnectionService,
@@ -82,7 +82,7 @@ import {
82
82
  useIsMobile,
83
83
  validateItalianTaxCode,
84
84
  validatePartitaIva
85
- } from "./chunk-2O3SFHQ7.mjs";
85
+ } from "./chunk-ZE5ZUY6Y.mjs";
86
86
  import {
87
87
  ENV
88
88
  } from "./chunk-BMVA2IM5.mjs";
@@ -10399,7 +10399,7 @@ import { useRef as useRef17 } from "react";
10399
10399
  import dynamic from "next/dynamic";
10400
10400
  import React18 from "react";
10401
10401
  import { jsx as jsx90 } from "react/jsx-runtime";
10402
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-Q2WEDMKJ.mjs"), {
10402
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-BNS3U3CP.mjs"), {
10403
10403
  ssr: false
10404
10404
  });
10405
10405
  var BlockNoteEditorContainer = React18.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -13323,7 +13323,7 @@ var NotificationContextProvider = /* @__PURE__ */ __name(({ children }) => {
13323
13323
  setIsLoading(true);
13324
13324
  setError(null);
13325
13325
  try {
13326
- const fetchedNotifications = await NotificationService.findMany({});
13326
+ const fetchedNotifications = await NotificationService.findMany({ suppressGlobalError: true });
13327
13327
  setNotifications(fetchedNotifications);
13328
13328
  setLastLoaded(Date.now());
13329
13329
  } catch (error2) {
@@ -13365,7 +13365,7 @@ var NotificationContextProvider = /* @__PURE__ */ __name(({ children }) => {
13365
13365
  }))
13366
13366
  };
13367
13367
  await NotificationService.markAsRead({ data });
13368
- const allNotifications = await NotificationService.findMany({});
13368
+ const allNotifications = await NotificationService.findMany({ suppressGlobalError: true });
13369
13369
  setNotifications(allNotifications);
13370
13370
  setLastLoaded(Date.now());
13371
13371
  } catch (error2) {
@@ -16368,7 +16368,7 @@ __name(BlockNoteEditorMentionSuggestionMenu, "BlockNoteEditorMentionSuggestionMe
16368
16368
  import dynamic2 from "next/dynamic";
16369
16369
  import React29 from "react";
16370
16370
  import { jsx as jsx176 } from "react/jsx-runtime";
16371
- var BlockNoteViewer = dynamic2(() => import("./BlockNoteViewer-WO6GTDSI.mjs").then((m) => m.BlockNoteViewer), { ssr: false });
16371
+ var BlockNoteViewer = dynamic2(() => import("./BlockNoteViewer-THOJS3OG.mjs").then((m) => m.BlockNoteViewer), { ssr: false });
16372
16372
  var BlockNoteViewerContainer = React29.memo(/* @__PURE__ */ __name(function ViewerContainer(props) {
16373
16373
  return /* @__PURE__ */ jsx176(BlockNoteViewer, { ...props });
16374
16374
  }, "ViewerContainer"));
@@ -27522,4 +27522,4 @@ export {
27522
27522
  useOAuthClients,
27523
27523
  useOAuthClient
27524
27524
  };
27525
- //# sourceMappingURL=chunk-GJHKOG5L.mjs.map
27525
+ //# sourceMappingURL=chunk-6R45U3GH.mjs.map