@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
@@ -2,7 +2,7 @@ import {
2
2
  AbstractService,
3
3
  EndpointCreator,
4
4
  Modules
5
- } from "./chunk-2O3SFHQ7.mjs";
5
+ } from "./chunk-ZE5ZUY6Y.mjs";
6
6
  import {
7
7
  ENV,
8
8
  setBootstrapper
@@ -291,4 +291,4 @@ export {
291
291
  ACTION_TYPES,
292
292
  RbacService
293
293
  };
294
- //# sourceMappingURL=chunk-HAI7G6MD.mjs.map
294
+ //# sourceMappingURL=chunk-Z7KPVKWV.mjs.map
@@ -3661,7 +3661,12 @@ var StripeCustomerService = class extends AbstractService {
3661
3661
  return this.callApi({
3662
3662
  type: Modules.StripeCustomer,
3663
3663
  method: "GET" /* GET */,
3664
- endpoint: endpoint.generate()
3664
+ endpoint: endpoint.generate(),
3665
+ // A 404 here means the company has no billing customer yet — an expected
3666
+ // state that BillingDashboardContainer turns into a setup prompt. Without
3667
+ // this, the global error handler swallows it and replaces the page with a
3668
+ // 404 screen.
3669
+ suppressGlobalError: true
3665
3670
  });
3666
3671
  }
3667
3672
  /**
@@ -7525,7 +7530,8 @@ var NotificationService = class extends AbstractService {
7525
7530
  type: Modules.Notification,
7526
7531
  method: "GET" /* GET */,
7527
7532
  endpoint: endpoint.generate(),
7528
- next: params.next
7533
+ next: params.next,
7534
+ suppressGlobalError: params.suppressGlobalError
7529
7535
  });
7530
7536
  }
7531
7537
  static async markAsRead(params) {
@@ -9763,4 +9769,4 @@ export {
9763
9769
  AuditLogService,
9764
9770
  AuditLogModule
9765
9771
  };
9766
- //# sourceMappingURL=chunk-2O3SFHQ7.mjs.map
9772
+ //# sourceMappingURL=chunk-ZE5ZUY6Y.mjs.map