@vercel/sandbox 1.9.3 → 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.
Files changed (45) hide show
  1. package/dist/api-client/base-client.cjs +2 -1
  2. package/dist/api-client/base-client.cjs.map +1 -1
  3. package/dist/api-client/base-client.js +2 -1
  4. package/dist/api-client/base-client.js.map +1 -1
  5. package/dist/auth/api.cjs +1 -1
  6. package/dist/auth/api.cjs.map +1 -1
  7. package/dist/auth/api.js +1 -1
  8. package/dist/auth/api.js.map +1 -1
  9. package/dist/auth/index.cjs +0 -1
  10. package/dist/auth/index.d.cts +2 -2
  11. package/dist/auth/index.d.ts +2 -2
  12. package/dist/auth/index.js +2 -2
  13. package/dist/auth/project.cjs +124 -26
  14. package/dist/auth/project.cjs.map +1 -1
  15. package/dist/auth/project.d.cts +9 -13
  16. package/dist/auth/project.d.ts +9 -13
  17. package/dist/auth/project.js +125 -26
  18. package/dist/auth/project.js.map +1 -1
  19. package/dist/filesystem.cjs +499 -0
  20. package/dist/filesystem.cjs.map +1 -0
  21. package/dist/filesystem.d.cts +258 -0
  22. package/dist/filesystem.d.ts +258 -0
  23. package/dist/filesystem.js +497 -0
  24. package/dist/filesystem.js.map +1 -0
  25. package/dist/index.cjs +2 -0
  26. package/dist/index.d.cts +3 -2
  27. package/dist/index.d.ts +3 -2
  28. package/dist/index.js +2 -1
  29. package/dist/sandbox.cjs +2 -0
  30. package/dist/sandbox.cjs.map +1 -1
  31. package/dist/sandbox.d.cts +11 -0
  32. package/dist/sandbox.d.ts +11 -0
  33. package/dist/sandbox.js +2 -0
  34. package/dist/sandbox.js.map +1 -1
  35. package/dist/snapshot.cjs +39 -5
  36. package/dist/snapshot.cjs.map +1 -1
  37. package/dist/snapshot.d.cts +28 -6
  38. package/dist/snapshot.d.ts +28 -6
  39. package/dist/snapshot.js +38 -5
  40. package/dist/snapshot.js.map +1 -1
  41. package/dist/version.cjs +1 -1
  42. package/dist/version.cjs.map +1 -1
  43. package/dist/version.js +1 -1
  44. package/dist/version.js.map +1 -1
  45. package/package.json +1 -1
@@ -3,8 +3,12 @@ import { SnapshotMetadata } from "./api-client/validators.js";
3
3
  import { APIClient, WithFetchOptions } from "./api-client/api-client.js";
4
4
  import "./api-client/index.js";
5
5
  import { Credentials } from "./utils/get-credentials.js";
6
+ import { WORKFLOW_DESERIALIZE, WORKFLOW_SERIALIZE } from "@workflow/serde";
6
7
 
7
8
  //#region src/snapshot.d.ts
9
+ interface SerializedSnapshot {
10
+ snapshot: SnapshotMetadata;
11
+ }
8
12
  /** @inline */
