payload-live-preview 2.0.2 → 2.0.3
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 +11 -8
- package/dist/adapters/astro/index.js +1 -1
- package/dist/adapters/astro/index.js.map +1 -1
- package/dist/adapters/astro/middleware-entry.js +1 -1
- package/dist/adapters/astro/middleware-entry.js.map +1 -1
- package/dist/adapters/nextjs/index.js +1 -1
- package/dist/adapters/nextjs/index.js.map +1 -1
- package/dist/adapters/nuxt/index.js +1 -1
- package/dist/adapters/nuxt/index.js.map +1 -1
- 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.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 +3 -2
- package/dist/core.d.ts +3 -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 +2 -2
- package/dist/doctor.js +1 -1
- package/dist/doctor.js.map +1 -1
- package/dist/fragment.cjs.map +1 -1
- 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 +3 -2
- package/dist/index.d.ts +3 -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/lexical.cjs +1 -1
- package/dist/lexical.cjs.map +1 -1
- package/dist/lexical.js +1 -1
- package/dist/lexical.js.map +1 -1
- package/dist/plugins.cjs +1 -1
- package/dist/plugins.cjs.map +1 -1
- package/dist/plugins.js +1 -1
- package/dist/plugins.js.map +1 -1
- package/dist/{probe-DqaItcwX.d.ts → probe-DX_4wsBu.d.ts} +6 -0
- package/dist/server.cjs +1 -1
- package/dist/server.cjs.map +1 -1
- package/dist/server.js +1 -1
- package/dist/server.js.map +1 -1
- package/dist/structural.cjs +2 -2
- package/dist/structural.cjs.map +1 -1
- package/dist/structural.js +2 -2
- package/dist/structural.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1939,8 +1939,9 @@ declare function previewBindingsFromLocals(locals: unknown, options?: {
|
|
|
1939
1939
|
|
|
1940
1940
|
/**
|
|
1941
1941
|
* Hydrated islands own their subtree, so the runtime never patches inside one.
|
|
1942
|
-
* Instead every flush dispatches `payload-live-preview:update`
|
|
1943
|
-
* root with the update in `detail
|
|
1942
|
+
* Instead every flush that carried a change dispatches `payload-live-preview:update`
|
|
1943
|
+
* on each island root with the update in `detail`, whether or not a binding
|
|
1944
|
+
* outside the islands was written. `data-payload-island="patch"` opts back in.
|
|
1944
1945
|
* @internal
|
|
1945
1946
|
*/
|
|
1946
1947
|
declare const ISLAND_EVENT = "payload-live-preview:update";
|
package/dist/index.d.ts
CHANGED
|
@@ -1939,8 +1939,9 @@ declare function previewBindingsFromLocals(locals: unknown, options?: {
|
|
|
1939
1939
|
|
|
1940
1940
|
/**
|
|
1941
1941
|
* Hydrated islands own their subtree, so the runtime never patches inside one.
|
|
1942
|
-
* Instead every flush dispatches `payload-live-preview:update`
|
|
1943
|
-
* root with the update in `detail
|
|
1942
|
+
* Instead every flush that carried a change dispatches `payload-live-preview:update`
|
|
1943
|
+
* on each island root with the update in `detail`, whether or not a binding
|
|
1944
|
+
* outside the islands was written. `data-payload-island="patch"` opts back in.
|
|
1944
1945
|
* @internal
|
|
1945
1946
|
*/
|
|
1946
1947
|
declare const ISLAND_EVENT = "payload-live-preview:update";
|