@cloudflare/sandbox 0.7.2 → 0.7.3
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/index.js
CHANGED
|
@@ -2567,7 +2567,7 @@ function buildS3fsSource(bucket, prefix) {
|
|
|
2567
2567
|
* This file is auto-updated by .github/changeset-version.ts during releases
|
|
2568
2568
|
* DO NOT EDIT MANUALLY - Changes will be overwritten on the next version bump
|
|
2569
2569
|
*/
|
|
2570
|
-
const SDK_VERSION = "0.7.
|
|
2570
|
+
const SDK_VERSION = "0.7.3";
|
|
2571
2571
|
|
|
2572
2572
|
//#endregion
|
|
2573
2573
|
//#region src/sandbox.ts
|
|
@@ -2584,6 +2584,7 @@ function getSandbox(ns, id, options) {
|
|
|
2584
2584
|
if (options?.containerTimeouts) stub.setContainerTimeouts(options.containerTimeouts);
|
|
2585
2585
|
const defaultSessionId = `sandbox-${effectiveId}`;
|
|
2586
2586
|
const enhancedMethods = {
|
|
2587
|
+
fetch: (request) => stub.fetch(request),
|
|
2587
2588
|
createSession: async (opts) => {
|
|
2588
2589
|
return enhanceSession(stub, await stub.createSession(opts));
|
|
2589
2590
|
},
|