@netlify/config 25.2.6 → 25.2.7

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.
@@ -61,5 +61,5 @@ type GetExtensionsOptions = {
61
61
  extensionApiBaseUrl: string;
62
62
  mode: ModeOption;
63
63
  };
64
- export declare const getExtensions: ({ siteId, accountId, testOpts, offline, token, featureFlags, extensionApiBaseUrl, mode, }: GetExtensionsOptions) => Promise<Extension[]>;
64
+ export declare const getExtensions: ({ siteId, accountId, testOpts, offline, token, extensionApiBaseUrl, mode, }: GetExtensionsOptions) => Promise<Extension[]>;
65
65
  export {};
@@ -99,11 +99,10 @@ const ExtensionResponseSchema = z.array(z.object({
99
99
  // Returned by API, but unused. Leaving this here for the sake of documentation.
100
100
  // has_connector: z.boolean(),
101
101
  }));
102
- export const getExtensions = async function ({ siteId, accountId, testOpts, offline, token, featureFlags, extensionApiBaseUrl, mode, }) {
102
+ export const getExtensions = async function ({ siteId, accountId, testOpts, offline, token, extensionApiBaseUrl, mode, }) {
103
103
  if (!siteId || offline) {
104
104
  return [];
105
105
  }
106
- const sendBuildBotTokenToJigsaw = featureFlags?.send_build_bot_token_to_jigsaw;
107
106
  const { host: originalHost, setBaseUrl } = testOpts;
108
107
  // TODO(kh): I am adding this purely for local staging development.
109
108
  // We should remove this once we have fixed https://github.com/netlify/cli/blob/b5a5c7525edd28925c5c2e3e5f0f00c4261eaba5/src/lib/build.ts#L125
@@ -135,7 +134,7 @@ export const getExtensions = async function ({ siteId, accountId, testOpts, offl
135
134
  'Netlify-Config-Mode': mode,
136
135
  'User-Agent': `Netlify Config (mode:${mode}) / ${ROOT_PACKAGE_JSON.version}`,
137
136
  });
138
- if (sendBuildBotTokenToJigsaw && token) {
137
+ if (token) {
139
138
  headers.set('Netlify-SDK-Build-Bot-Token', token);
140
139
  }
141
140
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/config",
3
- "version": "25.2.6",
3
+ "version": "25.2.7",
4
4
  "description": "Netlify config module",
5
5
  "type": "module",
6
6
  "exports": "./lib/index.js",
@@ -94,5 +94,5 @@
94
94
  "engines": {
95
95
  "node": ">=22.12.0"
96
96
  },
97
- "gitHead": "227492a17c9821682390f6b7554bd69dfa282d9e"
97
+ "gitHead": "288d53ba807d13535afdb605f49034e0a9a4082e"
98
98
  }