realtime-avatar 0.7.1 → 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.
@@ -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.1";
46
+ var SDK_VERSION = "0.7.2";
47
47
  var RealtimeAvatar = class {
48
48
  #apiKey;
49
49
  #baseUrl;
@@ -1,4 +1,4 @@
1
- import { RealtimeAvatar, isQueued, RealtimeAvatarHttpError } from './chunk-NQJK3QD7.js';
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
@@ -1,5 +1,5 @@
1
- import { createProxyHandler } from './chunk-QC5BVIUO.js';
2
- import './chunk-NQJK3QD7.js';
1
+ import { createProxyHandler } from './chunk-MQQKAUOB.js';
2
+ import './chunk-ARILC2U3.js';
3
3
 
4
4
  // ../proxy/src/express.ts
5
5
  function realtimeAvatarExpress(config) {
package/dist/hono.js CHANGED
@@ -1,5 +1,5 @@
1
- import { createProxyHandler } from './chunk-QC5BVIUO.js';
2
- import './chunk-NQJK3QD7.js';
1
+ import { createProxyHandler } from './chunk-MQQKAUOB.js';
2
+ import './chunk-ARILC2U3.js';
3
3
 
4
4
  // ../proxy/src/hono.ts
5
5
  function realtimeAvatarHono(config) {
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export { RealtimeAvatar, RealtimeAvatarError, RealtimeAvatarHttpError, isQueued, verifyTranscript } from './chunk-NQJK3QD7.js';
1
+ export { RealtimeAvatar, RealtimeAvatarError, RealtimeAvatarHttpError, isQueued, verifyTranscript } from './chunk-ARILC2U3.js';
package/dist/nextjs.js CHANGED
@@ -1,5 +1,5 @@
1
- import { createProxyHandler } from './chunk-QC5BVIUO.js';
2
- import './chunk-NQJK3QD7.js';
1
+ import { createProxyHandler } from './chunk-MQQKAUOB.js';
2
+ import './chunk-ARILC2U3.js';
3
3
 
4
4
  // ../proxy/src/nextjs.ts
5
5
  function createRealtimeAvatarRoute(config) {
@@ -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-NQJK3QD7.js';
1
+ export { RealtimeAvatar, RealtimeAvatarError, RealtimeAvatarHttpError, isQueued, verifyTranscript } from './chunk-ARILC2U3.js';
@@ -1,5 +1,5 @@
1
- import { createProxyHandler } from './chunk-QC5BVIUO.js';
2
- import './chunk-NQJK3QD7.js';
1
+ import { createProxyHandler } from './chunk-MQQKAUOB.js';
2
+ import './chunk-ARILC2U3.js';
3
3
 
4
4
  // src/tanstack-start.ts
5
5
  function realtimeAvatarServerRoute(config) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "realtime-avatar",
3
- "version": "0.7.1",
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",