@vercel/sandbox 1.1.8 → 1.2.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/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-test.log +14 -14
- package/.turbo/turbo-typecheck.log +1 -1
- package/CHANGELOG.md +20 -0
- package/dist/api-client/api-client.d.ts +18 -13
- package/dist/api-client/api-client.js +39 -0
- package/dist/api-client/api-client.js.map +1 -1
- package/dist/api-client/validators.d.ts +1 -0
- package/dist/api-client/validators.js.map +1 -1
- package/dist/command.d.ts +0 -1
- package/dist/command.js +5 -10
- package/dist/command.js.map +1 -1
- package/dist/sandbox.d.ts +46 -6
- package/dist/sandbox.js +132 -24
- package/dist/sandbox.js.map +1 -1
- package/dist/utils/get-credentials.js +2 -1
- package/dist/utils/get-credentials.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/src/api-client/api-client.test.ts +52 -0
- package/src/api-client/api-client.ts +73 -1
- package/src/api-client/validators.ts +2 -0
- package/src/command.ts +6 -13
- package/src/sandbox.test.ts +79 -1
- package/src/sandbox.ts +152 -26
- package/src/utils/get-credentials.ts +2 -1
- package/src/version.ts +1 -1
|
@@ -34,6 +34,7 @@ export class LocalOidcContextError extends Error {
|
|
|
34
34
|
"Please link your Vercel project using `npx vercel link`.",
|
|
35
35
|
"Then, pull an initial OIDC token with `npx vercel env pull`",
|
|
36
36
|
"and retry.",
|
|
37
|
+
"╰▶ Make sure you are loading `.env.local` correctly, or passing $VERCEL_OIDC_TOKEN directly."
|
|
37
38
|
].join("\n");
|
|
38
39
|
super(message, { cause });
|
|
39
40
|
}
|
|
@@ -49,7 +50,7 @@ export class VercelOidcContextError extends Error {
|
|
|
49
50
|
const message = [
|
|
50
51
|
"Could not get credentials from OIDC context.",
|
|
51
52
|
"Please make sure OIDC is set up for your project",
|
|
52
|
-
"
|
|
53
|
+
"╰▶ Docs: https://vercel.com/docs/oidc",
|
|
53
54
|
].join("\n");
|
|
54
55
|
super(message, { cause });
|
|
55
56
|
}
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Autogenerated by inject-version.ts
|
|
2
|
-
export const VERSION = "1.
|
|
2
|
+
export const VERSION = "1.2.0";
|