files.com 1.2.173 → 1.2.174

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/README.md CHANGED
@@ -545,7 +545,25 @@ Error
545
545
  | `SiteConfiguration_TrialLockedError`| `SiteConfigurationError` |
546
546
  | `SiteConfiguration_UserRequestsEnabledRequiredError`| `SiteConfigurationError` |
547
547
 
548
- ## Examples
548
+ ## Mock Server
549
+
550
+ Files.com publishes a Files.com API server, which is useful for testing your use of the Files.com
551
+ SDKs and other direct integrations against the Files.com API in an integration test environment.
552
+
553
+ It is a Ruby app that operates as a minimal server for the purpose of testing basic network
554
+ operations and JSON encoding for your SDK or API client. It does not maintain state and it does not
555
+ deeply inspect your submissions for correctness.
556
+
557
+ Eventually we will add more features intended for integration testing, such as the ability to
558
+ intentionally provoke errors.
559
+
560
+ Download the server as a Docker image via [Docker Hub](https://hub.docker.com/r/filescom/files-mock-server).
561
+
562
+ The Source Code is also available on [GitHub](https://github.com/Files-com/files-mock-server).
563
+
564
+ A README is available on the GitHub link.
565
+
566
+ ## File/Folder Operations
549
567
 
550
568
  ### File Operations
551
569
 
@@ -611,21 +629,3 @@ if (pathNormalizer.same('Fïłèńämê.Txt', 'filename.txt')) {
611
629
  // the paths are the same
612
630
  }
613
631
  ```
614
-
615
- ## Mock Server
616
-
617
- Files.com publishes a Files.com API server, which is useful for testing your use of the Files.com
618
- SDKs and other direct integrations against the Files.com API in an integration test environment.
619
-
620
- It is a Ruby app that operates as a minimal server for the purpose of testing basic network
621
- operations and JSON encoding for your SDK or API client. It does not maintain state and it does not
622
- deeply inspect your submissions for correctness.
623
-
624
- Eventually we will add more features intended for integration testing, such as the ability to
625
- intentionally provoke errors.
626
-
627
- Download the server as a Docker image via [Docker Hub](https://hub.docker.com/r/filescom/files-mock-server).
628
-
629
- The Source Code is also available on [GitHub](https://github.com/Files-com/files-mock-server).
630
-
631
- A README is available on the GitHub link.
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.173
1
+ 1.2.174
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.173';
14
+ var version = '1.2.174';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.173",
3
+ "version": "1.2.174",
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.173'
8
+ const version = '1.2.174'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO