[node-bridge][build-utils] Add multi payload lambda handling in node-bridge (#7507)

### Related Issues

x-ref: https://github.com/vercel/next.js/pull/34935

### 📋 Checklist

<!--
  Please keep your PR as a Draft until the checklist is complete
-->

#### Tests

- [ ] The code changed/added as part of this PR has been covered with tests
- [ ] All tests pass locally with `yarn test-unit`

#### Code Review

- [ ] This PR has a concise title and thorough description useful to a reviewer
- [ ] Issue from task tracker has a link to this PR
This commit is contained in:
JJ Kasper
2022-03-06 00:57:45 -08:00
committed by GitHub
parent 1e54d606d7
commit 6b2a1c3866
4 changed files with 187 additions and 13 deletions

View File

@@ -16,6 +16,7 @@ export interface VercelProxyRequest {
path: string;
headers: IncomingHttpHeaders;
body: Buffer;
payloads?: Array<VercelProxyRequest>;
}
export interface VercelProxyResponse {
statusCode: number;