@@ -18,7 +18,8 @@ Use `outbound` to intercept outbound HTTP traffic regardless of destination:
1818
1919<TypeScriptExample >
2020``` ts
21- import { Sandbox } from " @cloudflare/sandbox" ;
21+ import { Sandbox , ContainerProxy } from " @cloudflare/sandbox" ;
22+ export { ContainerProxy }
2223
2324export class MySandbox extends Sandbox {}
2425
@@ -44,7 +45,8 @@ Use `outboundByHost` to map specific domain names or IP addresses to handler fun
4445
4546<TypeScriptExample >
4647` ` ` ts
47- import { Sandbox } from "@cloudflare/sandbox";
48+ import { Sandbox, ContainerProxy } from "@cloudflare/sandbox";
49+ export { ContainerProxy }
4850
4951export class MySandbox extends Sandbox {}
5052
@@ -123,7 +125,8 @@ Use `outboundHandlers` to define named handlers, then assign them to specific ho
123125
124126<TypeScriptExample>
125127` ` ` ts
126- import { Sandbox } from " @cloudflare/sandbox" ;
128+ import { Sandbox , ContainerProxy } from " @cloudflare/sandbox" ;
129+ export { ContainerProxy }
127130
128131export class MySandbox extends Sandbox {}
129132
@@ -142,7 +145,8 @@ Apply handlers to hosts programmatically from your Worker:
142145
143146<TypeScriptExample >
144147` ` ` ts
145- import { getSandbox } from "@cloudflare/sandbox";
148+ import { Sandbox, ContainerProxy, getSandbox } from "@cloudflare/sandbox";
149+ export { ContainerProxy }
146150
147151export default {
148152 async fetch(request: Request, env: Env) {
0 commit comments