@vercel/build-utils 5.0.0 → 5.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.
@@ -26,5 +26,12 @@ export declare class EdgeFunction {
26
26
  * assigned to the edge function.
27
27
  */
28
28
  envVarsInUse?: string[];
29
+ /**
30
+ * Extra binary files to be included in the edge function
31
+ */
32
+ assets?: {
33
+ name: string;
34
+ path: string;
35
+ }[];
29
36
  constructor(params: Omit<EdgeFunction, 'type'>);
30
37
  }
@@ -12,6 +12,7 @@ class EdgeFunction {
12
12
  this.entrypoint = params.entrypoint;
13
13
  this.files = params.files;
14
14
  this.envVarsInUse = params.envVarsInUse;
15
+ this.assets = params.assets;
15
16
  }
16
17
  }
17
18
  exports.EdgeFunction = EdgeFunction;
package/dist/index.js CHANGED
@@ -27935,6 +27935,7 @@ class EdgeFunction {
27935
27935
  this.entrypoint = params.entrypoint;
27936
27936
  this.files = params.files;
27937
27937
  this.envVarsInUse = params.envVarsInUse;
27938
+ this.assets = params.assets;
27938
27939
  }
27939
27940
  }
27940
27941
  exports.EdgeFunction = EdgeFunction;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "5.0.0",
3
+ "version": "5.0.2",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",
@@ -49,5 +49,5 @@
49
49
  "typescript": "4.3.4",
50
50
  "yazl": "2.5.1"
51
51
  },
52
- "gitHead": "621b53bc49a1ac4aaf6ab986f9bbbdd517af01f5"
52
+ "gitHead": "d2f8d178f77e15cb490cce73f5766537d892f763"
53
53
  }