@estuary-ai/sdk 0.2.0 → 0.2.1
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/README.md +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -238,7 +238,7 @@ interface EstuaryConfig {
|
|
|
238
238
|
apiKey: string; // API key (est_...)
|
|
239
239
|
characterId: string; // Character ID
|
|
240
240
|
playerId: string; // End user ID
|
|
241
|
-
audioSampleRate?: number; // Default:
|
|
241
|
+
audioSampleRate?: number; // Default: 24000
|
|
242
242
|
autoReconnect?: boolean; // Default: true
|
|
243
243
|
maxReconnectAttempts?: number; // Default: 5
|
|
244
244
|
reconnectDelayMs?: number; // Default: 2000
|
package/dist/index.js
CHANGED
|
@@ -9030,7 +9030,7 @@ var SocketManager = class extends TypedEventEmitter {
|
|
|
9030
9030
|
const authPayload = {
|
|
9031
9031
|
character_id: this.config.characterId,
|
|
9032
9032
|
player_id: this.config.playerId,
|
|
9033
|
-
audio_sample_rate: this.config.audioSampleRate ??
|
|
9033
|
+
audio_sample_rate: this.config.audioSampleRate ?? 24e3,
|
|
9034
9034
|
realtime_memory: this.config.realtimeMemory ?? false
|
|
9035
9035
|
};
|
|
9036
9036
|
if (this.config.sessionToken) {
|