realtime-avatar 0.5.4 → 0.6.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.
@@ -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.5.4";
46
+ var SDK_VERSION = "0.6.0";
47
47
  var RealtimeAvatar = class {
48
48
  #apiKey;
49
49
  #baseUrl;
@@ -301,7 +301,8 @@ 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 12 clips: one `idle`, up to two `listen`, the rest `gesture`. An uploaded
304
+ * At most 12 clips: up to six `idle`, up to two `listen`, the rest `gesture`. Several
305
+ * idles are a resting ROTATION she drifts between, not alternatives to one. An uploaded
305
306
  * clip (`source: { assetId }`) must start AND end on the avatar's rest pose — pose
306
307
  * validation rejects it otherwise (`status: "failed"`, the verdict in `poseCheck`),
307
308
  * and the rest of the library is untouched.
@@ -1,4 +1,4 @@
1
- import { RealtimeAvatar, isQueued, RealtimeAvatarHttpError } from './chunk-I3BFZHMQ.js';
1
+ import { RealtimeAvatar, isQueued, RealtimeAvatarHttpError } from './chunk-GKV42PSY.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-XZ5DRDND.js';
2
- import './chunk-I3BFZHMQ.js';
1
+ import { createProxyHandler } from './chunk-JLQWZF6B.js';
2
+ import './chunk-GKV42PSY.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-XZ5DRDND.js';
2
- import './chunk-I3BFZHMQ.js';
1
+ import { createProxyHandler } from './chunk-JLQWZF6B.js';
2
+ import './chunk-GKV42PSY.js';
3
3
 
4
4
  // ../proxy/src/hono.ts
5
5
  function realtimeAvatarHono(config) {
package/dist/index.d.ts CHANGED
@@ -182,7 +182,8 @@ 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 12 clips: one `idle`, up to two `listen`, the rest `gesture`. An uploaded
185
+ * At most 12 clips: up to six `idle`, up to two `listen`, the rest `gesture`. Several
186
+ * idles are a resting ROTATION she drifts between, not alternatives to one. An uploaded
186
187
  * clip (`source: { assetId }`) must start AND end on the avatar's rest pose — pose
187
188
  * validation rejects it otherwise (`status: "failed"`, the verdict in `poseCheck`),
188
189
  * and the rest of the library is untouched.
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export { RealtimeAvatar, RealtimeAvatarError, RealtimeAvatarHttpError, isQueued, verifyTranscript } from './chunk-I3BFZHMQ.js';
1
+ export { RealtimeAvatar, RealtimeAvatarError, RealtimeAvatarHttpError, isQueued, verifyTranscript } from './chunk-GKV42PSY.js';
package/dist/nextjs.js CHANGED
@@ -1,5 +1,5 @@
1
- import { createProxyHandler } from './chunk-XZ5DRDND.js';
2
- import './chunk-I3BFZHMQ.js';
1
+ import { createProxyHandler } from './chunk-JLQWZF6B.js';
2
+ import './chunk-GKV42PSY.js';
3
3
 
4
4
  // ../proxy/src/nextjs.ts
5
5
  function createRealtimeAvatarRoute(config) {
package/dist/server.js CHANGED
@@ -1 +1 @@
1
- export { RealtimeAvatar, RealtimeAvatarError, RealtimeAvatarHttpError, isQueued, verifyTranscript } from './chunk-I3BFZHMQ.js';
1
+ export { RealtimeAvatar, RealtimeAvatarError, RealtimeAvatarHttpError, isQueued, verifyTranscript } from './chunk-GKV42PSY.js';
@@ -1,5 +1,5 @@
1
- import { createProxyHandler } from './chunk-XZ5DRDND.js';
2
- import './chunk-I3BFZHMQ.js';
1
+ import { createProxyHandler } from './chunk-JLQWZF6B.js';
2
+ import './chunk-GKV42PSY.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.5.4",
3
+ "version": "0.6.0",
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",