@salesforce/core 8.24.1-dev.0 → 8.24.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.
- package/lib/org/org.d.ts +1 -1
- package/lib/org/org.js +4 -0
- package/package.json +2 -2
package/lib/org/org.d.ts
CHANGED
package/lib/org/org.js
CHANGED
|
@@ -264,6 +264,10 @@ class Org extends kit_1.AsyncOptionalCreatable {
|
|
|
264
264
|
interval: kit_1.Duration.seconds(30),
|
|
265
265
|
}) {
|
|
266
266
|
this.logger.debug(sandboxReq, 'CreateSandbox called with SandboxRequest');
|
|
267
|
+
// The tooling create API expects a string, not an array, so convert.
|
|
268
|
+
if (sandboxReq.Features && Array.isArray(sandboxReq.Features)) {
|
|
269
|
+
sandboxReq.Features = JSON.stringify(sandboxReq.Features);
|
|
270
|
+
}
|
|
267
271
|
const createResult = await this.connection.tooling.create('SandboxInfo', sandboxReq);
|
|
268
272
|
this.logger.debug(createResult, 'Return from calling tooling.create');
|
|
269
273
|
if (Array.isArray(createResult) || !createResult.success) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/core",
|
|
3
|
-
"version": "8.24.1
|
|
3
|
+
"version": "8.24.1",
|
|
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",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"messageTransformer/messageTransformer.ts"
|
|
62
62
|
],
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@jsforce/jsforce-node": "^3.10.
|
|
64
|
+
"@jsforce/jsforce-node": "^3.10.10",
|
|
65
65
|
"@salesforce/kit": "^3.2.4",
|
|
66
66
|
"@salesforce/ts-types": "^2.0.12",
|
|
67
67
|
"ajv": "^8.17.1",
|