@alpaca-headless/alpaca-headless-nextjs 1.0.4231 → 1.0.4232

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.
@@ -15,10 +15,10 @@ const log = (message, data) => {
15
15
  export function EditorIntegrationClient({ timings, mode, }) {
16
16
  const instanceIdRef = useRef(Math.random().toString(36).substring(7));
17
17
  log(`EditorIntegrationClient RENDER, mode: ${mode}, instance: ${instanceIdRef.current}`);
18
- log(`window.parent === window:`, window.parent === window);
19
18
  useExposeRefreshFunction();
20
19
  useEffect(() => {
21
20
  log(`EditorIntegrationClient useEffect RUNNING, instance: ${instanceIdRef.current}`);
21
+ log(`window.parent === window:`, window.parent === window);
22
22
  const handleKeyDown = (event) => {
23
23
  if (event.ctrlKey && event.key === "F11") {
24
24
  event.preventDefault();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alpaca-headless/alpaca-headless-nextjs",
3
- "version": "1.0.4231",
3
+ "version": "1.0.4232",
4
4
  "type": "module",
5
5
  "description": "Alpaca Headless",
6
6
  "main": "dist/index.js",
@@ -52,7 +52,7 @@
52
52
  "typescript": "^5"
53
53
  },
54
54
  "dependencies": {
55
- "@alpaca-headless/alpaca-headless": "^1.0.4231",
55
+ "@alpaca-headless/alpaca-headless": "^1.0.4232",
56
56
  "axios": "^1.8.1",
57
57
  "https-proxy-agent": "^7.0.4",
58
58
  "next": "^14.2.4",
@@ -27,7 +27,6 @@ export function EditorIntegrationClient({
27
27
  log(
28
28
  `EditorIntegrationClient RENDER, mode: ${mode}, instance: ${instanceIdRef.current}`
29
29
  );
30
- log(`window.parent === window:`, window.parent === window);
31
30
 
32
31
  useExposeRefreshFunction();
33
32
 
@@ -35,6 +34,7 @@ export function EditorIntegrationClient({
35
34
  log(
36
35
  `EditorIntegrationClient useEffect RUNNING, instance: ${instanceIdRef.current}`
37
36
  );
37
+ log(`window.parent === window:`, window.parent === window);
38
38
 
39
39
  const handleKeyDown = (event: KeyboardEvent) => {
40
40
  if (event.ctrlKey && event.key === "F11") {