filestack-js
Advanced tools
Comparing version 0.9.11 to 0.9.12
# filestack-js changelog | ||
## 0.9.12 (2017-11-08) | ||
**Client changes** | ||
- Introduce `'fallback'` mode for intelligent uploads. When `intelligent: 'fallback'` is specified | ||
parts will only go through the intelligent ingestion flow when network conditions are degraded. The default | ||
behavior of `intelligent: true` remains unchanged -- when true all parts go through the intelligent flow regardless of network state. | ||
Note: This feature still requires intelligent ingestion to be enabled on your Filestack application. | ||
## 0.9.11 (2017-11-01) | ||
@@ -4,0 +12,0 @@ **Client changes** |
{ | ||
"name": "filestack-js", | ||
"version": "0.9.11", | ||
"version": "0.9.12", | ||
"description": "Official web SDK for the Filestack API", | ||
@@ -39,3 +39,3 @@ "author": "Filestack", | ||
"devDependencies": { | ||
"api-client": "http://static.filestackapi.com/packages/api-client/api-client-0.5.15.tar.gz", | ||
"api-client": "http://static.filestackapi.com/packages/api-client/api-client-0.5.16.tar.gz", | ||
"babel-plugin-transform-object-rest-spread": "^6.26.0", | ||
@@ -42,0 +42,0 @@ "babel-preset-es2015": "^6.22.0", |
@@ -42,3 +42,3 @@ <p align="center"> | ||
```HTML | ||
<script src="//static.filestackapi.com/v3/filestack-0.9.11.js"></script> | ||
<script src="//static.filestackapi.com/v3/filestack-0.9.12.js"></script> | ||
<script> | ||
@@ -207,4 +207,4 @@ const apikey = 'abc'; | ||
- .concurrency <code>number</code> <code> = 3</code> - Max number of concurrent parts uploading (chunks of files, not whole files). | ||
- .intelligent <code>boolean</code> - Optionally disable intelligent ingestion if it's enabled on the application. | ||
- .intelligentChunkSize <code>number</code> - Set the default chunk size for the intelligent flow. Defaults to 8MB on desktop, 1MB on mobile. | ||
- .intelligent <code>boolean</code> | <code>string</code> - Enable/disable intelligent ingestion. If truthy then intelligent ingestion must be enabled in your Filestack application. Passing true/false toggles the global intelligent flow (all parts are chunked and committed). Passing `'fallback'` will only use FII when network conditions may require it (only failing parts will be chunked). | ||
- .intelligentChunkSize <code>number</code> - Set the default chunk size for intelligent part uploads. Defaults to 8MB on desktop, 1MB on mobile. | ||
- .retry <code>number</code> <code> = 10</code> - Number of times to retry a failed part of the flow. | ||
@@ -287,3 +287,4 @@ - .retryFactor <code>number</code> <code> = 2</code> - Base factor for exponential backoff. | ||
// Using to change selected file name | ||
// Using to change selected file name | ||
// NOTE: This currently only works for local uploads | ||
onFileSelected(file) { | ||
@@ -658,9 +659,10 @@ file.name = 'foo'; | ||
- [uploadOptions] <code>object</code> | ||
- [.partSize] <code>number</code> <code> = 6 * 1024 * 1024</code> - Size of each uploaded part. This is overridden when intelligent ingestion is enabled. | ||
- [.partSize] <code>number</code> <code> = 6 * 1024 * 1024</code> - Size of each uploaded part. This is hardcoded to 8MB when intelligent ingestion is enabled. To control chunk sizes please use `intelligentChunkSize`. | ||
- [.concurrency] <code>number</code> <code> = 3</code> - Max number of concurrent parts uploading. | ||
- [.intelligent] <code>boolean</code> - Enable/disable intelligent ingestion. If true then intelligent ingestion must be enabled in your Filestack application. | ||
- [.intelligentChunkSize] <code>number</code> - Set the default chunk size for the intelligent flow. Defaults to 8MB on desktop, 1MB on mobile. | ||
- [.timeout] <code>number</code> <code> = 120000</code> - Time in milliseconds to wait before cancelling requests. | ||
- [.intelligent] <code>boolean</code> | <code>string</code> - Enable/disable intelligent ingestion. If truthy then intelligent ingestion must be enabled in your Filestack application. Passing true/false toggles the global intelligent flow (all parts are chunked and committed). Passing `'fallback'` will only use FII when network conditions may require it (only failing parts will be chunked). | ||
- [.intelligentChunkSize] <code>number</code> - Set the default chunk size for intelligent part uploads. Defaults to 8MB on desktop, 1MB on mobile. | ||
- [.retry] <code>number</code> <code> = 10</code> - Number of times to retry a failed part of the flow. | ||
- [.retryFactor] <code>number</code> <code> = 2</code> - Base factor for exponential backoff. | ||
- [.retryMaxTime] <code>number</code> <code> = 10000</code> - Upper bound in milliseconds for retry wait time. | ||
- [.timeout] <code>number</code> <code> = 120000</code> - Time in milliseconds to wait before cancelling requests. | ||
- [.progressInterval] <code>number</code> <code> = 1000</code> - Frequency (in milliseconds) at which progress events are dispatched. | ||
@@ -667,0 +669,0 @@ - [.onProgress] [<code>progressCallback</code>](#module_filestack..progressCallback) - Called regularly to give progress updates. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1163166
1426
714