@jsforce/jsforce-node 3.6.2 → 3.6.4

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.6.2";
1
+ declare const _default: "3.6.4";
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.6.2';
3
+ exports.default = '3.6.4';
package/lib/api/bulk.d.ts CHANGED
@@ -23,6 +23,23 @@ export type JobInfo = {
23
23
  object: string;
24
24
  operation: BulkOperation;
25
25
  state: JobState;
26
+ createdById: string;
27
+ createdDate: string;
28
+ systemModstamp: string;
29
+ concurrencyMode: string;
30
+ contentType: string;
31
+ numberBatchesQueued: string;
32
+ numberBatchesInProgress: string;
33
+ numberBatchesCompleted: string;
34
+ numberBatchesFailed: string;
35
+ numberBatchesTotal: string;
36
+ numberRecordsProcessed: string;
37
+ numberRetries: string;
38
+ apiVersion: string;
39
+ numberRecordsFailed: string;
40
+ totalProcessingTime: string;
41
+ apiActiveProcessingTime: string;
42
+ apexProcessingTime: string;
26
43
  };
27
44
  export type BatchState = 'Queued' | 'InProgress' | 'Completed' | 'Failed' | 'NotProcessed';
28
45
  export type BatchInfo = {
package/lib/csv.js CHANGED
@@ -5,11 +5,16 @@ const csv_parse_1 = require("csv-parse");
5
5
  const sync_1 = require("csv-parse/sync");
6
6
  const csv_stringify_1 = require("csv-stringify");
7
7
  const sync_2 = require("csv-stringify/sync");
8
+ // The following column delimiters are supported by the Bulk V2 API:
9
+ // https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/create_job.htm
10
+ //
11
+ // BACKQUOTE, CARET, COMMA, PIPE, SEMICOLON, TAB
12
+ const csvDelimiters = ['`', '^', ',', '|', ';', ' '];
8
13
  /**
9
14
  * @private
10
15
  */
11
16
  function parseCSV(str, options) {
12
- return (0, sync_1.parse)(str, { ...options, columns: true });
17
+ return (0, sync_1.parse)(str, { ...options, columns: true, delimiter: csvDelimiters });
13
18
  }
14
19
  exports.parseCSV = parseCSV;
15
20
  /**
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.6.2",
13
+ "version": "3.6.4",
14
14
  "repository": {
15
15
  "type": "git",
16
16
  "url": "git://github.com/jsforce/jsforce.git"
@@ -260,7 +260,7 @@
260
260
  "typedoc": "^0.25.1",
261
261
  "typescript": "^4.9.5",
262
262
  "util": "^0.12.5",
263
- "webpack": "^5.82.0",
263
+ "webpack": "^5.97.1",
264
264
  "webpack-cli": "^5.0.2",
265
265
  "wireit": "^0.14.7",
266
266
  "zx": "^7.2.3"