@salesforce/core
Advanced tools
Comparing version 0.21.1 to 0.22.0
@@ -261,3 +261,3 @@ "use strict"; | ||
} | ||
const authInfo = new AuthInfo(username); | ||
const authInfo = new AuthInfo(username || kit_1.get(options, 'username')); | ||
// If the username is an access token, use that for auth and don't persist | ||
@@ -264,0 +264,0 @@ const accessTokenMatch = ts_types_1.isString(username) && username.match(/^(00D\w{12,15})![\.\w]*$/); |
@@ -170,7 +170,6 @@ /// <reference types="node" /> | ||
* const org: Org = await Org.create(this.org.name); | ||
* const options: StreamingOptions<string> = | ||
* new DefaultStreamingOptions(org, TOPIC, this.streamProcessor); | ||
* const options = new DefaultStreamingOptions(org, TOPIC, this.streamProcessor.bind(this)); | ||
* | ||
* try { | ||
* const asyncStatusClient: StreamingClient<string> = await StreamingClient.init(options); | ||
* const asyncStatusClient = await StreamingClient.init(options); | ||
* | ||
@@ -177,0 +176,0 @@ * await asyncStatusClient.handshake(); |
@@ -153,7 +153,6 @@ "use strict"; | ||
* const org: Org = await Org.create(this.org.name); | ||
* const options: StreamingOptions<string> = | ||
* new DefaultStreamingOptions(org, TOPIC, this.streamProcessor); | ||
* const options = new DefaultStreamingOptions(org, TOPIC, this.streamProcessor.bind(this)); | ||
* | ||
* try { | ||
* const asyncStatusClient: StreamingClient<string> = await StreamingClient.init(options); | ||
* const asyncStatusClient = await StreamingClient.init(options); | ||
* | ||
@@ -160,0 +159,0 @@ * await asyncStatusClient.handshake(); |
{ | ||
"name": "@salesforce/core", | ||
"version": "0.21.1", | ||
"version": "0.22.0", | ||
"description": "Core libraries to interact with SFDX projects, orgs, and APIs.", | ||
@@ -5,0 +5,0 @@ "main": "lib/exported", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2644947
11428