@jacebenson/jsn 5.5.6-dev.205.1 → 5.5.6-dev.206.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/auth.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jacebenson/jsn",
3
- "version": "5.5.6-dev.205.1",
3
+ "version": "5.5.6-dev.206.1",
4
4
  "description": "A command-line interface for ServiceNow that follows the Unix philosophy: simple, composable, and scriptable.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/auth.js CHANGED
@@ -403,6 +403,7 @@ export class AuthManager {
403
403
  */
404
404
  buildAuthURL(instanceURL, waitFile, username = this._activeUsername()) {
405
405
  instanceURL = normalizeInstanceURL(instanceURL);
406
+ assertCredentialTransport(instanceURL);
406
407
  const clientID = getOAuthClientID();
407
408
  const pkce = generatePKCE();
408
409
  savePKCEState(instanceURL, pkce, username);