@jmp-technologies/analytics 0.1.40 → 0.1.41

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 (48) hide show
  1. package/README.md +2 -2
  2. package/dist/astro/client.cjs +1 -1
  3. package/dist/astro/client.cjs.map +1 -1
  4. package/dist/astro/client.js +1 -1
  5. package/dist/astro/content.cjs +1 -1
  6. package/dist/astro/content.cjs.map +1 -1
  7. package/dist/astro/content.js +2 -2
  8. package/dist/astro/integration.cjs +1 -1
  9. package/dist/astro/integration.cjs.map +1 -1
  10. package/dist/astro/integration.js +2 -2
  11. package/dist/astro/register.cjs +1 -1
  12. package/dist/astro/register.cjs.map +1 -1
  13. package/dist/astro/register.js +2 -2
  14. package/dist/{chunk-JC3G4XNR.js → chunk-5SXVGQVW.js} +2 -2
  15. package/dist/{chunk-JC3G4XNR.js.map → chunk-5SXVGQVW.js.map} +1 -1
  16. package/dist/{chunk-BRLCGVFJ.js → chunk-GCEIT2ON.js} +2 -2
  17. package/dist/{chunk-IY6Y636W.js → chunk-L6IUBEUV.js} +2 -2
  18. package/dist/{chunk-VSZRQSUN.js → chunk-MEG7QGRF.js} +2 -2
  19. package/dist/{chunk-34LFIP3R.js → chunk-QSKTA7JD.js} +2 -2
  20. package/dist/index.cjs +1 -1
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.js +1 -1
  23. package/dist/next/content.cjs +1 -1
  24. package/dist/next/content.cjs.map +1 -1
  25. package/dist/next/content.js +2 -2
  26. package/dist/next/instrumentation.cjs +1 -1
  27. package/dist/next/instrumentation.cjs.map +1 -1
  28. package/dist/next/instrumentation.js +1 -1
  29. package/dist/next/landing-pages.cjs +1 -1
  30. package/dist/next/landing-pages.cjs.map +1 -1
  31. package/dist/next/landing-pages.js +2 -2
  32. package/dist/next/locations.cjs +1 -1
  33. package/dist/next/locations.cjs.map +1 -1
  34. package/dist/next/locations.js +2 -2
  35. package/dist/next/site-root-server.cjs +1 -1
  36. package/dist/next/site-root-server.cjs.map +1 -1
  37. package/dist/next/site-root-server.js +3 -3
  38. package/dist/next.cjs +1 -1
  39. package/dist/next.cjs.map +1 -1
  40. package/dist/next.js +3 -3
  41. package/dist/react.cjs +1 -1
  42. package/dist/react.cjs.map +1 -1
  43. package/dist/react.js +2 -2
  44. package/package.json +1 -1
  45. /package/dist/{chunk-BRLCGVFJ.js.map → chunk-GCEIT2ON.js.map} +0 -0
  46. /package/dist/{chunk-IY6Y636W.js.map → chunk-L6IUBEUV.js.map} +0 -0
  47. /package/dist/{chunk-VSZRQSUN.js.map → chunk-MEG7QGRF.js.map} +0 -0
  48. /package/dist/{chunk-34LFIP3R.js.map → chunk-QSKTA7JD.js.map} +0 -0
package/README.md CHANGED
@@ -140,7 +140,7 @@ Place that in `app/robots.txt/route.ts` for Next.js App Router sites. Use `merge
140
140
 
141
141
  **Enforcement:** robots.txt is advisory. When this JMP setting is on, also add a `vercel.json` WAF deny (`jmpAiCrawlerVercelWafRoute()` or `create-jmp-client --block-ai-crawlers`) and set Vercel **AI Bots** to **deny**. Crawlers that spoof a normal browser or use undisclosed names may still access public pages. Generic Applebot is not WAF-denied so Apple Search can still crawl; `Applebot-Extended` is denied.
142
142
 
143
- Use **≥ 0.1.40** for the shared crawler list, robots merge helper, and WAF route helper.
143
+ Use **≥ 0.1.41** for the shared crawler list, `mergeJmpRobotsTxt`, and WAF route helper (0.1.40 source had them; the published types did not).
144
144
 
145
145
  ---
146
146
 
@@ -359,6 +359,6 @@ After publish, on client sites:
359
359
  npm install @jmp-technologies/analytics@latest
360
360
  ```
361
361
 
362
- Use **≥ 0.1.8** for `getJmpSiteProfile` / `extras`. Use **≥ 0.1.10** for `email_click` tracking and `JmpTrackedMailtoLink`. Use **≥ 0.1.37** so server content fetches and server page views send `Origin` from `siteUrl` / `NEXT_PUBLIC_SITE_URL` (required for capabilities writes after the matching dashboard deploy). Use **≥ 0.1.38** so `contentManifest.routes` with wrapper `legal` or `pages` reports page URLs to the dashboard Pages tab. Use **≥ 0.1.39** so JMP content `fetch` uses the `jmp-content` cache tag (client webhooks revalidate it). Use **≥ 0.1.40** for AI crawler robots helpers and the Vercel WAF route helper.
362
+ Use **≥ 0.1.8** for `getJmpSiteProfile` / `extras`. Use **≥ 0.1.10** for `email_click` tracking and `JmpTrackedMailtoLink`. Use **≥ 0.1.37** so server content fetches and server page views send `Origin` from `siteUrl` / `NEXT_PUBLIC_SITE_URL` (required for capabilities writes after the matching dashboard deploy). Use **≥ 0.1.38** so `contentManifest.routes` with wrapper `legal` or `pages` reports page URLs to the dashboard Pages tab. Use **≥ 0.1.39** so JMP content `fetch` uses the `jmp-content` cache tag (client webhooks revalidate it). Use **≥ 0.1.41** so npm types export `mergeJmpRobotsTxt`, `buildAiCrawlerRobotsTxt`, and the Vercel WAF route helper.
363
363
 
364
364
  Ensure the **dashboard** is deployed with migrations **020** and **021** and `/api/content/site` is live before relying on `getJmpSiteProfile` in production.
@@ -308,7 +308,7 @@ function extractMailtoTarget(href) {
308
308
  }
309
309
 
310
310
  // package.json
311
- var version = "0.1.40";
311
+ var version = "0.1.41";
312
312
 
313
313
  // src/constants.ts
314
314
  var JMP_ANALYTICS_SDK_VERSION = version;