@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/CHANGELOG.md +38 -0
- package/Dockerfile +1 -1
- package/LICENSE +176 -0
- package/README.md +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/clients/file-client.ts +2 -2
- package/src/version.ts +1 -1
- package/startup.sh +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/sandbox",
|
|
3
|
-
"version": "0.0.0-
|
|
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": "
|
|
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
|
|
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
|
|
129
|
+
encoding: options?.encoding
|
|
130
130
|
};
|
|
131
131
|
|
|
132
132
|
const response = await this.post<ReadFileResult>('/api/read', data);
|
package/src/version.ts
CHANGED
package/startup.sh
CHANGED