Skip to content

Commit f4e0026

Browse files
authored
Updates SandboxApiOpts type with added headers field (#677)
- Minor type fix
1 parent e0c1bc7 commit f4e0026

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.changeset/tiny-ways-return.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'e2b': patch
3+
---
4+
5+
changed type of SandboxApiOpts

packages/js-sdk/src/sandbox/sandboxApi.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ import { TemplateError } from '../errors'
88
*/
99
export interface SandboxApiOpts
1010
extends Partial<
11-
Pick<ConnectionOpts, 'apiKey' | 'debug' | 'domain' | 'requestTimeoutMs'>
11+
Pick<
12+
ConnectionOpts,
13+
'apiKey' | 'headers' | 'debug' | 'domain' | 'requestTimeoutMs'
14+
>
1215
> {}
1316

1417
export interface SandboxListOpts extends SandboxApiOpts {

0 commit comments

Comments
 (0)