9
13
  interface GetSnapshotParams {
10
14
  /**
@@ -23,7 +27,14 @@ interface GetSnapshotParams {
23
27
  * @hideconstructor
24
28
  */
25
29
  declare class Snapshot {
26
- private readonly client;
30
+ private _client;
31
+ /**
32
+ * Lazily resolve credentials and construct an API client.
33
+ * This is used in step contexts where the Snapshot was deserialized
34
+ * without a client (e.g. when crossing workflow/step boundaries).
35
+ * @internal
36
+ */
37
+ private ensureClient;
27
38
  /**
28
39
  * Unique ID of this snapshot.
29
40
  */
@@ -53,16 +64,27 @@ declare class Snapshot {
53
64
  */
54
65
  private snapshot;
55
66
  /**
56
- * Create a new Snapshot instance.
67
+ * Serialize a Snapshot instance to plain data for @workflow/serde.
68
+ *
69
+ * @param instance - The Snapshot instance to serialize
70
+ * @returns A plain object containing snapshot metadata
71
+ */
72
+ static [WORKFLOW_SERIALIZE](instance: Snapshot): SerializedSnapshot;
73
+ /**
74
+ * Deserialize a Snapshot from serialized data.
75
+ *
76
+ * The deserialized instance uses the serialized metadata synchronously and
77
+ * lazily creates an API client only when methods perform API requests.
57
78
  *
58
- * @param client - API client used to communicate with the backend
59
- * @param snapshot - Snapshot metadata
79
+ * @param data - The serialized snapshot data
80
+ * @returns The reconstructed Snapshot instance
60
81
  */
82
+ static [WORKFLOW_DESERIALIZE](data: SerializedSnapshot): Snapshot;
61
83
  constructor({
62
84
  client,
63
85
  snapshot
64
86
  }: {
65
- client: APIClient;
87
+ client?: APIClient;
66
88
  snapshot: SnapshotMetadata;
67
89
  });
68
90
  /**
@@ -106,5 +128,5 @@ declare class Snapshot {
106
128
  }): Promise<void>;
107
129
  }
108
130
  //#endregion
109
- export { Snapshot };
131
+ export { SerializedSnapshot, Snapshot };
110
132
  //# sourceMappingURL=snapshot.d.ts.map
package/dist/snapshot.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import { APIClient } from "./api-client/api-client.js";
2
2
  import "./api-client/index.js";
3
3
  import { getCredentials } from "./utils/get-credentials.js";
4
+ import { WORKFLOW_DESERIALIZE, WORKFLOW_SERIALIZE } from "@workflow/serde";
4
5
 
5
6
  //#region src/snapshot.ts
6
7
  /**
@@ -10,6 +11,22 @@ import { getCredentials } from "./utils/get-credentials.js";
10
11
  * @hideconstructor
11
12
  */
12
13
  var Snapshot = class Snapshot {
14
+ /**
15
+ * Lazily resolve credentials and construct an API client.
16
+ * This is used in step contexts where the Snapshot was deserialized
17
+ * without a client (e.g. when crossing workflow/step boundaries).
18
+ * @internal
19
+ */
20
+ async ensureClient() {
21
+ "use step";
22
+ if (this._client) return this._client;
23
+ const credentials = await getCredentials();
24
+ this._client = new APIClient({
25
+ teamId: credentials.teamId,
26
+ token: credentials.token
27
+ });
28
+ return this._client;
29
+ }
13
30
  /**
14
31
  * Unique ID of this snapshot.
15
32
  */
@@ -48,13 +65,29 @@ var Snapshot = class Snapshot {
48
65
  return new Date(this.snapshot.expiresAt);
49
66
  }
50
67
  /**
51
- * Create a new Snapshot instance.
68
+ * Serialize a Snapshot instance to plain data for @workflow/serde.
52
69
  *
53
- * @param client - API client used to communicate with the backend
54
- * @param snapshot - Snapshot metadata
70
+ * @param instance - The Snapshot instance to serialize
71
+ * @returns A plain object containing snapshot metadata
55
72
  */
73
+ static [WORKFLOW_SERIALIZE](instance) {
74
+ return { snapshot: instance.snapshot };
75
+ }
76
+ /**
77
+ * Deserialize a Snapshot from serialized data.
78
+ *
79
+ * The deserialized instance uses the serialized metadata synchronously and
80
+ * lazily creates an API client only when methods perform API requests.
81
+ *
82
+ * @param data - The serialized snapshot data
83
+ * @returns The reconstructed Snapshot instance
84
+ */
85
+ static [WORKFLOW_DESERIALIZE](data) {
86
+ return new Snapshot({ snapshot: data.snapshot });
87
+ }
56
88
  constructor({ client, snapshot }) {
57
- this.client = client;
89
+ this._client = null;
90
+ this._client = client ?? null;
58
91
  this.snapshot = snapshot;
59
92
  }
60
93
  /**
@@ -104,7 +137,7 @@ var Snapshot = class Snapshot {
104
137
  */
105
138
  async delete(opts) {
106
139
  "use step";
107
- this.snapshot = (await this.client.deleteSnapshot({
140
+ this.snapshot = (await (await this.ensureClient()).deleteSnapshot({
108
141
  snapshotId: this.snapshot.id,
109
142
  signal: opts?.signal
110
143
  })).json.snapshot;
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.js","names":[],"sources":["../src/snapshot.ts"],"sourcesContent":["import type { WithFetchOptions } from \"./api-client/api-client.js\";\nimport type { SnapshotMetadata } from \"./api-client/index.js\";\nimport { APIClient } from \"./api-client/index.js\";\nimport { type Credentials, getCredentials } from \"./utils/get-credentials.js\";\n\n/** @inline */\ninterface GetSnapshotParams {\n /**\n * Unique identifier of the snapshot.\n */\n snapshotId: string;\n /**\n * An AbortSignal to cancel the operation.\n */\n signal?: AbortSignal;\n}\n\n/**\n * A Snapshot is a saved state of a Sandbox that can be used to create new Sandboxes\n *\n * Use {@link Sandbox.snapshot} or {@link Snapshot.get} to construct.\n * @hideconstructor\n */\nexport class Snapshot {\n private readonly client: APIClient;\n\n /**\n * Unique ID of this snapshot.\n */\n public get snapshotId(): string {\n return this.snapshot.id;\n }\n\n /**\n * The ID the sandbox from which this snapshot was created.\n */\n public get sourceSandboxId(): string {\n return this.snapshot.sourceSandboxId;\n }\n\n /**\n * The status of the snapshot.\n */\n public get status(): SnapshotMetadata[\"status\"] {\n return this.snapshot.status;\n }\n\n /**\n * The size of the snapshot in bytes, or null if not available.\n */\n public get sizeBytes(): number {\n return this.snapshot.sizeBytes;\n }\n\n /**\n * The creation date of this snapshot.\n */\n public get createdAt(): Date {\n return new Date(this.snapshot.createdAt);\n }\n\n /**\n * The expiration date of this snapshot, or undefined if it does not expire.\n */\n public get expiresAt(): Date | undefined {\n if (this.snapshot.expiresAt === undefined) {\n return undefined;\n }\n\n return new Date(this.snapshot.expiresAt);\n }\n\n /**\n * Internal metadata about this snapshot.\n */\n private snapshot: SnapshotMetadata;\n\n /**\n * Create a new Snapshot instance.\n *\n * @param client - API client used to communicate with the backend\n * @param snapshot - Snapshot metadata\n */\n constructor({\n client,\n snapshot,\n }: {\n client: APIClient;\n snapshot: SnapshotMetadata;\n }) {\n this.client = client;\n this.snapshot = snapshot;\n }\n\n /**\n * Allow to get a list of snapshots for a team narrowed to the given params.\n * It returns both the snapshots and the pagination metadata to allow getting\n * the next page of results.\n */\n static async list(\n params?: Partial<Parameters<APIClient[\"listSnapshots\"]>[0]> &\n Partial<Credentials> &\n WithFetchOptions,\n ) {\n \"use step\";\n const credentials = await getCredentials(params);\n const client = new APIClient({\n teamId: credentials.teamId,\n token: credentials.token,\n fetch: params?.fetch,\n });\n return client.listSnapshots({\n ...credentials,\n ...params,\n });\n }\n\n /**\n * Retrieve an existing snapshot.\n *\n * @param params - Get parameters and optional credentials.\n * @returns A promise resolving to the {@link Sandbox}.\n */\n static async get(\n params: GetSnapshotParams | (GetSnapshotParams & Credentials),\n ): Promise<Snapshot> {\n \"use step\";\n const credentials = await getCredentials(params);\n const client = new APIClient({\n teamId: credentials.teamId,\n token: credentials.token,\n });\n\n const sandbox = await client.getSnapshot({\n snapshotId: params.snapshotId,\n signal: params.signal,\n });\n\n return new Snapshot({\n client,\n snapshot: sandbox.json.snapshot,\n });\n }\n\n /**\n * Delete this snapshot.\n *\n * @param opts - Optional parameters.\n * @param opts.signal - An AbortSignal to cancel the operation.\n * @returns A promise that resolves once the snapshot has been deleted.\n */\n async delete(opts?: { signal?: AbortSignal }): Promise<void> {\n \"use step\";\n const response = await this.client!.deleteSnapshot({\n snapshotId: this.snapshot.id,\n signal: opts?.signal,\n });\n\n this.snapshot = response.json.snapshot;\n }\n}\n"],"mappings":";;;;;;;;;;;AAuBA,IAAa,WAAb,MAAa,SAAS;;;;CAMpB,IAAW,aAAqB;AAC9B,SAAO,KAAK,SAAS;;;;;CAMvB,IAAW,kBAA0B;AACnC,SAAO,KAAK,SAAS;;;;;CAMvB,IAAW,SAAqC;AAC9C,SAAO,KAAK,SAAS;;;;;CAMvB,IAAW,YAAoB;AAC7B,SAAO,KAAK,SAAS;;;;;CAMvB,IAAW,YAAkB;AAC3B,SAAO,IAAI,KAAK,KAAK,SAAS,UAAU;;;;;CAM1C,IAAW,YAA8B;AACvC,MAAI,KAAK,SAAS,cAAc,OAC9B;AAGF,SAAO,IAAI,KAAK,KAAK,SAAS,UAAU;;;;;;;;CAc1C,YAAY,EACV,QACA,YAIC;AACD,OAAK,SAAS;AACd,OAAK,WAAW;;;;;;;CAQlB,aAAa,KACX,QAGA;AACA;EACA,MAAM,cAAc,MAAM,eAAe,OAAO;AAMhD,SALe,IAAI,UAAU;GAC3B,QAAQ,YAAY;GACpB,OAAO,YAAY;GACnB,OAAO,QAAQ;GAChB,CAAC,CACY,cAAc;GAC1B,GAAG;GACH,GAAG;GACJ,CAAC;;;;;;;;CASJ,aAAa,IACX,QACmB;AACnB;EACA,MAAM,cAAc,MAAM,eAAe,OAAO;EAChD,MAAM,SAAS,IAAI,UAAU;GAC3B,QAAQ,YAAY;GACpB,OAAO,YAAY;GACpB,CAAC;AAOF,SAAO,IAAI,SAAS;GAClB;GACA,WAPc,MAAM,OAAO,YAAY;IACvC,YAAY,OAAO;IACnB,QAAQ,OAAO;IAChB,CAAC,EAIkB,KAAK;GACxB,CAAC;;;;;;;;;CAUJ,MAAM,OAAO,MAAgD;AAC3D;AAMA,OAAK,YALY,MAAM,KAAK,OAAQ,eAAe;GACjD,YAAY,KAAK,SAAS;GAC1B,QAAQ,MAAM;GACf,CAAC,EAEuB,KAAK"}
1
+ {"version":3,"file":"snapshot.js","names":[],"sources":["../src/snapshot.ts"],"sourcesContent":["import { WORKFLOW_DESERIALIZE, WORKFLOW_SERIALIZE } from \"@workflow/serde\";\nimport type { WithFetchOptions } from \"./api-client/api-client.js\";\nimport type { SnapshotMetadata } from \"./api-client/index.js\";\nimport { APIClient } from \"./api-client/index.js\";\nimport { type Credentials, getCredentials } from \"./utils/get-credentials.js\";\n\nexport interface SerializedSnapshot {\n snapshot: SnapshotMetadata;\n}\n\n/** @inline */\ninterface GetSnapshotParams {\n /**\n * Unique identifier of the snapshot.\n */\n snapshotId: string;\n /**\n * An AbortSignal to cancel the operation.\n */\n signal?: AbortSignal;\n}\n\n/**\n * A Snapshot is a saved state of a Sandbox that can be used to create new Sandboxes\n *\n * Use {@link Sandbox.snapshot} or {@link Snapshot.get} to construct.\n * @hideconstructor\n */\nexport class Snapshot {\n private _client: APIClient | null = null;\n\n /**\n * Lazily resolve credentials and construct an API client.\n * This is used in step contexts where the Snapshot was deserialized\n * without a client (e.g. when crossing workflow/step boundaries).\n * @internal\n */\n private async ensureClient(): Promise<APIClient> {\n \"use step\";\n if (this._client) return this._client;\n const credentials = await getCredentials();\n this._client = new APIClient({\n teamId: credentials.teamId,\n token: credentials.token,\n });\n return this._client;\n }\n\n /**\n * Unique ID of this snapshot.\n */\n public get snapshotId(): string {\n return this.snapshot.id;\n }\n\n /**\n * The ID the sandbox from which this snapshot was created.\n */\n public get sourceSandboxId(): string {\n return this.snapshot.sourceSandboxId;\n }\n\n /**\n * The status of the snapshot.\n */\n public get status(): SnapshotMetadata[\"status\"] {\n return this.snapshot.status;\n }\n\n /**\n * The size of the snapshot in bytes, or null if not available.\n */\n public get sizeBytes(): number {\n return this.snapshot.sizeBytes;\n }\n\n /**\n * The creation date of this snapshot.\n */\n public get createdAt(): Date {\n return new Date(this.snapshot.createdAt);\n }\n\n /**\n * The expiration date of this snapshot, or undefined if it does not expire.\n */\n public get expiresAt(): Date | undefined {\n if (this.snapshot.expiresAt === undefined) {\n return undefined;\n }\n\n return new Date(this.snapshot.expiresAt);\n }\n\n /**\n * Internal metadata about this snapshot.\n */\n private snapshot: SnapshotMetadata;\n\n /**\n * Serialize a Snapshot instance to plain data for @workflow/serde.\n *\n * @param instance - The Snapshot instance to serialize\n * @returns A plain object containing snapshot metadata\n */\n static [WORKFLOW_SERIALIZE](instance: Snapshot): SerializedSnapshot {\n return {\n snapshot: instance.snapshot,\n };\n }\n\n /**\n * Deserialize a Snapshot from serialized data.\n *\n * The deserialized instance uses the serialized metadata synchronously and\n * lazily creates an API client only when methods perform API requests.\n *\n * @param data - The serialized snapshot data\n * @returns The reconstructed Snapshot instance\n */\n static [WORKFLOW_DESERIALIZE](data: SerializedSnapshot): Snapshot {\n return new Snapshot({\n snapshot: data.snapshot,\n });\n }\n\n constructor({\n client,\n snapshot,\n }: {\n client?: APIClient;\n snapshot: SnapshotMetadata;\n }) {\n this._client = client ?? null;\n this.snapshot = snapshot;\n }\n\n /**\n * Allow to get a list of snapshots for a team narrowed to the given params.\n * It returns both the snapshots and the pagination metadata to allow getting\n * the next page of results.\n */\n static async list(\n params?: Partial<Parameters<APIClient[\"listSnapshots\"]>[0]> &\n Partial<Credentials> &\n WithFetchOptions,\n ) {\n \"use step\";\n const credentials = await getCredentials(params);\n const client = new APIClient({\n teamId: credentials.teamId,\n token: credentials.token,\n fetch: params?.fetch,\n });\n return client.listSnapshots({\n ...credentials,\n ...params,\n });\n }\n\n /**\n * Retrieve an existing snapshot.\n *\n * @param params - Get parameters and optional credentials.\n * @returns A promise resolving to the {@link Sandbox}.\n */\n static async get(\n params: GetSnapshotParams | (GetSnapshotParams & Credentials),\n ): Promise<Snapshot> {\n \"use step\";\n const credentials = await getCredentials(params);\n const client = new APIClient({\n teamId: credentials.teamId,\n token: credentials.token,\n });\n\n const sandbox = await client.getSnapshot({\n snapshotId: params.snapshotId,\n signal: params.signal,\n });\n\n return new Snapshot({\n client,\n snapshot: sandbox.json.snapshot,\n });\n }\n\n /**\n * Delete this snapshot.\n *\n * @param opts - Optional parameters.\n * @param opts.signal - An AbortSignal to cancel the operation.\n * @returns A promise that resolves once the snapshot has been deleted.\n */\n async delete(opts?: { signal?: AbortSignal }): Promise<void> {\n \"use step\";\n const client = await this.ensureClient();\n const response = await client.deleteSnapshot({\n snapshotId: this.snapshot.id,\n signal: opts?.signal,\n });\n\n this.snapshot = response.json.snapshot;\n }\n}\n"],"mappings":";;;;;;;;;;;;AA4BA,IAAa,WAAb,MAAa,SAAS;;;;;;;CASpB,MAAc,eAAmC;AAC/C;AACA,MAAI,KAAK,QAAS,QAAO,KAAK;EAC9B,MAAM,cAAc,MAAM,gBAAgB;AAC1C,OAAK,UAAU,IAAI,UAAU;GAC3B,QAAQ,YAAY;GACpB,OAAO,YAAY;GACpB,CAAC;AACF,SAAO,KAAK;;;;;CAMd,IAAW,aAAqB;AAC9B,SAAO,KAAK,SAAS;;;;;CAMvB,IAAW,kBAA0B;AACnC,SAAO,KAAK,SAAS;;;;;CAMvB,IAAW,SAAqC;AAC9C,SAAO,KAAK,SAAS;;;;;CAMvB,IAAW,YAAoB;AAC7B,SAAO,KAAK,SAAS;;;;;CAMvB,IAAW,YAAkB;AAC3B,SAAO,IAAI,KAAK,KAAK,SAAS,UAAU;;;;;CAM1C,IAAW,YAA8B;AACvC,MAAI,KAAK,SAAS,cAAc,OAC9B;AAGF,SAAO,IAAI,KAAK,KAAK,SAAS,UAAU;;;;;;;;CAc1C,QAAQ,oBAAoB,UAAwC;AAClE,SAAO,EACL,UAAU,SAAS,UACpB;;;;;;;;;;;CAYH,QAAQ,sBAAsB,MAAoC;AAChE,SAAO,IAAI,SAAS,EAClB,UAAU,KAAK,UAChB,CAAC;;CAGJ,YAAY,EACV,QACA,YAIC;OAvGK,UAA4B;AAwGlC,OAAK,UAAU,UAAU;AACzB,OAAK,WAAW;;;;;;;CAQlB,aAAa,KACX,QAGA;AACA;EACA,MAAM,cAAc,MAAM,eAAe,OAAO;AAMhD,SALe,IAAI,UAAU;GAC3B,QAAQ,YAAY;GACpB,OAAO,YAAY;GACnB,OAAO,QAAQ;GAChB,CAAC,CACY,cAAc;GAC1B,GAAG;GACH,GAAG;GACJ,CAAC;;;;;;;;CASJ,aAAa,IACX,QACmB;AACnB;EACA,MAAM,cAAc,MAAM,eAAe,OAAO;EAChD,MAAM,SAAS,IAAI,UAAU;GAC3B,QAAQ,YAAY;GACpB,OAAO,YAAY;GACpB,CAAC;AAOF,SAAO,IAAI,SAAS;GAClB;GACA,WAPc,MAAM,OAAO,YAAY;IACvC,YAAY,OAAO;IACnB,QAAQ,OAAO;IAChB,CAAC,EAIkB,KAAK;GACxB,CAAC;;;;;;;;;CAUJ,MAAM,OAAO,MAAgD;AAC3D;AAOA,OAAK,YALY,OADF,MAAM,KAAK,cAAc,EACV,eAAe;GAC3C,YAAY,KAAK,SAAS;GAC1B,QAAQ,MAAM;GACf,CAAC,EAEuB,KAAK"}
package/dist/version.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  //#region src/version.ts
3
- const VERSION = "1.9.3";
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.9.3\";\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.9.3";
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.9.3\";\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.9.3",
3
+ "version": "1.10.1",
4
4
  "description": "Software Development Kit for Vercel Sandbox",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",