@cloudflare/sandbox 0.8.6 → 0.8.7
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/Dockerfile +5 -4
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/opencode/index.d.ts.map +1 -1
- package/dist/sandbox-DW5aQ1lD.d.ts.map +1 -1
- package/package.json +2 -2
package/Dockerfile
CHANGED
|
@@ -226,11 +226,12 @@ FROM golang:1.25-bookworm AS go-builder
|
|
|
226
226
|
|
|
227
227
|
RUN mkdir -p /usr/local/share/ca-certificates
|
|
228
228
|
RUN --mount=type=secret,id=wrangler_ca \
|
|
229
|
+
apt-get update && apt-get install -y --no-install-recommends ca-certificates && \
|
|
229
230
|
if [ -f /run/secrets/wrangler_ca ] && [ -s /run/secrets/wrangler_ca ]; then \
|
|
230
|
-
cp /run/secrets/wrangler_ca /usr/local/share/ca-certificates/wrangler-dev-ca.crt
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
231
|
+
cp /run/secrets/wrangler_ca /usr/local/share/ca-certificates/wrangler-dev-ca.crt; \
|
|
232
|
+
fi && \
|
|
233
|
+
update-ca-certificates && \
|
|
234
|
+
rm -rf /var/lib/apt/lists/*
|
|
234
235
|
|
|
235
236
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
236
237
|
gcc libx11-dev libxtst-dev libxinerama-dev libpng-dev \
|
package/dist/index.js
CHANGED
|
@@ -3687,7 +3687,7 @@ function buildS3fsSource(bucket, prefix) {
|
|
|
3687
3687
|
* This file is auto-updated by .github/changeset-version.ts during releases
|
|
3688
3688
|
* DO NOT EDIT MANUALLY - Changes will be overwritten on the next version bump
|
|
3689
3689
|
*/
|
|
3690
|
-
const SDK_VERSION = "0.8.
|
|
3690
|
+
const SDK_VERSION = "0.8.7";
|
|
3691
3691
|
|
|
3692
3692
|
//#endregion
|
|
3693
3693
|
//#region src/sandbox.ts
|
|
@@ -3969,6 +3969,10 @@ var Sandbox = class Sandbox extends Container {
|
|
|
3969
3969
|
this.sleepAfter = storedSleepAfter;
|
|
3970
3970
|
this.renewActivityTimeout();
|
|
3971
3971
|
}
|
|
3972
|
+
if (this.interceptHttps) this.envVars = {
|
|
3973
|
+
...this.envVars,
|
|
3974
|
+
SANDBOX_INTERCEPT_HTTPS: "1"
|
|
3975
|
+
};
|
|
3972
3976
|
});
|
|
3973
3977
|
}
|
|
3974
3978
|
async setSandboxName(name, normalizeId) {
|