@rebasepro/client 0.29.0-canary.g0e3a0e7 → 0.29.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/dist/index.es.js +3 -2
- package/dist/index.es.js.map +1 -1
- package/dist/{offline-BjJdcVBb.js → offline-Cy6woFyt.js} +11 -2
- package/dist/offline-Cy6woFyt.js.map +1 -0
- package/dist/{offline-store-Cxhh99Q-.js → offline-store-C2Sy3Kwl.js} +13 -3
- package/dist/offline-store-C2Sy3Kwl.js.map +1 -0
- package/package.json +4 -4
- package/dist/offline-BjJdcVBb.js.map +0 -1
- package/dist/offline-store-Cxhh99Q-.js.map +0 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as invalidBulkBody, d as RebaseApiError, h as parseRebaseJson, i as isOfflineError, l as SDKQueryBuilder, m as defaultCodeForStatus, n as MemoryOfflineStore, o as createCollectionClient, p as createTransport, s as etagOf, u as RebaseClientError } from "./offline-store-
|
|
1
|
+
import { c as invalidBulkBody, d as RebaseApiError, h as parseRebaseJson, i as isOfflineError, l as SDKQueryBuilder, m as defaultCodeForStatus, n as MemoryOfflineStore, o as createCollectionClient, p as createTransport, s as etagOf, u as RebaseClientError } from "./offline-store-C2Sy3Kwl.js";
|
|
2
2
|
import { AUTH_FLOW_HEADER, DEFAULT_STORAGE_SOURCE_KEY, PUBLIC_STORAGE_PREFIX, RebaseApiError as RebaseApiError$1, RebaseClientError as RebaseClientError$1, STORAGE_REFERENCE_SCHEME, isPublicStoragePath, isStorageReference, isUnsupported, parseStorageReference, resolveStorageReferences, simulationHeaders, storageObjectPath, storageReference, storageReferencesForDownloadUrls, storageTargetOfDownloadUrl, storageTargetsInText } from "@rebasepro/types";
|
|
3
3
|
import { COMPOSITE_ID_SEPARATOR, DOWNLOAD_URL_CONCURRENCY, RESUMABLE_UPLOAD_THRESHOLD, RebasePaginationError, and, buildCompositeId, cond, createBatchLoader, createConcurrencyLimit, createDownloadUrlCache, not, or, warnDeprecated, withETag } from "@rebasepro/common";
|
|
4
4
|
import { toSnakeCase, unref } from "@rebasepro/utils";
|
|
@@ -5006,7 +5006,7 @@ var LazyOfflineManager = class {
|
|
|
5006
5006
|
keepsLastUser;
|
|
5007
5007
|
constructor(config, createInner) {
|
|
5008
5008
|
this.keepsLastUser = config.keepLastUser === true;
|
|
5009
|
-
import("./offline-
|
|
5009
|
+
import("./offline-Cy6woFyt.js").then(({ OfflineManager: Engine }) => {
|
|
5010
5010
|
const engine = new Engine(config, createInner);
|
|
5011
5011
|
this.engine = engine;
|
|
5012
5012
|
const queued = this.queued;
|
|
@@ -5127,6 +5127,7 @@ var LazyOfflineManager = class {
|
|
|
5127
5127
|
listenById: isUnsupported(inner.listenById) ? inner.listenById : (id, onUpdate, onError, options) => live((target) => target.listenById(id, onUpdate, onError, options), onError),
|
|
5128
5128
|
listenCount: inner.listenCount,
|
|
5129
5129
|
aggregate: inner.aggregate,
|
|
5130
|
+
refresh: inner.refresh,
|
|
5130
5131
|
where(columnOrCondition, operator, value) {
|
|
5131
5132
|
const builder = new SDKQueryBuilder(deferred);
|
|
5132
5133
|
if (typeof columnOrCondition === "object") return builder.where(columnOrCondition);
|