Socket
Socket
Sign inDemoInstall

@salesforce/core

Package Overview
Dependencies
Maintainers
25
Versions
499
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salesforce/core - npm Package Compare versions

Comparing version 0.21.1 to 0.22.0

docs/@salesforce/core/0.22.0/Aliases.html

2

lib/authInfo.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc