@netlify/config 20.17.1 → 20.18.0
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.
- package/lib/api/site_info.js +2 -1
- package/package.json +2 -2
package/lib/api/site_info.js
CHANGED
|
@@ -92,8 +92,9 @@ const getIntegrations = async function ({ siteId, accountId, testOpts, offline,
|
|
|
92
92
|
}
|
|
93
93
|
const { host } = testOpts;
|
|
94
94
|
const baseUrl = new URL(host ? `http://${host}` : `https://api.netlifysdk.com`);
|
|
95
|
+
// use future state feature flag
|
|
95
96
|
const url = useV2Endpoint
|
|
96
|
-
? `${baseUrl}team/${accountId}/integrations/installations/meta
|
|
97
|
+
? `${baseUrl}team/${accountId}/integrations/installations/meta/${siteId}`
|
|
97
98
|
: `${baseUrl}site/${siteId}/integrations/safe`;
|
|
98
99
|
try {
|
|
99
100
|
const response = await fetch(url);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/config",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.18.0",
|
|
4
4
|
"description": "Netlify config module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./lib/index.js",
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
"engines": {
|
|
96
96
|
"node": "^14.16.0 || >=16.0.0"
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "507a010535ba4028153a755b397501109fa872c9"
|
|
99
99
|
}
|