@characterxyz/web 0.4.0 → 0.5.0
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/index.d.ts +7 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -33,11 +33,18 @@ interface VideoClip {
|
|
|
33
33
|
/** H.264 MP4, colour | matte side by side (Safari, with a canvas unpack). */
|
|
34
34
|
packedUrl: string | null;
|
|
35
35
|
seconds: number | null;
|
|
36
|
+
/** The same clip at 960 px tall, for the launcher; present once the server has made it. */
|
|
37
|
+
smallUrl?: string | null;
|
|
36
38
|
}
|
|
37
39
|
interface VideoCharacter {
|
|
38
40
|
anchor: {
|
|
39
41
|
url: string | null;
|
|
40
42
|
alphaUrl: string | null;
|
|
43
|
+
/** The cut-out still at 960 px tall (WebP), for the launcher. */
|
|
44
|
+
smallUrl?: string | null;
|
|
45
|
+
/** The full still's size: the face landmarks are in its pixels, not the copy's. */
|
|
46
|
+
width?: number;
|
|
47
|
+
height?: number;
|
|
41
48
|
} | null;
|
|
42
49
|
clips: Partial<Record<'idle' | 'talking' | 'listening' | 'entrance', VideoClip>>;
|
|
43
50
|
/** Where the face is, in the anchor still's pixels. */
|
package/package.json
CHANGED