@vercel/sandbox 1.2.1 → 1.3.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/README.md +5 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/utils/get-credentials.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Vercel Sandbox allows you to run arbitrary code in isolated, ephemeral Linux
|
|
2
2
|
VMs. This product is in [beta](https://vercel.com/docs/release-phases#beta).
|
|
3
3
|
|
|
4
|
+
## Packages
|
|
5
|
+
|
|
6
|
+
- [`@vercel/sandbox`](https://www.npmjs.com/package/@vercel/sandbox) (this package) - The SDK for programmatic access to Vercel Sandbox.
|
|
7
|
+
- [`sandbox`](https://www.npmjs.com/package/sandbox) - The CLI for interacting with Vercel Sandbox from the command line.
|
|
8
|
+
|
|
4
9
|
## What is a sandbox?
|
|
5
10
|
|
|
6
11
|
A sandbox is an isolated Linux system for your experimentation and use.
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StreamError = exports.CommandFinished = exports.Command = exports.Snapshot = exports.Sandbox = void 0;
|
|
3
|
+
exports.APIError = exports.StreamError = exports.CommandFinished = exports.Command = exports.Snapshot = exports.Sandbox = void 0;
|
|
4
4
|
var sandbox_1 = require("./sandbox");
|
|
5
5
|
Object.defineProperty(exports, "Sandbox", { enumerable: true, get: function () { return sandbox_1.Sandbox; } });
|
|
6
6
|
var snapshot_1 = require("./snapshot");
|
|
@@ -10,4 +10,6 @@ Object.defineProperty(exports, "Command", { enumerable: true, get: function () {
|
|
|
10
10
|
Object.defineProperty(exports, "CommandFinished", { enumerable: true, get: function () { return command_1.CommandFinished; } });
|
|
11
11
|
var api_error_1 = require("./api-client/api-error");
|
|
12
12
|
Object.defineProperty(exports, "StreamError", { enumerable: true, get: function () { return api_error_1.StreamError; } });
|
|
13
|
+
var api_error_2 = require("./api-client/api-error");
|
|
14
|
+
Object.defineProperty(exports, "APIError", { enumerable: true, get: function () { return api_error_2.APIError; } });
|
|
13
15
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,qCAAqD;AAA5C,kGAAA,OAAO,OAAA;AAAE,0GAAA,eAAe,OAAA;AACjC,oDAAqD;AAA5C,wGAAA,WAAW,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,qCAAqD;AAA5C,kGAAA,OAAO,OAAA;AAAE,0GAAA,eAAe,OAAA;AACjC,oDAAqD;AAA5C,wGAAA,WAAW,OAAA;AACpB,oDAAkD;AAAzC,qGAAA,QAAQ,OAAA"}
|
|
@@ -17,7 +17,7 @@ class LocalOidcContextError extends Error {
|
|
|
17
17
|
"Please link your Vercel project using `npx vercel link`.",
|
|
18
18
|
"Then, pull an initial OIDC token with `npx vercel env pull`",
|
|
19
19
|
"and retry.",
|
|
20
|
-
"╰▶ Make sure you are loading `.env.local` correctly, or passing $VERCEL_OIDC_TOKEN directly."
|
|
20
|
+
"╰▶ Make sure you are loading `.env.local` correctly, or passing $VERCEL_OIDC_TOKEN directly.",
|
|
21
21
|
].join("\n");
|
|
22
22
|
super(message, { cause });
|
|
23
23
|
this.name = "LocalOidcContextError";
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.3.0";
|
package/dist/version.js
CHANGED