@daytonaio/sdk 0.26.0-alpha.8 → 0.26.0-alpha.9
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/package.json +2 -2
- package/src/Process.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daytonaio/sdk",
|
|
3
|
-
"version": "0.26.0-alpha.
|
|
3
|
+
"version": "0.26.0-alpha.9",
|
|
4
4
|
"description": "TypeScript SDK for Daytona",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"pathe": "^2.0.3",
|
|
35
35
|
"shell-quote": "^1.8.2",
|
|
36
36
|
"tar": "^6.2.0",
|
|
37
|
-
"@daytonaio/api-client": "0.26.0-alpha.
|
|
37
|
+
"@daytonaio/api-client": "0.26.0-alpha.9"
|
|
38
38
|
},
|
|
39
39
|
"packageManager": "yarn@4.6.0",
|
|
40
40
|
"type": "commonjs"
|
package/src/Process.js
CHANGED
|
@@ -262,7 +262,7 @@ class Process {
|
|
|
262
262
|
const url = `${previewLink.url.replace('http', 'ws')}/process/session/${sessionId}/command/${commandId}/logs?follow=true`;
|
|
263
263
|
let ws;
|
|
264
264
|
if (Runtime_1.RUNTIME === Runtime_1.Runtime.BROWSER) {
|
|
265
|
-
ws = new isomorphic_ws_1.default(url + '&DAYTONA_SANDBOX_AUTH_KEY=' + previewLink.token, `X-Daytona-SDK-Version
|
|
265
|
+
ws = new isomorphic_ws_1.default(url + '&DAYTONA_SANDBOX_AUTH_KEY=' + previewLink.token, `X-Daytona-SDK-Version~${this.clientConfig.baseOptions.headers['X-Daytona-SDK-Version']}`);
|
|
266
266
|
}
|
|
267
267
|
else {
|
|
268
268
|
ws = new isomorphic_ws_1.default(url, {
|