files.com 1.2.119 → 1.2.120
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +12 -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,19 @@ 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
|
+
### JavaScript is a Core Focus at Files.com
|
13
|
+
|
14
|
+
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.
|
15
|
+
|
16
|
+
It is also a very popular choice for Files.com customers looking to integrate with Files.com.
|
9
17
|
|
10
18
|
### Installation
|
11
19
|
|
12
|
-
To install the package
|
20
|
+
To install the package, use `yarn` or `npm`:
|
13
21
|
|
14
22
|
```shell
|
15
23
|
yarn add files.com
|
@@ -27,11 +35,6 @@ npm install files.com
|
|
27
35
|
|
28
36
|
```js
|
29
37
|
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
38
|
```
|
36
39
|
|
37
40
|
##### `require()` vs. `import`
|
@@ -52,10 +55,9 @@ Explore the [files-sdk-javascript](https://github.com/Files-com/files-sdk-javasc
|
|
52
55
|
|
53
56
|
### Getting Support
|
54
57
|
|
55
|
-
The Files.com team
|
56
|
-
may face.
|
58
|
+
The Files.com Support team provides official support for all of our official Files.com integration tools.
|
57
59
|
|
58
|
-
|
60
|
+
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
61
|
|
60
62
|
## Authentication
|
61
63
|
|
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.120
|
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.120';
|
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