@carlonicora/nextjs-jsonapi 1.47.0 → 1.47.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.
@@ -10925,7 +10925,7 @@ __name(AllowedUsersDetails, "AllowedUsersDetails");
10925
10925
  import dynamic from "next/dynamic";
10926
10926
  import React15 from "react";
10927
10927
  import { jsx as jsx126 } from "react/jsx-runtime";
10928
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-J7R24CYB.mjs"), {
10928
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-34PX47L4.mjs"), {
10929
10929
  ssr: false
10930
10930
  });
10931
10931
  var BlockNoteEditorContainer = React15.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -12340,7 +12340,6 @@ function Register() {
12340
12340
  const [referralCode, setReferralCode2] = useState47(null);
12341
12341
  useEffect40(() => {
12342
12342
  const code = getReferralCode();
12343
- console.log("[REFERRAL] Register.tsx - cookie value on mount:", code);
12344
12343
  setReferralCode2(code);
12345
12344
  }, []);
12346
12345
  const formSchema = z4.object({
@@ -12398,7 +12397,6 @@ function Register() {
12398
12397
  }, [registrationMode, inviteCode, form, t]);
12399
12398
  const onSubmit = /* @__PURE__ */ __name(async (values) => {
12400
12399
  try {
12401
- console.log("[REFERRAL] Register.tsx - referralCode at submit:", referralCode);
12402
12400
  const payload = {
12403
12401
  id: v44(),
12404
12402
  companyName: values.company,
@@ -12411,7 +12409,6 @@ function Register() {
12411
12409
  inviteCode: inviteCode ?? void 0,
12412
12410
  referralCode: referralCode ?? void 0
12413
12411
  };
12414
- console.log("[REFERRAL] Register.tsx - payload.referralCode:", payload.referralCode);
12415
12412
  await AuthService.register(payload);
12416
12413
  clearReferralCode();
12417
12414
  setShowConfirmation(true);
@@ -14610,23 +14607,15 @@ __name(getReferralCode2, "getReferralCode");
14610
14607
  function ReferralCodeCapture() {
14611
14608
  const searchParams = useSearchParams4();
14612
14609
  useEffect51(() => {
14613
- console.log("[REFERRAL] ReferralCodeCapture mounted");
14614
- console.log("[REFERRAL] isReferralEnabled():", isReferralEnabled());
14615
14610
  if (!isReferralEnabled()) {
14616
- console.log("[REFERRAL] Feature DISABLED - not capturing");
14617
14611
  return;
14618
14612
  }
14619
14613
  const config = getReferralConfig();
14620
14614
  const refCode = searchParams.get(config.urlParamName);
14621
- console.log("[REFERRAL] URL param '" + config.urlParamName + "':", refCode);
14622
14615
  if (refCode) {
14623
14616
  const existingCode = getReferralCode2();
14624
- console.log("[REFERRAL] Existing cookie:", existingCode);
14625
14617
  if (!existingCode) {
14626
14618
  setReferralCode(refCode);
14627
- console.log("[REFERRAL] Cookie SET to:", refCode);
14628
- } else {
14629
- console.log("[REFERRAL] Cookie already exists, not overwriting");
14630
14619
  }
14631
14620
  }
14632
14621
  }, [searchParams]);
@@ -16894,4 +16883,4 @@ export {
16894
16883
  useOAuthClients,
16895
16884
  useOAuthClient
16896
16885
  };
16897
- //# sourceMappingURL=chunk-LYQMDZO7.mjs.map
16886
+ //# sourceMappingURL=chunk-L7RMKAGH.mjs.map