@salesforce/core-bundle 8.6.4 → 8.7.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/lib/index.js +7 -7
- package/package.json +1 -1
package/lib/index.js
CHANGED
@@ -12328,7 +12328,7 @@ var require_package2 = __commonJS({
|
|
12328
12328
|
"package.json"(exports2, module2) {
|
12329
12329
|
module2.exports = {
|
12330
12330
|
name: "@salesforce/core-bundle",
|
12331
|
-
version: "8.
|
12331
|
+
version: "8.7.0",
|
12332
12332
|
description: "Core libraries to interact with SFDX projects, orgs, and APIs.",
|
12333
12333
|
main: "lib/index",
|
12334
12334
|
types: "lib/index.d.ts",
|
@@ -83807,24 +83807,24 @@ var require_myDomainResolver = __commonJS({
|
|
83807
83807
|
const self2 = this;
|
83808
83808
|
const pollingOptions = {
|
83809
83809
|
async poll() {
|
83810
|
-
const {
|
83810
|
+
const { hostname } = self2.options.url;
|
83811
83811
|
let dnsResult;
|
83812
83812
|
try {
|
83813
|
-
self2.logger.debug(`Attempting to resolve url: ${
|
83813
|
+
self2.logger.debug(`Attempting to resolve url: ${hostname}`);
|
83814
83814
|
if (new sfdcUrl_12.SfdcUrl(self2.options.url).isLocalUrl()) {
|
83815
83815
|
return {
|
83816
83816
|
completed: true,
|
83817
83817
|
payload: "127.0.0.1"
|
83818
83818
|
};
|
83819
83819
|
}
|
83820
|
-
dnsResult = await (0, node_util_1.promisify)(node_dns_1.lookup)(
|
83821
|
-
self2.logger.debug(`Successfully resolved host: ${
|
83820
|
+
dnsResult = await (0, node_util_1.promisify)(node_dns_1.lookup)(hostname);
|
83821
|
+
self2.logger.debug(`Successfully resolved host: ${hostname} result: ${JSON.stringify(dnsResult)}`);
|
83822
83822
|
return {
|
83823
83823
|
completed: true,
|
83824
83824
|
payload: dnsResult.address
|
83825
83825
|
};
|
83826
83826
|
} catch (e) {
|
83827
|
-
self2.logger.debug(`An error occurred trying to resolve: ${
|
83827
|
+
self2.logger.debug(`An error occurred trying to resolve: ${hostname}`);
|
83828
83828
|
self2.logger.debug(`Error: ${e.message}`);
|
83829
83829
|
self2.logger.debug("Re-trying dns lookup again....");
|
83830
83830
|
return {
|
@@ -83973,7 +83973,7 @@ var require_sfdcUrl = __commonJS({
|
|
83973
83973
|
".stm.salesforce.ms",
|
83974
83974
|
".pc-rnd.force.com",
|
83975
83975
|
".pc-rnd.salesforce.com",
|
83976
|
-
".
|
83976
|
+
".crm.dev"
|
83977
83977
|
// workspaces container
|
83978
83978
|
];
|
83979
83979
|
return this.origin.startsWith("https://gs1.") || this.isLocalUrl() || INTERNAL_URL_PARTS.some((part) => this.origin.includes(part));
|