files.com 1.2.128 → 1.2.130

Sign up to get free protection for your applications and to get access to all the features.
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.128
1
+ 1.2.130
@@ -359,7 +359,7 @@ await remote_server.configuration_file({
359
359
  "log_level": "example",
360
360
  "log_rotate_num": 1,
361
361
  "log_rotate_size": 1,
362
- "max_concurrent_jobs": 1,
362
+ "override_max_concurrent_jobs": 1,
363
363
  "graceful_shutdown_timeout": 1,
364
364
  "transfer_rate_limit": "example",
365
365
  "api_token": "example",
@@ -18,7 +18,7 @@
18
18
  "log_level": "example",
19
19
  "log_rotate_num": 1,
20
20
  "log_rotate_size": 1,
21
- "max_concurrent_jobs": 1,
21
+ "override_max_concurrent_jobs": 1,
22
22
  "graceful_shutdown_timeout": 1,
23
23
  "transfer_rate_limit": "example",
24
24
  "api_token": "example",
@@ -37,16 +37,16 @@
37
37
  * `subdomain` (string): Files.com subdomain site name
38
38
  * `root` (string): The root directory for the agent
39
39
  * `follow_links` (boolean): Follow symlinks when traversing directories
40
- * `prefer_protocol` (string): Preferred network protocol ['udp', 'tcp']
41
- * `dns` (string): DNS lookup method ['auto','doh','system']
40
+ * `prefer_protocol` (string): Preferred network protocol ['udp', 'tcp'] (default udp)
41
+ * `dns` (string): DNS lookup method ['auto','doh','system'] (default auto)
42
42
  * `proxy_all_outbound` (boolean): Proxy all outbound traffic through files.com proxy server
43
43
  * `endpoint_override` (string): Custom site endpoint URL
44
44
  * `log_file` (string): Log file name and location
45
- * `log_level` (string): Log level for the agent logs ['debug', 'info', 'warn', 'error', 'fatal']
45
+ * `log_level` (string): Log level for the agent logs ['debug', 'info', 'warn', 'error', 'fatal'] (default info)
46
46
  * `log_rotate_num` (int64): Log route for agent logs. (default 5)
47
- * `log_rotate_size` (int64): Log route size in MB for agent logs. (default 20MB)
48
- * `max_concurrent_jobs` (int64): Maximum number of concurrent jobs (default CPU Count * 4)
49
- * `graceful_shutdown_timeout` (int64): Graceful shutdown timeout in seconds
47
+ * `log_rotate_size` (int64): Log route size in MB for agent logs. (default 20)
48
+ * `override_max_concurrent_jobs` (int64): Maximum number of concurrent jobs (default 500)
49
+ * `graceful_shutdown_timeout` (int64): Graceful shutdown timeout in seconds (default 15)
50
50
  * `transfer_rate_limit` (string): File transfer (upload/download) rate limit
51
51
  `<limit>-<period>`, with the given periods:
52
52
  * 'S': second
package/lib/Files.js CHANGED
@@ -11,7 +11,7 @@ var endpointPrefix = '/api/rest/v1';
11
11
  var apiKey;
12
12
  var baseUrl = 'https://app.files.com';
13
13
  var sessionId = null;
14
- var version = '1.2.128';
14
+ var version = '1.2.130';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
@@ -53,11 +53,11 @@ var RemoteServerConfigurationFile = /*#__PURE__*/(0, _createClass2.default)(func
53
53
  (0, _defineProperty2.default)(this, "getFollowLinks", function () {
54
54
  return _this.attributes.follow_links;
55
55
  });
56
- // string # Preferred network protocol ['udp', 'tcp']
56
+ // string # Preferred network protocol ['udp', 'tcp'] (default udp)
57
57
  (0, _defineProperty2.default)(this, "getPreferProtocol", function () {
58
58
  return _this.attributes.prefer_protocol;
59
59
  });
60
- // string # DNS lookup method ['auto','doh','system']
60
+ // string # DNS lookup method ['auto','doh','system'] (default auto)
61
61
  (0, _defineProperty2.default)(this, "getDns", function () {
62
62
  return _this.attributes.dns;
63
63
  });
@@ -73,7 +73,7 @@ var RemoteServerConfigurationFile = /*#__PURE__*/(0, _createClass2.default)(func
73
73
  (0, _defineProperty2.default)(this, "getLogFile", function () {
74
74
  return _this.attributes.log_file;
75
75
  });
76
- // string # Log level for the agent logs ['debug', 'info', 'warn', 'error', 'fatal']
76
+ // string # Log level for the agent logs ['debug', 'info', 'warn', 'error', 'fatal'] (default info)
77
77
  (0, _defineProperty2.default)(this, "getLogLevel", function () {
78
78
  return _this.attributes.log_level;
79
79
  });
@@ -81,15 +81,15 @@ var RemoteServerConfigurationFile = /*#__PURE__*/(0, _createClass2.default)(func
81
81
  (0, _defineProperty2.default)(this, "getLogRotateNum", function () {
82
82
  return _this.attributes.log_rotate_num;
83
83
  });
84
- // int64 # Log route size in MB for agent logs. (default 20MB)
84
+ // int64 # Log route size in MB for agent logs. (default 20)
85
85
  (0, _defineProperty2.default)(this, "getLogRotateSize", function () {
86
86
  return _this.attributes.log_rotate_size;
87
87
  });
88
- // int64 # Maximum number of concurrent jobs (default CPU Count * 4)
89
- (0, _defineProperty2.default)(this, "getMaxConcurrentJobs", function () {
90
- return _this.attributes.max_concurrent_jobs;
88
+ // int64 # Maximum number of concurrent jobs (default 500)
89
+ (0, _defineProperty2.default)(this, "getOverrideMaxConcurrentJobs", function () {
90
+ return _this.attributes.override_max_concurrent_jobs;
91
91
  });
92
- // int64 # Graceful shutdown timeout in seconds
92
+ // int64 # Graceful shutdown timeout in seconds (default 15)
93
93
  (0, _defineProperty2.default)(this, "getGracefulShutdownTimeout", function () {
94
94
  return _this.attributes.graceful_shutdown_timeout;
95
95
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.128",
3
+ "version": "1.2.130",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
package/src/Files.js CHANGED
@@ -5,7 +5,7 @@ const endpointPrefix = '/api/rest/v1'
5
5
  let apiKey
6
6
  let baseUrl = 'https://app.files.com'
7
7
  let sessionId = null
8
- const version = '1.2.128'
8
+ const version = '1.2.130'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -46,10 +46,10 @@ class RemoteServerConfigurationFile {
46
46
  // boolean # Follow symlinks when traversing directories
47
47
  getFollowLinks = () => this.attributes.follow_links
48
48
 
49
- // string # Preferred network protocol ['udp', 'tcp']
49
+ // string # Preferred network protocol ['udp', 'tcp'] (default udp)
50
50
  getPreferProtocol = () => this.attributes.prefer_protocol
51
51
 
52
- // string # DNS lookup method ['auto','doh','system']
52
+ // string # DNS lookup method ['auto','doh','system'] (default auto)
53
53
  getDns = () => this.attributes.dns
54
54
 
55
55
  // boolean # Proxy all outbound traffic through files.com proxy server
@@ -61,19 +61,19 @@ class RemoteServerConfigurationFile {
61
61
  // string # Log file name and location
62
62
  getLogFile = () => this.attributes.log_file
63
63
 
64
- // string # Log level for the agent logs ['debug', 'info', 'warn', 'error', 'fatal']
64
+ // string # Log level for the agent logs ['debug', 'info', 'warn', 'error', 'fatal'] (default info)
65
65
  getLogLevel = () => this.attributes.log_level
66
66
 
67
67
  // int64 # Log route for agent logs. (default 5)
68
68
  getLogRotateNum = () => this.attributes.log_rotate_num
69
69
 
70
- // int64 # Log route size in MB for agent logs. (default 20MB)
70
+ // int64 # Log route size in MB for agent logs. (default 20)
71
71
  getLogRotateSize = () => this.attributes.log_rotate_size
72
72
 
73
- // int64 # Maximum number of concurrent jobs (default CPU Count * 4)
74
- getMaxConcurrentJobs = () => this.attributes.max_concurrent_jobs
73
+ // int64 # Maximum number of concurrent jobs (default 500)
74
+ getOverrideMaxConcurrentJobs = () => this.attributes.override_max_concurrent_jobs
75
75
 
76
- // int64 # Graceful shutdown timeout in seconds
76
+ // int64 # Graceful shutdown timeout in seconds (default 15)
77
77
  getGracefulShutdownTimeout = () => this.attributes.graceful_shutdown_timeout
78
78
 
79
79
  // string # File transfer (upload/download) rate limit