payload-live-preview 2.0.0 → 2.0.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.
Files changed (69) hide show
  1. package/README.md +13 -11
  2. package/dist/adapters/astro/index.d.ts +8 -8
  3. package/dist/adapters/astro/index.js +1 -1
  4. package/dist/adapters/astro/index.js.map +1 -1
  5. package/dist/adapters/astro/middleware-entry.d.ts +3 -3
  6. package/dist/adapters/astro/middleware-entry.js +1 -1
  7. package/dist/adapters/astro/middleware-entry.js.map +1 -1
  8. package/dist/adapters/nextjs/index.d.ts +2 -2
  9. package/dist/adapters/nextjs/index.js +1 -1
  10. package/dist/adapters/nextjs/index.js.map +1 -1
  11. package/dist/adapters/nuxt/index.d.ts +4 -4
  12. package/dist/adapters/nuxt/index.js +1 -1
  13. package/dist/adapters/nuxt/index.js.map +1 -1
  14. package/dist/adapters/nuxt/module.d.ts +1 -1
  15. package/dist/adapters/react/index.d.ts +2 -1
  16. package/dist/adapters/react/index.js.map +1 -1
  17. package/dist/adapters/sveltekit/index.d.ts +5 -5
  18. package/dist/adapters/sveltekit/index.js +1 -1
  19. package/dist/adapters/sveltekit/index.js.map +1 -1
  20. package/dist/adapters/vue/index.js.map +1 -1
  21. package/dist/client.cjs +1 -1
  22. package/dist/client.cjs.map +1 -1
  23. package/dist/client.js +1 -1
  24. package/dist/client.js.map +1 -1
  25. package/dist/core.cjs +1 -1
  26. package/dist/core.cjs.map +1 -1
  27. package/dist/core.js +1 -1
  28. package/dist/core.js.map +1 -1
  29. package/dist/doctor-cli.d.ts +1 -1
  30. package/dist/doctor-cli.js +1 -1
  31. package/dist/doctor-cli.js.map +1 -1
  32. package/dist/doctor.d.ts +4 -2
  33. package/dist/doctor.js +1 -1
  34. package/dist/doctor.js.map +1 -1
  35. package/dist/{fragment-endpoint-3Mlz7GDz.d.ts → fragment-endpoint-DATKU183.d.ts} +2 -2
  36. package/dist/index.cjs +1 -1
  37. package/dist/index.cjs.map +1 -1
  38. package/dist/index.d.cts +2 -2
  39. package/dist/index.d.ts +2 -2
  40. package/dist/index.js +1 -1
  41. package/dist/index.js.map +1 -1
  42. package/dist/lean.cjs +1 -1
  43. package/dist/lean.cjs.map +1 -1
  44. package/dist/lean.js +1 -1
  45. package/dist/lean.js.map +1 -1
  46. package/dist/lexical.cjs +1 -1
  47. package/dist/lexical.cjs.map +1 -1
  48. package/dist/lexical.js +1 -1
  49. package/dist/lexical.js.map +1 -1
  50. package/dist/{locals-DBXDMxOA.d.ts → locals-CNUGYbA_.d.ts} +1 -1
  51. package/dist/{middleware-Bx9I7PXW.d.ts → middleware-CWObDO37.d.ts} +2 -2
  52. package/dist/migrate.d.ts +6 -0
  53. package/dist/migrate.js +1 -1
  54. package/dist/migrate.js.map +1 -1
  55. package/dist/{options-BW1eqXvc.d.ts → options-uHKrDM2U.d.ts} +2 -1
  56. package/dist/plugins.cjs +1 -1
  57. package/dist/plugins.cjs.map +1 -1
  58. package/dist/plugins.js +1 -1
  59. package/dist/plugins.js.map +1 -1
  60. package/dist/{probe-CELeUciC.d.ts → probe-wmvfVEsI.d.ts} +14 -0
  61. package/dist/server.cjs.map +1 -1
  62. package/dist/server.d.cts +1 -1
  63. package/dist/server.d.ts +1 -1
  64. package/dist/server.js.map +1 -1
  65. package/dist/structural.cjs +1 -1
  66. package/dist/structural.cjs.map +1 -1
  67. package/dist/structural.js +1 -1
  68. package/dist/structural.js.map +1 -1
  69. package/package.json +6 -3
package/dist/index.d.cts CHANGED
@@ -1317,7 +1317,7 @@ interface PayloadSessionStrategy {
1317
1317
  readonly cookieName?: string;
1318
1318
  /** Upper bound for the `/me` round trip. Below 250 ms is raised to 250 ms; default 3000. */
1319
1319
  readonly timeoutMs?: number;
1320
- /** Longest cookie value accepted; longer ones are refused as `invalid`. Default 4096. */
1320
+ /** Longest cookie value accepted; longer ones are refused as `missing-credential`. Default 4096. */
1321
1321
  readonly maxCookieLength?: number;
1322
1322
  readonly fetch?: FetchLike;
1323
1323
  /** Clock, Unix milliseconds. Injectable for tests. */
@@ -1489,7 +1489,7 @@ declare function hasPreviewIntent(request: PreviewRequestLike, options?: Preview
1489
1489
  *
1490
1490
  * Measured against the published 1.8.1 declarations, entry by entry, not
1491
1491
  * guessed: `isPreviewRequest` was exported from the root **and** from
1492
- * `./astro`, so it is re-exported from both. The other seven names 2.0 dropped
1492
+ * `./astro`, so it is re-exported from both. The six names 2.0 dropped
1493
1493
  * moved behind `definePreview()` or changed shape, where an alias would restore
1494
1494
  * the very defaults the move removed (ADR 0007, ledger rows 1 and 9).
1495
1495
  */
package/dist/index.d.ts CHANGED
@@ -1317,7 +1317,7 @@ interface PayloadSessionStrategy {
1317
1317
  readonly cookieName?: string;
1318
1318
  /** Upper bound for the `/me` round trip. Below 250 ms is raised to 250 ms; default 3000. */
1319
1319
  readonly timeoutMs?: number;
1320
- /** Longest cookie value accepted; longer ones are refused as `invalid`. Default 4096. */
1320
+ /** Longest cookie value accepted; longer ones are refused as `missing-credential`. Default 4096. */
1321
1321
  readonly maxCookieLength?: number;
1322
1322
  readonly fetch?: FetchLike;
1323
1323
  /** Clock, Unix milliseconds. Injectable for tests. */
@@ -1489,7 +1489,7 @@ declare function hasPreviewIntent(request: PreviewRequestLike, options?: Preview
1489
1489
  *
1490
1490
  * Measured against the published 1.8.1 declarations, entry by entry, not
1491
1491
  * guessed: `isPreviewRequest` was exported from the root **and** from
1492
- * `./astro`, so it is re-exported from both. The other seven names 2.0 dropped
1492
+ * `./astro`, so it is re-exported from both. The six names 2.0 dropped
1493
1493
  * moved behind `definePreview()` or changed shape, where an alias would restore
1494
1494
  * the very defaults the move removed (ADR 0007, ledger rows 1 and 9).
1495
1495
  */