Comparing version 0.16.2-beta.42 to 0.16.2-beta.43
{ | ||
"name": "e2b", | ||
"version": "0.16.2-beta.42", | ||
"version": "0.16.2-beta.43", | ||
"description": "E2B SDK that give agents cloud environments", | ||
@@ -5,0 +5,0 @@ "homepage": "https://e2b.dev", |
@@ -74,1 +74,32 @@ <p align="center"> | ||
``` | ||
## Development | ||
You can use the SDK with a locally running [`envd`](https://github.com/e2b-dev/infra/blob/main/packages/envd) (that usually runs inside the sandbox and allows the SDK to interact with it) by passing `E2B_DEBUG=true` to `.env` or by using `debug: true` in the `Sandbox.create` or `Sandbox.connect` method options. | ||
### Install dependencies | ||
```bash | ||
pnpm install | ||
``` | ||
### Generating API clients used by SDK | ||
Check out top-level [README](../../README.md#generating-clients). | ||
The API clients are not automatically publicly accessible from the SDK — we are doing some additional work to make the experience of using the APIs better by providing a more user-friendly interface. | ||
### Building | ||
For development, you can run the following command to build the SDK on every change: | ||
```bash | ||
pnpm dev | ||
``` | ||
### Testing | ||
Use `pnpm test` to run the test suite or `pnpm example` to run the example code. | ||
Pass `E2B_DEBUG=true` to `.env` to run against the locally running envd (usually run via Docker). | ||
> When running with a local environment the environment is not cleaned up after every test run as when running the test againts production. This might lead to some issues when running the tests multiple times and it is good to keep in mind. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
687216
105