tempo-sdk 0.0.85 → 0.0.87

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/dist/astro.js CHANGED
@@ -8,14 +8,14 @@ import {
8
8
  } from "./chunk-JVVHU3A7.js";
9
9
  import {
10
10
  tempoVitePlugin
11
- } from "./chunk-2OFKPSKO.js";
11
+ } from "./chunk-CXGAJRK7.js";
12
12
  import "./chunk-PYAJHLXO.js";
13
13
  import "./chunk-DI2ZFAWL.js";
14
14
  import {
15
15
  TEMPO_HOST_IDENTITY_CAPABILITY_HEADER,
16
16
  TEMPO_HOST_IDENTITY_ENDPOINT,
17
17
  createTempoHostIdentity
18
- } from "./chunk-WP74QZYX.js";
18
+ } from "./chunk-AUG3ZWTR.js";
19
19
  import "./chunk-DMT5MRMS.js";
20
20
  import "./chunk-H6OZIX2U.js";
21
21
  import {
@@ -64,6 +64,12 @@ type CanvasHostCaptureResult = {
64
64
  src: string;
65
65
  width: number;
66
66
  height: number;
67
+ paintInsets?: {
68
+ top: number;
69
+ right: number;
70
+ bottom: number;
71
+ left: number;
72
+ };
67
73
  /** The capture is fully transparent — the storyboard rendered nothing
68
74
  * visible. Reported by hosts that scan the decoded bitmap; absent means
69
75
  * the host did not answer, never that content was found. */
@@ -83,6 +89,7 @@ type CanvasHostWatch = {
83
89
  };
84
90
  type CanvasHostRuntime = {
85
91
  captureSelector(selector: string, options?: {
92
+ captureOverflow?: boolean;
86
93
  overlaySelector?: string;
87
94
  format?: "jpeg" | "png";
88
95
  quality?: number;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  installTempoInteractProjectionSource
3
- } from "../chunk-KPWCY6PY.js";
3
+ } from "../chunk-RQ54RXOY.js";
4
4
  import "../chunk-SGN7BDRE.js";
5
5
  import "../chunk-XN2K7GED.js";
6
6
  import {
@@ -2122,6 +2122,7 @@ function useCanvasHostPostMessage(registeredCanvasPaths = [], urlPinnedRenderId
2122
2122
  try {
2123
2123
  if (command.type === "render-pool:capture-image") {
2124
2124
  const captureOptions = {
2125
+ captureOverflow: payload.captureOverflow === true,
2125
2126
  childSelector: typeof payload.childSelector === "string" ? payload.childSelector : void 0,
2126
2127
  overlaySelector: typeof payload.overlaySelector === "string" ? payload.overlaySelector : void 0,
2127
2128
  format: payload.format === "jpeg" || payload.format === "png" ? payload.format : void 0,