@contentful/live-preview
Advanced tools
Comparing version 2.4.1 to 2.4.2
@@ -1,2 +0,2 @@ | ||
import { C as r } from "./index-a0b3fed6.js"; | ||
import { C as r } from "./index-b94975a2.js"; | ||
export { | ||
@@ -3,0 +3,0 @@ r as ContentfulLivePreview |
import * as V from "react"; | ||
import ke, { createContext as yr, useMemo as De, useState as hr, useRef as Pe, useContext as Ae, useCallback as gr } from "react"; | ||
import { C as Q, d as mr } from "./index-a0b3fed6.js"; | ||
import { C as Q, d as mr } from "./index-b94975a2.js"; | ||
var Z = { exports: {} }, F = {}; | ||
@@ -5,0 +5,0 @@ /** |
{ | ||
"name": "@contentful/live-preview", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"author": "Contentful GmbH", | ||
@@ -84,3 +84,3 @@ "license": "MIT", | ||
"vite-plugin-dts": "^2.0.1", | ||
"vitest": "^0.31.4" | ||
"vitest": "^0.32.0" | ||
}, | ||
@@ -87,0 +87,0 @@ "peerDependencies": { |
@@ -380,2 +380,4 @@ # @contentful/live-preview | ||
> Due some security settings the draft mode is not always shared with the iframe.<br>You can find a workaround in our [examples](./examples/nextjs-graphql/pages/api/draft.ts#L25) | ||
5. In Contentful, configure the draft URL for your Next.js application in the Content preview settings. Once you open an entry with a configured preview URL, you can use the live preview and all its features. | ||
@@ -382,0 +384,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
448600
504