tempo-sdk 0.0.81 → 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 +3 -3
- package/dist/canvas/astro.js +2 -2
- package/dist/canvas/index.d.ts +7 -0
- package/dist/canvas/index.js +4 -3
- package/dist/canvas/index.js.map +1 -1
- package/dist/canvas/interact-projection.js +2 -2
- package/dist/canvas/svelte.js +2 -2
- package/dist/canvas/vue.js +2 -2
- package/dist/{chunk-XFPFWTWX.js → chunk-2ZQMVAFM.js} +4 -1
- package/dist/{chunk-XFPFWTWX.js.map → chunk-2ZQMVAFM.js.map} +1 -1
- package/dist/{chunk-PRVU3F6M.js → chunk-AUG3ZWTR.js} +2 -2
- package/dist/{chunk-PRVU3F6M.js.map → chunk-AUG3ZWTR.js.map} +1 -1
- package/dist/{chunk-4XKABOQR.js → chunk-CXGAJRK7.js} +4 -3
- package/dist/{chunk-4XKABOQR.js.map → chunk-CXGAJRK7.js.map} +1 -1
- package/dist/{chunk-UBTL6JUF.js → chunk-DMT5MRMS.js} +4 -1
- package/dist/chunk-DMT5MRMS.js.map +1 -0
- package/dist/{chunk-VUCDEJ4Q.js → chunk-DNERBE7A.js} +68 -23
- package/dist/chunk-DNERBE7A.js.map +1 -0
- package/dist/{chunk-AFA3RUX4.js → chunk-GVH7HUMT.js} +2 -2
- package/dist/{chunk-AFA3RUX4.js.map → chunk-GVH7HUMT.js.map} +1 -1
- package/dist/{chunk-6SCRM7WZ.js → chunk-PPIIUCX5.js} +2 -2
- package/dist/{chunk-D6LZ7Z3W.js → chunk-PTL3UFIF.js} +2 -2
- package/dist/{chunk-D6LZ7Z3W.js.map → chunk-PTL3UFIF.js.map} +1 -1
- package/dist/{chunk-WNQ7HYZN.js → chunk-RQ54RXOY.js} +109 -57
- package/dist/chunk-RQ54RXOY.js.map +1 -0
- package/dist/expo/plugin.cjs +3 -0
- package/dist/expo/plugin.cjs.map +1 -1
- package/dist/expo/plugin.js +1 -1
- package/dist/expo-babel-plugin.cjs +3 -0
- package/dist/expo-babel-plugin.cjs.map +1 -1
- package/dist/expo-babel-plugin.js +1 -1
- package/dist/index.js +3 -3
- package/dist/nextjs/plugin.cjs +1 -1
- package/dist/nextjs/plugin.cjs.map +1 -1
- package/dist/nextjs/plugin.js +1 -1
- package/dist/nextjs-loader.cjs +4 -1
- package/dist/nextjs-loader.cjs.map +1 -1
- package/dist/nextjs.cjs +1 -1
- package/dist/nextjs.cjs.map +1 -1
- package/dist/nextjs.js +1 -1
- package/dist/nuxt/runtime/identity.js +1 -1
- package/dist/nuxt.js +5 -1
- package/dist/nuxt.js.map +1 -1
- package/dist/svelte.js +1 -1
- package/dist/vue.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-UBTL6JUF.js.map +0 -1
- package/dist/chunk-VUCDEJ4Q.js.map +0 -1
- package/dist/chunk-WNQ7HYZN.js.map +0 -1
- /package/dist/{chunk-6SCRM7WZ.js.map → chunk-PPIIUCX5.js.map} +0 -0
package/dist/astro.js
CHANGED
|
@@ -8,15 +8,15 @@ import {
|
|
|
8
8
|
} from "./chunk-JVVHU3A7.js";
|
|
9
9
|
import {
|
|
10
10
|
tempoVitePlugin
|
|
11
|
-
} from "./chunk-
|
|
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-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-AUG3ZWTR.js";
|
|
19
|
+
import "./chunk-DMT5MRMS.js";
|
|
20
20
|
import "./chunk-H6OZIX2U.js";
|
|
21
21
|
import {
|
|
22
22
|
sourceVersionHash
|
package/dist/canvas/astro.js
CHANGED
package/dist/canvas/index.d.ts
CHANGED
|
@@ -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;
|
package/dist/canvas/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
installTempoInteractProjectionSource
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-RQ54RXOY.js";
|
|
4
4
|
import "../chunk-SGN7BDRE.js";
|
|
5
5
|
import "../chunk-XN2K7GED.js";
|
|
6
6
|
import {
|
|
@@ -38,12 +38,12 @@ import {
|
|
|
38
38
|
useStoryboardSize,
|
|
39
39
|
v1DirectUrlSize,
|
|
40
40
|
v1RenderRequestSize
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-PPIIUCX5.js";
|
|
42
42
|
import {
|
|
43
43
|
PROJECTION_PENDING_ATTRIBUTE,
|
|
44
44
|
PROJECTION_SCOPE_ROLE,
|
|
45
45
|
isProjectionUnavailableOnly
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-DNERBE7A.js";
|
|
47
47
|
import "../chunk-5M45Z7K6.js";
|
|
48
48
|
|
|
49
49
|
// canvas/canvas-host.tsx
|
|
@@ -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,
|