@transifex/native 4.1.0 → 4.2.0
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 +8 -0
- package/dist/browser.native.js +1 -1
- package/dist/browser.native.js.LICENSE.txt +2 -0
- package/dist/browser.native.js.map +1 -1
- package/dist/node.native.js +1 -1
- package/dist/node.native.js.map +1 -1
- package/package.json +1 -1
- package/src/TxNative.js +36 -10
package/README.md
CHANGED
|
@@ -153,6 +153,14 @@ tx.init({
|
|
|
153
153
|
|
|
154
154
|
// Translation cache, defaults to "new MemoryCache()"
|
|
155
155
|
cache: Function,
|
|
156
|
+
|
|
157
|
+
// Optional timeout in milliseconds when fetching languages and
|
|
158
|
+
// strings, defaults to 0 (no-timeout)
|
|
159
|
+
fetchTimeout: Number,
|
|
160
|
+
|
|
161
|
+
// Optional interval polling delay in milliseconds while waiting
|
|
162
|
+
// for CDS to warm-up with content, defaults to 250msec
|
|
163
|
+
fetchInterval: Number,
|
|
156
164
|
})
|
|
157
165
|
```
|
|
158
166
|
|