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 +1 -1
- package/docs/models/SftpActionLog.md +2 -0
- package/lib/Files.js +1 -1
- package/lib/models/SftpActionLog.js +4 -0
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/SftpActionLog.js +3 -0
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
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.
|
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
package/src/Files.js
CHANGED
@@ -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
|
|