@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.esm2017.mjs
CHANGED
|
@@ -205,7 +205,7 @@ class Utils {
|
|
|
205
205
|
return Object.keys((bodyObject === null || bodyObject === void 0 ? void 0 : bodyObject.content) || {}).length > 1;
|
|
206
206
|
}
|
|
207
207
|
static isBearerTokenAuth(authScheme) {
|
|
208
|
-
return authScheme.type === "http" && authScheme.scheme === "bearer";
|
|
208
|
+
return authScheme.type === "http" && authScheme.scheme.toLowerCase() === "bearer";
|
|
209
209
|
}
|
|
210
210
|
static isAPIKeyAuth(authScheme) {
|
|
211
211
|
return authScheme.type === "apiKey";
|