@stream-io/node-sdk 0.4.16 → 0.4.18
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.cjs.js
CHANGED
|
@@ -157,7 +157,7 @@ class BaseApi {
|
|
|
157
157
|
Authorization: this.apiConfig.token,
|
|
158
158
|
'stream-auth-type': 'jwt',
|
|
159
159
|
'Content-Type': 'application/json',
|
|
160
|
-
'X-Stream-Client': 'stream-node-' + "0.4.
|
|
160
|
+
'X-Stream-Client': 'stream-node-' + "0.4.18",
|
|
161
161
|
'Accept-Encoding': 'gzip',
|
|
162
162
|
'x-client-request-id': clientRequestId,
|
|
163
163
|
};
|
|
@@ -3085,6 +3085,7 @@ class StreamVideoClient extends VideoApi {
|
|
|
3085
3085
|
streamApiKey: this.apiConfig.apiKey,
|
|
3086
3086
|
streamUserToken: token,
|
|
3087
3087
|
openAiApiKey: options.openAiApiKey,
|
|
3088
|
+
model: options.model,
|
|
3088
3089
|
});
|
|
3089
3090
|
await realtimeClient.connect();
|
|
3090
3091
|
return realtimeClient;
|