payload-live-preview 2.1.2 → 2.2.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/README.md +166 -51
- package/dist/adapters/astro/index.d.ts +7 -7
- package/dist/adapters/astro/index.js +1 -1
- package/dist/adapters/astro/index.js.map +1 -1
- package/dist/adapters/astro/middleware-entry.d.ts +3 -3
- package/dist/adapters/astro/middleware-entry.js +1 -1
- package/dist/adapters/astro/middleware-entry.js.map +1 -1
- package/dist/adapters/nextjs/index.d.ts +2 -2
- package/dist/adapters/nextjs/index.js +1 -1
- package/dist/adapters/nextjs/index.js.map +1 -1
- package/dist/adapters/nuxt/index.d.ts +4 -4
- package/dist/adapters/nuxt/index.js +1 -1
- package/dist/adapters/nuxt/index.js.map +1 -1
- package/dist/adapters/nuxt/module.d.ts +1 -1
- package/dist/adapters/sveltekit/index.d.ts +5 -5
- package/dist/adapters/sveltekit/index.js +1 -1
- package/dist/adapters/sveltekit/index.js.map +1 -1
- package/dist/client.cjs +1 -1
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +1 -1
- package/dist/client.js.map +1 -1
- package/dist/core.cjs +1 -1
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +2 -2
- package/dist/core.d.ts +2 -2
- package/dist/core.js +1 -1
- package/dist/core.js.map +1 -1
- package/dist/doctor-cli.d.ts +1 -1
- package/dist/doctor-cli.js +1 -1
- package/dist/doctor-cli.js.map +1 -1
- package/dist/doctor.d.ts +15 -2
- package/dist/doctor.js +1 -1
- package/dist/doctor.js.map +1 -1
- package/dist/{fragment-endpoint-B2qcRw5T.d.ts → fragment-endpoint-DGGLIijM.d.ts} +1 -1
- package/dist/fragment.cjs.map +1 -1
- package/dist/fragment.d.cts +2 -2
- package/dist/fragment.d.ts +2 -2
- package/dist/fragment.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/lean.cjs +1 -1
- package/dist/lean.cjs.map +1 -1
- package/dist/lean.js +1 -1
- package/dist/lean.js.map +1 -1
- package/dist/{locals-B1mF3aTb.d.ts → locals-zz2gi9dj.d.ts} +1 -1
- package/dist/{middleware-BGobLN9P.d.ts → middleware-CI-UTf6R.d.ts} +2 -2
- package/dist/{options-Cm8fC7dj.d.ts → options-CnYybG51.d.ts} +8 -0
- package/dist/plugins.cjs +1 -1
- package/dist/plugins.cjs.map +1 -1
- package/dist/plugins.d.cts +2 -2
- package/dist/plugins.d.ts +2 -2
- package/dist/plugins.js +1 -1
- package/dist/plugins.js.map +1 -1
- package/dist/{probe-DGPDsnbj.d.ts → probe-DpMZ4fOS.d.ts} +2 -2
- package/package.json +5 -1
|
@@ -87,7 +87,7 @@ declare const DIAGNOSTIC_CODES: Readonly<{
|
|
|
87
87
|
readonly AuditFrameOptionsBlocks: "LP0703";
|
|
88
88
|
/** Binding attributes are served to anonymous visitors. */
|
|
89
89
|
readonly AuditBindingsExposed: "LP0704";
|
|
90
|
-
/** More bindings than the
|
|
90
|
+
/** More bindings than the visibility gate will write eagerly. */
|
|
91
91
|
readonly AuditGateThresholdExceeded: "LP0705";
|
|
92
92
|
/** Owner markers exist, but some bindings are outside all of them. */
|
|
93
93
|
readonly AuditUnownedBindings: "LP0706";
|
|
@@ -109,7 +109,7 @@ declare const DIAGNOSTIC_CODES: Readonly<{
|
|
|
109
109
|
readonly FragmentStrategyUnavailable: "LP0806";
|
|
110
110
|
/** A revision changed a field with no binding; `onUnfaithfulPatch` refreshed the route. */
|
|
111
111
|
readonly UnboundChangeRefresh: "LP0807";
|
|
112
|
-
/** `onUnfaithfulPatch: 'escalate'` found no route or fragment strategy to hand an unfaithful patch to; the page keeps it. */
|
|
112
|
+
/** `onUnfaithfulPatch: 'escalate'` found no route or fragment strategy, or no boundary, to hand an unfaithful patch to; the page keeps it. */
|
|
113
113
|
readonly EscalationUnavailable: "LP0808";
|
|
114
114
|
/** A fragment inserted an Astro island the page cannot start: it never loaded the island element or that client directive. */
|
|
115
115
|
readonly IslandStartUnavailable: "LP0809";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "payload-live-preview",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "Live preview for Payload CMS on server-rendered and static frontends: DOM patches, server-rendered fragments, React and Vue hooks. Strict DOM defaults, no direct dependencies; framework entries use optional peers.",
|
|
5
5
|
"author": "relative23",
|
|
6
6
|
"license": "MIT",
|
|
@@ -368,6 +368,7 @@
|
|
|
368
368
|
],
|
|
369
369
|
"peerDependencies": {
|
|
370
370
|
"astro": ">=4.0.0 <8.0.0",
|
|
371
|
+
"payload": "^2.0.0 || ^3.0.0 || ^4.0.0-0",
|
|
371
372
|
"react": ">=18",
|
|
372
373
|
"react-dom": ">=18",
|
|
373
374
|
"svelte": ">=5",
|
|
@@ -379,6 +380,9 @@
|
|
|
379
380
|
"astro": {
|
|
380
381
|
"optional": true
|
|
381
382
|
},
|
|
383
|
+
"payload": {
|
|
384
|
+
"optional": true
|
|
385
|
+
},
|
|
382
386
|
"react": {
|
|
383
387
|
"optional": true
|
|
384
388
|
},
|