@lizard-build/sdk 0.1.72 → 0.1.74
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/README.md +2 -0
- package/dist/index.d.mts +805 -1
- package/dist/index.d.ts +805 -1
- package/dist/index.js +571 -7
- package/dist/index.mjs +555 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -121,6 +121,8 @@ try {
|
|
|
121
121
|
|
|
122
122
|
The SDK reads `LIZARD_API_KEY` and, optionally, `LIZARD_API_URL` (default: `https://lizard.build`). You can also pass `apiKey` and `apiUrl` to the constructor or static sandbox methods.
|
|
123
123
|
|
|
124
|
+
Lizard Git (`lizard.git`: repositories, pull requests, CI and the rest) reads `LIZARD_GIT_URL` (default `https://git.lizard.build`) and needs a key with no scopes. See the [Lizard Git guide](https://github.com/lizard-build/lizard-sdk/blob/main/docs/platform.md#lizard-git).
|
|
125
|
+
|
|
124
126
|
Pass `timeoutMs` to `create()` to set the sandbox lifetime. The default is five minutes. `timeoutMs` on `process.exec()` or `runCode()` controls that call, not the sandbox lifetime.
|
|
125
127
|
|
|
126
128
|
## Runtime limits
|