@relyio/sdk 0.7.0 → 0.8.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 +30 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/{chunk-GYHAVYND.js → chunk-QFHVF3YF.js} +851 -16
- package/dist/{chunk-VH2DE7HZ.cjs → chunk-XIE7WJV3.cjs} +855 -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-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-M0X45k7J.d.cts → index-DBoPPlT1.d.cts} +199 -14
- package/dist/{index-1G97sNA8.d.ts → index-yRJ2IqM_.d.ts} +199 -14
- package/dist/index.cjs +115 -75
- package/dist/index.d.cts +151 -41
- package/dist/index.d.ts +151 -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 +3 -3
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 chunkXIE7WJV3_cjs = require('./chunk-XIE7WJV3.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 chunkXIE7WJV3_cjs.LiveEdgeError) return liveEdgeVerdict(error);
|
|
24
|
+
if (!(error instanceof chunkXIE7WJV3_cjs.SDKError) || !error.retryable) return { retry: false };
|
|
25
|
+
const afterMs = chunkXIE7WJV3_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: chunkXIE7WJV3_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 (!chunkXIE7WJV3_cjs.isAborted(signal)) options.onState?.(state);
|
|
33
53
|
}, "report");
|
|
34
54
|
const resync = /* @__PURE__ */ chunkMWMSFIWN_cjs.__name(async (cause) => {
|
|
35
|
-
if (
|
|
55
|
+
if (chunkXIE7WJV3_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 (chunkXIE7WJV3_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 (chunkXIE7WJV3_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 (chunkXIE7WJV3_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 (chunkXIE7WJV3_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
68
91
|
}
|
|
69
|
-
if (
|
|
92
|
+
if (chunkXIE7WJV3_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 (chunkXIE7WJV3_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 chunkXIE7WJV3_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,227 @@ Object.defineProperty(exports, "fieldset", {
|
|
|
317
342
|
});
|
|
318
343
|
Object.defineProperty(exports, "AdhocQueryBuilder", {
|
|
319
344
|
enumerable: true,
|
|
320
|
-
get: function () { return
|
|
345
|
+
get: function () { return chunkXIE7WJV3_cjs.AdhocQueryBuilder; }
|
|
321
346
|
});
|
|
322
347
|
Object.defineProperty(exports, "AdhocQueryClient", {
|
|
323
348
|
enumerable: true,
|
|
324
|
-
get: function () { return
|
|
349
|
+
get: function () { return chunkXIE7WJV3_cjs.AdhocQueryClient; }
|
|
325
350
|
});
|
|
326
351
|
Object.defineProperty(exports, "AssetClient", {
|
|
327
352
|
enumerable: true,
|
|
328
|
-
get: function () { return
|
|
353
|
+
get: function () { return chunkXIE7WJV3_cjs.AssetClient; }
|
|
329
354
|
});
|
|
330
355
|
Object.defineProperty(exports, "AssetFileBuilder", {
|
|
331
356
|
enumerable: true,
|
|
332
|
-
get: function () { return
|
|
357
|
+
get: function () { return chunkXIE7WJV3_cjs.AssetFileBuilder; }
|
|
333
358
|
});
|
|
334
359
|
Object.defineProperty(exports, "AssetUploadBuilder", {
|
|
335
360
|
enumerable: true,
|
|
336
|
-
get: function () { return
|
|
361
|
+
get: function () { return chunkXIE7WJV3_cjs.AssetUploadBuilder; }
|
|
337
362
|
});
|
|
338
363
|
Object.defineProperty(exports, "AuthorizationError", {
|
|
339
364
|
enumerable: true,
|
|
340
|
-
get: function () { return
|
|
365
|
+
get: function () { return chunkXIE7WJV3_cjs.AuthorizationError; }
|
|
341
366
|
});
|
|
342
367
|
Object.defineProperty(exports, "AutocompleteBuilder", {
|
|
343
368
|
enumerable: true,
|
|
344
|
-
get: function () { return
|
|
369
|
+
get: function () { return chunkXIE7WJV3_cjs.AutocompleteBuilder; }
|
|
345
370
|
});
|
|
346
371
|
Object.defineProperty(exports, "BaseValidationError", {
|
|
347
372
|
enumerable: true,
|
|
348
|
-
get: function () { return
|
|
373
|
+
get: function () { return chunkXIE7WJV3_cjs.BaseValidationError; }
|
|
349
374
|
});
|
|
350
375
|
Object.defineProperty(exports, "BatchBuilder", {
|
|
351
376
|
enumerable: true,
|
|
352
|
-
get: function () { return
|
|
377
|
+
get: function () { return chunkXIE7WJV3_cjs.BatchBuilder; }
|
|
353
378
|
});
|
|
354
379
|
Object.defineProperty(exports, "BatchClient", {
|
|
355
380
|
enumerable: true,
|
|
356
|
-
get: function () { return
|
|
381
|
+
get: function () { return chunkXIE7WJV3_cjs.BatchClient; }
|
|
357
382
|
});
|
|
358
383
|
Object.defineProperty(exports, "ChangesExpiredError", {
|
|
359
384
|
enumerable: true,
|
|
360
|
-
get: function () { return
|
|
385
|
+
get: function () { return chunkXIE7WJV3_cjs.ChangesExpiredError; }
|
|
361
386
|
});
|
|
362
387
|
Object.defineProperty(exports, "ConnectionError", {
|
|
363
388
|
enumerable: true,
|
|
364
|
-
get: function () { return
|
|
389
|
+
get: function () { return chunkXIE7WJV3_cjs.ConnectionError; }
|
|
365
390
|
});
|
|
366
391
|
Object.defineProperty(exports, "ContentByIdBuilder", {
|
|
367
392
|
enumerable: true,
|
|
368
|
-
get: function () { return
|
|
393
|
+
get: function () { return chunkXIE7WJV3_cjs.ContentByIdBuilder; }
|
|
369
394
|
});
|
|
370
395
|
Object.defineProperty(exports, "ContentClient", {
|
|
371
396
|
enumerable: true,
|
|
372
|
-
get: function () { return
|
|
397
|
+
get: function () { return chunkXIE7WJV3_cjs.ContentClient; }
|
|
373
398
|
});
|
|
374
399
|
Object.defineProperty(exports, "ContentQueryBuilder", {
|
|
375
400
|
enumerable: true,
|
|
376
|
-
get: function () { return
|
|
401
|
+
get: function () { return chunkXIE7WJV3_cjs.ContentQueryBuilder; }
|
|
377
402
|
});
|
|
378
403
|
Object.defineProperty(exports, "ErrorMapper", {
|
|
379
404
|
enumerable: true,
|
|
380
|
-
get: function () { return
|
|
405
|
+
get: function () { return chunkXIE7WJV3_cjs.ErrorMapper; }
|
|
381
406
|
});
|
|
382
407
|
Object.defineProperty(exports, "FileUploadError", {
|
|
383
408
|
enumerable: true,
|
|
384
|
-
get: function () { return
|
|
409
|
+
get: function () { return chunkXIE7WJV3_cjs.FileUploadError; }
|
|
385
410
|
});
|
|
386
411
|
Object.defineProperty(exports, "FileValidationError", {
|
|
387
412
|
enumerable: true,
|
|
388
|
-
get: function () { return
|
|
413
|
+
get: function () { return chunkXIE7WJV3_cjs.FileValidationError; }
|
|
389
414
|
});
|
|
390
415
|
Object.defineProperty(exports, "HttpClient", {
|
|
391
416
|
enumerable: true,
|
|
392
|
-
get: function () { return
|
|
417
|
+
get: function () { return chunkXIE7WJV3_cjs.HttpClient; }
|
|
393
418
|
});
|
|
394
419
|
Object.defineProperty(exports, "InvalidApiKeyError", {
|
|
395
420
|
enumerable: true,
|
|
396
|
-
get: function () { return
|
|
421
|
+
get: function () { return chunkXIE7WJV3_cjs.InvalidApiKeyError; }
|
|
397
422
|
});
|
|
398
423
|
Object.defineProperty(exports, "InvalidPayloadError", {
|
|
399
424
|
enumerable: true,
|
|
400
|
-
get: function () { return
|
|
425
|
+
get: function () { return chunkXIE7WJV3_cjs.InvalidPayloadError; }
|
|
426
|
+
});
|
|
427
|
+
Object.defineProperty(exports, "LIVE_KEEPALIVE_INTERVAL_MS", {
|
|
428
|
+
enumerable: true,
|
|
429
|
+
get: function () { return chunkXIE7WJV3_cjs.LIVE_KEEPALIVE_INTERVAL_MS; }
|
|
430
|
+
});
|
|
431
|
+
Object.defineProperty(exports, "LiveEdgeError", {
|
|
432
|
+
enumerable: true,
|
|
433
|
+
get: function () { return chunkXIE7WJV3_cjs.LiveEdgeError; }
|
|
401
434
|
});
|
|
402
435
|
Object.defineProperty(exports, "MethodNotAllowedError", {
|
|
403
436
|
enumerable: true,
|
|
404
|
-
get: function () { return
|
|
437
|
+
get: function () { return chunkXIE7WJV3_cjs.MethodNotAllowedError; }
|
|
405
438
|
});
|
|
406
439
|
Object.defineProperty(exports, "MissingApiKeyError", {
|
|
407
440
|
enumerable: true,
|
|
408
|
-
get: function () { return
|
|
441
|
+
get: function () { return chunkXIE7WJV3_cjs.MissingApiKeyError; }
|
|
409
442
|
});
|
|
410
443
|
Object.defineProperty(exports, "NetworkError", {
|
|
411
444
|
enumerable: true,
|
|
412
|
-
get: function () { return
|
|
445
|
+
get: function () { return chunkXIE7WJV3_cjs.NetworkError; }
|
|
446
|
+
});
|
|
447
|
+
Object.defineProperty(exports, "PUBLISHABLE_KEY_PREFIX", {
|
|
448
|
+
enumerable: true,
|
|
449
|
+
get: function () { return chunkXIE7WJV3_cjs.PUBLISHABLE_KEY_PREFIX; }
|
|
413
450
|
});
|
|
414
451
|
Object.defineProperty(exports, "PayloadTooLargeError", {
|
|
415
452
|
enumerable: true,
|
|
416
|
-
get: function () { return
|
|
453
|
+
get: function () { return chunkXIE7WJV3_cjs.PayloadTooLargeError; }
|
|
417
454
|
});
|
|
418
455
|
Object.defineProperty(exports, "PlanFeatureUnavailableError", {
|
|
419
456
|
enumerable: true,
|
|
420
|
-
get: function () { return
|
|
457
|
+
get: function () { return chunkXIE7WJV3_cjs.PlanFeatureUnavailableError; }
|
|
421
458
|
});
|
|
422
459
|
Object.defineProperty(exports, "RateLimitError", {
|
|
423
460
|
enumerable: true,
|
|
424
|
-
get: function () { return
|
|
461
|
+
get: function () { return chunkXIE7WJV3_cjs.RateLimitError; }
|
|
425
462
|
});
|
|
426
463
|
Object.defineProperty(exports, "ReadOnlyKeyError", {
|
|
427
464
|
enumerable: true,
|
|
428
|
-
get: function () { return
|
|
465
|
+
get: function () { return chunkXIE7WJV3_cjs.ReadOnlyKeyError; }
|
|
429
466
|
});
|
|
430
467
|
Object.defineProperty(exports, "ResourceConflictError", {
|
|
431
468
|
enumerable: true,
|
|
432
|
-
get: function () { return
|
|
469
|
+
get: function () { return chunkXIE7WJV3_cjs.ResourceConflictError; }
|
|
433
470
|
});
|
|
434
471
|
Object.defineProperty(exports, "ResourceExpiredError", {
|
|
435
472
|
enumerable: true,
|
|
436
|
-
get: function () { return
|
|
473
|
+
get: function () { return chunkXIE7WJV3_cjs.ResourceExpiredError; }
|
|
437
474
|
});
|
|
438
475
|
Object.defineProperty(exports, "ResourceNotFoundError", {
|
|
439
476
|
enumerable: true,
|
|
440
|
-
get: function () { return
|
|
477
|
+
get: function () { return chunkXIE7WJV3_cjs.ResourceNotFoundError; }
|
|
441
478
|
});
|
|
442
479
|
Object.defineProperty(exports, "SDKError", {
|
|
443
480
|
enumerable: true,
|
|
444
|
-
get: function () { return
|
|
481
|
+
get: function () { return chunkXIE7WJV3_cjs.SDKError; }
|
|
445
482
|
});
|
|
446
483
|
Object.defineProperty(exports, "SearchBuilder", {
|
|
447
484
|
enumerable: true,
|
|
448
|
-
get: function () { return
|
|
485
|
+
get: function () { return chunkXIE7WJV3_cjs.SearchBuilder; }
|
|
449
486
|
});
|
|
450
487
|
Object.defineProperty(exports, "SearchClient", {
|
|
451
488
|
enumerable: true,
|
|
452
|
-
get: function () { return
|
|
489
|
+
get: function () { return chunkXIE7WJV3_cjs.SearchClient; }
|
|
453
490
|
});
|
|
454
491
|
Object.defineProperty(exports, "ServerError", {
|
|
455
492
|
enumerable: true,
|
|
456
|
-
get: function () { return
|
|
493
|
+
get: function () { return chunkXIE7WJV3_cjs.ServerError; }
|
|
457
494
|
});
|
|
458
495
|
Object.defineProperty(exports, "ServiceIndeterminateError", {
|
|
459
496
|
enumerable: true,
|
|
460
|
-
get: function () { return
|
|
497
|
+
get: function () { return chunkXIE7WJV3_cjs.ServiceIndeterminateError; }
|
|
461
498
|
});
|
|
462
499
|
Object.defineProperty(exports, "SettingsClient", {
|
|
463
500
|
enumerable: true,
|
|
464
|
-
get: function () { return
|
|
501
|
+
get: function () { return chunkXIE7WJV3_cjs.SettingsClient; }
|
|
465
502
|
});
|
|
466
503
|
Object.defineProperty(exports, "SimilarBuilder", {
|
|
467
504
|
enumerable: true,
|
|
468
|
-
get: function () { return
|
|
505
|
+
get: function () { return chunkXIE7WJV3_cjs.SimilarBuilder; }
|
|
469
506
|
});
|
|
470
507
|
Object.defineProperty(exports, "SingletonClient", {
|
|
471
508
|
enumerable: true,
|
|
472
|
-
get: function () { return
|
|
509
|
+
get: function () { return chunkXIE7WJV3_cjs.SingletonClient; }
|
|
473
510
|
});
|
|
474
511
|
Object.defineProperty(exports, "TimeoutError", {
|
|
475
512
|
enumerable: true,
|
|
476
|
-
get: function () { return
|
|
513
|
+
get: function () { return chunkXIE7WJV3_cjs.TimeoutError; }
|
|
477
514
|
});
|
|
478
515
|
Object.defineProperty(exports, "TransactionRolledBackError", {
|
|
479
516
|
enumerable: true,
|
|
480
|
-
get: function () { return
|
|
517
|
+
get: function () { return chunkXIE7WJV3_cjs.TransactionRolledBackError; }
|
|
481
518
|
});
|
|
482
519
|
Object.defineProperty(exports, "TypedRelyIOClient", {
|
|
483
520
|
enumerable: true,
|
|
484
|
-
get: function () { return
|
|
521
|
+
get: function () { return chunkXIE7WJV3_cjs.TypedRelyIOClient; }
|
|
485
522
|
});
|
|
486
523
|
Object.defineProperty(exports, "UnknownContractError", {
|
|
487
524
|
enumerable: true,
|
|
488
|
-
get: function () { return
|
|
525
|
+
get: function () { return chunkXIE7WJV3_cjs.UnknownContractError; }
|
|
489
526
|
});
|
|
490
527
|
Object.defineProperty(exports, "UsageQuotaExceededError", {
|
|
491
528
|
enumerable: true,
|
|
492
|
-
get: function () { return
|
|
529
|
+
get: function () { return chunkXIE7WJV3_cjs.UsageQuotaExceededError; }
|
|
493
530
|
});
|
|
494
531
|
Object.defineProperty(exports, "ValidationError", {
|
|
495
532
|
enumerable: true,
|
|
496
|
-
get: function () { return
|
|
533
|
+
get: function () { return chunkXIE7WJV3_cjs.ValidationError; }
|
|
497
534
|
});
|
|
498
535
|
Object.defineProperty(exports, "createClient", {
|
|
499
536
|
enumerable: true,
|
|
500
|
-
get: function () { return
|
|
537
|
+
get: function () { return chunkXIE7WJV3_cjs.createClient; }
|
|
501
538
|
});
|
|
502
539
|
Object.defineProperty(exports, "default", {
|
|
503
540
|
enumerable: true,
|
|
504
|
-
get: function () { return
|
|
541
|
+
get: function () { return chunkXIE7WJV3_cjs.createClient; }
|
|
505
542
|
});
|
|
506
543
|
Object.defineProperty(exports, "entityTagOf", {
|
|
507
544
|
enumerable: true,
|
|
508
|
-
get: function () { return
|
|
545
|
+
get: function () { return chunkXIE7WJV3_cjs.entityTagOf; }
|
|
509
546
|
});
|
|
510
547
|
Object.defineProperty(exports, "isAssetEntry", {
|
|
511
548
|
enumerable: true,
|
|
512
|
-
get: function () { return
|
|
549
|
+
get: function () { return chunkXIE7WJV3_cjs.isAssetEntry; }
|
|
550
|
+
});
|
|
551
|
+
Object.defineProperty(exports, "isPublishableKey", {
|
|
552
|
+
enumerable: true,
|
|
553
|
+
get: function () { return chunkXIE7WJV3_cjs.isPublishableKey; }
|
|
513
554
|
});
|
|
514
555
|
Object.defineProperty(exports, "isResourceNotFound", {
|
|
515
556
|
enumerable: true,
|
|
516
|
-
get: function () { return
|
|
557
|
+
get: function () { return chunkXIE7WJV3_cjs.isResourceNotFound; }
|
|
517
558
|
});
|
|
518
559
|
Object.defineProperty(exports, "matchRoute", {
|
|
519
560
|
enumerable: true,
|
|
520
|
-
get: function () { return
|
|
561
|
+
get: function () { return chunkXIE7WJV3_cjs.matchRoute; }
|
|
521
562
|
});
|
|
522
563
|
Object.defineProperty(exports, "validateFile", {
|
|
523
564
|
enumerable: true,
|
|
524
|
-
get: function () { return
|
|
565
|
+
get: function () { return chunkXIE7WJV3_cjs.validateFile; }
|
|
525
566
|
});
|
|
526
567
|
Object.defineProperty(exports, "camelToSnake", {
|
|
527
568
|
enumerable: true,
|
|
@@ -595,10 +636,10 @@ Object.defineProperty(exports, "toSafeString", {
|
|
|
595
636
|
enumerable: true,
|
|
596
637
|
get: function () { return chunkTZL374LS_cjs.toSafeString; }
|
|
597
638
|
});
|
|
639
|
+
exports.FOLLOW_BACK_OFF_MAX_MS = FOLLOW_BACK_OFF_MAX_MS;
|
|
598
640
|
exports.FOLLOW_RETRY_BASE_MS = FOLLOW_RETRY_BASE_MS;
|
|
599
641
|
exports.FOLLOW_RETRY_MAX_MS = FOLLOW_RETRY_MAX_MS;
|
|
600
642
|
exports.IMAGE_LADDER = IMAGE_LADDER;
|
|
601
|
-
exports.PUBLISHABLE_KEY_PREFIX = PUBLISHABLE_KEY_PREFIX;
|
|
602
643
|
exports.RELYIO_CHANGE_EVENT = RELYIO_CHANGE_EVENT;
|
|
603
644
|
exports.RELYIO_RESYNC_EVENT = RELYIO_RESYNC_EVENT;
|
|
604
645
|
exports.VERSION = VERSION;
|
|
@@ -616,7 +657,6 @@ exports.getPublishedLocaleCodes = getPublishedLocaleCodes;
|
|
|
616
657
|
exports.getRequestedLocale = getRequestedLocale;
|
|
617
658
|
exports.hasLocale = hasLocale;
|
|
618
659
|
exports.isFieldFallback = isFieldFallback;
|
|
619
|
-
exports.isPublishableKey = isPublishableKey;
|
|
620
660
|
exports.isPublishedInLocale = isPublishedInLocale;
|
|
621
661
|
exports.localeHelpers = localeHelpers;
|
|
622
662
|
exports.needsTranslation = needsTranslation;
|