files.com 1.2.54 → 1.2.55

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.54
1
+ 1.2.55
@@ -6,6 +6,7 @@
6
6
  {
7
7
  "timestamp": "2000-01-01T01:00:00Z",
8
8
  "remote_ip": "example",
9
+ "server_ip": "example",
9
10
  "username": "example",
10
11
  "session_uid": "example",
11
12
  "seq_id": 1,
@@ -34,6 +35,7 @@
34
35
 
35
36
  * `timestamp` (date-time): Start Time of Action
36
37
  * `remote_ip` (string): IP Address of SFTP Client
38
+ * `server_ip` (string): IP Address of SFTP Server
37
39
  * `username` (string): Username
38
40
  * `session_uid` (string): Unique ID of the Session
39
41
  * `seq_id` (int64): SFTP Sequence ID
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.54';
14
+ var version = '1.2.55';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
@@ -41,6 +41,10 @@ var SftpActionLog = /*#__PURE__*/(0, _createClass2.default)(function SftpActionL
41
41
  (0, _defineProperty2.default)(this, "getRemoteIp", function () {
42
42
  return _this.attributes.remote_ip;
43
43
  });
44
+ // string # IP Address of SFTP Server
45
+ (0, _defineProperty2.default)(this, "getServerIp", function () {
46
+ return _this.attributes.server_ip;
47
+ });
44
48
  // string # Username
45
49
  (0, _defineProperty2.default)(this, "getUsername", function () {
46
50
  return _this.attributes.username;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.54",
3
+ "version": "1.2.55",
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.54'
8
+ const version = '1.2.55'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -34,6 +34,9 @@ class SftpActionLog {
34
34
  // string # IP Address of SFTP Client
35
35
  getRemoteIp = () => this.attributes.remote_ip
36
36
 
37
+ // string # IP Address of SFTP Server
38
+ getServerIp = () => this.attributes.server_ip
39
+
37
40
  // string # Username
38
41
  getUsername = () => this.attributes.username
39
42