@relyio/sdk 0.7.0 → 0.9.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/CHANGELOG.md +61 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/{chunk-GYHAVYND.js → chunk-LGNJIGHL.js} +884 -16
- package/dist/{chunk-VH2DE7HZ.cjs → chunk-SPFRDXAF.cjs} +889 -15
- package/dist/client/index.cjs +3 -3
- package/dist/client/index.d.cts +5 -4
- package/dist/client/index.d.ts +5 -4
- package/dist/client/index.js +1 -1
- package/dist/{define-content-type-DiVpbwNs.d.cts → define-content-type-cEGjIwT5.d.cts} +205 -10
- package/dist/{define-content-type-DiVpbwNs.d.ts → define-content-type-cEGjIwT5.d.ts} +205 -10
- package/dist/{define-schema-C-5an28C.d.ts → define-schema-BPj2srgh.d.ts} +1 -1
- package/dist/{define-schema-D7MButVt.d.cts → define-schema-DgbJ5Kwn.d.cts} +1 -1
- package/dist/{index-M0X45k7J.d.cts → index-B9axQW8s.d.cts} +265 -14
- package/dist/{index-DbsTUw3Q.d.cts → index-B_rIWO_l.d.cts} +47 -5
- package/dist/{index-BOQIHnsh.d.ts → index-Cv4tmcrw.d.ts} +47 -5
- package/dist/{index-1G97sNA8.d.ts → index-GIfaMlQ7.d.ts} +265 -14
- package/dist/index.cjs +119 -75
- package/dist/index.d.cts +152 -41
- package/dist/index.d.ts +152 -41
- package/dist/index.js +37 -12
- package/dist/schema/index.d.cts +3 -3
- package/dist/schema/index.d.ts +3 -3
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var chunk72UK5U7T_cjs = require('./chunk-72UK5U7T.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkSPFRDXAF_cjs = require('./chunk-SPFRDXAF.cjs');
|
|
7
7
|
require('./chunk-LSRPMNPT.cjs');
|
|
8
8
|
require('./chunk-PPA2WWOH.cjs');
|
|
9
9
|
var chunkTZL374LS_cjs = require('./chunk-TZL374LS.cjs');
|
|
@@ -11,28 +11,48 @@ var chunkMWMSFIWN_cjs = require('./chunk-MWMSFIWN.cjs');
|
|
|
11
11
|
|
|
12
12
|
/* RelyIO SDK - Built with ❤️ by the RelyIO Team */
|
|
13
13
|
|
|
14
|
-
// src/config/key-kind.ts
|
|
15
|
-
var PUBLISHABLE_KEY_PREFIX = "rly_pub_";
|
|
16
|
-
var isPublishableKey = /* @__PURE__ */ chunkMWMSFIWN_cjs.__name((apiKey) => apiKey?.startsWith(PUBLISHABLE_KEY_PREFIX) === true, "isPublishableKey");
|
|
17
|
-
|
|
18
14
|
// src/changes/follow.ts
|
|
19
15
|
var FOLLOW_RETRY_BASE_MS = 1e3;
|
|
20
16
|
var FOLLOW_RETRY_MAX_MS = 3e4;
|
|
17
|
+
var FOLLOW_BACK_OFF_MAX_MS = 15 * 6e4;
|
|
18
|
+
function stopOnUnknownAnswer(_answer) {
|
|
19
|
+
return { retry: false };
|
|
20
|
+
}
|
|
21
|
+
chunkMWMSFIWN_cjs.__name(stopOnUnknownAnswer, "stopOnUnknownAnswer");
|
|
21
22
|
function classifyFollowFailure(error) {
|
|
22
|
-
if (
|
|
23
|
-
|
|
23
|
+
if (error instanceof chunkSPFRDXAF_cjs.LiveEdgeError) return liveEdgeVerdict(error);
|
|
24
|
+
if (!(error instanceof chunkSPFRDXAF_cjs.SDKError) || !error.retryable) return { retry: false };
|
|
25
|
+
const afterMs = chunkSPFRDXAF_cjs.serviceInstructedDelayMs(error, Date.now());
|
|
24
26
|
return afterMs === void 0 ? { retry: true } : { retry: true, afterMs };
|
|
25
27
|
}
|
|
26
28
|
chunkMWMSFIWN_cjs.__name(classifyFollowFailure, "classifyFollowFailure");
|
|
29
|
+
function liveEdgeVerdict(error) {
|
|
30
|
+
const hint = error.retryAfterMs === void 0 ? {} : { afterMs: error.retryAfterMs };
|
|
31
|
+
switch (error.retry) {
|
|
32
|
+
case "stop": {
|
|
33
|
+
return { retry: false };
|
|
34
|
+
}
|
|
35
|
+
case "retry": {
|
|
36
|
+
return { retry: true, ...hint };
|
|
37
|
+
}
|
|
38
|
+
case "back-off": {
|
|
39
|
+
return { retry: true, ...hint, backOffMs: chunkSPFRDXAF_cjs.VISITOR_ADMISSION_RETRY_AFTER_SECONDS * 1e3 };
|
|
40
|
+
}
|
|
41
|
+
default: {
|
|
42
|
+
return stopOnUnknownAnswer(error.retry);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
chunkMWMSFIWN_cjs.__name(liveEdgeVerdict, "liveEdgeVerdict");
|
|
27
47
|
async function followChanges(source, options) {
|
|
28
48
|
const { signal, onChange, onResync } = options;
|
|
29
49
|
const classify = options.classify ?? classifyFollowFailure;
|
|
30
50
|
const random = options.random ?? Math.random;
|
|
31
51
|
const report = /* @__PURE__ */ chunkMWMSFIWN_cjs.__name((state) => {
|
|
32
|
-
if (!
|
|
52
|
+
if (!chunkSPFRDXAF_cjs.isAborted(signal)) options.onState?.(state);
|
|
33
53
|
}, "report");
|
|
34
54
|
const resync = /* @__PURE__ */ chunkMWMSFIWN_cjs.__name(async (cause) => {
|
|
35
|
-
if (
|
|
55
|
+
if (chunkSPFRDXAF_cjs.isAborted(signal)) return;
|
|
36
56
|
await onResync(cause);
|
|
37
57
|
report({ kind: "resynced", resync: cause });
|
|
38
58
|
}, "resync");
|
|
@@ -41,12 +61,12 @@ async function followChanges(source, options) {
|
|
|
41
61
|
let unanchored = false;
|
|
42
62
|
let current;
|
|
43
63
|
for (; ; ) {
|
|
44
|
-
if (
|
|
64
|
+
if (chunkSPFRDXAF_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
45
65
|
try {
|
|
46
66
|
if (unanchored) {
|
|
47
67
|
unanchored = false;
|
|
48
68
|
await resync({ cause: "no-cursor" });
|
|
49
|
-
if (
|
|
69
|
+
if (chunkSPFRDXAF_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
50
70
|
}
|
|
51
71
|
report({ kind: "following" });
|
|
52
72
|
const open = {};
|
|
@@ -57,16 +77,19 @@ async function followChanges(source, options) {
|
|
|
57
77
|
onExpired: /* @__PURE__ */ chunkMWMSFIWN_cjs.__name((expired) => resync({ cause: "expired", expired }), "onExpired"),
|
|
58
78
|
opened: /* @__PURE__ */ chunkMWMSFIWN_cjs.__name(() => {
|
|
59
79
|
if (current === open) failures = 0;
|
|
60
|
-
}, "opened")
|
|
80
|
+
}, "opened"),
|
|
81
|
+
reached: /* @__PURE__ */ chunkMWMSFIWN_cjs.__name((cursor) => {
|
|
82
|
+
if (current === open) since = cursor;
|
|
83
|
+
}, "reached")
|
|
61
84
|
});
|
|
62
85
|
for await (const change of changes) {
|
|
63
|
-
if (
|
|
86
|
+
if (chunkSPFRDXAF_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
64
87
|
failures = 0;
|
|
65
88
|
await onChange(change);
|
|
66
89
|
since = change.cursor;
|
|
67
|
-
if (
|
|
90
|
+
if (chunkSPFRDXAF_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
68
91
|
}
|
|
69
|
-
if (
|
|
92
|
+
if (chunkSPFRDXAF_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
70
93
|
const error = new Error(
|
|
71
94
|
"The change source completed without its signal aborting; a source ends only on abort and throws every other end."
|
|
72
95
|
);
|
|
@@ -74,25 +97,27 @@ async function followChanges(source, options) {
|
|
|
74
97
|
return { kind: "stopped", since, error };
|
|
75
98
|
} catch (error) {
|
|
76
99
|
current = void 0;
|
|
77
|
-
if (
|
|
100
|
+
if (chunkSPFRDXAF_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
78
101
|
const verdict = classify(error);
|
|
79
102
|
if (!verdict.retry) {
|
|
80
103
|
report({ kind: "stopped", error });
|
|
81
104
|
return { kind: "stopped", since, error };
|
|
82
105
|
}
|
|
83
106
|
failures += 1;
|
|
84
|
-
const retryInMs = retryDelayMs(failures, verdict
|
|
107
|
+
const retryInMs = retryDelayMs(failures, verdict, random);
|
|
85
108
|
report({ kind: "reconnecting", error, retryInMs });
|
|
86
|
-
await
|
|
109
|
+
await chunkSPFRDXAF_cjs.sleep(retryInMs, signal);
|
|
87
110
|
if (since === void 0) unanchored = true;
|
|
88
111
|
}
|
|
89
112
|
}
|
|
90
113
|
}
|
|
91
114
|
chunkMWMSFIWN_cjs.__name(followChanges, "followChanges");
|
|
92
|
-
function retryDelayMs(failures,
|
|
93
|
-
const
|
|
115
|
+
function retryDelayMs(failures, verdict, random) {
|
|
116
|
+
const { afterMs, backOffMs } = verdict;
|
|
117
|
+
const [base, max] = backOffMs === void 0 ? [FOLLOW_RETRY_BASE_MS, FOLLOW_RETRY_MAX_MS] : [2 * backOffMs, Math.max(FOLLOW_BACK_OFF_MAX_MS, 2 * backOffMs)];
|
|
118
|
+
const ceiling = Math.min(base * 2 ** (failures - 1), max);
|
|
94
119
|
const jittered = ceiling - Math.floor(ceiling / 2 * random());
|
|
95
|
-
return
|
|
120
|
+
return afterMs === void 0 ? jittered : Math.max(afterMs, jittered);
|
|
96
121
|
}
|
|
97
122
|
chunkMWMSFIWN_cjs.__name(retryDelayMs, "retryDelayMs");
|
|
98
123
|
|
|
@@ -317,211 +342,231 @@ Object.defineProperty(exports, "fieldset", {
|
|
|
317
342
|
});
|
|
318
343
|
Object.defineProperty(exports, "AdhocQueryBuilder", {
|
|
319
344
|
enumerable: true,
|
|
320
|
-
get: function () { return
|
|
345
|
+
get: function () { return chunkSPFRDXAF_cjs.AdhocQueryBuilder; }
|
|
321
346
|
});
|
|
322
347
|
Object.defineProperty(exports, "AdhocQueryClient", {
|
|
323
348
|
enumerable: true,
|
|
324
|
-
get: function () { return
|
|
349
|
+
get: function () { return chunkSPFRDXAF_cjs.AdhocQueryClient; }
|
|
325
350
|
});
|
|
326
351
|
Object.defineProperty(exports, "AssetClient", {
|
|
327
352
|
enumerable: true,
|
|
328
|
-
get: function () { return
|
|
353
|
+
get: function () { return chunkSPFRDXAF_cjs.AssetClient; }
|
|
329
354
|
});
|
|
330
355
|
Object.defineProperty(exports, "AssetFileBuilder", {
|
|
331
356
|
enumerable: true,
|
|
332
|
-
get: function () { return
|
|
357
|
+
get: function () { return chunkSPFRDXAF_cjs.AssetFileBuilder; }
|
|
333
358
|
});
|
|
334
359
|
Object.defineProperty(exports, "AssetUploadBuilder", {
|
|
335
360
|
enumerable: true,
|
|
336
|
-
get: function () { return
|
|
361
|
+
get: function () { return chunkSPFRDXAF_cjs.AssetUploadBuilder; }
|
|
337
362
|
});
|
|
338
363
|
Object.defineProperty(exports, "AuthorizationError", {
|
|
339
364
|
enumerable: true,
|
|
340
|
-
get: function () { return
|
|
365
|
+
get: function () { return chunkSPFRDXAF_cjs.AuthorizationError; }
|
|
341
366
|
});
|
|
342
367
|
Object.defineProperty(exports, "AutocompleteBuilder", {
|
|
343
368
|
enumerable: true,
|
|
344
|
-
get: function () { return
|
|
369
|
+
get: function () { return chunkSPFRDXAF_cjs.AutocompleteBuilder; }
|
|
345
370
|
});
|
|
346
371
|
Object.defineProperty(exports, "BaseValidationError", {
|
|
347
372
|
enumerable: true,
|
|
348
|
-
get: function () { return
|
|
373
|
+
get: function () { return chunkSPFRDXAF_cjs.BaseValidationError; }
|
|
349
374
|
});
|
|
350
375
|
Object.defineProperty(exports, "BatchBuilder", {
|
|
351
376
|
enumerable: true,
|
|
352
|
-
get: function () { return
|
|
377
|
+
get: function () { return chunkSPFRDXAF_cjs.BatchBuilder; }
|
|
353
378
|
});
|
|
354
379
|
Object.defineProperty(exports, "BatchClient", {
|
|
355
380
|
enumerable: true,
|
|
356
|
-
get: function () { return
|
|
381
|
+
get: function () { return chunkSPFRDXAF_cjs.BatchClient; }
|
|
357
382
|
});
|
|
358
383
|
Object.defineProperty(exports, "ChangesExpiredError", {
|
|
359
384
|
enumerable: true,
|
|
360
|
-
get: function () { return
|
|
385
|
+
get: function () { return chunkSPFRDXAF_cjs.ChangesExpiredError; }
|
|
361
386
|
});
|
|
362
387
|
Object.defineProperty(exports, "ConnectionError", {
|
|
363
388
|
enumerable: true,
|
|
364
|
-
get: function () { return
|
|
389
|
+
get: function () { return chunkSPFRDXAF_cjs.ConnectionError; }
|
|
365
390
|
});
|
|
366
391
|
Object.defineProperty(exports, "ContentByIdBuilder", {
|
|
367
392
|
enumerable: true,
|
|
368
|
-
get: function () { return
|
|
393
|
+
get: function () { return chunkSPFRDXAF_cjs.ContentByIdBuilder; }
|
|
369
394
|
});
|
|
370
395
|
Object.defineProperty(exports, "ContentClient", {
|
|
371
396
|
enumerable: true,
|
|
372
|
-
get: function () { return
|
|
397
|
+
get: function () { return chunkSPFRDXAF_cjs.ContentClient; }
|
|
373
398
|
});
|
|
374
399
|
Object.defineProperty(exports, "ContentQueryBuilder", {
|
|
375
400
|
enumerable: true,
|
|
376
|
-
get: function () { return
|
|
401
|
+
get: function () { return chunkSPFRDXAF_cjs.ContentQueryBuilder; }
|
|
377
402
|
});
|
|
378
403
|
Object.defineProperty(exports, "ErrorMapper", {
|
|
379
404
|
enumerable: true,
|
|
380
|
-
get: function () { return
|
|
405
|
+
get: function () { return chunkSPFRDXAF_cjs.ErrorMapper; }
|
|
381
406
|
});
|
|
382
407
|
Object.defineProperty(exports, "FileUploadError", {
|
|
383
408
|
enumerable: true,
|
|
384
|
-
get: function () { return
|
|
409
|
+
get: function () { return chunkSPFRDXAF_cjs.FileUploadError; }
|
|
385
410
|
});
|
|
386
411
|
Object.defineProperty(exports, "FileValidationError", {
|
|
387
412
|
enumerable: true,
|
|
388
|
-
get: function () { return
|
|
413
|
+
get: function () { return chunkSPFRDXAF_cjs.FileValidationError; }
|
|
389
414
|
});
|
|
390
415
|
Object.defineProperty(exports, "HttpClient", {
|
|
391
416
|
enumerable: true,
|
|
392
|
-
get: function () { return
|
|
417
|
+
get: function () { return chunkSPFRDXAF_cjs.HttpClient; }
|
|
393
418
|
});
|
|
394
419
|
Object.defineProperty(exports, "InvalidApiKeyError", {
|
|
395
420
|
enumerable: true,
|
|
396
|
-
get: function () { return
|
|
421
|
+
get: function () { return chunkSPFRDXAF_cjs.InvalidApiKeyError; }
|
|
397
422
|
});
|
|
398
423
|
Object.defineProperty(exports, "InvalidPayloadError", {
|
|
399
424
|
enumerable: true,
|
|
400
|
-
get: function () { return
|
|
425
|
+
get: function () { return chunkSPFRDXAF_cjs.InvalidPayloadError; }
|
|
426
|
+
});
|
|
427
|
+
Object.defineProperty(exports, "LIVE_KEEPALIVE_INTERVAL_MS", {
|
|
428
|
+
enumerable: true,
|
|
429
|
+
get: function () { return chunkSPFRDXAF_cjs.LIVE_KEEPALIVE_INTERVAL_MS; }
|
|
430
|
+
});
|
|
431
|
+
Object.defineProperty(exports, "LIVE_SOCKET_OPEN_TIMEOUT_MS", {
|
|
432
|
+
enumerable: true,
|
|
433
|
+
get: function () { return chunkSPFRDXAF_cjs.LIVE_SOCKET_OPEN_TIMEOUT_MS; }
|
|
434
|
+
});
|
|
435
|
+
Object.defineProperty(exports, "LiveEdgeError", {
|
|
436
|
+
enumerable: true,
|
|
437
|
+
get: function () { return chunkSPFRDXAF_cjs.LiveEdgeError; }
|
|
401
438
|
});
|
|
402
439
|
Object.defineProperty(exports, "MethodNotAllowedError", {
|
|
403
440
|
enumerable: true,
|
|
404
|
-
get: function () { return
|
|
441
|
+
get: function () { return chunkSPFRDXAF_cjs.MethodNotAllowedError; }
|
|
405
442
|
});
|
|
406
443
|
Object.defineProperty(exports, "MissingApiKeyError", {
|
|
407
444
|
enumerable: true,
|
|
408
|
-
get: function () { return
|
|
445
|
+
get: function () { return chunkSPFRDXAF_cjs.MissingApiKeyError; }
|
|
409
446
|
});
|
|
410
447
|
Object.defineProperty(exports, "NetworkError", {
|
|
411
448
|
enumerable: true,
|
|
412
|
-
get: function () { return
|
|
449
|
+
get: function () { return chunkSPFRDXAF_cjs.NetworkError; }
|
|
450
|
+
});
|
|
451
|
+
Object.defineProperty(exports, "PUBLISHABLE_KEY_PREFIX", {
|
|
452
|
+
enumerable: true,
|
|
453
|
+
get: function () { return chunkSPFRDXAF_cjs.PUBLISHABLE_KEY_PREFIX; }
|
|
413
454
|
});
|
|
414
455
|
Object.defineProperty(exports, "PayloadTooLargeError", {
|
|
415
456
|
enumerable: true,
|
|
416
|
-
get: function () { return
|
|
457
|
+
get: function () { return chunkSPFRDXAF_cjs.PayloadTooLargeError; }
|
|
417
458
|
});
|
|
418
459
|
Object.defineProperty(exports, "PlanFeatureUnavailableError", {
|
|
419
460
|
enumerable: true,
|
|
420
|
-
get: function () { return
|
|
461
|
+
get: function () { return chunkSPFRDXAF_cjs.PlanFeatureUnavailableError; }
|
|
421
462
|
});
|
|
422
463
|
Object.defineProperty(exports, "RateLimitError", {
|
|
423
464
|
enumerable: true,
|
|
424
|
-
get: function () { return
|
|
465
|
+
get: function () { return chunkSPFRDXAF_cjs.RateLimitError; }
|
|
425
466
|
});
|
|
426
467
|
Object.defineProperty(exports, "ReadOnlyKeyError", {
|
|
427
468
|
enumerable: true,
|
|
428
|
-
get: function () { return
|
|
469
|
+
get: function () { return chunkSPFRDXAF_cjs.ReadOnlyKeyError; }
|
|
429
470
|
});
|
|
430
471
|
Object.defineProperty(exports, "ResourceConflictError", {
|
|
431
472
|
enumerable: true,
|
|
432
|
-
get: function () { return
|
|
473
|
+
get: function () { return chunkSPFRDXAF_cjs.ResourceConflictError; }
|
|
433
474
|
});
|
|
434
475
|
Object.defineProperty(exports, "ResourceExpiredError", {
|
|
435
476
|
enumerable: true,
|
|
436
|
-
get: function () { return
|
|
477
|
+
get: function () { return chunkSPFRDXAF_cjs.ResourceExpiredError; }
|
|
437
478
|
});
|
|
438
479
|
Object.defineProperty(exports, "ResourceNotFoundError", {
|
|
439
480
|
enumerable: true,
|
|
440
|
-
get: function () { return
|
|
481
|
+
get: function () { return chunkSPFRDXAF_cjs.ResourceNotFoundError; }
|
|
441
482
|
});
|
|
442
483
|
Object.defineProperty(exports, "SDKError", {
|
|
443
484
|
enumerable: true,
|
|
444
|
-
get: function () { return
|
|
485
|
+
get: function () { return chunkSPFRDXAF_cjs.SDKError; }
|
|
445
486
|
});
|
|
446
487
|
Object.defineProperty(exports, "SearchBuilder", {
|
|
447
488
|
enumerable: true,
|
|
448
|
-
get: function () { return
|
|
489
|
+
get: function () { return chunkSPFRDXAF_cjs.SearchBuilder; }
|
|
449
490
|
});
|
|
450
491
|
Object.defineProperty(exports, "SearchClient", {
|
|
451
492
|
enumerable: true,
|
|
452
|
-
get: function () { return
|
|
493
|
+
get: function () { return chunkSPFRDXAF_cjs.SearchClient; }
|
|
453
494
|
});
|
|
454
495
|
Object.defineProperty(exports, "ServerError", {
|
|
455
496
|
enumerable: true,
|
|
456
|
-
get: function () { return
|
|
497
|
+
get: function () { return chunkSPFRDXAF_cjs.ServerError; }
|
|
457
498
|
});
|
|
458
499
|
Object.defineProperty(exports, "ServiceIndeterminateError", {
|
|
459
500
|
enumerable: true,
|
|
460
|
-
get: function () { return
|
|
501
|
+
get: function () { return chunkSPFRDXAF_cjs.ServiceIndeterminateError; }
|
|
461
502
|
});
|
|
462
503
|
Object.defineProperty(exports, "SettingsClient", {
|
|
463
504
|
enumerable: true,
|
|
464
|
-
get: function () { return
|
|
505
|
+
get: function () { return chunkSPFRDXAF_cjs.SettingsClient; }
|
|
465
506
|
});
|
|
466
507
|
Object.defineProperty(exports, "SimilarBuilder", {
|
|
467
508
|
enumerable: true,
|
|
468
|
-
get: function () { return
|
|
509
|
+
get: function () { return chunkSPFRDXAF_cjs.SimilarBuilder; }
|
|
469
510
|
});
|
|
470
511
|
Object.defineProperty(exports, "SingletonClient", {
|
|
471
512
|
enumerable: true,
|
|
472
|
-
get: function () { return
|
|
513
|
+
get: function () { return chunkSPFRDXAF_cjs.SingletonClient; }
|
|
473
514
|
});
|
|
474
515
|
Object.defineProperty(exports, "TimeoutError", {
|
|
475
516
|
enumerable: true,
|
|
476
|
-
get: function () { return
|
|
517
|
+
get: function () { return chunkSPFRDXAF_cjs.TimeoutError; }
|
|
477
518
|
});
|
|
478
519
|
Object.defineProperty(exports, "TransactionRolledBackError", {
|
|
479
520
|
enumerable: true,
|
|
480
|
-
get: function () { return
|
|
521
|
+
get: function () { return chunkSPFRDXAF_cjs.TransactionRolledBackError; }
|
|
481
522
|
});
|
|
482
523
|
Object.defineProperty(exports, "TypedRelyIOClient", {
|
|
483
524
|
enumerable: true,
|
|
484
|
-
get: function () { return
|
|
525
|
+
get: function () { return chunkSPFRDXAF_cjs.TypedRelyIOClient; }
|
|
485
526
|
});
|
|
486
527
|
Object.defineProperty(exports, "UnknownContractError", {
|
|
487
528
|
enumerable: true,
|
|
488
|
-
get: function () { return
|
|
529
|
+
get: function () { return chunkSPFRDXAF_cjs.UnknownContractError; }
|
|
489
530
|
});
|
|
490
531
|
Object.defineProperty(exports, "UsageQuotaExceededError", {
|
|
491
532
|
enumerable: true,
|
|
492
|
-
get: function () { return
|
|
533
|
+
get: function () { return chunkSPFRDXAF_cjs.UsageQuotaExceededError; }
|
|
493
534
|
});
|
|
494
535
|
Object.defineProperty(exports, "ValidationError", {
|
|
495
536
|
enumerable: true,
|
|
496
|
-
get: function () { return
|
|
537
|
+
get: function () { return chunkSPFRDXAF_cjs.ValidationError; }
|
|
497
538
|
});
|
|
498
539
|
Object.defineProperty(exports, "createClient", {
|
|
499
540
|
enumerable: true,
|
|
500
|
-
get: function () { return
|
|
541
|
+
get: function () { return chunkSPFRDXAF_cjs.createClient; }
|
|
501
542
|
});
|
|
502
543
|
Object.defineProperty(exports, "default", {
|
|
503
544
|
enumerable: true,
|
|
504
|
-
get: function () { return
|
|
545
|
+
get: function () { return chunkSPFRDXAF_cjs.createClient; }
|
|
505
546
|
});
|
|
506
547
|
Object.defineProperty(exports, "entityTagOf", {
|
|
507
548
|
enumerable: true,
|
|
508
|
-
get: function () { return
|
|
549
|
+
get: function () { return chunkSPFRDXAF_cjs.entityTagOf; }
|
|
509
550
|
});
|
|
510
551
|
Object.defineProperty(exports, "isAssetEntry", {
|
|
511
552
|
enumerable: true,
|
|
512
|
-
get: function () { return
|
|
553
|
+
get: function () { return chunkSPFRDXAF_cjs.isAssetEntry; }
|
|
554
|
+
});
|
|
555
|
+
Object.defineProperty(exports, "isPublishableKey", {
|
|
556
|
+
enumerable: true,
|
|
557
|
+
get: function () { return chunkSPFRDXAF_cjs.isPublishableKey; }
|
|
513
558
|
});
|
|
514
559
|
Object.defineProperty(exports, "isResourceNotFound", {
|
|
515
560
|
enumerable: true,
|
|
516
|
-
get: function () { return
|
|
561
|
+
get: function () { return chunkSPFRDXAF_cjs.isResourceNotFound; }
|
|
517
562
|
});
|
|
518
563
|
Object.defineProperty(exports, "matchRoute", {
|
|
519
564
|
enumerable: true,
|
|
520
|
-
get: function () { return
|
|
565
|
+
get: function () { return chunkSPFRDXAF_cjs.matchRoute; }
|
|
521
566
|
});
|
|
522
567
|
Object.defineProperty(exports, "validateFile", {
|
|
523
568
|
enumerable: true,
|
|
524
|
-
get: function () { return
|
|
569
|
+
get: function () { return chunkSPFRDXAF_cjs.validateFile; }
|
|
525
570
|
});
|
|
526
571
|
Object.defineProperty(exports, "camelToSnake", {
|
|
527
572
|
enumerable: true,
|
|
@@ -595,10 +640,10 @@ Object.defineProperty(exports, "toSafeString", {
|
|
|
595
640
|
enumerable: true,
|
|
596
641
|
get: function () { return chunkTZL374LS_cjs.toSafeString; }
|
|
597
642
|
});
|
|
643
|
+
exports.FOLLOW_BACK_OFF_MAX_MS = FOLLOW_BACK_OFF_MAX_MS;
|
|
598
644
|
exports.FOLLOW_RETRY_BASE_MS = FOLLOW_RETRY_BASE_MS;
|
|
599
645
|
exports.FOLLOW_RETRY_MAX_MS = FOLLOW_RETRY_MAX_MS;
|
|
600
646
|
exports.IMAGE_LADDER = IMAGE_LADDER;
|
|
601
|
-
exports.PUBLISHABLE_KEY_PREFIX = PUBLISHABLE_KEY_PREFIX;
|
|
602
647
|
exports.RELYIO_CHANGE_EVENT = RELYIO_CHANGE_EVENT;
|
|
603
648
|
exports.RELYIO_RESYNC_EVENT = RELYIO_RESYNC_EVENT;
|
|
604
649
|
exports.VERSION = VERSION;
|
|
@@ -616,7 +661,6 @@ exports.getPublishedLocaleCodes = getPublishedLocaleCodes;
|
|
|
616
661
|
exports.getRequestedLocale = getRequestedLocale;
|
|
617
662
|
exports.hasLocale = hasLocale;
|
|
618
663
|
exports.isFieldFallback = isFieldFallback;
|
|
619
|
-
exports.isPublishableKey = isPublishableKey;
|
|
620
664
|
exports.isPublishedInLocale = isPublishedInLocale;
|
|
621
665
|
exports.localeHelpers = localeHelpers;
|
|
622
666
|
exports.needsTranslation = needsTranslation;
|