@vercel/sandbox 1.10.0 → 1.10.1

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/sandbox.d.ts CHANGED
@@ -228,23 +228,18 @@ declare class Sandbox {
228
228
  * the next page of results.
229
229
  */
230
230
  static list(params?: Partial<Parameters<APIClient["listSandboxes"]>[0]> & Partial<Credentials> & WithFetchOptions): Promise<Parsed<{
231
- pagination: {
232
- count: number;
233
- next: number | null;
234
- prev: number | null;
235
- };
236
231
  sandboxes: {
237
- status: "aborted" | "failed" | "pending" | "running" | "stopping" | "stopped" | "snapshotting";
232
+ status: "aborted" | "pending" | "running" | "stopping" | "stopped" | "failed" | "snapshotting";
238
233
  id: string;
239
- region: string;
240
- createdAt: number;
241
- updatedAt: number;
242
234
  memory: number;
243
235
  vcpus: number;
236
+ region: string;
244
237
  runtime: string;
245
238
  timeout: number;
246
239
  requestedAt: number;
240
+ createdAt: number;
247
241
  cwd: string;
242
+ updatedAt: number;
248
243
  startedAt?: number | undefined;
249
244
  requestedStopAt?: number | undefined;
250
245
  stoppedAt?: number | undefined;
@@ -282,6 +277,11 @@ declare class Sandbox {
282
277
  egress: number;
283
278
  } | undefined;
284
279
  }[];
280
+ pagination: {
281
+ count: number;
282
+ next: number | null;
283
+ prev: number | null;
284
+ };
285
285
  }>>;
286
286
  /**
287
287
  * Serialize a Sandbox instance to plain data for @workflow/serde.
@@ -92,21 +92,21 @@ declare class Snapshot {
92
92
  * the next page of results.
93
93
  */
94
94
  static list(params?: Partial<Parameters<APIClient["listSnapshots"]>[0]> & Partial<Credentials> & WithFetchOptions): Promise<Parsed<{
95
+ pagination: {
96
+ count: number;
97
+ next: number | null;
98
+ prev: number | null;
99
+ };
95
100
  snapshots: {
96
- status: "created" | "deleted" | "failed";
101
+ status: "failed" | "created" | "deleted";
97
102
  id: string;
98
- sourceSandboxId: string;
99
103
  region: string;
100
- sizeBytes: number;
101
104
  createdAt: number;
102
105
  updatedAt: number;
106
+ sourceSandboxId: string;
107
+ sizeBytes: number;
103
108
  expiresAt?: number | undefined;
104
109
  }[];
105
- pagination: {
106
- count: number;
107
- next: number | null;
108
- prev: number | null;
109
- };
110
110
  }>>;
111
111
  /**
112
112
  * Retrieve an existing snapshot.
@@ -93,21 +93,21 @@ declare class Snapshot {
93
93
  * the next page of results.
94
94
  */
95
95
  static list(params?: Partial<Parameters<APIClient["listSnapshots"]>[0]> & Partial<Credentials> & WithFetchOptions): Promise<Parsed<{
96
+ pagination: {
97
+ count: number;
98
+ next: number | null;
99
+ prev: number | null;
100
+ };
96
101
  snapshots: {
97
- status: "created" | "deleted" | "failed";
102
+ status: "failed" | "created" | "deleted";
98
103
  id: string;
99
- sourceSandboxId: string;
100
104
  region: string;
101
- sizeBytes: number;
102
105
  createdAt: number;
103
106
  updatedAt: number;
107
+ sourceSandboxId: string;
108
+ sizeBytes: number;
104
109
  expiresAt?: number | undefined;
105
110
  }[];
106
- pagination: {
107
- count: number;
108
- next: number | null;
109
- prev: number | null;
110
- };
111
111
  }>>;
112
112
  /**
113
113
  * Retrieve an existing snapshot.
package/dist/version.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  //#region src/version.ts
3
- const VERSION = "1.10.0";
3
+ const VERSION = "1.10.1";
4
4
 
5
5
  //#endregion
6
6
  exports.VERSION = VERSION;
@@ -1 +1 @@
1
- {"version":3,"file":"version.cjs","names":[],"sources":["../src/version.ts"],"sourcesContent":["// Autogenerated by inject-version.ts\nexport const VERSION = \"1.10.0\";\n"],"mappings":";;AACA,MAAa,UAAU"}
1
+ {"version":3,"file":"version.cjs","names":[],"sources":["../src/version.ts"],"sourcesContent":["// Autogenerated by inject-version.ts\nexport const VERSION = \"1.10.1\";\n"],"mappings":";;AACA,MAAa,UAAU"}
package/dist/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region src/version.ts
2
- const VERSION = "1.10.0";
2
+ const VERSION = "1.10.1";
3
3
 
4
4
  //#endregion
5
5
  export { VERSION };
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","names":[],"sources":["../src/version.ts"],"sourcesContent":["// Autogenerated by inject-version.ts\nexport const VERSION = \"1.10.0\";\n"],"mappings":";AACA,MAAa,UAAU"}
1
+ {"version":3,"file":"version.js","names":[],"sources":["../src/version.ts"],"sourcesContent":["// Autogenerated by inject-version.ts\nexport const VERSION = \"1.10.1\";\n"],"mappings":";AACA,MAAa,UAAU"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/sandbox",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "Software Development Kit for Vercel Sandbox",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",