@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.
- package/dist/{BlockNoteEditor-MCYQBKT5.js → BlockNoteEditor-6CBMNJPU.js} +9 -9
- package/dist/{BlockNoteEditor-MCYQBKT5.js.map → BlockNoteEditor-6CBMNJPU.js.map} +1 -1
- package/dist/{BlockNoteEditor-A2E4VUYB.mjs → BlockNoteEditor-7N66JABP.mjs} +2 -2
- package/dist/billing/index.js +335 -335
- package/dist/billing/index.mjs +1 -1
- package/dist/{chunk-DJRTJBSZ.mjs → chunk-HQKTQBUC.mjs} +15 -4
- package/dist/chunk-HQKTQBUC.mjs.map +1 -0
- package/dist/{chunk-PL2FHXHR.js → chunk-MJVEKDM4.js} +246 -235
- package/dist/chunk-MJVEKDM4.js.map +1 -0
- 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/features/analytics/index.js +88 -88
- package/dist/features/analytics/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 +75 -75
- package/dist/features/tokenusage/index.mjs +1 -1
- package/dist/next-config/index.d.mts +8 -1
- package/dist/next-config/index.d.ts +8 -1
- package/dist/next-config/index.js +31 -9
- package/dist/next-config/index.js.map +1 -1
- package/dist/next-config/index.mjs +31 -9
- package/dist/next-config/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/features/company/components/details/CompanyContent.tsx +9 -2
- package/src/features/company/components/forms/CompanyEditor.tsx +2 -0
- package/src/next-config/__tests__/createNextConfig.test.ts +45 -3
- package/src/next-config/csp.ts +25 -4
- package/src/next-config/index.ts +19 -12
- package/dist/chunk-DJRTJBSZ.mjs.map +0 -1
- package/dist/chunk-PL2FHXHR.js.map +0 -1
- /package/dist/{BlockNoteEditor-A2E4VUYB.mjs.map → BlockNoteEditor-7N66JABP.mjs.map} +0 -0
package/dist/billing/index.mjs
CHANGED
|
@@ -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-
|
|
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(
|
|
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-
|
|
27985
|
+
//# sourceMappingURL=chunk-HQKTQBUC.mjs.map
|