@sylphx/sdk 0.7.0 → 0.8.0-rc.1
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/README.md +25 -0
- package/dist/health/index.js +521 -0
- package/dist/health/index.js.map +1 -0
- package/dist/health/index.mjs +485 -0
- package/dist/health/index.mjs.map +1 -0
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/dist/nextjs/index.js.map +1 -1
- package/dist/nextjs/index.mjs.map +1 -1
- package/dist/react/index.js +7 -7
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +7 -7
- package/dist/react/index.mjs.map +1 -1
- package/dist/server/index.js +2 -2
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/index.mjs.map +1 -1
- package/package.json +12 -2
package/dist/server/index.mjs
CHANGED
|
@@ -3164,8 +3164,8 @@ async function fetchOAuthProviders(options) {
|
|
|
3164
3164
|
const baseURL = (options.platformUrl ?? `https://${DEFAULT_SDK_API_HOST}`).trim();
|
|
3165
3165
|
const appId = validateAndSanitizeAppId(options.appId);
|
|
3166
3166
|
return cachedFetch({
|
|
3167
|
-
url: `${baseURL}/
|
|
3168
|
-
headers: { "
|
|
3167
|
+
url: `${baseURL}${SDK_API_PATH}/auth/oauth-providers`,
|
|
3168
|
+
headers: { "x-app-secret": appId },
|
|
3169
3169
|
fallback: { providers: [] },
|
|
3170
3170
|
label: "OAuth providers"
|
|
3171
3171
|
});
|