files.com 1.2.166 → 1.2.167

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.166
1
+ 1.2.167
@@ -11,9 +11,7 @@
11
11
  "display": "Actual text of the action here.",
12
12
  "ip": "192.283.128.182",
13
13
  "source": "/from_path",
14
- "targets": [
15
-
16
- ],
14
+ "targets": null,
17
15
  "user_id": 1,
18
16
  "username": "user",
19
17
  "user_is_from_parent_site": true,
@@ -30,7 +28,7 @@
30
28
  * `display` (string): Friendly displayed output
31
29
  * `ip` (string): IP Address that performed this action
32
30
  * `source` (string): The source path for this action, if applicable
33
- * `targets` (array(object)): Targets
31
+ * `targets` (object): Targets
34
32
  * `user_id` (int64): User ID
35
33
  * `username` (string): Username
36
34
  * `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
@@ -11,9 +11,7 @@
11
11
  "display": "Actual text of the action here.",
12
12
  "ip": "192.283.128.182",
13
13
  "source": "/from_path",
14
- "targets": [
15
-
16
- ],
14
+ "targets": null,
17
15
  "user_id": 1,
18
16
  "username": "user",
19
17
  "user_is_from_parent_site": true,
@@ -30,7 +28,7 @@
30
28
  * `display` (string): Friendly displayed output
31
29
  * `ip` (string): IP Address that performed this action
32
30
  * `source` (string): The source path for this action, if applicable
33
- * `targets` (array(object)): Targets
31
+ * `targets` (object): Targets
34
32
  * `user_id` (int64): User ID
35
33
  * `username` (string): Username
36
34
  * `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
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.166';
14
+ var version = '1.2.167';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
@@ -57,7 +57,7 @@ var Action = /*#__PURE__*/(0, _createClass2.default)(function Action() {
57
57
  (0, _defineProperty2.default)(this, "getSource", function () {
58
58
  return _this.attributes.source;
59
59
  });
60
- // array(object) # Targets
60
+ // object # Targets
61
61
  (0, _defineProperty2.default)(this, "getTargets", function () {
62
62
  return _this.attributes.targets;
63
63
  });
@@ -61,7 +61,7 @@ var History = /*#__PURE__*/(0, _createClass2.default)(function History() {
61
61
  (0, _defineProperty2.default)(this, "getSource", function () {
62
62
  return _this.attributes.source;
63
63
  });
64
- // array(object) # Targets
64
+ // object # Targets
65
65
  (0, _defineProperty2.default)(this, "getTargets", function () {
66
66
  return _this.attributes.targets;
67
67
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.166",
3
+ "version": "1.2.167",
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.166'
8
+ const version = '1.2.167'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -49,7 +49,7 @@ class Action {
49
49
  // string # The source path for this action, if applicable
50
50
  getSource = () => this.attributes.source
51
51
 
52
- // array(object) # Targets
52
+ // object # Targets
53
53
  getTargets = () => this.attributes.targets
54
54
 
55
55
  // int64 # User ID
@@ -49,7 +49,7 @@ class History {
49
49
  // string # The source path for this action, if applicable
50
50
  getSource = () => this.attributes.source
51
51
 
52
- // array(object) # Targets
52
+ // object # Targets
53
53
  getTargets = () => this.attributes.targets
54
54
 
55
55
  // int64 # User ID