diff --git a/apps/web/components/next-app-research-cta.tsx b/apps/web/components/next-app-research-cta.tsx index 18b12068..e7184876 100644 --- a/apps/web/components/next-app-research-cta.tsx +++ b/apps/web/components/next-app-research-cta.tsx @@ -151,7 +151,10 @@ export function NextAppResearchCta() { !mounted || dismissed || pathname.startsWith("/onboarding") || - widget.status === "loading" + widget.status === "loading" || + // Host's targeting cohort excludes this visitor — render nothing, same + // as the script-tag embed. (0.6.0+) + widget.status === "hidden" ) { return null } diff --git a/apps/web/package.json b/apps/web/package.json index 61ed82f7..306fc2e8 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -27,7 +27,7 @@ "@dnd-kit/sortable": "^10.0.0", "@dnd-kit/utilities": "^3.2.2", "@floating-ui/react": "^0.27.0", - "@lobbyside/react": "0.5.1", + "@lobbyside/react": "0.6.0", "@opennextjs/cloudflare": "^1.12.0", "@radix-ui/react-accordion": "^1.2.11", "@radix-ui/react-alert-dialog": "^1.1.14", diff --git a/bun.lock b/bun.lock index da1ade73..2afa2cef 100644 --- a/bun.lock +++ b/bun.lock @@ -153,7 +153,7 @@ "@dnd-kit/sortable": "^10.0.0", "@dnd-kit/utilities": "^3.2.2", "@floating-ui/react": "^0.27.0", - "@lobbyside/react": "0.5.1", + "@lobbyside/react": "0.6.0", "@opennextjs/cloudflare": "^1.12.0", "@radix-ui/react-accordion": "^1.2.11", "@radix-ui/react-alert-dialog": "^1.1.14", @@ -1026,7 +1026,7 @@ "@levischuck/tiny-cbor": ["@levischuck/tiny-cbor@0.2.11", "", {}, "sha512-llBRm4dT4Z89aRsm6u2oEZ8tfwL/2l6BwpZ7JcyieouniDECM5AqNgr/y08zalEIvW3RSK4upYyybDcmjXqAow=="], - "@lobbyside/react": ["@lobbyside/react@0.5.1", "", { "peerDependencies": { "@instantdb/core": ">=1.0.0", "react": ">=18.0.0" } }, "sha512-UHAIOC6VBxcuFSIfzUjf8Qe1tI6McGTVJk98k1d5tWLOOEdTx+f8rj23v7/46n9T6I8ZhdEQzQzPsB1SNiMKeg=="], + "@lobbyside/react": ["@lobbyside/react@0.6.0", "", { "peerDependencies": { "@instantdb/core": ">=1.0.0", "react": ">=18.0.0" } }, "sha512-kCx4+0Y+cr+4XAQ/XMYhaZVM5p+N2TZQG01U4P9TZT2pM/czH2r7SqbmJkMWulDPQC3LUa20H9ceOvhLmCOI4g=="], "@lukeed/csprng": ["@lukeed/csprng@1.1.0", "", {}, "sha512-Z7C/xXCiGWsg0KuKsHTKJxbWhpI3Vs5GwLfOean7MGyVFGqdRgBbAjOCh6u4bbjPc/8MJ2pZmK/0DLdCbivLDA=="],