@lizard-build/sdk 0.1.64 → 0.1.66

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/dist/index.d.mts CHANGED
@@ -149,7 +149,7 @@ interface CreateProjectOpts {
149
149
  }
150
150
  /** One app or managed database a project / workspace pause or resume acted on. */
151
151
  interface PausedService {
152
- kind: 'app' | 'database';
152
+ kind: 'app' | 'database' | 'sandbox';
153
153
  id: string;
154
154
  name: string;
155
155
  }
@@ -1010,7 +1010,8 @@ type SnapshotScope = 'user' | 'workspace' | 'project';
1010
1010
  interface SnapshotOpts {
1011
1011
  /** Warm copies to keep ready (container sandboxes only; ignored for Firecracker, whose snapshots restore from disk). */
1012
1012
  poolSize?: number;
1013
- /** Where it may be restored. Default `'user'`: any of your projects and workspaces. */
1013
+ /** Where it may be restored. Default `'user'`: any of your projects and workspaces; with a key
1014
+ * limited to a workspace or project, only what the key covers (a wider scope is narrowed). */
1014
1015
  scope?: SnapshotScope;
1015
1016
  }
1016
1017
  /**
package/dist/index.d.ts CHANGED
@@ -149,7 +149,7 @@ interface CreateProjectOpts {
149
149
  }
150
150
  /** One app or managed database a project / workspace pause or resume acted on. */
151
151
  interface PausedService {
152
- kind: 'app' | 'database';
152
+ kind: 'app' | 'database' | 'sandbox';
153
153
  id: string;
154
154
  name: string;
155
155
  }
@@ -1010,7 +1010,8 @@ type SnapshotScope = 'user' | 'workspace' | 'project';
1010
1010
  interface SnapshotOpts {
1011
1011
  /** Warm copies to keep ready (container sandboxes only; ignored for Firecracker, whose snapshots restore from disk). */
1012
1012
  poolSize?: number;
1013
- /** Where it may be restored. Default `'user'`: any of your projects and workspaces. */
1013
+ /** Where it may be restored. Default `'user'`: any of your projects and workspaces; with a key
1014
+ * limited to a workspace or project, only what the key covers (a wider scope is narrowed). */
1014
1015
  scope?: SnapshotScope;
1015
1016
  }
1016
1017
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lizard-build/sdk",
3
- "version": "0.1.64",
3
+ "version": "0.1.66",
4
4
  "description": "TypeScript SDK for Lizard: Firecracker microVM sandboxes, code execution and cloud apps.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",