openid-client 6.1.0 → 6.1.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 CHANGED
@@ -57,7 +57,7 @@ import * as client from 'openid-client'
57
57
  - JWT Secured Authorization Request (JAR) - [source](examples/jar.ts) | [diff](examples/jar.diff)
58
58
  - JWT Secured Authorization Response Mode (JARM) - [source](examples/jarm.ts) | [diff](examples/jarm.diff)
59
59
  - Pushed Authorization Request (PAR) - [source](examples/par.ts) | [diff](examples/par.diff)
60
- - Passport Strategy - [source](passport.ts)
60
+ - Passport Strategy - [source](examples/passport.ts)
61
61
 
62
62
  ## Quick start
63
63
 
package/build/index.js CHANGED
@@ -5,7 +5,7 @@ let headers;
5
5
  let USER_AGENT;
6
6
  if (typeof navigator === 'undefined' || !navigator.userAgent?.startsWith?.('Mozilla/5.0 ')) {
7
7
  const NAME = 'openid-client';
8
- const VERSION = 'v6.1.0';
8
+ const VERSION = 'v6.1.1';
9
9
  USER_AGENT = `${NAME}/${VERSION}`;
10
10
  headers = { 'user-agent': USER_AGENT };
11
11
  }
@@ -341,7 +341,7 @@ function getServerHelpers(metadata) {
341
341
  supportsPKCE: {
342
342
  __proto__: null,
343
343
  value(method = 'S256') {
344
- return (metadata.code_challenge_methods_supported?.includes(method) !== true);
344
+ return (metadata.code_challenge_methods_supported?.includes(method) === true);
345
345
  },
346
346
  },
347
347
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openid-client",
3
- "version": "6.1.0",
3
+ "version": "6.1.1",
4
4
  "description": "OAuth 2 / OpenID Connect Client API for JavaScript Runtimes",
5
5
  "keywords": [
6
6
  "access token",