files.com 1.2.119 → 1.2.121
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +14 -10
- package/_VERSION +1 -1
- package/lib/Files.js +1 -1
- package/package.json +1 -1
- package/src/Files.js +1 -1
package/README.md
CHANGED
@@ -5,11 +5,21 @@ The content included here should be enough to get started, but please visit our
|
|
5
5
|
|
6
6
|
## Introduction
|
7
7
|
|
8
|
-
The Files.com JavaScript SDK provides convenient access to
|
8
|
+
The Files.com JavaScript SDK provides convenient access to all aspects of Files.com from applications written in JavaScript.
|
9
|
+
|
10
|
+
This includes directly working with files and folders as well as performing management tasks such as adding/removing users, onboarding counterparties, retrieving information about automations and more.
|
11
|
+
|
12
|
+
The JavaScript SDK uses the Files.com RESTful APIs via the HTTPS protocol (port 443) to securely communicate and transfer files so no firewall changes should be required in order to allow connectivity to Files.com.
|
13
|
+
|
14
|
+
### JavaScript is a Core Focus at Files.com
|
15
|
+
|
16
|
+
This SDK is used internally by serveral Files.com integrations that we maintain, and we work hard to ensure that it is always up to date and performant.
|
17
|
+
|
18
|
+
It is also a very popular choice for Files.com customers looking to integrate with Files.com.
|
9
19
|
|
10
20
|
### Installation
|
11
21
|
|
12
|
-
To install the package
|
22
|
+
To install the package, use `yarn` or `npm`:
|
13
23
|
|
14
24
|
```shell
|
15
25
|
yarn add files.com
|
@@ -27,11 +37,6 @@ npm install files.com
|
|
27
37
|
|
28
38
|
```js
|
29
39
|
import Files from "files.com/lib/Files.js";
|
30
|
-
|
31
|
-
// Set the client to your site subdomain if your site is configured to disable global acceleration.
|
32
|
-
// Otherwise, don't change this setting for production.
|
33
|
-
// For dev/CI, you can point this to the mock server.
|
34
|
-
Files.setBaseUrl("https://MY-SUBDOMAIN.files.com");
|
35
40
|
```
|
36
41
|
|
37
42
|
##### `require()` vs. `import`
|
@@ -52,10 +57,9 @@ Explore the [files-sdk-javascript](https://github.com/Files-com/files-sdk-javasc
|
|
52
57
|
|
53
58
|
### Getting Support
|
54
59
|
|
55
|
-
The Files.com team
|
56
|
-
may face.
|
60
|
+
The Files.com Support team provides official support for all of our official Files.com integration tools.
|
57
61
|
|
58
|
-
|
62
|
+
To initiate a support conversation, you can send an [Authenticated Support Request](https://www.files.com/docs/overview/requesting-support) or simply send an E-Mail to support@files.com.
|
59
63
|
|
60
64
|
## Authentication
|
61
65
|
|
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.121
|
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.121';
|
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
package/src/Files.js
CHANGED