@cloudflare/sandbox 0.0.0-c2e3384 → 0.0.0-c484232

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/sandbox",
3
- "version": "0.0.0-c2e3384",
3
+ "version": "0.0.0-c484232",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/cloudflare/sandbox-sdk"
@@ -40,5 +40,5 @@
40
40
  },
41
41
  "keywords": [],
42
42
  "author": "",
43
- "license": "ISC"
43
+ "license": "Apache-2.0"
44
44
  }
@@ -98,7 +98,7 @@ export class FileClient extends BaseHttpClient {
98
98
  path,
99
99
  content,
100
100
  sessionId,
101
- encoding: options?.encoding ?? 'utf8'
101
+ encoding: options?.encoding
102
102
  };
103
103
 
104
104
  const response = await this.post<WriteFileResult>('/api/write', data);
@@ -126,7 +126,7 @@ export class FileClient extends BaseHttpClient {
126
126
  const data = {
127
127
  path,
128
128
  sessionId,
129
- encoding: options?.encoding ?? 'utf8'
129
+ encoding: options?.encoding
130
130
  };
131
131
 
132
132
  const response = await this.post<ReadFileResult>('/api/read', data);
package/src/version.ts CHANGED
@@ -3,4 +3,4 @@
3
3
  * This file is auto-updated by .github/changeset-version.ts during releases
4
4
  * DO NOT EDIT MANUALLY - Changes will be overwritten on the next version bump
5
5
  */
6
- export const SDK_VERSION = '0.4.15';
6
+ export const SDK_VERSION = '0.4.20';
package/startup.sh CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/bin/bash
2
2
 
3
- exec bun dist/index.js
3
+ exec bun /container-server/dist/index.js