files.com 1.2.130 → 1.2.131
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/RemoteServer.md +1 -1
- package/lib/Files.js +1 -1
- package/lib/models/RemoteServer.js +1 -1
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/RemoteServer.js +1 -1
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.131
|
@@ -72,7 +72,7 @@
|
|
72
72
|
* `port` (int64): Port for remote server. Not needed for S3.
|
73
73
|
* `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
74
74
|
* `pin_to_site_region` (boolean): If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a sitewide setting which will force it to true.
|
75
|
-
* `pinned_region` (string): If set, all
|
75
|
+
* `pinned_region` (string): If set, all communications with this remote server are made through the provided region.
|
76
76
|
* `s3_bucket` (string): S3 bucket name
|
77
77
|
* `s3_region` (string): S3 region
|
78
78
|
* `aws_access_key` (string): AWS Access Key.
|
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.131';
|
15
15
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
16
16
|
var logLevel = _Logger.LogLevel.INFO;
|
17
17
|
var debugRequest = false;
|
@@ -96,7 +96,7 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
|
|
96
96
|
(0, _defineProperty2.default)(this, "setPinToSiteRegion", function (value) {
|
97
97
|
_this.attributes.pin_to_site_region = value;
|
98
98
|
});
|
99
|
-
// string # If set, all
|
99
|
+
// string # If set, all communications with this remote server are made through the provided region.
|
100
100
|
(0, _defineProperty2.default)(this, "getPinnedRegion", function () {
|
101
101
|
return _this.attributes.pinned_region;
|
102
102
|
});
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
@@ -91,7 +91,7 @@ class RemoteServer {
|
|
91
91
|
this.attributes.pin_to_site_region = value
|
92
92
|
}
|
93
93
|
|
94
|
-
// string # If set, all
|
94
|
+
// string # If set, all communications with this remote server are made through the provided region.
|
95
95
|
getPinnedRegion = () => this.attributes.pinned_region
|
96
96
|
|
97
97
|
setPinnedRegion = value => {
|