@vercel/functions 1.0.1 → 1.0.2

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.
Files changed (3) hide show
  1. package/index.d.ts +1 -1
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -14,4 +14,4 @@
14
14
  * }
15
15
  * ```
16
16
  */
17
- export const waitUntil: (promise: Promise<unknown>) => void;
17
+ export function waitUntil(promise: Promise<unknown>): void;
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /* global globalThis */
2
2
 
3
- export const waitUntil = promise => {
3
+ exports.waitUntil = promise => {
4
4
  if (
5
5
  promise === null ||
6
6
  typeof promise !== 'object' ||
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@vercel/functions",
3
3
  "description": "Runtime functions to be used with your Vercel Functions",
4
4
  "homepage": "https://vercel.com",
5
- "version": "1.0.1",
5
+ "version": "1.0.2",
6
6
  "types": "index.d.ts",
7
7
  "main": "index.js",
8
8
  "repository": {