@carlonicora/nextjs-jsonapi 4.0.8 → 4.1.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.
Files changed (36) hide show
  1. package/dist/{BlockNoteEditor-MCYQBKT5.js → BlockNoteEditor-6CBMNJPU.js} +9 -9
  2. package/dist/{BlockNoteEditor-MCYQBKT5.js.map → BlockNoteEditor-6CBMNJPU.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-A2E4VUYB.mjs → BlockNoteEditor-7N66JABP.mjs} +2 -2
  4. package/dist/billing/index.js +335 -335
  5. package/dist/billing/index.mjs +1 -1
  6. package/dist/{chunk-DJRTJBSZ.mjs → chunk-HQKTQBUC.mjs} +15 -4
  7. package/dist/chunk-HQKTQBUC.mjs.map +1 -0
  8. package/dist/{chunk-PL2FHXHR.js → chunk-MJVEKDM4.js} +246 -235
  9. package/dist/chunk-MJVEKDM4.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/features/analytics/index.js +88 -88
  17. package/dist/features/analytics/index.mjs +1 -1
  18. package/dist/features/help/index.js +31 -31
  19. package/dist/features/help/index.mjs +1 -1
  20. package/dist/features/tokenusage/index.js +75 -75
  21. package/dist/features/tokenusage/index.mjs +1 -1
  22. package/dist/next-config/index.d.mts +8 -1
  23. package/dist/next-config/index.d.ts +8 -1
  24. package/dist/next-config/index.js +31 -9
  25. package/dist/next-config/index.js.map +1 -1
  26. package/dist/next-config/index.mjs +31 -9
  27. package/dist/next-config/index.mjs.map +1 -1
  28. package/package.json +1 -1
  29. package/src/features/company/components/details/CompanyContent.tsx +9 -2
  30. package/src/features/company/components/forms/CompanyEditor.tsx +2 -0
  31. package/src/next-config/__tests__/createNextConfig.test.ts +45 -3
  32. package/src/next-config/csp.ts +25 -4
  33. package/src/next-config/index.ts +19 -12
  34. package/dist/chunk-DJRTJBSZ.mjs.map +0 -1
  35. package/dist/chunk-PL2FHXHR.js.map +0 -1
  36. /package/dist/{BlockNoteEditor-A2E4VUYB.mjs.map → BlockNoteEditor-7N66JABP.mjs.map} +0 -0
@@ -62,7 +62,7 @@ import {
62
62
  useCurrentUserContext,
63
63
  useDataListRetriever,
64
64
  usePageUrlGenerator
65
- } from "../chunk-DJRTJBSZ.mjs";
65
+ } from "../chunk-HQKTQBUC.mjs";
66
66
  import {
67
67
  getStripePublishableKey
68
68
  } from "../chunk-XTOEN5GN.mjs";
@@ -10587,7 +10587,7 @@ import { useRef as useRef18 } from "react";
10587
10587
  import dynamic from "next/dynamic";
10588
10588
  import React18 from "react";
10589
10589
  import { jsx as jsx90 } from "react/jsx-runtime";
10590
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-A2E4VUYB.mjs"), {
10590
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-7N66JABP.mjs"), {
10591
10591
  ssr: false
10592
10592
  });
10593
10593
  var BlockNoteEditorContainer = React18.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -12692,7 +12692,17 @@ function CompanyContent({ company, actions }) {
12692
12692
  actions && /* @__PURE__ */ jsx132("div", { className: "flex items-center gap-x-2", children: actions })
12693
12693
  ] }),
12694
12694
  /* @__PURE__ */ jsxs74("div", { className: "flex items-start gap-x-6", children: [
12695
- company.logo && /* @__PURE__ */ jsx132(Image5, { src: company.logo, alt: company.name, width: 150, height: 150, className: "rounded-md" }),
12695
+ company.logo && /* @__PURE__ */ jsx132(
12696
+ Image5,
12697
+ {
12698
+ src: company.logo,
12699
+ alt: company.name,
12700
+ width: 150,
12701
+ height: 150,
12702
+ className: "rounded-md",
12703
+ unoptimized: isRemoteImageSrc(company.logo)
12704
+ }
12705
+ ),
12696
12706
  /* @__PURE__ */ jsxs74("div", { className: "flex flex-col gap-y-2", children: [
12697
12707
  company.legal_address && /* @__PURE__ */ jsxs74("div", { className: "text-muted-foreground flex items-center gap-x-2 text-sm", children: [
12698
12708
  /* @__PURE__ */ jsx132(MapPinIcon, { className: "h-4 w-4 shrink-0" }),
@@ -13076,7 +13086,8 @@ function CompanyEditorInternal({
13076
13086
  src: file ? URL.createObjectURL(file) : company?.logo || "",
13077
13087
  alt: "Company Logo",
13078
13088
  width: 200,
13079
- height: 200
13089
+ height: 200,
13090
+ unoptimized: isRemoteImageSrc(file ? void 0 : company?.logo)
13080
13091
  }
13081
13092
  ) : /* @__PURE__ */ jsxs78(Fragment18, { children: [
13082
13093
  /* @__PURE__ */ jsx136(UploadIcon3, { className: "my-4 h-8 w-8" }),
@@ -27971,4 +27982,4 @@ export {
27971
27982
  useOAuthClients,
27972
27983
  useOAuthClient
27973
27984
  };
27974
- //# sourceMappingURL=chunk-DJRTJBSZ.mjs.map
27985
+ //# sourceMappingURL=chunk-HQKTQBUC.mjs.map