@microsoft/m365-spec-parser 0.2.6 → 0.2.7-alpha.2e9f0b9ef.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/dist/index.esm2017.js +1 -1
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm2017.mjs +1 -1
- package/dist/index.esm2017.mjs.map +1 -1
- package/dist/index.esm5.js +1 -1
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +1 -1
- package/dist/index.node.cjs.js.map +1 -1
- package/package.json +3 -3
package/dist/index.node.cjs.js
CHANGED
|
@@ -247,7 +247,7 @@ class Utils {
|
|
|
247
247
|
return Object.keys((bodyObject === null || bodyObject === void 0 ? void 0 : bodyObject.content) || {}).length > 1;
|
|
248
248
|
}
|
|
249
249
|
static isBearerTokenAuth(authScheme) {
|
|
250
|
-
return authScheme.type === "http" && authScheme.scheme === "bearer";
|
|
250
|
+
return authScheme.type === "http" && authScheme.scheme.toLowerCase() === "bearer";
|
|
251
251
|
}
|
|
252
252
|
static isAPIKeyAuth(authScheme) {
|
|
253
253
|
return authScheme.type === "apiKey";
|