@carlonicora/nextjs-jsonapi 6.13.0 → 6.13.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 (31) hide show
  1. package/dist/{BlockNoteEditor-2VLPSEKS.js → BlockNoteEditor-UBVEUFNR.js} +9 -9
  2. package/dist/{BlockNoteEditor-2VLPSEKS.js.map → BlockNoteEditor-UBVEUFNR.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-22Q4DJBU.mjs → BlockNoteEditor-VXMDSQAA.mjs} +2 -2
  4. package/dist/billing/index.js +378 -378
  5. package/dist/billing/index.mjs +1 -1
  6. package/dist/{chunk-H4NLDX5G.mjs → chunk-N4RZZKL5.mjs} +9 -3
  7. package/dist/chunk-N4RZZKL5.mjs.map +1 -0
  8. package/dist/{chunk-2H342HNN.js → chunk-PYRZCKC2.js} +267 -261
  9. package/dist/chunk-PYRZCKC2.js.map +1 -0
  10. package/dist/client/index.js +2 -2
  11. package/dist/client/index.mjs +1 -1
  12. package/dist/components/index.js +2 -2
  13. package/dist/components/index.mjs +1 -1
  14. package/dist/contexts/index.js +2 -2
  15. package/dist/contexts/index.mjs +1 -1
  16. package/dist/email-automations/index.js +58 -58
  17. package/dist/email-automations/index.mjs +1 -1
  18. package/dist/features/analytics/index.js +96 -96
  19. package/dist/features/analytics/index.mjs +1 -1
  20. package/dist/features/blog/index.js +93 -93
  21. package/dist/features/blog/index.mjs +1 -1
  22. package/dist/features/help/index.js +31 -31
  23. package/dist/features/help/index.mjs +1 -1
  24. package/dist/features/tokenusage/index.js +102 -102
  25. package/dist/features/tokenusage/index.mjs +1 -1
  26. package/package.json +1 -1
  27. package/src/features/onboarding/contexts/OnboardingContext.spec.tsx +42 -1
  28. package/src/features/onboarding/contexts/OnboardingContext.tsx +11 -1
  29. package/dist/chunk-2H342HNN.js.map +0 -1
  30. package/dist/chunk-H4NLDX5G.mjs.map +0 -1
  31. /package/dist/{BlockNoteEditor-22Q4DJBU.mjs.map → BlockNoteEditor-VXMDSQAA.mjs.map} +0 -0
@@ -81,7 +81,7 @@ import {
81
81
  useCurrentUserContext,
82
82
  useDataListRetriever,
83
83
  usePageUrlGenerator
84
- } from "../chunk-H4NLDX5G.mjs";
84
+ } from "../chunk-N4RZZKL5.mjs";
85
85
  import "../chunk-VOXD3ZLY.mjs";
86
86
  import {
87
87
  getStripePublishableKey
@@ -10852,7 +10852,7 @@ import { useRef as useRef18 } from "react";
10852
10852
  import dynamic from "next/dynamic";
10853
10853
  import React18 from "react";
10854
10854
  import { jsx as jsx91 } from "react/jsx-runtime";
10855
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-22Q4DJBU.mjs"), {
10855
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-VXMDSQAA.mjs"), {
10856
10856
  ssr: false
10857
10857
  });
10858
10858
  var BlockNoteEditorContainer = React18.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -14088,7 +14088,13 @@ function OnboardingProvider({
14088
14088
  endReasonRef.current = "dismissed";
14089
14089
  const move = /* @__PURE__ */ __name((direction, from) => {
14090
14090
  const target = tourSteps[direction === "next" ? from + 1 : from - 1];
14091
- const go = /* @__PURE__ */ __name(() => direction === "next" ? driverRef.current?.moveNext() : driverRef.current?.movePrevious(), "go");
14091
+ const go = /* @__PURE__ */ __name(() => {
14092
+ const instance2 = driverRef.current;
14093
+ if (!instance2) return;
14094
+ if (direction === "next") instance2.moveNext();
14095
+ else instance2.movePrevious();
14096
+ if (driverRef.current === instance2 && !instance2.isActive()) teardown("dismissed");
14097
+ }, "go");
14092
14098
  if (target?.showDelay) setTimeout(go, target.showDelay);
14093
14099
  else go();
14094
14100
  }, "move");
@@ -30778,4 +30784,4 @@ export {
30778
30784
  useOAuthClients,
30779
30785
  useOAuthClient
30780
30786
  };
30781
- //# sourceMappingURL=chunk-H4NLDX5G.mjs.map
30787
+ //# sourceMappingURL=chunk-N4RZZKL5.mjs.map