@splitsoftware/splitio-commons 3.0.0-rc.2 → 3.0.0-rc.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splitsoftware/splitio-commons",
3
- "version": "3.0.0-rc.2",
3
+ "version": "3.0.0-rc.3",
4
4
  "description": "Split JavaScript SDK common components",
5
5
  "main": "cjs/index.js",
6
6
  "module": "esm/index.js",
@@ -213,7 +213,7 @@ interface IServerSideSharedSettings {
213
213
  */
214
214
  startup?: {
215
215
  /**
216
- * Maximum amount of time used before notify a timeout.
216
+ * Time in seconds used before emitting the SDK_READY_TIMED_OUT event.
217
217
  *
218
218
  * @defaultValue `15`
219
219
  */
@@ -373,7 +373,7 @@ interface IClientSideSyncSharedSettings extends IClientSideSharedSettings, ISync
373
373
  */
374
374
  startup?: {
375
375
  /**
376
- * Maximum amount of time used before notify a timeout.
376
+ * Time in seconds used before emitting the SDK_READY_TIMED_OUT event.
377
377
  *
378
378
  * @defaultValue `10`
379
379
  */
@@ -1439,9 +1439,9 @@ declare namespace SplitIO {
1439
1439
  */
1440
1440
  startup?: {
1441
1441
  /**
1442
- * Maximum amount of time used before notify a timeout.
1442
+ * Time in seconds used before emitting the SDK_READY_TIMED_OUT event.
1443
1443
  *
1444
- * @defaultValue `5`
1444
+ * @defaultValue `10`
1445
1445
  */
1446
1446
  readyTimeout?: number;
1447
1447
  /**
@@ -2341,11 +2341,12 @@ declare namespace SplitIO {
2341
2341
  */
2342
2342
  logLevel?: LogLevel;
2343
2343
  /**
2344
- * Time in seconds until SDK ready timeout is emitted.
2344
+ * Time in seconds used before emitting the SDK_READY_TIMED_OUT event.
2345
+ * A value of -1 disables the timeout and thus the event is never emitted.
2345
2346
  *
2346
2347
  * @defaultValue `10`
2347
2348
  */
2348
- timeout?: number;
2349
+ readyTimeout?: number;
2349
2350
  /**
2350
2351
  * Custom endpoints to replace the default ones used by the SDK.
2351
2352
  */