@yetter/client 0.0.10 → 0.0.11
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/client.js +0 -2
- package/package.json +1 -1
- package/src/client.ts +0 -2
package/dist/client.js
CHANGED
|
@@ -80,7 +80,6 @@ export class yetter {
|
|
|
80
80
|
model: model,
|
|
81
81
|
...options.input,
|
|
82
82
|
});
|
|
83
|
-
console.timeEnd("Initial API Response");
|
|
84
83
|
const requestId = initialApiResponse.request_id;
|
|
85
84
|
const responseUrl = initialApiResponse.response_url;
|
|
86
85
|
const cancelUrl = initialApiResponse.cancel_url;
|
|
@@ -171,7 +170,6 @@ export class yetter {
|
|
|
171
170
|
};
|
|
172
171
|
eventSource = new EventSourcePolyfill(sseStreamUrl, {
|
|
173
172
|
headers: { 'Authorization': `${_a.apiKey}` },
|
|
174
|
-
heartbeatTimeout: 3000,
|
|
175
173
|
});
|
|
176
174
|
eventSource.onopen = (event) => {
|
|
177
175
|
console.log("SSE Connection Opened:", event);
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -182,7 +182,6 @@ export class yetter {
|
|
|
182
182
|
model: model,
|
|
183
183
|
...options.input,
|
|
184
184
|
});
|
|
185
|
-
console.timeEnd("Initial API Response");
|
|
186
185
|
const requestId = initialApiResponse.request_id;
|
|
187
186
|
const responseUrl = initialApiResponse.response_url;
|
|
188
187
|
const cancelUrl = initialApiResponse.cancel_url;
|
|
@@ -272,7 +271,6 @@ export class yetter {
|
|
|
272
271
|
|
|
273
272
|
eventSource = new EventSourcePolyfill(sseStreamUrl, {
|
|
274
273
|
headers: { 'Authorization': `${yetter.apiKey}` },
|
|
275
|
-
heartbeatTimeout: 3000,
|
|
276
274
|
} as any);
|
|
277
275
|
|
|
278
276
|
eventSource.onopen = (event: Event) => {
|