@vercel/backends 0.0.12 → 0.0.13

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 (2) hide show
  1. package/dist/index.mjs +4 -2
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -53304,7 +53304,7 @@ var require_dist$1 = /* @__PURE__ */ __commonJS$1({ "../build-utils/dist/index.j
53304
53304
  }
53305
53305
  var Lambda = class {
53306
53306
  constructor(opts) {
53307
- const { handler, runtime, runtimeLanguage, maxDuration, architecture, memory, environment = {}, allowQuery, regions, supportsMultiPayloads, supportsWrapper, supportsResponseStreaming, experimentalResponseStreaming, operationType, framework, experimentalTriggers, supportsCancellation } = opts;
53307
+ const { handler, runtime, runtimeLanguage, maxDuration, architecture, memory, environment = {}, allowQuery, regions, supportsMultiPayloads, supportsWrapper, supportsResponseStreaming, experimentalResponseStreaming, operationType, framework, experimentalTriggers, supportsCancellation, shouldDisableAutomaticFetchInstrumentation } = opts;
53308
53308
  if ("files" in opts) (0, import_assert4.default)(typeof opts.files === "object", "\"files\" must be an object");
53309
53309
  if ("zipBuffer" in opts) (0, import_assert4.default)(Buffer.isBuffer(opts.zipBuffer), "\"zipBuffer\" must be a Buffer");
53310
53310
  (0, import_assert4.default)(typeof handler === "string", "\"handler\" is not a string");
@@ -53376,6 +53376,7 @@ var require_dist$1 = /* @__PURE__ */ __commonJS$1({ "../build-utils/dist/index.j
53376
53376
  this.experimentalAllowBundling = "experimentalAllowBundling" in opts ? opts.experimentalAllowBundling : void 0;
53377
53377
  this.experimentalTriggers = experimentalTriggers;
53378
53378
  this.supportsCancellation = supportsCancellation;
53379
+ this.shouldDisableAutomaticFetchInstrumentation = shouldDisableAutomaticFetchInstrumentation;
53379
53380
  }
53380
53381
  async createZip() {
53381
53382
  let { zipBuffer } = this;
@@ -55169,7 +55170,8 @@ const build = async (args) => {
55169
55170
  slug: framework?.slug ?? "",
55170
55171
  version: framework?.version ?? ""
55171
55172
  },
55172
- awsLambdaHandler: ""
55173
+ awsLambdaHandler: "",
55174
+ shouldDisableAutomaticFetchInstrumentation: process.env.VERCEL_TRACING_DISABLE_AUTOMATIC_FETCH_INSTRUMENTATION === "1"
55173
55175
  });
55174
55176
  const output = { index: lambda };
55175
55177
  for (const route of routes) if (route.dest) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/backends",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.mjs",
6
6
  "homepage": "https://vercel.com/docs",
@@ -33,7 +33,7 @@
33
33
  "@types/fs-extra": "11",
34
34
  "@types/jest": "27.5.1",
35
35
  "@types/node": "22",
36
- "@vercel/build-utils": "13.2.0",
36
+ "@vercel/build-utils": "13.2.1",
37
37
  "execa": "3.2.0",
38
38
  "hono": "4.10.1",
39
39
  "jest-junit": "16.0.0",