@meistrari/sandbox-sdk 1.6.0 → 1.7.0

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.cts CHANGED
@@ -108,7 +108,8 @@ interface SnapshotRecipe {
108
108
  interface CreateSnapshotRequest {
109
109
  name: string;
110
110
  idempotencyKey: string;
111
- recipe: SnapshotRecipe;
111
+ /** Required by lambda-microvm, which builds an image from it; not used by e2b, which captures the live sandbox. */
112
+ recipe?: SnapshotRecipe;
112
113
  metadata?: Record<string, string>;
113
114
  }
114
115
  interface SnapshotInfo {
package/dist/index.d.mts CHANGED
@@ -108,7 +108,8 @@ interface SnapshotRecipe {
108
108
  interface CreateSnapshotRequest {
109
109
  name: string;
110
110
  idempotencyKey: string;
111
- recipe: SnapshotRecipe;
111
+ /** Required by lambda-microvm, which builds an image from it; not used by e2b, which captures the live sandbox. */
112
+ recipe?: SnapshotRecipe;
112
113
  metadata?: Record<string, string>;
113
114
  }
114
115
  interface SnapshotInfo {
package/dist/index.d.ts CHANGED
@@ -108,7 +108,8 @@ interface SnapshotRecipe {
108
108
  interface CreateSnapshotRequest {
109
109
  name: string;
110
110
  idempotencyKey: string;
111
- recipe: SnapshotRecipe;
111
+ /** Required by lambda-microvm, which builds an image from it; not used by e2b, which captures the live sandbox. */
112
+ recipe?: SnapshotRecipe;
112
113
  metadata?: Record<string, string>;
113
114
  }
114
115
  interface SnapshotInfo {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meistrari/sandbox-sdk",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {