realtime-avatar 0.7.0 → 0.7.2
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/{chunk-OP32WHW7.js → chunk-ARILC2U3.js} +2 -2
- package/dist/{chunk-YRY3QUTC.js → chunk-MQQKAUOB.js} +1 -1
- package/dist/express.js +2 -2
- package/dist/hono.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/nextjs.js +2 -2
- package/dist/react-native.js +1 -0
- package/dist/react.js +1 -0
- package/dist/server.js +1 -1
- package/dist/tanstack-start.js +2 -2
- package/package.json +1 -1
|
@@ -43,7 +43,7 @@ function isTransient(cause) {
|
|
|
43
43
|
|
|
44
44
|
// ../http-client/src/client.ts
|
|
45
45
|
var DEFAULT_BASE_URL = "https://realtimeavatar.ai/api/v1";
|
|
46
|
-
var SDK_VERSION = "0.7.
|
|
46
|
+
var SDK_VERSION = "0.7.2";
|
|
47
47
|
var RealtimeAvatar = class {
|
|
48
48
|
#apiKey;
|
|
49
49
|
#baseUrl;
|
|
@@ -301,7 +301,7 @@ var RealtimeAvatar = class {
|
|
|
301
301
|
* concurrent writer surfaces as a 409 instead of a lost update. Omit it to declare
|
|
302
302
|
* unconditionally.
|
|
303
303
|
*
|
|
304
|
-
* At most
|
|
304
|
+
* At most 20 clips: up to eight `idle`, up to two `listen`, the rest `gesture`. Several
|
|
305
305
|
* idles are a resting ROTATION she drifts between, not alternatives to one. An uploaded
|
|
306
306
|
* clip (`source: { assetId }`) must start AND end on the avatar's rest pose — pose
|
|
307
307
|
* validation rejects it otherwise (`status: "failed"`, the verdict in `poseCheck`),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RealtimeAvatar, isQueued, RealtimeAvatarHttpError } from './chunk-
|
|
1
|
+
import { RealtimeAvatar, isQueued, RealtimeAvatarHttpError } from './chunk-ARILC2U3.js';
|
|
2
2
|
|
|
3
3
|
// ../proxy/src/config.ts
|
|
4
4
|
var json = (body, status = 200) => new Response(JSON.stringify(body), {
|
package/dist/express.js
CHANGED
package/dist/hono.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -182,7 +182,7 @@ declare class RealtimeAvatar {
|
|
|
182
182
|
* concurrent writer surfaces as a 409 instead of a lost update. Omit it to declare
|
|
183
183
|
* unconditionally.
|
|
184
184
|
*
|
|
185
|
-
* At most
|
|
185
|
+
* At most 20 clips: up to eight `idle`, up to two `listen`, the rest `gesture`. Several
|
|
186
186
|
* idles are a resting ROTATION she drifts between, not alternatives to one. An uploaded
|
|
187
187
|
* clip (`source: { assetId }`) must start AND end on the avatar's rest pose — pose
|
|
188
188
|
* validation rejects it otherwise (`status: "failed"`, the verdict in `poseCheck`),
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { RealtimeAvatar, RealtimeAvatarError, RealtimeAvatarHttpError, isQueued, verifyTranscript } from './chunk-
|
|
1
|
+
export { RealtimeAvatar, RealtimeAvatarError, RealtimeAvatarHttpError, isQueued, verifyTranscript } from './chunk-ARILC2U3.js';
|
package/dist/nextjs.js
CHANGED
package/dist/react-native.js
CHANGED
|
@@ -1697,6 +1697,7 @@ function useSessionLifecycle(input) {
|
|
|
1697
1697
|
if (!active || connected || connectWatchdogMs <= 0) return;
|
|
1698
1698
|
if (grantState.status !== "ready" || !grantState.grant) return;
|
|
1699
1699
|
if (recovery.kind === "failed" || recovery.kind === "ended") return;
|
|
1700
|
+
if (recovery.kind === "in-place-reconnecting") return;
|
|
1700
1701
|
const timer = window.setTimeout(() => {
|
|
1701
1702
|
releaseRef.current("disconnected");
|
|
1702
1703
|
setRecovery({ kind: "reconnecting", attempt: attemptRef.current });
|
package/dist/react.js
CHANGED
|
@@ -1920,6 +1920,7 @@ function useSessionLifecycle(input) {
|
|
|
1920
1920
|
if (!active || connected || connectWatchdogMs <= 0) return;
|
|
1921
1921
|
if (grantState.status !== "ready" || !grantState.grant) return;
|
|
1922
1922
|
if (recovery.kind === "failed" || recovery.kind === "ended") return;
|
|
1923
|
+
if (recovery.kind === "in-place-reconnecting") return;
|
|
1923
1924
|
const timer = window.setTimeout(() => {
|
|
1924
1925
|
releaseRef.current("disconnected");
|
|
1925
1926
|
setRecovery({ kind: "reconnecting", attempt: attemptRef.current });
|
package/dist/server.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { RealtimeAvatar, RealtimeAvatarError, RealtimeAvatarHttpError, isQueued, verifyTranscript } from './chunk-
|
|
1
|
+
export { RealtimeAvatar, RealtimeAvatarError, RealtimeAvatarHttpError, isQueued, verifyTranscript } from './chunk-ARILC2U3.js';
|
package/dist/tanstack-start.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "realtime-avatar",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "Realtime Avatar SDK. `realtime-avatar` and the route adapters hold your API key and are server-only; `realtime-avatar/react`, `/browser` and `/tools` never can — importing a server entry into a browser build throws at bundle time.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "The Influence Company",
|