files.com 1.2.81 → 1.2.82

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.81
1
+ 1.2.82
@@ -19,8 +19,8 @@
19
19
  "sftp_response_code": "example",
20
20
  "sftp_response_message": "example",
21
21
  "md5": "example",
22
- "size": "example",
23
- "data_length": "example",
22
+ "size": 1,
23
+ "data_length": 1,
24
24
  "entries_returned": 1,
25
25
  "success": true,
26
26
  "duration_ms": 1
@@ -42,8 +42,8 @@
42
42
  * `sftp_response_code` (string): SFTP Response Code Returned to the Client.
43
43
  * `sftp_response_message` (string): SFTP Response Message Returned to the Client.
44
44
  * `md5` (string): MD5 Hash of the file. Not always available.
45
- * `size` (string): Size of File That was Uploaded or Downloaded.
46
- * `data_length` (string): Data Length in Bytes. Present for actions that transfer data.
45
+ * `size` (int64): Size of File That was Uploaded or Downloaded.
46
+ * `data_length` (int64): Data Length in Bytes. Present for actions that transfer data.
47
47
  * `entries_returned` (int64): Number of entries returned when listing files and folders
48
48
  * `success` (boolean): Whether SFTP Action was successful.
49
49
  * `duration_ms` (int64): Duration (in milliseconds)
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.81';
14
+ var version = '1.2.82';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
@@ -93,11 +93,11 @@ var SftpActionLog = /*#__PURE__*/(0, _createClass2.default)(function SftpActionL
93
93
  (0, _defineProperty2.default)(this, "getMd5", function () {
94
94
  return _this.attributes.md5;
95
95
  });
96
- // string # Size of File That was Uploaded or Downloaded.
96
+ // int64 # Size of File That was Uploaded or Downloaded.
97
97
  (0, _defineProperty2.default)(this, "getSize", function () {
98
98
  return _this.attributes.size;
99
99
  });
100
- // string # Data Length in Bytes. Present for actions that transfer data.
100
+ // int64 # Data Length in Bytes. Present for actions that transfer data.
101
101
  (0, _defineProperty2.default)(this, "getDataLength", function () {
102
102
  return _this.attributes.data_length;
103
103
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.81",
3
+ "version": "1.2.82",
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.81'
8
+ const version = '1.2.82'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -73,10 +73,10 @@ class SftpActionLog {
73
73
  // string # MD5 Hash of the file. Not always available.
74
74
  getMd5 = () => this.attributes.md5
75
75
 
76
- // string # Size of File That was Uploaded or Downloaded.
76
+ // int64 # Size of File That was Uploaded or Downloaded.
77
77
  getSize = () => this.attributes.size
78
78
 
79
- // string # Data Length in Bytes. Present for actions that transfer data.
79
+ // int64 # Data Length in Bytes. Present for actions that transfer data.
80
80
  getDataLength = () => this.attributes.data_length
81
81
 
82
82
  // int64 # Number of entries returned when listing files and folders