@relyio/sdk 0.5.0 → 0.6.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.
Files changed (31) hide show
  1. package/CHANGELOG.md +170 -0
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/{chunk-5AZUUV5B.js → chunk-7ABNXVWL.js} +398 -184
  4. package/dist/{chunk-HAQELDZN.cjs → chunk-DY2XT7OF.cjs} +2 -2
  5. package/dist/{chunk-CIRT6TVT.cjs → chunk-GCMQUM6N.cjs} +400 -183
  6. package/dist/{chunk-XY5KFEFY.js → chunk-XJVY2CLY.js} +2 -2
  7. package/dist/client/index.cjs +3 -3
  8. package/dist/client/index.d.cts +4 -4
  9. package/dist/client/index.d.ts +4 -4
  10. package/dist/client/index.js +1 -1
  11. package/dist/define-content-type-CDB3kyeA.d.cts +1173 -0
  12. package/dist/define-content-type-CDB3kyeA.d.ts +1173 -0
  13. package/dist/{define-schema-DzYXk4HL.d.ts → define-schema-1kr2HIzN.d.cts} +25 -347
  14. package/dist/{define-schema-2xbHgtK-.d.cts → define-schema-ChvAzY8H.d.ts} +25 -347
  15. package/dist/{index-BozPz4n1.d.cts → index-Df1VsfJR.d.cts} +233 -74
  16. package/dist/{index-Dzo-upNS.d.ts → index-XqoGUaAY.d.ts} +233 -74
  17. package/dist/{index-C5mRBb6t.d.cts → index-d1Kz1e19.d.cts} +62 -29
  18. package/dist/{index-mXUx2H99.d.ts → index-yPbhZc6q.d.ts} +62 -29
  19. package/dist/index.cjs +161 -68
  20. package/dist/index.d.cts +283 -8
  21. package/dist/index.d.ts +283 -8
  22. package/dist/index.js +90 -3
  23. package/dist/schema/index.cjs +35 -35
  24. package/dist/schema/index.d.cts +11 -7
  25. package/dist/schema/index.d.ts +11 -7
  26. package/dist/schema/index.js +1 -1
  27. package/dist/types/index.d.cts +2 -2
  28. package/dist/types/index.d.ts +2 -2
  29. package/package.json +1 -1
  30. package/dist/define-content-type-CBfnTWSS.d.cts +0 -716
  31. package/dist/define-content-type-CBfnTWSS.d.ts +0 -716
package/dist/index.cjs CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkHAQELDZN_cjs = require('./chunk-HAQELDZN.cjs');
6
- var chunkCIRT6TVT_cjs = require('./chunk-CIRT6TVT.cjs');
5
+ var chunkDY2XT7OF_cjs = require('./chunk-DY2XT7OF.cjs');
6
+ var chunkGCMQUM6N_cjs = require('./chunk-GCMQUM6N.cjs');
7
7
  require('./chunk-LSRPMNPT.cjs');
8
8
  require('./chunk-PPA2WWOH.cjs');
9
9
  var chunkHT6NFRM2_cjs = require('./chunk-HT6NFRM2.cjs');
