@salesforce/core-bundle 8.8.6 → 8.8.7
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 +17 -15
- package/package.json +2 -2
package/lib/index.js
CHANGED
@@ -12310,7 +12310,7 @@ var require_package2 = __commonJS({
|
|
12310
12310
|
"package.json"(exports2, module2) {
|
12311
12311
|
module2.exports = {
|
12312
12312
|
name: "@salesforce/core-bundle",
|
12313
|
-
version: "8.8.
|
12313
|
+
version: "8.8.7",
|
12314
12314
|
description: "Core libraries to interact with SFDX projects, orgs, and APIs.",
|
12315
12315
|
main: "lib/index",
|
12316
12316
|
types: "lib/index.d.ts",
|
@@ -12347,7 +12347,7 @@ var require_package2 = __commonJS({
|
|
12347
12347
|
"messageTransformer/messageTransformer.ts"
|
12348
12348
|
],
|
12349
12349
|
dependencies: {
|
12350
|
-
"@jsforce/jsforce-node": "^3.
|
12350
|
+
"@jsforce/jsforce-node": "^3.7.0",
|
12351
12351
|
"@salesforce/kit": "^3.2.2",
|
12352
12352
|
"@salesforce/schemas": "^1.9.0",
|
12353
12353
|
"@salesforce/ts-types": "^2.0.10",
|
@@ -32593,9 +32593,7 @@ var require_request = __commonJS({
|
|
32593
32593
|
if (resOrErr instanceof node_fetch_1.Response) {
|
32594
32594
|
if (retryOpts.statusCodes.includes(resOrErr.status)) {
|
32595
32595
|
if (maxRetry === retryCount) {
|
32596
|
-
|
32597
|
-
err.name = "RequestRetryError";
|
32598
|
-
throw err;
|
32596
|
+
return false;
|
32599
32597
|
} else {
|
32600
32598
|
return true;
|
32601
32599
|
}
|
@@ -32650,9 +32648,7 @@ var require_request = __commonJS({
|
|
32650
32648
|
}
|
32651
32649
|
logger.debug("Skipping retry...");
|
32652
32650
|
if (maxRetry === retryCount) {
|
32653
|
-
|
32654
|
-
error2.name = "RequestRetryError";
|
32655
|
-
throw error2;
|
32651
|
+
throw err;
|
32656
32652
|
} else {
|
32657
32653
|
throw err;
|
32658
32654
|
}
|
@@ -33030,7 +33026,7 @@ var require_VERSION = __commonJS({
|
|
33030
33026
|
"node_modules/@jsforce/jsforce-node/lib/VERSION.js"(exports2) {
|
33031
33027
|
"use strict";
|
33032
33028
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
33033
|
-
exports2.default = "3.
|
33029
|
+
exports2.default = "3.7.0";
|
33034
33030
|
}
|
33035
33031
|
});
|
33036
33032
|
|
@@ -61493,13 +61489,19 @@ var require_metadata = __commonJS({
|
|
61493
61489
|
return new DeployResultLocator(this, res);
|
61494
61490
|
}
|
61495
61491
|
/**
|
61496
|
-
* Checks the status of declarative metadata call deploy()
|
61492
|
+
* Checks the status of declarative metadata call deploy(), using either
|
61493
|
+
* SOAP or REST APIs. SOAP is the default.
|
61497
61494
|
*/
|
61498
|
-
checkDeployStatus(asyncProcessId, includeDetails = false) {
|
61499
|
-
|
61500
|
-
asyncProcessId
|
61501
|
-
|
61502
|
-
}
|
61495
|
+
async checkDeployStatus(asyncProcessId, includeDetails = false, rest = false) {
|
61496
|
+
if (rest) {
|
61497
|
+
const url = `/metadata/deployRequest/${asyncProcessId}${includeDetails ? "?includeDetails=true" : ""}`;
|
61498
|
+
return (await this._conn.requestGet(url)).deployResult;
|
61499
|
+
} else {
|
61500
|
+
return this._invoke("checkDeployStatus", {
|
61501
|
+
asyncProcessId,
|
61502
|
+
includeDetails
|
61503
|
+
}, schema_1.ApiSchemas.DeployResult);
|
61504
|
+
}
|
61503
61505
|
}
|
61504
61506
|
async cancelDeploy(id) {
|
61505
61507
|
return this._invoke("cancelDeploy", { id });
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salesforce/core-bundle",
|
3
|
-
"version": "8.8.
|
3
|
+
"version": "8.8.7",
|
4
4
|
"description": "Core libraries to interact with SFDX projects, orgs, and APIs.",
|
5
5
|
"main": "lib/index",
|
6
6
|
"types": "lib/index.d.ts",
|
@@ -37,7 +37,7 @@
|
|
37
37
|
"messageTransformer/messageTransformer.ts"
|
38
38
|
],
|
39
39
|
"dependencies": {
|
40
|
-
"@jsforce/jsforce-node": "^3.
|
40
|
+
"@jsforce/jsforce-node": "^3.7.0",
|
41
41
|
"@salesforce/kit": "^3.2.2",
|
42
42
|
"@salesforce/schemas": "^1.9.0",
|
43
43
|
"@salesforce/ts-types": "^2.0.10",
|