@e2b/cli 2.2.7 → 2.2.9

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.
@@ -1,5 +1,5 @@
1
1
  import asyncio
2
- from e2b import AsyncTemplate
2
+ from e2b import AsyncTemplate, default_build_logger
3
3
  from template import template
4
4
 
5
5
 
@@ -13,6 +13,7 @@ async def main():
13
13
  {{#if memoryMB}}
14
14
  memory_mb={{memoryMB}},
15
15
  {{/if}}
16
+ on_build_logs=default_build_logger(),
16
17
  )
17
18
 
18
19
 
@@ -1,4 +1,4 @@
1
- from e2b import Template
1
+ from e2b import Template, default_build_logger
2
2
  from template import template
3
3
 
4
4
 
@@ -12,4 +12,5 @@ if __name__ == "__main__":
12
12
  {{#if memoryMB}}
13
13
  memory_mb={{memoryMB}},
14
14
  {{/if}}
15
+ on_build_logs=default_build_logger(),
15
16
  )
@@ -1,4 +1,4 @@
1
- import { Template } from 'e2b'
1
+ import { Template, defaultBuildLogger } from 'e2b'
2
2
  import { template } from './template'
3
3
 
4
4
  async function main() {
@@ -10,6 +10,7 @@ async function main() {
10
10
  {{#if memoryMB}}
11
11
  memoryMB: {{memoryMB}},
12
12
  {{/if}}
13
+ onBuildLogs: defaultBuildLogger(),
13
14
  });
14
15
  }
15
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e2b/cli",
3
- "version": "2.2.7",
3
+ "version": "2.2.9",
4
4
  "description": "CLI for managing e2b sandbox templates",
5
5
  "homepage": "https://e2b.dev",
6
6
  "license": "MIT",
@@ -72,7 +72,7 @@
72
72
  "commander": "^11.1.0",
73
73
  "console-table-printer": "^2.11.2",
74
74
  "dockerfile-ast": "^0.6.1",
75
- "e2b": "^2.2.2",
75
+ "e2b": "^2.2.5",
76
76
  "handlebars": "^4.7.8",
77
77
  "inquirer": "^9.2.12",
78
78
  "open": "^9.1.0",