@@ -11,6 +11,91 @@ 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
+ // src/changes/follow.ts
19
+ var FOLLOW_RETRY_BASE_MS = 1e3;
20
+ var FOLLOW_RETRY_MAX_MS = 3e4;
21
+ function classifyFollowFailure(error) {
22
+ if (!(error instanceof chunkGCMQUM6N_cjs.SDKError) || !error.retryable) return { retry: false };
23
+ const afterMs = chunkGCMQUM6N_cjs.serviceInstructedDelayMs(error, Date.now());
24
+ return afterMs === void 0 ? { retry: true } : { retry: true, afterMs };
25
+ }
26
+ chunkMWMSFIWN_cjs.__name(classifyFollowFailure, "classifyFollowFailure");
27
+ async function followChanges(source, options) {
28
+ const { signal, onChange, onResync } = options;
29
+ const classify = options.classify ?? classifyFollowFailure;
30
+ const random = options.random ?? Math.random;
31
+ const report = /* @__PURE__ */ chunkMWMSFIWN_cjs.__name((state) => {
32
+ if (!chunkGCMQUM6N_cjs.isAborted(signal)) options.onState?.(state);
33
+ }, "report");
34
+ const resync = /* @__PURE__ */ chunkMWMSFIWN_cjs.__name(async (cause) => {
35
+ if (chunkGCMQUM6N_cjs.isAborted(signal)) return;
36
+ await onResync(cause);
37
+ report({ kind: "resynced", resync: cause });
38
+ }, "resync");
39
+ let since = options.since;
40
+ let failures = 0;
41
+ let unanchored = false;
42
+ let current;
43
+ for (; ; ) {
44
+ if (chunkGCMQUM6N_cjs.isAborted(signal)) return { kind: "aborted", since };
45
+ try {
46
+ if (unanchored) {
47
+ unanchored = false;
48
+ await resync({ cause: "no-cursor" });
49
+ if (chunkGCMQUM6N_cjs.isAborted(signal)) return { kind: "aborted", since };
50
+ }
51
+ report({ kind: "following" });
52
+ const open = {};
53
+ current = open;
54
+ const changes = source({
55
+ ...since === void 0 ? {} : { since },
56
+ signal,
57
+ onExpired: /* @__PURE__ */ chunkMWMSFIWN_cjs.__name((expired) => resync({ cause: "expired", expired }), "onExpired"),
58
+ opened: /* @__PURE__ */ chunkMWMSFIWN_cjs.__name(() => {
59
+ if (current === open) failures = 0;
60
+ }, "opened")
61
+ });
62
+ for await (const change of changes) {
63
+ if (chunkGCMQUM6N_cjs.isAborted(signal)) return { kind: "aborted", since };
64
+ failures = 0;
65
+ await onChange(change);
66
+ since = change.cursor;
67
+ if (chunkGCMQUM6N_cjs.isAborted(signal)) return { kind: "aborted", since };
68
+ }
69
+ if (chunkGCMQUM6N_cjs.isAborted(signal)) return { kind: "aborted", since };
70
+ const error = new Error(
71
+ "The change source completed without its signal aborting; a source ends only on abort and throws every other end."
72
+ );
73
+ report({ kind: "stopped", error });
74
+ return { kind: "stopped", since, error };
75
+ } catch (error) {
76
+ current = void 0;
77
+ if (chunkGCMQUM6N_cjs.isAborted(signal)) return { kind: "aborted", since };
78
+ const verdict = classify(error);
79
+ if (!verdict.retry) {
80
+ report({ kind: "stopped", error });
81
+ return { kind: "stopped", since, error };
82
+ }
83
+ failures += 1;
84
+ const retryInMs = retryDelayMs(failures, verdict.afterMs, random);
85
+ report({ kind: "reconnecting", error, retryInMs });
86
+ await chunkGCMQUM6N_cjs.sleep(retryInMs, signal);
87
+ if (since === void 0) unanchored = true;
88
+ }
89
+ }
90
+ }
91
+ chunkMWMSFIWN_cjs.__name(followChanges, "followChanges");
92
+ function retryDelayMs(failures, hintMs, random) {
93
+ const ceiling = Math.min(FOLLOW_RETRY_BASE_MS * 2 ** (failures - 1), FOLLOW_RETRY_MAX_MS);
94
+ const jittered = ceiling - Math.floor(ceiling / 2 * random());
95
+ return hintMs === void 0 ? jittered : Math.max(hintMs, jittered);
96
+ }
97
+ chunkMWMSFIWN_cjs.__name(retryDelayMs, "retryDelayMs");
98
+
14
99
  // src/locale/index.ts
