files.com 1.2.267 → 1.2.268

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/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.267
1
+ 1.2.268
@@ -19,8 +19,7 @@
19
19
  "errored_files": 1,
20
20
  "successful_files": 1,
21
21
  "runtime": 1.0,
22
- "s3_body_path": "example",
23
- "s3_internal_body_path": "example",
22
+ "log_url": "https://www.example.com/log_file.txt",
24
23
  "completed_at": "2000-01-01T01:00:00Z",
25
24
  "notified": true,
26
25
  "created_at": "2000-01-01T01:00:00Z",
@@ -41,8 +40,7 @@
41
40
  * `errored_files` (int64): Number of files that errored
42
41
  * `successful_files` (int64): Number of files successfully synced
43
42
  * `runtime` (double): Total runtime in seconds
44
- * `s3_body_path` (string): S3 path to the main log file
45
- * `s3_internal_body_path` (string): S3 path to the internal log file
43
+ * `log_url` (string): Link to external log file.
46
44
  * `completed_at` (date-time): When this run was completed
47
45
  * `notified` (boolean): Whether notifications were sent for this run
48
46
  * `created_at` (date-time): When this run was created
package/lib/Files.js CHANGED
@@ -12,7 +12,7 @@ var apiKey;
12
12
  var baseUrl = 'https://app.files.com';
13
13
  var sessionId = null;
14
14
  var language = null;
15
- var version = '1.2.267';
15
+ var version = '1.2.268';
16
16
  var userAgent = "Files.com JavaScript SDK v".concat(version);
17
17
  var logLevel = _Logger.LogLevel.INFO;
18
18
  var debugRequest = false;
@@ -84,13 +84,9 @@ var SyncRun = /*#__PURE__*/(0, _createClass2.default)(function SyncRun() {
84
84
  (0, _defineProperty2.default)(this, "getRuntime", function () {
85
85
  return _this.attributes.runtime;
86
86
  });
87
- // string # S3 path to the main log file
88
- (0, _defineProperty2.default)(this, "getS3BodyPath", function () {
89
- return _this.attributes.s3_body_path;
90
- });
91
- // string # S3 path to the internal log file
92
- (0, _defineProperty2.default)(this, "getS3InternalBodyPath", function () {
93
- return _this.attributes.s3_internal_body_path;
87
+ // string # Link to external log file.
88
+ (0, _defineProperty2.default)(this, "getLogUrl", function () {
89
+ return _this.attributes.log_url;
94
90
  });
95
91
  // date-time # When this run was completed
96
92
  (0, _defineProperty2.default)(this, "getCompletedAt", function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.267",
3
+ "version": "1.2.268",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
package/src/Files.js CHANGED
@@ -6,7 +6,7 @@ let apiKey
6
6
  let baseUrl = 'https://app.files.com'
7
7
  let sessionId = null
8
8
  let language = null
9
- const version = '1.2.267'
9
+ const version = '1.2.268'
10
10
  let userAgent = `Files.com JavaScript SDK v${version}`
11
11
 
12
12
  let logLevel = LogLevel.INFO
@@ -67,11 +67,8 @@ class SyncRun {
67
67
  // double # Total runtime in seconds
68
68
  getRuntime = () => this.attributes.runtime
69
69
 
70
- // string # S3 path to the main log file
71
- getS3BodyPath = () => this.attributes.s3_body_path
72
-
73
- // string # S3 path to the internal log file
74
- getS3InternalBodyPath = () => this.attributes.s3_internal_body_path
70
+ // string # Link to external log file.
71
+ getLogUrl = () => this.attributes.log_url
75
72
 
76
73
  // date-time # When this run was completed
77
74
  getCompletedAt = () => this.attributes.completed_at