Repository navigation
vercel-api-js@2.9.0
·
189 commits
to main
since this release
Minor Changes
- e278b2c: Send a body with the container registry uploads, whose spec describes it only in prose: the chunk upload (
PATCH /v2/{teamSlug}/{projectSlug}/{repositoryName}/blobs/uploads/{uuid}) takes the bytes asapplication/octet-stream, the upload completion (PUTon the same path) an optional last chunk, and the manifest push (PUT .../manifests/{reference}) the manifest asapplication/vnd.oci.image.manifest.v1+json. Before, the generated operations had nobodyand sent none. - e278b2c: Add an
onResponsecall option that gets the status and headers of each response before its body is read, and export itsResponseInfotype. A call resolves to the parsed body only, so headers such as theLocationof a container registry upload could not be read before.