15
100
  function needsTranslation(entry, locale) {
16
101
  const fallbacks = entry._metadata?.localeFallbacksApplied;
@@ -171,6 +256,7 @@ chunkMWMSFIWN_cjs.__name(requireMetadata, "requireMetadata");
171
256
 
172
257
  // src/binding/change-event.ts
173
258
  var RELYIO_CHANGE_EVENT = "relyio:change";
259
+ var RELYIO_RESYNC_EVENT = "relyio:resync";
174
260
 
175
261
  // src/image/ladder.ts
176
262
  var IMAGE_LADDER = {
@@ -191,267 +277,267 @@ var VERSION = "__VERSION__";
191
277
 
192
278
  Object.defineProperty(exports, "defineAssetType", {
193
279
  enumerable: true,
194
- get: function () { return chunkHAQELDZN_cjs.defineAssetType; }
280
+ get: function () { return chunkDY2XT7OF_cjs.defineAssetType; }
195
281
  });
196
282
  Object.defineProperty(exports, "defineComponent", {
197
283
  enumerable: true,
198
- get: function () { return chunkHAQELDZN_cjs.defineComponent; }
284
+ get: function () { return chunkDY2XT7OF_cjs.defineComponent; }
199
285
  });
200
286
  Object.defineProperty(exports, "defineContentType", {
201
287
  enumerable: true,
202
- get: function () { return chunkHAQELDZN_cjs.defineContentType; }
288
+ get: function () { return chunkDY2XT7OF_cjs.defineContentType; }
203
289
  });
204
290
  Object.defineProperty(exports, "defineQuery", {
205
291
  enumerable: true,
206
- get: function () { return chunkHAQELDZN_cjs.defineQuery; }
292
+ get: function () { return chunkDY2XT7OF_cjs.defineQuery; }
207
293
  });
208
294
  Object.defineProperty(exports, "defineSchema", {
209
295
  enumerable: true,
210
- get: function () { return chunkHAQELDZN_cjs.defineSchema; }
296
+ get: function () { return chunkDY2XT7OF_cjs.defineSchema; }
211
297
  });
212
298
  Object.defineProperty(exports, "defineSettingsGroup", {
213
299
  enumerable: true,
214
- get: function () { return chunkHAQELDZN_cjs.defineSettingsGroup; }
300
+ get: function () { return chunkDY2XT7OF_cjs.defineSettingsGroup; }
215
301
  });
216
302
  Object.defineProperty(exports, "defineSingleton", {
217
303
  enumerable: true,
218
- get: function () { return chunkHAQELDZN_cjs.defineSingleton; }
304
+ get: function () { return chunkDY2XT7OF_cjs.defineSingleton; }
219
305
  });
220
306
  Object.defineProperty(exports, "defineSingletonContentType", {
221
307
  enumerable: true,
222
- get: function () { return chunkHAQELDZN_cjs.defineSingletonContentType; }
308
+ get: function () { return chunkDY2XT7OF_cjs.defineSingletonContentType; }
223
309
  });
224
310
  Object.defineProperty(exports, "fields", {
225
311
  enumerable: true,
226
- get: function () { return chunkHAQELDZN_cjs.fields; }
312
+ get: function () { return chunkDY2XT7OF_cjs.fields; }
227
313
  });
228
314
  Object.defineProperty(exports, "fieldset", {
229
315
  enumerable: true,
230
- get: function () { return chunkHAQELDZN_cjs.fieldset; }
316
+ get: function () { return chunkDY2XT7OF_cjs.fieldset; }
231
317
  });
232
318
  Object.defineProperty(exports, "AdhocQueryBuilder", {
233
319
  enumerable: true,
234
- get: function () { return chunkCIRT6TVT_cjs.AdhocQueryBuilder; }
320
+ get: function () { return chunkGCMQUM6N_cjs.AdhocQueryBuilder; }
235
321
  });
236
322
  Object.defineProperty(exports, "AdhocQueryClient", {
237
323
  enumerable: true,
238
- get: function () { return chunkCIRT6TVT_cjs.AdhocQueryClient; }
324
+ get: function () { return chunkGCMQUM6N_cjs.AdhocQueryClient; }
239
325
  });
240
326
  Object.defineProperty(exports, "AssetClient", {
241
327
  enumerable: true,
242
- get: function () { return chunkCIRT6TVT_cjs.AssetClient; }
328
+ get: function () { return chunkGCMQUM6N_cjs.AssetClient; }
243
329
  });
244
330
  Object.defineProperty(exports, "AssetFileBuilder", {
245
331
  enumerable: true,
246
- get: function () { return chunkCIRT6TVT_cjs.AssetFileBuilder; }
332
+ get: function () { return chunkGCMQUM6N_cjs.AssetFileBuilder; }
247
333
  });
248
334
  Object.defineProperty(exports, "AssetUploadBuilder", {
249
335
  enumerable: true,
250
- get: function () { return chunkCIRT6TVT_cjs.AssetUploadBuilder; }
336
+ get: function () { return chunkGCMQUM6N_cjs.AssetUploadBuilder; }
251
337
  });
252
338
  Object.defineProperty(exports, "AuthenticationError", {
253
339
  enumerable: true,
254
- get: function () { return chunkCIRT6TVT_cjs.AuthenticationError; }
340
+ get: function () { return chunkGCMQUM6N_cjs.AuthenticationError; }
255
341
  });
256
342
  Object.defineProperty(exports, "AuthorizationError", {
257
343
  enumerable: true,
258
- get: function () { return chunkCIRT6TVT_cjs.AuthorizationError; }
344
+ get: function () { return chunkGCMQUM6N_cjs.AuthorizationError; }
259
345
  });
260
346
  Object.defineProperty(exports, "AutocompleteBuilder", {
261
347
  enumerable: true,
262
- get: function () { return chunkCIRT6TVT_cjs.AutocompleteBuilder; }
348
+ get: function () { return chunkGCMQUM6N_cjs.AutocompleteBuilder; }
263
349
  });
264
350
  Object.defineProperty(exports, "BaseValidationError", {
265
351
  enumerable: true,
266
- get: function () { return chunkCIRT6TVT_cjs.BaseValidationError; }
352
+ get: function () { return chunkGCMQUM6N_cjs.BaseValidationError; }
267
353
  });
268
354
  Object.defineProperty(exports, "BatchBuilder", {
269
355
  enumerable: true,
270
- get: function () { return chunkCIRT6TVT_cjs.BatchBuilder; }
356
+ get: function () { return chunkGCMQUM6N_cjs.BatchBuilder; }
271
357
  });
272
358
  Object.defineProperty(exports, "BatchClient", {
273
359
  enumerable: true,
274
- get: function () { return chunkCIRT6TVT_cjs.BatchClient; }
360
+ get: function () { return chunkGCMQUM6N_cjs.BatchClient; }
275
361
  });
276
362
  Object.defineProperty(exports, "ChangesExpiredError", {
277
363
  enumerable: true,
278
- get: function () { return chunkCIRT6TVT_cjs.ChangesExpiredError; }
364
+ get: function () { return chunkGCMQUM6N_cjs.ChangesExpiredError; }
279
365
  });
280
366
  Object.defineProperty(exports, "ConnectionError", {
281
367
  enumerable: true,
282
- get: function () { return chunkCIRT6TVT_cjs.ConnectionError; }
368
+ get: function () { return chunkGCMQUM6N_cjs.ConnectionError; }
283
369
  });
284
370
  Object.defineProperty(exports, "ContentByIdBuilder", {
285
371
  enumerable: true,
286
- get: function () { return chunkCIRT6TVT_cjs.ContentByIdBuilder; }
372
+ get: function () { return chunkGCMQUM6N_cjs.ContentByIdBuilder; }
287
373
  });
288
374
  Object.defineProperty(exports, "ContentClient", {
289
375
  enumerable: true,
290
- get: function () { return chunkCIRT6TVT_cjs.ContentClient; }
376
+ get: function () { return chunkGCMQUM6N_cjs.ContentClient; }
291
377
  });
292
378
  Object.defineProperty(exports, "ContentQueryBuilder", {
293
379
  enumerable: true,
294
- get: function () { return chunkCIRT6TVT_cjs.ContentQueryBuilder; }
380
+ get: function () { return chunkGCMQUM6N_cjs.ContentQueryBuilder; }
295
381
  });
296
382
  Object.defineProperty(exports, "ErrorMapper", {
297
383
  enumerable: true,
298
- get: function () { return chunkCIRT6TVT_cjs.ErrorMapper; }
384
+ get: function () { return chunkGCMQUM6N_cjs.ErrorMapper; }
299
385
  });
300
386
  Object.defineProperty(exports, "FileUploadError", {
301
387
  enumerable: true,
302
- get: function () { return chunkCIRT6TVT_cjs.FileUploadError; }
388
+ get: function () { return chunkGCMQUM6N_cjs.FileUploadError; }
303
389
  });
304
390
  Object.defineProperty(exports, "FileValidationError", {
305
391
  enumerable: true,
306
- get: function () { return chunkCIRT6TVT_cjs.FileValidationError; }
392
+ get: function () { return chunkGCMQUM6N_cjs.FileValidationError; }
307
393
  });
308
394
  Object.defineProperty(exports, "HttpClient", {
309
395
  enumerable: true,
310
- get: function () { return chunkCIRT6TVT_cjs.HttpClient; }
396
+ get: function () { return chunkGCMQUM6N_cjs.HttpClient; }
311
397
  });
312
398
  Object.defineProperty(exports, "InvalidApiKeyError", {
313
399
  enumerable: true,
314
- get: function () { return chunkCIRT6TVT_cjs.InvalidApiKeyError; }
400
+ get: function () { return chunkGCMQUM6N_cjs.InvalidApiKeyError; }
315
401
  });
316
402
  Object.defineProperty(exports, "InvalidFieldTypeError", {
317
403
  enumerable: true,
318
- get: function () { return chunkCIRT6TVT_cjs.InvalidFieldTypeError; }
404
+ get: function () { return chunkGCMQUM6N_cjs.InvalidFieldTypeError; }
319
405
  });
320
406
  Object.defineProperty(exports, "InvalidPayloadError", {
321
407
  enumerable: true,
322
- get: function () { return chunkCIRT6TVT_cjs.InvalidPayloadError; }
408
+ get: function () { return chunkGCMQUM6N_cjs.InvalidPayloadError; }
323
409
  });
324
410
  Object.defineProperty(exports, "MethodNotAllowedError", {
325
411
  enumerable: true,
326
- get: function () { return chunkCIRT6TVT_cjs.MethodNotAllowedError; }
412
+ get: function () { return chunkGCMQUM6N_cjs.MethodNotAllowedError; }
327
413
  });
328
414
  Object.defineProperty(exports, "MissingApiKeyError", {
329
415
  enumerable: true,
330
- get: function () { return chunkCIRT6TVT_cjs.MissingApiKeyError; }
416
+ get: function () { return chunkGCMQUM6N_cjs.MissingApiKeyError; }
331
417
  });
332
418
  Object.defineProperty(exports, "NetworkError", {
333
419
  enumerable: true,
334
- get: function () { return chunkCIRT6TVT_cjs.NetworkError; }
420
+ get: function () { return chunkGCMQUM6N_cjs.NetworkError; }
335
421
  });
336
422
  Object.defineProperty(exports, "PayloadTooLargeError", {
337
423
  enumerable: true,
338
- get: function () { return chunkCIRT6TVT_cjs.PayloadTooLargeError; }
424
+ get: function () { return chunkGCMQUM6N_cjs.PayloadTooLargeError; }
339
425
  });
340
426
  Object.defineProperty(exports, "PlanFeatureUnavailableError", {
341
427
  enumerable: true,
342
- get: function () { return chunkCIRT6TVT_cjs.PlanFeatureUnavailableError; }
428
+ get: function () { return chunkGCMQUM6N_cjs.PlanFeatureUnavailableError; }
343
429
  });
344
430
  Object.defineProperty(exports, "RateLimitError", {
345
431
  enumerable: true,
346
- get: function () { return chunkCIRT6TVT_cjs.RateLimitError; }
432
+ get: function () { return chunkGCMQUM6N_cjs.RateLimitError; }
347
433
  });
348
434
  Object.defineProperty(exports, "ReadOnlyKeyError", {
349
435
  enumerable: true,
350
- get: function () { return chunkCIRT6TVT_cjs.ReadOnlyKeyError; }
436
+ get: function () { return chunkGCMQUM6N_cjs.ReadOnlyKeyError; }
351
437
  });
352
438
  Object.defineProperty(exports, "RequiredFieldError", {
353
439
  enumerable: true,
354
- get: function () { return chunkCIRT6TVT_cjs.RequiredFieldError; }
440
+ get: function () { return chunkGCMQUM6N_cjs.RequiredFieldError; }
355
441
  });
356
442
  Object.defineProperty(exports, "ResourceConflictError", {
357
443
  enumerable: true,
358
- get: function () { return chunkCIRT6TVT_cjs.ResourceConflictError; }
444
+ get: function () { return chunkGCMQUM6N_cjs.ResourceConflictError; }
359
445
  });
360
446
  Object.defineProperty(exports, "ResourceExpiredError", {
361
447
  enumerable: true,
362
- get: function () { return chunkCIRT6TVT_cjs.ResourceExpiredError; }
448
+ get: function () { return chunkGCMQUM6N_cjs.ResourceExpiredError; }
363
449
  });
364
450
  Object.defineProperty(exports, "ResourceNotFoundError", {
365
451
  enumerable: true,
366
- get: function () { return chunkCIRT6TVT_cjs.ResourceNotFoundError; }
452
+ get: function () { return chunkGCMQUM6N_cjs.ResourceNotFoundError; }
367
453
  });
368
454
  Object.defineProperty(exports, "SDKError", {
369
455
  enumerable: true,
370
- get: function () { return chunkCIRT6TVT_cjs.SDKError; }
456
+ get: function () { return chunkGCMQUM6N_cjs.SDKError; }
371
457
  });
372
458
  Object.defineProperty(exports, "SchemaValidationError", {
373
459
  enumerable: true,
374
- get: function () { return chunkCIRT6TVT_cjs.SchemaValidationError; }
460
+ get: function () { return chunkGCMQUM6N_cjs.SchemaValidationError; }
375
461
  });
376
462
  Object.defineProperty(exports, "SearchBuilder", {
377
463
  enumerable: true,
378
- get: function () { return chunkCIRT6TVT_cjs.SearchBuilder; }
464
+ get: function () { return chunkGCMQUM6N_cjs.SearchBuilder; }
379
465
  });
380
466
  Object.defineProperty(exports, "SearchClient", {
381
467
  enumerable: true,
382
- get: function () { return chunkCIRT6TVT_cjs.SearchClient; }
468
+ get: function () { return chunkGCMQUM6N_cjs.SearchClient; }
383
469
  });
384
470
  Object.defineProperty(exports, "ServerError", {
385
471
  enumerable: true,
386
- get: function () { return chunkCIRT6TVT_cjs.ServerError; }
472
+ get: function () { return chunkGCMQUM6N_cjs.ServerError; }
387
473
  });
388
474
  Object.defineProperty(exports, "ServiceIndeterminateError", {
389
475
  enumerable: true,
390
- get: function () { return chunkCIRT6TVT_cjs.ServiceIndeterminateError; }
476
+ get: function () { return chunkGCMQUM6N_cjs.ServiceIndeterminateError; }
391
477
  });
392
478
  Object.defineProperty(exports, "SettingsClient", {
393
479
  enumerable: true,
394
- get: function () { return chunkCIRT6TVT_cjs.SettingsClient; }
480
+ get: function () { return chunkGCMQUM6N_cjs.SettingsClient; }
395
481
  });
396
482
  Object.defineProperty(exports, "SimilarBuilder", {
397
483
  enumerable: true,
398
- get: function () { return chunkCIRT6TVT_cjs.SimilarBuilder; }
484
+ get: function () { return chunkGCMQUM6N_cjs.SimilarBuilder; }
399
485
  });
400
486
  Object.defineProperty(exports, "SingletonClient", {
401
487
  enumerable: true,
402
- get: function () { return chunkCIRT6TVT_cjs.SingletonClient; }
488
+ get: function () { return chunkGCMQUM6N_cjs.SingletonClient; }
403
489
  });
404
490
  Object.defineProperty(exports, "TimeoutError", {
405
491
  enumerable: true,
406
- get: function () { return chunkCIRT6TVT_cjs.TimeoutError; }
492
+ get: function () { return chunkGCMQUM6N_cjs.TimeoutError; }
407
493
  });
408
494
  Object.defineProperty(exports, "TransactionRolledBackError", {
409
495
  enumerable: true,
410
- get: function () { return chunkCIRT6TVT_cjs.TransactionRolledBackError; }
496
+ get: function () { return chunkGCMQUM6N_cjs.TransactionRolledBackError; }
411
497
  });
412
498
  Object.defineProperty(exports, "TypedRelyIOClient", {
413
499
  enumerable: true,
414
- get: function () { return chunkCIRT6TVT_cjs.TypedRelyIOClient; }
500
+ get: function () { return chunkGCMQUM6N_cjs.TypedRelyIOClient; }
415
501
  });
416
502
  Object.defineProperty(exports, "UnknownContractError", {
417
503
  enumerable: true,
418
- get: function () { return chunkCIRT6TVT_cjs.UnknownContractError; }
504
+ get: function () { return chunkGCMQUM6N_cjs.UnknownContractError; }
419
505
  });
420
506
  Object.defineProperty(exports, "UsageQuotaExceededError", {
421
507
  enumerable: true,
422
- get: function () { return chunkCIRT6TVT_cjs.UsageQuotaExceededError; }
508
+ get: function () { return chunkGCMQUM6N_cjs.UsageQuotaExceededError; }
423
509
  });
424
510
  Object.defineProperty(exports, "ValidationError", {
425
511
  enumerable: true,
426
- get: function () { return chunkCIRT6TVT_cjs.ValidationError; }
512
+ get: function () { return chunkGCMQUM6N_cjs.ValidationError; }
427
513
  });
428
514
  Object.defineProperty(exports, "createClient", {
429
515
  enumerable: true,
430
- get: function () { return chunkCIRT6TVT_cjs.createClient; }
516
+ get: function () { return chunkGCMQUM6N_cjs.createClient; }
431
517
  });
432
518
  Object.defineProperty(exports, "default", {
433
519
  enumerable: true,
434
- get: function () { return chunkCIRT6TVT_cjs.createClient; }
520
+ get: function () { return chunkGCMQUM6N_cjs.createClient; }
435
521
  });
436
522
  Object.defineProperty(exports, "entityTagOf", {
437
523
  enumerable: true,
438
- get: function () { return chunkCIRT6TVT_cjs.entityTagOf; }
524
+ get: function () { return chunkGCMQUM6N_cjs.entityTagOf; }
439
525
  });
440
526
  Object.defineProperty(exports, "isAssetEntry", {
441
527
  enumerable: true,
442
- get: function () { return chunkCIRT6TVT_cjs.isAssetEntry; }
528
+ get: function () { return chunkGCMQUM6N_cjs.isAssetEntry; }
443
529
  });
444
530
  Object.defineProperty(exports, "isResourceNotFound", {
445
531
  enumerable: true,
446
- get: function () { return chunkCIRT6TVT_cjs.isResourceNotFound; }
532
+ get: function () { return chunkGCMQUM6N_cjs.isResourceNotFound; }
447
533
  });
448
534
  Object.defineProperty(exports, "matchRoute", {
449
535
  enumerable: true,
450
- get: function () { return chunkCIRT6TVT_cjs.matchRoute; }
536
+ get: function () { return chunkGCMQUM6N_cjs.matchRoute; }
451
537
  });
452
538
  Object.defineProperty(exports, "validateFile", {
453
539
  enumerable: true,
454
- get: function () { return chunkCIRT6TVT_cjs.validateFile; }
540
+ get: function () { return chunkGCMQUM6N_cjs.validateFile; }
455
541
  });
456
542
  Object.defineProperty(exports, "camelToSnake", {
457
543
  enumerable: true,
@@ -525,11 +611,17 @@ Object.defineProperty(exports, "toSafeString", {
525
611
  enumerable: true,
526
612
  get: function () { return chunkHT6NFRM2_cjs.toSafeString; }
527
613
  });
614
+ exports.FOLLOW_RETRY_BASE_MS = FOLLOW_RETRY_BASE_MS;
615
+ exports.FOLLOW_RETRY_MAX_MS = FOLLOW_RETRY_MAX_MS;
528
616
  exports.IMAGE_LADDER = IMAGE_LADDER;
617
+ exports.PUBLISHABLE_KEY_PREFIX = PUBLISHABLE_KEY_PREFIX;
529
618
  exports.RELYIO_CHANGE_EVENT = RELYIO_CHANGE_EVENT;
619
+ exports.RELYIO_RESYNC_EVENT = RELYIO_RESYNC_EVENT;
530
620
  exports.VERSION = VERSION;
531
621
  exports.buildLanguageSwitcher = buildLanguageSwitcher;
622
+ exports.classifyFollowFailure = classifyFollowFailure;
532
623
  exports.estimateTranslationCompleteness = estimateTranslationCompleteness;
624
+ exports.followChanges = followChanges;
533
625
  exports.getAllLocalizedValues = getAllLocalizedValues;
534
626
  exports.getAvailableLocaleCodes = getAvailableLocaleCodes;
535
627
  exports.getDefaultLocale = getDefaultLocale;
@@ -540,6 +632,7 @@ exports.getPublishedLocaleCodes = getPublishedLocaleCodes;
540
632
  exports.getRequestedLocale = getRequestedLocale;
541
633
  exports.hasLocale = hasLocale;
542
634
  exports.isFieldFallback = isFieldFallback;
635
+ exports.isPublishableKey = isPublishableKey;
543
636
  exports.isPublishedInLocale = isPublishedInLocale;
544
637
  exports.localeHelpers = localeHelpers;
545
638
  exports.needsTranslation = needsTranslation;