@vercel/sandbox@3.0.1
·
8 commits
to main
since this release
Patch Changes
-
Surface the server's error message in
APIError.message. Failed API requests previously reported onlyStatus code 400 is not ok, hiding the actionable detail (e.g.Invalid request: `ports` should NOT have more than 15 items.) inerror.json. The message now includes it directly. (#291) -
Correct the
portsoption JSDoc: the limit is 15 ports (matching the docs and API validation), not 4. (#292) -
Correct the
resumeoption JSDoc onSandbox.getandSandbox.getOrCreate: the default isfalse(the client omits the param and the API defaults to not resuming), nottrue. A stopped persistent sandbox still auto-resumes on the first SDK call that needs a running session. (#293)