files.com 1.2.211 → 1.2.212

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.211
1
+ 1.2.212
@@ -40,7 +40,7 @@
40
40
  "provision_time_zone": "Eastern Time (US & Canada)",
41
41
  "provision_company": "ACME Corp.",
42
42
  "provision_require_2fa": "always_require",
43
- "identifier": "",
43
+ "provider_identifier": "",
44
44
  "ldap_base_dn": "example",
45
45
  "ldap_domain": "mysite.com",
46
46
  "enabled": true,
@@ -90,7 +90,7 @@
90
90
  * `provision_time_zone` (string): Default time zone for auto provisioned users.
91
91
  * `provision_company` (string): Default company for auto provisioned users.
92
92
  * `provision_require_2fa` (string): 2FA required setting for auto provisioned users.
93
- * `identifier` (string): URL-friendly, unique identifier for Azure SAML configuration
93
+ * `provider_identifier` (string): URL-friendly, unique identifier for Azure SAML configuration
94
94
  * `ldap_base_dn` (string): Base DN for looking up users in LDAP server
95
95
  * `ldap_domain` (string): Domain name that will be appended to LDAP usernames
96
96
  * `enabled` (boolean): Is strategy enabled? This may become automatically set to `false` after a high number and duration of failures.
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.211';
14
+ var version = '1.2.212';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
@@ -178,8 +178,8 @@ var SsoStrategy = /*#__PURE__*/(0, _createClass2.default)(function SsoStrategy()
178
178
  return _this.attributes.provision_require_2fa;
179
179
  });
180
180
  // string # URL-friendly, unique identifier for Azure SAML configuration
181
- (0, _defineProperty2.default)(this, "getIdentifier", function () {
182
- return _this.attributes.identifier;
181
+ (0, _defineProperty2.default)(this, "getProviderIdentifier", function () {
182
+ return _this.attributes.provider_identifier;
183
183
  });
184
184
  // string # Base DN for looking up users in LDAP server
185
185
  (0, _defineProperty2.default)(this, "getLdapBaseDn", function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.211",
3
+ "version": "1.2.212",
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.211'
8
+ const version = '1.2.212'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -137,7 +137,7 @@ class SsoStrategy {
137
137
  getProvisionRequire2fa = () => this.attributes.provision_require_2fa
138
138
 
139
139
  // string # URL-friendly, unique identifier for Azure SAML configuration
140
- getIdentifier = () => this.attributes.identifier
140
+ getProviderIdentifier = () => this.attributes.provider_identifier
141
141
 
142
142
  // string # Base DN for looking up users in LDAP server
143
143
  getLdapBaseDn = () => this.attributes.ldap_base_dn