@jsforce/jsforce-node 3.3.4 → 3.4.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/VERSION.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "3.3.4";
1
+ declare const _default: "3.4.0";
2
2
  export default _default;
package/lib/VERSION.js CHANGED
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = '3.3.4';
3
+ exports.default = '3.4.0';
@@ -9,7 +9,7 @@ import { EventEmitter } from 'events';
9
9
  import { Readable } from 'stream';
10
10
  import Connection from '../connection';
11
11
  import { Schema, SoapSchemaDef, SoapSchema } from '../types';
12
- import { Metadata, SaveResult, UpsertResult, ListMetadataQuery, FileProperties, DescribeMetadataResult, RetrieveRequest, DeployOptions, RetrieveResult, DeployResult, AsyncResult, ApiSchemaTypes } from './metadata/schema';
12
+ import { Metadata, SaveResult, UpsertResult, ListMetadataQuery, FileProperties, DescribeMetadataResult, RetrieveRequest, DeployOptions, RetrieveResult, DeployResult, AsyncResult, ApiSchemaTypes, CancelDeployResult } from './metadata/schema';
13
13
  export * from './metadata/schema';
14
14
  /**
15
15
  *
@@ -124,6 +124,7 @@ export declare class MetadataApi<S extends Schema> {
124
124
  * Checks the status of declarative metadata call deploy()
125
125
  */
126
126
  checkDeployStatus(asyncProcessId: string, includeDetails?: boolean): Promise<DeployResult>;
127
+ cancelDeploy(id: string): Promise<CancelDeployResult>;
127
128
  }
128
129
  /**
129
130
  * The locator class for Metadata API asynchronous call result
@@ -262,6 +262,9 @@ class MetadataApi {
262
262
  includeDetails,
263
263
  }, schema_1.ApiSchemas.DeployResult);
264
264
  }
265
+ async cancelDeploy(id) {
266
+ return this._invoke('cancelDeploy', { id });
267
+ }
265
268
  }
266
269
  exports.MetadataApi = MetadataApi;
267
270
  /*--------------------------------------------*/
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "database.com"
11
11
  ],
12
12
  "homepage": "http://github.com/jsforce/jsforce",
13
- "version": "3.3.4",
13
+ "version": "3.4.0",
14
14
  "repository": {
15
15
  "type": "git",
16
16
  "url": "git://github.com/jsforce/jsforce.git"