@lizard-build/sdk 0.1.53 → 0.1.55
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 +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ The package includes TypeScript declarations and ESM and CommonJS builds. For Co
|
|
|
40
40
|
|
|
41
41
|
## Machine size
|
|
42
42
|
|
|
43
|
-
Sandboxes come in three sizes: `small` (2 vCPU / 4 GB, $0.
|
|
43
|
+
Sandboxes come in three sizes: `small` (2 vCPU / 4 GB, $0.018/h), `medium` (4 vCPU / 8 GB, $0.036/h, the default) and `large` (8 vCPU / 16 GB, $0.072/h). Billing is flat by size, per second while the sandbox runs; measured CPU/RAM are not charged, egress is free, and volumes bill separately.
|
|
44
44
|
|
|
45
45
|
```ts
|
|
46
46
|
const sandbox = await lizard.create('base', { size: 'large' })
|
package/dist/index.d.mts
CHANGED
|
@@ -831,9 +831,9 @@ interface SandboxOpts extends ConnectionOpts {
|
|
|
831
831
|
snapshotId?: string;
|
|
832
832
|
/**
|
|
833
833
|
* Machine size, billed flat per hour (per second of running time):
|
|
834
|
-
* - `'small'` — 2 vCPU / 4 GB, $0.
|
|
835
|
-
* - `'medium'` — 4 vCPU / 8 GB, $0.
|
|
836
|
-
* - `'large'` — 8 vCPU / 16 GB, $0.
|
|
834
|
+
* - `'small'` — 2 vCPU / 4 GB, $0.018/h
|
|
835
|
+
* - `'medium'` — 4 vCPU / 8 GB, $0.036/h (default)
|
|
836
|
+
* - `'large'` — 8 vCPU / 16 GB, $0.072/h
|
|
837
837
|
*
|
|
838
838
|
* Measured CPU/RAM are not charged and egress is free. Ignored with {@link SandboxOpts.snapshotId}.
|
|
839
839
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -831,9 +831,9 @@ interface SandboxOpts extends ConnectionOpts {
|
|
|
831
831
|
snapshotId?: string;
|
|
832
832
|
/**
|
|
833
833
|
* Machine size, billed flat per hour (per second of running time):
|
|
834
|
-
* - `'small'` — 2 vCPU / 4 GB, $0.
|
|
835
|
-
* - `'medium'` — 4 vCPU / 8 GB, $0.
|
|
836
|
-
* - `'large'` — 8 vCPU / 16 GB, $0.
|
|
834
|
+
* - `'small'` — 2 vCPU / 4 GB, $0.018/h
|
|
835
|
+
* - `'medium'` — 4 vCPU / 8 GB, $0.036/h (default)
|
|
836
|
+
* - `'large'` — 8 vCPU / 16 GB, $0.072/h
|
|
837
837
|
*
|
|
838
838
|
* Measured CPU/RAM are not charged and egress is free. Ignored with {@link SandboxOpts.snapshotId}.
|
|
839
839
|
*/
|
package/package.json
CHANGED