@pol-studios/powersync 1.0.25 → 1.0.30

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 (49) hide show
  1. package/README.md +0 -1
  2. package/dist/attachments/index.d.ts +1 -1
  3. package/dist/{background-sync-ChCXW-EV.d.ts → background-sync-CVR3PkFi.d.ts} +1 -1
  4. package/dist/{chunk-BGBQYQV3.js → chunk-BC2SRII2.js} +180 -299
  5. package/dist/chunk-BC2SRII2.js.map +1 -0
  6. package/dist/{chunk-YSTEESEG.js → chunk-C2ACBYBZ.js} +208 -11
  7. package/dist/chunk-C2ACBYBZ.js.map +1 -0
  8. package/dist/{chunk-24RDMMCL.js → chunk-FNYQFILT.js} +1 -1
  9. package/dist/chunk-FNYQFILT.js.map +1 -0
  10. package/dist/{chunk-VB737IVN.js → chunk-JCGOZVWL.js} +406 -323
  11. package/dist/chunk-JCGOZVWL.js.map +1 -0
  12. package/dist/{chunk-WGHNIAF7.js → chunk-QREWE3NR.js} +2 -2
  13. package/dist/{chunk-TIFL2KWE.js → chunk-RBPWEOIV.js} +3 -3
  14. package/dist/{chunk-55DKCJV4.js → chunk-RE5HWLCB.js} +124 -13
  15. package/dist/chunk-RE5HWLCB.js.map +1 -0
  16. package/dist/connector/index.d.ts +4 -4
  17. package/dist/connector/index.js +1 -2
  18. package/dist/core/index.d.ts +2 -2
  19. package/dist/index.d.ts +7 -7
  20. package/dist/index.js +27 -17
  21. package/dist/index.native.d.ts +5 -5
  22. package/dist/index.native.js +27 -17
  23. package/dist/index.web.d.ts +5 -5
  24. package/dist/index.web.js +27 -17
  25. package/dist/maintenance/index.d.ts +2 -2
  26. package/dist/maintenance/index.js +2 -2
  27. package/dist/platform/index.d.ts +1 -1
  28. package/dist/platform/index.native.d.ts +1 -1
  29. package/dist/platform/index.web.d.ts +1 -1
  30. package/dist/provider/index.d.ts +188 -28
  31. package/dist/provider/index.js +17 -7
  32. package/dist/react/index.d.ts +2 -2
  33. package/dist/react/index.js +3 -3
  34. package/dist/storage/index.d.ts +1 -1
  35. package/dist/storage/index.native.d.ts +1 -1
  36. package/dist/storage/index.web.d.ts +1 -1
  37. package/dist/{supabase-connector-D2oIl2t8.d.ts → supabase-connector-C4YpH_l3.d.ts} +23 -25
  38. package/dist/sync/index.d.ts +42 -5
  39. package/dist/sync/index.js +2 -2
  40. package/dist/{types-DiBvmGEi.d.ts → types-CpM2_LhU.d.ts} +17 -24
  41. package/dist/{types-CDqWh56B.d.ts → types-Dv1uf0LZ.d.ts} +16 -1
  42. package/package.json +1 -1
  43. package/dist/chunk-24RDMMCL.js.map +0 -1
  44. package/dist/chunk-55DKCJV4.js.map +0 -1
  45. package/dist/chunk-BGBQYQV3.js.map +0 -1
  46. package/dist/chunk-VB737IVN.js.map +0 -1
  47. package/dist/chunk-YSTEESEG.js.map +0 -1
  48. /package/dist/{chunk-WGHNIAF7.js.map → chunk-QREWE3NR.js.map} +0 -0
  49. /package/dist/{chunk-TIFL2KWE.js.map → chunk-RBPWEOIV.js.map} +0 -0
@@ -1,11 +1,11 @@
1
- export { A as AbstractPowerSyncDatabase, k as CacheStats, i as ClassifiedError, j as CompactResult, h as CompletedTransaction, b as ConnectionHealth, o as CountRow, C as CrudEntry, l as CrudTransaction, n as DbStatRow, D as DownloadProgress, E as EntitySyncState, F as FailedTransaction, r as FreelistCountRow, s as IntegrityCheckRow, I as IntegrityResult, q as PageCountRow, p as PageSizeRow, P as PowerSyncBackendConnector, m as SqliteTableRow, c as StorageInfo, d as StorageQuota, f as SyncError, g as SyncErrorType, e as SyncMetrics, S as SyncMode, a as SyncStatus, T as TableCacheStats } from './types-CDqWh56B.js';
1
+ export { A as AbstractPowerSyncDatabase, k as CacheStats, i as ClassifiedError, j as CompactResult, h as CompletedTransaction, b as ConnectionHealth, o as CountRow, C as CrudEntry, l as CrudTransaction, n as DbStatRow, D as DownloadProgress, E as EntitySyncState, F as FailedTransaction, r as FreelistCountRow, s as IntegrityCheckRow, I as IntegrityResult, q as PageCountRow, p as PageSizeRow, P as PowerSyncBackendConnector, m as SqliteTableRow, c as StorageInfo, d as StorageQuota, f as SyncError, g as SyncErrorType, e as SyncMetrics, S as SyncMode, a as SyncStatus, T as TableCacheStats, U as UploadBlockReason } from './types-Dv1uf0LZ.js';
2
2
  export { ATTACHMENT_DOWNLOAD_TIMEOUT_MS, ATTACHMENT_RETRY_DELAY_MS, AttachmentError, COMPRESSION_MAX_WIDTH, COMPRESSION_SKIP_SIZE_BYTES, COMPRESSION_TARGET_SIZE_BYTES, ConfigurationError, ConnectorError, DEFAULT_ATTACHMENT_CACHE_SIZE, DEFAULT_ATTACHMENT_CONCURRENCY, DEFAULT_COMPRESSION_QUALITY, DEFAULT_MAX_RETRY_ATTEMPTS, DEFAULT_RETRY_BACKOFF_MULTIPLIER, DEFAULT_RETRY_BASE_DELAY_MS, DEFAULT_RETRY_MAX_DELAY_MS, DEFAULT_SYNC_INTERVAL_MS, DEFAULT_SYNC_MODE, DOWNLOAD_STOP_THRESHOLD, EVICTION_TRIGGER_THRESHOLD, HEALTH_CHECK_INTERVAL_MS, HEALTH_CHECK_TIMEOUT_MS, InitializationError, LATENCY_DEGRADED_THRESHOLD_MS, MAX_CONSECUTIVE_FAILURES, PlatformAdapterError, PowerSyncError, STATS_CACHE_TTL_MS, STATUS_NOTIFY_THROTTLE_MS, STORAGE_CRITICAL_THRESHOLD, STORAGE_KEY_ATTACHMENT_SETTINGS, STORAGE_KEY_AUTO_OFFLINE, STORAGE_KEY_ENABLED, STORAGE_KEY_METRICS, STORAGE_KEY_PAUSED, STORAGE_KEY_PREFIX, STORAGE_KEY_SYNC_MODE, STORAGE_WARNING_THRESHOLD, SyncOperationError, classifyError, classifySupabaseError, createSyncError, extractEntityIds, extractHttpStatusCode, extractTableNames, generateFailureId, isRlsError, toSyncOperationError } from './core/index.js';
3
- export { A as AuthProvider, i as ConflictBus, j as ConflictCheckResult, m as ConflictDetectionConfig, l as ConflictHandler, n as ConflictListener, k as ConflictResolution, C as ConnectorCircuitBreakerConfig, a as ConnectorConfig, c as CrudHandler, D as DEFAULT_RETRY_CONFIG, F as FieldConflict, P as PowerSyncCredentials, o as ResolutionListener, e as RetryConfig, R as RetryStrategyConfig, b as SchemaRouter, f as Session, S as SupabaseConnectorOptions, U as UploadErrorClassification, g as UploadErrorContext, h as UploadErrorMiddleware, d as defaultSchemaRouter } from './types-DiBvmGEi.js';
4
- export { S as SupabaseConnector } from './supabase-connector-D2oIl2t8.js';
3
+ export { A as AuthProvider, i as ConflictBus, j as ConflictCheckResult, m as ConflictDetectionConfig, l as ConflictHandler, n as ConflictListener, k as ConflictResolution, C as ConnectorCircuitBreakerConfig, a as ConnectorConfig, c as CrudHandler, D as DEFAULT_RETRY_CONFIG, F as FieldConflict, P as PowerSyncCredentials, o as ResolutionListener, e as RetryConfig, R as RetryStrategyConfig, b as SchemaRouter, f as Session, S as SupabaseConnectorOptions, U as UploadErrorClassification, g as UploadErrorContext, h as UploadErrorMiddleware, d as defaultSchemaRouter } from './types-CpM2_LhU.js';
4
+ export { S as SupabaseConnector } from './supabase-connector-C4YpH_l3.js';
5
5
  export { AuthRefreshError, CircuitBreaker, CircuitBreakerConfig, CircuitBreakerStats, CircuitOpenError, CircuitState, DEFAULT_CIRCUIT_BREAKER_CONFIG, DiscardEntryError, SupabaseAuthOptions, TransactionAbortError, createSupabaseAuth, discardOnHttpStatus, discardOnPgCodes, discardOrphaned, idempotentTables, retryOnHttpStatus, runUploadErrorMiddleware, runUploadErrorMiddlewareSync, successOnPgCodes, tableHandlers } from './connector/index.js';
6
6
  export { f as AttachmentConfig, F as AttachmentRecord, A as AttachmentSourceConfig, x as AttachmentStatsRow, g as AttachmentStorageAdapter, w as AttachmentSyncStats, v as AttachmentSyncStatus, B as BatchFilterContext, n as CACHE_SIZE_PRESETS, l as CacheConfig, y as CacheFileRow, o as CacheSizePreset, p as CacheSizeValue, z as CachedSizeRow, C as CompressionConfig, m as DEFAULT_CACHE_CONFIG, D as DEFAULT_COMPRESSION_CONFIG, k as DEFAULT_DOWNLOAD_CONFIG, h as DEFAULT_UPLOAD_CONFIG, j as DownloadConfig, r as DownloadPhase, s as DownloadStatus, E as EvictRow, I as IdRow, P as PolAttachmentQueue, a as PolAttachmentQueueOptions, d as PolAttachmentRecord, b as PolAttachmentState, S as SimpleAttachmentConfig, e as SkipDownloadContext, U as UploadConfig, i as UploadHandler, t as UploadPhase, u as UploadStatus, W as WatchConfig, c as createPolAttachmentQueue, q as formatCacheSize } from './pol-attachment-queue-BE2HU3Us.js';
7
7
  export { CacheManagerDeps, DOWNLOAD_WORKFLOW_STATES, DownloadManagerDeps, LOCALLY_AVAILABLE_STATES, MigrationStats, PENDING_DOWNLOAD_STATES, PROTECTED_UPLOAD_STATES, PolStorageAdapter, PolStorageAdapterOptions, STATE_MAPPING, STATE_NAMES, TERMINAL_STATES, UPLOAD_WORKFLOW_STATES, UploadManagerDeps, UploadManagerState, VALID_STATES, blobToArrayBuffer, buildIdOnlyWatchQuery, buildRecordFetchQuery, buildWatchQuery, cacheLocalFile, clearCache, clearUploadCallback, copyToManagedCache, createCacheManagerDeps, createMigrationStats, createUploadManagerDeps, createUploadManagerState, createWatchIds, determineAttachmentState, downloadRecord, enforceCacheLimit, ensureFileUri, extractErrorCode, extractIdsFromRows, formatMigrationStats, getCachedSize, getEvictionCandidates, getExcludeProtectedStatesCondition, getFailedPermanentUploads, getLocalUriForStoragePath, getPendingUploads, getProtectedStatesInClause, getSoonestRetryTime, getStaleUploads, getStateName, getSyncedUploadsWithPendingCallback, isCacheNearCapacity, isDownloadWorkflowState, isLocallyAvailable, isPendingDownloadState, isPermanentError, isProtectedUploadState, isStateTransitionAllowed, isTerminalState, isUploadWorkflowState, isValidAttachmentState, markUploadPermanentFailure, markUploadSynced, migrateAttachmentState, migrateAttachmentStateSafe, recordMigration, scheduleUploadRetry, startUploadProcessing, stripFileUri, uploadOne, validateSqlIdentifier, validateSqlIdentifierFromStateMachine, validateWhereClause, watchConfigToSourceConfig } from './attachments/index.js';
8
- export { B as BackgroundSyncOptions, h as BackgroundSyncSystem, e as HealthCheckResult, H as HealthMonitorOptions, M as MetricsCollectorOptions, P as PowerSyncRawStatus, c as SyncControlActions, f as SyncEvent, g as SyncEventListener, d as SyncOperationData, S as SyncScope, a as SyncStatusState, b as SyncStatusTrackerOptions, U as Unsubscribe, i as defineBackgroundSyncTask, j as initializeBackgroundSync, k as isBackgroundSyncRegistered, r as registerBackgroundSync, u as unregisterBackgroundSync } from './background-sync-ChCXW-EV.js';
8
+ export { B as BackgroundSyncOptions, h as BackgroundSyncSystem, e as HealthCheckResult, H as HealthMonitorOptions, M as MetricsCollectorOptions, P as PowerSyncRawStatus, c as SyncControlActions, f as SyncEvent, g as SyncEventListener, d as SyncOperationData, S as SyncScope, a as SyncStatusState, b as SyncStatusTrackerOptions, U as Unsubscribe, i as defineBackgroundSyncTask, j as initializeBackgroundSync, k as isBackgroundSyncRegistered, r as registerBackgroundSync, u as unregisterBackgroundSync } from './background-sync-CVR3PkFi.js';
9
9
  export { DeadLetterEntry, DeadLetterQueue, DeadLetterQueueListener, DeadLetterQueueOptions, DeadLetterReason, HealthMonitor, MetricsCollector, SyncStatusTracker, createDeadLetterEntry, generateDLQEntryId } from './sync/index.js';
10
10
  export { AbortError, BackoffConfig, BackoffOptions, ConflictDetectionError, DEFAULT_BACKOFF_CONFIG, RetryExhaustedError, addJitter, calculateBackoffDelay, detectConflicts, fetchServerVersion, formatBytes, getExtensionFromMimeType, getLocalVersion, getMimeType, getMimeTypeFromPath, hasVersionColumn, isAudioMimeType, isDocumentMimeType, isImageMimeType, isVideoMimeType, sleep, withExponentialBackoff } from './index.js';
11
11
  export { DatabaseMaintenanceUtils, checkIntegrityImpl, checkStorageQuotaImpl, compactDatabaseImpl, getCacheStatsImpl, useDatabaseMaintenance } from './maintenance/index.js';
@@ -14,7 +14,7 @@ export { f as CacheSettings, C as CacheSettingsManager, h as CacheSettingsManage
14
14
  export { D as DEFAULT_UPLOAD_NOTIFICATION, S as SupabaseUploadHandlerOptions, U as UploadEventHandlers, a as UploadNotificationConfig } from './types-CyvBaAl8.js';
15
15
  export { SupabaseUploadHandler, createSupabaseUploadHandler } from './storage/upload/index.js';
16
16
  export { PowerSyncErrorBoundary } from './error/index.js';
17
- export { AttachmentQueueContext, BackgroundSyncCallbacks, BackgroundSyncConfig, BackgroundSyncStatus, CompletedTransactionsContext, CompletedTransactionsContextValue, ConnectionHealthContext, ConnectionHealthContextValue, ConnectionStatusContext, ConnectionStatusContextValue, DEFAULT_CONNECTION_HEALTH, DEFAULT_SYNC_CONFIG, DEFAULT_SYNC_METRICS, DEFAULT_SYNC_STATUS, DataLayerConfig, DataLayerIntegration, EntitySyncStatusResult, FailedTransactionsContext, FailedTransactionsContextValue, OfflineDataAttachmentConfig, OfflineDataProvider, OfflineDataProviderConfig, OfflineDataProviderProps, PendingMutationsContext, PendingMutationsContextValue, PowerSyncConfig, PowerSyncContext, PowerSyncContextValue, PowerSyncProvider, PowerSyncProviderProps, PowerSyncSyncStatusSnapshot, ProviderBridge, ProviderBridgeProps, SyncActivityContext, SyncActivityContextValue, SyncActivityResult, SyncConfig, SyncMetricsContext, SyncMetricsContextValue, SyncModeContext, SyncModeContextValue, SyncStatusContext, SyncStatusContextValue, UploadStatusResult, useAttachmentQueue, useAttachmentQueueReady, useCompletedTransactions, useCompletedTransactionsContext, useConnectionHealth, useConnectionStatus, useDatabase, useDownloadProgress, useEntitySyncStatus, useFailedTransactions, useFailedTransactionsContext, useIsSyncing, useOnlineStatus, usePendingMutations, usePendingMutationsContext, usePlatform, usePowerSync, useSyncActivity, useSyncActivityContext, useSyncControl, useSyncMetrics, useSyncMode, useSyncModeContext, useSyncStatus, useUploadStatus } from './provider/index.js';
17
+ export { AttachmentQueueContext, BackgroundSyncCallbacks, BackgroundSyncConfig, BackgroundSyncStatus, CompletedTransactionsContext, CompletedTransactionsContextValue, ConnectionHealthContext, ConnectionHealthContextValue, ConnectionStatusContext, ConnectionStatusContextValue, DEFAULT_CONNECTION_HEALTH, DEFAULT_SYNC_CONFIG, DEFAULT_SYNC_METRICS, DEFAULT_SYNC_STATUS, DataLayerConfig, DataLayerIntegration, EntitySyncStatusResult, FailedTransactionsContext, FailedTransactionsContextValue, OfflineDataAttachmentConfig, OfflineDataProvider, OfflineDataProviderConfig, OfflineDataProviderProps, PendingMutationsContext, PendingMutationsContextValue, PowerSyncConfig, PowerSyncContext, PowerSyncContextValue, PowerSyncProvider, PowerSyncProviderProps, PowerSyncSyncStatusSnapshot, ProviderBridge, ProviderBridgeProps, RetryCountdownResult, SyncActivityContext, SyncActivityContextValue, SyncActivityResult, SyncConfig, SyncMetricsContext, SyncMetricsContextValue, SyncModeContext, SyncModeContextValue, SyncStatusContext, SyncStatusContextValue, UPLOAD_BACKOFF_DELAYS, UPLOAD_MAX_RETRIES, UploadBlockedReasonResult, UploadStatusResult, useAttachmentQueue, useAttachmentQueueReady, useCompletedTransactions, useCompletedTransactionsContext, useConnectionHealth, useConnectionStatus, useDatabase, useDownloadProgress, useEntitySyncStatus, useFailedTransactions, useFailedTransactionsContext, useIsSyncing, useOnlineStatus, usePendingMutations, usePendingMutationsContext, usePlatform, usePowerSync, useRetryCountdown, useSyncActivity, useSyncActivityContext, useSyncControl, useSyncMetrics, useSyncMode, useSyncModeContext, useSyncStatus, useUploadBlockedReason, useUploadRetry, useUploadStatus } from './provider/index.js';
18
18
  export { AttachmentQueueContextValue, SlimPowerSyncProvider, useAttachmentQueueContext, usePowerSyncContext, useSyncStatusContext } from './react/index.js';
19
19
  export { AsyncStorageAdapter, CompressedImage, CompressionOptions, ConnectionType, DatabaseOptions, FileInfo, FileSystemAdapter, ImageProcessorAdapter, LoggerAdapter, NetworkAdapter, PlatformAdapter, PlatformType, detectPlatform } from './platform/index.js';
20
20
  export { createWebPlatformAdapter } from './platform/index.web.js';
package/dist/index.web.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  useAttachmentQueueContext,
5
5
  usePowerSyncContext,
6
6
  useSyncStatusContext
7
- } from "./chunk-TIFL2KWE.js";
7
+ } from "./chunk-RBPWEOIV.js";
8
8
  import {
9
9
  DOWNLOAD_WORKFLOW_STATES,
10
10
  STATE_MAPPING,
@@ -35,8 +35,10 @@ import {
35
35
  ConflictBus,
36
36
  OfflineDataProvider,
37
37
  PowerSyncProvider,
38
- ProviderBridge
39
- } from "./chunk-VB737IVN.js";
38
+ ProviderBridge,
39
+ UPLOAD_BACKOFF_DELAYS,
40
+ UPLOAD_MAX_RETRIES
41
+ } from "./chunk-JCGOZVWL.js";
40
42
  import "./chunk-YHTZ7VMV.js";
41
43
  import {
42
44
  PowerSyncErrorBoundary
@@ -119,13 +121,13 @@ import {
119
121
  HealthMonitor,
120
122
  MetricsCollector,
121
123
  SyncStatusTracker
122
- } from "./chunk-55DKCJV4.js";
124
+ } from "./chunk-RE5HWLCB.js";
123
125
  import {
124
126
  DEFAULT_CONNECTION_HEALTH,
125
127
  DEFAULT_SYNC_CONFIG,
126
128
  DEFAULT_SYNC_METRICS,
127
129
  DEFAULT_SYNC_STATUS
128
- } from "./chunk-24RDMMCL.js";
130
+ } from "./chunk-FNYQFILT.js";
129
131
  import {
130
132
  checkIntegrityImpl,
131
133
  checkStorageQuotaImpl,
@@ -133,7 +135,7 @@ import {
133
135
  formatBytes,
134
136
  getCacheStatsImpl,
135
137
  useDatabaseMaintenance
136
- } from "./chunk-WGHNIAF7.js";
138
+ } from "./chunk-QREWE3NR.js";
137
139
  import {
138
140
  AttachmentQueueContext,
139
141
  CompletedTransactionsContext,
@@ -163,6 +165,7 @@ import {
163
165
  usePendingMutationsContext,
164
166
  usePlatform,
165
167
  usePowerSync,
168
+ useRetryCountdown,
166
169
  useSyncActivity,
167
170
  useSyncActivityContext,
168
171
  useSyncControl,
@@ -170,8 +173,10 @@ import {
170
173
  useSyncMode,
171
174
  useSyncModeContext,
172
175
  useSyncStatus,
176
+ useUploadBlockedReason,
177
+ useUploadRetry,
173
178
  useUploadStatus
174
- } from "./chunk-YSTEESEG.js";
179
+ } from "./chunk-C2ACBYBZ.js";
175
180
  import "./chunk-T4AO7JIG.js";
176
181
  import "./chunk-CAB26E6F.js";
177
182
  import {
@@ -197,6 +202,15 @@ import {
197
202
  DEFAULT_UPLOAD_NOTIFICATION,
198
203
  resolveBucket
199
204
  } from "./chunk-Z6VOBGTU.js";
205
+ import {
206
+ AbortError,
207
+ DEFAULT_BACKOFF_CONFIG,
208
+ RetryExhaustedError,
209
+ addJitter,
210
+ calculateBackoffDelay,
211
+ sleep,
212
+ withExponentialBackoff
213
+ } from "./chunk-FV2HXEIY.js";
200
214
  import "./chunk-W7HSR35B.js";
201
215
  import {
202
216
  ATTACHMENT_DOWNLOAD_TIMEOUT_MS,
@@ -262,16 +276,7 @@ import {
262
276
  runUploadErrorMiddlewareSync,
263
277
  successOnPgCodes,
264
278
  tableHandlers
265
- } from "./chunk-BGBQYQV3.js";
266
- import {
267
- AbortError,
268
- DEFAULT_BACKOFF_CONFIG,
269
- RetryExhaustedError,
270
- addJitter,
271
- calculateBackoffDelay,
272
- sleep,
273
- withExponentialBackoff
274
- } from "./chunk-FV2HXEIY.js";
279
+ } from "./chunk-BC2SRII2.js";
275
280
  import {
276
281
  AttachmentError,
277
282
  ConfigurationError,
@@ -392,6 +397,8 @@ export {
392
397
  SyncStatusTracker,
393
398
  TERMINAL_STATES,
394
399
  TransactionAbortError,
400
+ UPLOAD_BACKOFF_DELAYS,
401
+ UPLOAD_MAX_RETRIES,
395
402
  UPLOAD_WORKFLOW_STATES,
396
403
  VALID_STATES,
397
404
  addJitter,
@@ -522,6 +529,7 @@ export {
522
529
  usePlatform,
523
530
  usePowerSync,
524
531
  usePowerSyncContext,
532
+ useRetryCountdown,
525
533
  useSyncActivity,
526
534
  useSyncActivityContext,
527
535
  useSyncControl,
@@ -530,6 +538,8 @@ export {
530
538
  useSyncModeContext,
531
539
  useSyncStatus,
532
540
  useSyncStatusContext,
541
+ useUploadBlockedReason,
542
+ useUploadRetry,
533
543
  useUploadStatus,
534
544
  validateSqlIdentifier2 as validateSqlIdentifier,
535
545
  validateSqlIdentifier as validateSqlIdentifierFromStateMachine,
@@ -1,5 +1,5 @@
1
- import { k as CacheStats, j as CompactResult, I as IntegrityResult, d as StorageQuota, A as AbstractPowerSyncDatabase } from '../types-CDqWh56B.js';
2
- export { c as StorageInfo } from '../types-CDqWh56B.js';
1
+ import { k as CacheStats, j as CompactResult, I as IntegrityResult, d as StorageQuota, A as AbstractPowerSyncDatabase } from '../types-Dv1uf0LZ.js';
2
+ export { c as StorageInfo } from '../types-Dv1uf0LZ.js';
3
3
  import { LoggerAdapter } from '../platform/index.js';
4
4
 
5
5
  /**
@@ -4,8 +4,8 @@ import {
4
4
  compactDatabaseImpl,
5
5
  getCacheStatsImpl,
6
6
  useDatabaseMaintenance
7
- } from "../chunk-WGHNIAF7.js";
8
- import "../chunk-YSTEESEG.js";
7
+ } from "../chunk-QREWE3NR.js";
8
+ import "../chunk-C2ACBYBZ.js";
9
9
  export {
10
10
  checkIntegrityImpl,
11
11
  checkStorageQuotaImpl,
@@ -1,4 +1,4 @@
1
- import { A as AbstractPowerSyncDatabase } from '../types-CDqWh56B.js';
1
+ import { A as AbstractPowerSyncDatabase } from '../types-Dv1uf0LZ.js';
2
2
 
3
3
  /**
4
4
  * Platform Adapter Types for @pol-studios/powersync
@@ -1,5 +1,5 @@
1
1
  import { LoggerAdapter, PlatformAdapter } from './index.js';
2
- import '../types-CDqWh56B.js';
2
+ import '../types-Dv1uf0LZ.js';
3
3
 
4
4
  /**
5
5
  * React Native Platform Adapter for @pol-studios/powersync
@@ -1,5 +1,5 @@
1
1
  import { LoggerAdapter, PlatformAdapter } from './index.js';
2
- import '../types-CDqWh56B.js';
2
+ import '../types-Dv1uf0LZ.js';
3
3
 
4
4
  /**
5
5
  * Web Platform Adapter for @pol-studios/powersync
@@ -1,15 +1,15 @@
1
1
  import { SupabaseClient } from '@supabase/supabase-js';
2
2
  import { QueryClient } from '@tanstack/react-query';
3
- import { A as AbstractPowerSyncDatabase, a as SyncStatus, C as CrudEntry, S as SyncMode, F as FailedTransaction, h as CompletedTransaction, b as ConnectionHealth, e as SyncMetrics, D as DownloadProgress, E as EntitySyncState, f as SyncError } from '../types-CDqWh56B.js';
3
+ import { A as AbstractPowerSyncDatabase, a as SyncStatus, C as CrudEntry, S as SyncMode, F as FailedTransaction, h as CompletedTransaction, b as ConnectionHealth, e as SyncMetrics, D as DownloadProgress, E as EntitySyncState, f as SyncError, U as UploadBlockReason } from '../types-Dv1uf0LZ.js';
4
4
  import { PlatformAdapter } from '../platform/index.js';
5
- import { a as ConnectorConfig, i as ConflictBus } from '../types-DiBvmGEi.js';
5
+ import { a as ConnectorConfig, i as ConflictBus } from '../types-CpM2_LhU.js';
6
6
  import { f as AttachmentConfig, P as PolAttachmentQueue, A as AttachmentSourceConfig, F as AttachmentRecord, C as CompressionConfig, j as DownloadConfig } from '../pol-attachment-queue-BE2HU3Us.js';
7
- import { S as SupabaseConnector } from '../supabase-connector-D2oIl2t8.js';
7
+ import { S as SupabaseConnector } from '../supabase-connector-C4YpH_l3.js';
8
8
  import * as react from 'react';
9
9
  import react__default, { ReactNode } from 'react';
10
10
  import { Schema } from '@powersync/react-native';
11
11
  import { a as StorageBackend } from '../types-D0WcHrq6.js';
12
- import { h as BackgroundSyncSystem, c as SyncControlActions } from '../background-sync-ChCXW-EV.js';
12
+ import { h as BackgroundSyncSystem, c as SyncControlActions } from '../background-sync-CVR3PkFi.js';
13
13
  import '@powersync/attachments';
14
14
  import '@powersync/common';
15
15
 
@@ -232,10 +232,6 @@ interface SyncStatusContextValue {
232
232
  * Clear a specific failure by its ID.
233
233
  */
234
234
  clearFailure: (failureId: string) => void;
235
- /**
236
- * Clear all failures.
237
- */
238
- clearAllFailures: () => void;
239
235
  /**
240
236
  * Completed transactions history.
241
237
  */
@@ -261,20 +257,31 @@ interface SyncStatusContextValue {
261
257
  */
262
258
  discardPendingMutation: (clientId: number) => Promise<void>;
263
259
  /**
264
- * Discard all pending mutations.
265
- * Uses safe disconnect/reconnect pattern to avoid transaction conflicts.
266
- * @throws Error if upload is in progress
260
+ * Whether we're currently waiting for a retry after upload failure.
261
+ */
262
+ isWaitingForUploadRetry: boolean;
263
+ /**
264
+ * When the next retry will occur (null if not waiting).
265
+ */
266
+ nextUploadRetryAt: Date | null;
267
+ /**
268
+ * Whether the maximum retry attempts have been reached.
269
+ */
270
+ maxUploadRetriesReached: boolean;
271
+ /**
272
+ * Current retry attempt count.
267
273
  */
268
- discardAllPendingMutations: () => Promise<void>;
274
+ uploadRetryCount: number;
269
275
  /**
270
- * Pause automatic retry of failed uploads.
271
- * Useful when user is actively resolving conflicts.
276
+ * Force a manual retry after max retries reached.
272
277
  */
273
- pauseAutoRetry: () => void;
278
+ manualUploadRetry: () => Promise<void>;
274
279
  /**
275
- * Resume automatic retry of failed uploads.
280
+ * Discard a specific failed entry by its ps_crud ID and reconnect.
281
+ * Use this when a single entry is causing upload failures.
282
+ * @param entryId - The ps_crud entry ID (clientId) to discard
276
283
  */
277
- resumeAutoRetry: () => void;
284
+ discardFailedEntryAndReconnect: (entryId: number) => Promise<void>;
278
285
  }
279
286
  /**
280
287
  * Connection state - changes rarely (on connect/disconnect).
@@ -315,8 +322,6 @@ interface PendingMutationsContextValue {
315
322
  pendingCount: number;
316
323
  /** Discard a specific pending mutation by its client ID */
317
324
  discardPendingMutation: (clientId: number) => Promise<void>;
318
- /** Discard all pending mutations */
319
- discardAllPendingMutations: () => Promise<void>;
320
325
  /**
321
326
  * Add a pending mutation to the list.
322
327
  * Called by mutation hooks (useDbInsert, useDbUpdate, useDbDelete, useDbUpsert)
@@ -342,12 +347,6 @@ interface FailedTransactionsContextValue {
342
347
  permanentErrorCount: number;
343
348
  /** Clear a specific failure by its ID */
344
349
  clearFailure: (failureId: string) => void;
345
- /** Clear all failures */
346
- clearAllFailures: () => void;
347
- /** Pause automatic retry of failed uploads */
348
- pauseAutoRetry: () => void;
349
- /** Resume automatic retry of failed uploads */
350
- resumeAutoRetry: () => void;
351
350
  /**
352
351
  * Retry a specific failed transaction.
353
352
  *
@@ -405,6 +404,36 @@ interface SyncModeContextValue {
405
404
  setSyncMode: (mode: SyncMode) => Promise<void>;
406
405
  /** Set the force next upload flag */
407
406
  setForceNextUpload: (force: boolean) => void;
407
+ /**
408
+ * Whether we're currently waiting for a retry after upload failure.
409
+ * When true, PowerSync is disconnected and waiting for the backoff timer.
410
+ */
411
+ isWaitingForUploadRetry: boolean;
412
+ /**
413
+ * When the next retry will occur (null if not waiting).
414
+ * Use this to display a countdown to the user.
415
+ */
416
+ nextUploadRetryAt: Date | null;
417
+ /**
418
+ * Whether the maximum retry attempts have been reached.
419
+ * When true, the system won't automatically retry - user must intervene.
420
+ */
421
+ maxUploadRetriesReached: boolean;
422
+ /**
423
+ * Current retry attempt count (0 when no retries have occurred).
424
+ */
425
+ uploadRetryCount: number;
426
+ /**
427
+ * Force a manual retry after max retries reached.
428
+ * Resets retry state and attempts to reconnect.
429
+ */
430
+ manualUploadRetry: () => Promise<void>;
431
+ /**
432
+ * Discard a specific failed entry by its ps_crud ID and reconnect.
433
+ * Use this when a single entry is causing upload failures.
434
+ * @param entryId - The ps_crud entry ID (clientId) to discard
435
+ */
436
+ discardFailedEntryAndReconnect: (entryId: number) => Promise<void>;
408
437
  }
409
438
  /**
410
439
  * Value provided by ConnectionHealthContext.
@@ -1164,6 +1193,58 @@ declare function useSyncMode(): {
1164
1193
  canDownload: boolean;
1165
1194
  networkReachable: boolean;
1166
1195
  };
1196
+ /**
1197
+ * Hook to access upload retry state for exponential backoff handling.
1198
+ *
1199
+ * When an upload fails, the provider disconnects and waits with exponential backoff
1200
+ * before reconnecting. After 7 failed attempts (256s backoff), it stays disconnected
1201
+ * and lets the user decide.
1202
+ *
1203
+ * @returns Upload retry state and control functions
1204
+ * @throws Error if used outside of PowerSyncProvider
1205
+ *
1206
+ * @example
1207
+ * ```typescript
1208
+ * function UploadRetryBanner() {
1209
+ * const {
1210
+ * isWaiting,
1211
+ * nextRetryAt,
1212
+ * maxRetriesReached,
1213
+ * retryCount,
1214
+ * manualRetry,
1215
+ * discardAndReconnect,
1216
+ * } = useUploadRetry();
1217
+ *
1218
+ * if (maxRetriesReached) {
1219
+ * return (
1220
+ * <View>
1221
+ * <Text>Upload failed after {retryCount} attempts</Text>
1222
+ * <Button onPress={manualRetry}>Try Again</Button>
1223
+ * <Button onPress={discardAndReconnect}>Discard Changes</Button>
1224
+ * </View>
1225
+ * );
1226
+ * }
1227
+ *
1228
+ * if (isWaiting && nextRetryAt) {
1229
+ * return (
1230
+ * <View>
1231
+ * <Text>Retrying in {Math.ceil((nextRetryAt.getTime() - Date.now()) / 1000)}s</Text>
1232
+ * </View>
1233
+ * );
1234
+ * }
1235
+ *
1236
+ * return null;
1237
+ * }
1238
+ * ```
1239
+ */
1240
+ declare function useUploadRetry(): {
1241
+ isWaiting: boolean;
1242
+ nextRetryAt: Date | null;
1243
+ maxRetriesReached: boolean;
1244
+ retryCount: number;
1245
+ manualRetry: () => Promise<void>;
1246
+ discardEntryAndReconnect: (entryId: number) => Promise<void>;
1247
+ };
1167
1248
  /**
1168
1249
  * Hook to access connection health status.
1169
1250
  *
@@ -1469,8 +1550,8 @@ interface UploadStatusResult {
1469
1550
  failedTransactions: FailedTransaction[];
1470
1551
  /** Trigger sync retry (reconnect) */
1471
1552
  retryAll: () => Promise<void>;
1472
- /** Dismiss all failures */
1473
- dismissAll: () => void;
1553
+ /** Dismiss a specific failure by its ID */
1554
+ dismissFailure: (failureId: string) => void;
1474
1555
  }
1475
1556
  /**
1476
1557
  * Hook to get overall upload status across all entities.
@@ -1559,5 +1640,84 @@ declare const useFailedTransactions: typeof useFailedTransactionsContext;
1559
1640
  * Alias for useCompletedTransactionsContext.
1560
1641
  */
1561
1642
  declare const useCompletedTransactions: typeof useCompletedTransactionsContext;
1643
+ /**
1644
+ * Return type for useUploadBlockedReason hook.
1645
+ */
1646
+ interface UploadBlockedReasonResult {
1647
+ /** Whether uploads are currently blocked */
1648
+ isBlocked: boolean;
1649
+ /** The reason uploads are blocked */
1650
+ reason: UploadBlockReason;
1651
+ /** Human-readable description of why uploads are blocked */
1652
+ description: string | null;
1653
+ /** Whether an upload is actively in progress */
1654
+ isUploading: boolean;
1655
+ }
1656
+ /**
1657
+ * Hook to get why uploads are blocked.
1658
+ * Derives block reason from existing sync mode, network, and connection state.
1659
+ *
1660
+ * @returns Upload blocked status with reason and description
1661
+ *
1662
+ * @example
1663
+ * ```typescript
1664
+ * function UploadBlockedBanner() {
1665
+ * const { isBlocked, reason, description } = useUploadBlockedReason();
1666
+ *
1667
+ * if (!isBlocked) return null;
1668
+ *
1669
+ * return <Banner>{description}</Banner>;
1670
+ * }
1671
+ * ```
1672
+ */
1673
+ declare function useUploadBlockedReason(): UploadBlockedReasonResult;
1674
+ /**
1675
+ * Return type for useRetryCountdown hook.
1676
+ */
1677
+ interface RetryCountdownResult {
1678
+ /** The soonest next retry time from all failed transactions */
1679
+ nextRetryAt: Date | null;
1680
+ /** Milliseconds until the next retry (0 if already past) */
1681
+ timeUntilRetryMs: number;
1682
+ /** Formatted countdown string (e.g., "5s", "1m 30s", "2m") or null if no retry scheduled */
1683
+ formattedCountdown: string | null;
1684
+ }
1685
+ /**
1686
+ * Hook for retry countdown display.
1687
+ * Returns the soonest nextRetryAt from all failed transactions.
1688
+ * Re-renders every second when countdown is active.
1689
+ *
1690
+ * @returns Retry countdown information
1691
+ *
1692
+ * @example
1693
+ * ```typescript
1694
+ * function RetryTimer() {
1695
+ * const { nextRetryAt, formattedCountdown } = useRetryCountdown();
1696
+ *
1697
+ * if (!nextRetryAt) return null;
1698
+ *
1699
+ * return <Text>Retrying in {formattedCountdown}</Text>;
1700
+ * }
1701
+ * ```
1702
+ */
1703
+ declare function useRetryCountdown(): RetryCountdownResult;
1704
+
1705
+ /**
1706
+ * Provider Constants for @pol-studios/powersync
1707
+ *
1708
+ * Exports constants used in the provider that may need to be accessed by UI components.
1709
+ */
1710
+ /**
1711
+ * Maximum number of upload retry attempts before stopping automatic retries.
1712
+ * After this many attempts, the user must manually retry or discard the failed entries.
1713
+ *
1714
+ * Backoff delays: 4s, 8s, 16s, 32s, 64s, 128s, 256s (total: ~8.5 minutes)
1715
+ */
1716
+ declare const UPLOAD_MAX_RETRIES = 7;
1717
+ /**
1718
+ * Backoff delays in seconds for each retry attempt.
1719
+ * Uses exponential backoff: 4s, 8s, 16s, 32s, 64s, 128s, 256s
1720
+ */
1721
+ declare const UPLOAD_BACKOFF_DELAYS: readonly [4, 8, 16, 32, 64, 128, 256];
1562
1722
 
1563
- export { AttachmentQueueContext, type BackgroundSyncCallbacks, type BackgroundSyncConfig, type BackgroundSyncStatus, CompletedTransactionsContext, type CompletedTransactionsContextValue, ConnectionHealthContext, type ConnectionHealthContextValue, ConnectionStatusContext, type ConnectionStatusContextValue, DEFAULT_CONNECTION_HEALTH, DEFAULT_SYNC_CONFIG, DEFAULT_SYNC_METRICS, DEFAULT_SYNC_STATUS, type DataLayerConfig, type DataLayerIntegration, type EntitySyncStatusResult, FailedTransactionsContext, type FailedTransactionsContextValue, type OfflineDataAttachmentConfig, OfflineDataProvider, type OfflineDataProviderConfig, type OfflineDataProviderProps, PendingMutationsContext, type PendingMutationsContextValue, type PowerSyncConfig, PowerSyncContext, type PowerSyncContextValue, PowerSyncProvider, type PowerSyncProviderProps, type PowerSyncSyncStatusSnapshot, ProviderBridge, type ProviderBridgeProps, SyncActivityContext, type SyncActivityContextValue, type SyncActivityResult, type SyncConfig, SyncMetricsContext, type SyncMetricsContextValue, SyncModeContext, type SyncModeContextValue, SyncStatusContext, type SyncStatusContextValue, type UploadStatusResult, useAttachmentQueue, useAttachmentQueueReady, useCompletedTransactions, useCompletedTransactionsContext, useConnectionHealth, useConnectionStatus, useDatabase, useDownloadProgress, useEntitySyncStatus, useFailedTransactions, useFailedTransactionsContext, useIsSyncing, useOnlineStatus, usePendingMutations, usePendingMutationsContext, usePlatform, usePowerSync, useSyncActivity, useSyncActivityContext, useSyncControl, useSyncMetrics, useSyncMode, useSyncModeContext, useSyncStatus, useUploadStatus };
1723
+ export { AttachmentQueueContext, type BackgroundSyncCallbacks, type BackgroundSyncConfig, type BackgroundSyncStatus, CompletedTransactionsContext, type CompletedTransactionsContextValue, ConnectionHealthContext, type ConnectionHealthContextValue, ConnectionStatusContext, type ConnectionStatusContextValue, DEFAULT_CONNECTION_HEALTH, DEFAULT_SYNC_CONFIG, DEFAULT_SYNC_METRICS, DEFAULT_SYNC_STATUS, type DataLayerConfig, type DataLayerIntegration, type EntitySyncStatusResult, FailedTransactionsContext, type FailedTransactionsContextValue, type OfflineDataAttachmentConfig, OfflineDataProvider, type OfflineDataProviderConfig, type OfflineDataProviderProps, PendingMutationsContext, type PendingMutationsContextValue, type PowerSyncConfig, PowerSyncContext, type PowerSyncContextValue, PowerSyncProvider, type PowerSyncProviderProps, type PowerSyncSyncStatusSnapshot, ProviderBridge, type ProviderBridgeProps, type RetryCountdownResult, SyncActivityContext, type SyncActivityContextValue, type SyncActivityResult, type SyncConfig, SyncMetricsContext, type SyncMetricsContextValue, SyncModeContext, type SyncModeContextValue, SyncStatusContext, type SyncStatusContextValue, UPLOAD_BACKOFF_DELAYS, UPLOAD_MAX_RETRIES, type UploadBlockedReasonResult, type UploadStatusResult, useAttachmentQueue, useAttachmentQueueReady, useCompletedTransactions, useCompletedTransactionsContext, useConnectionHealth, useConnectionStatus, useDatabase, useDownloadProgress, useEntitySyncStatus, useFailedTransactions, useFailedTransactionsContext, useIsSyncing, useOnlineStatus, usePendingMutations, usePendingMutationsContext, usePlatform, usePowerSync, useRetryCountdown, useSyncActivity, useSyncActivityContext, useSyncControl, useSyncMetrics, useSyncMode, useSyncModeContext, useSyncStatus, useUploadBlockedReason, useUploadRetry, useUploadStatus };
@@ -1,18 +1,20 @@
1
1
  import {
2
2
  OfflineDataProvider,
3
3
  PowerSyncProvider,
4
- ProviderBridge
5
- } from "../chunk-VB737IVN.js";
4
+ ProviderBridge,
5
+ UPLOAD_BACKOFF_DELAYS,
6
+ UPLOAD_MAX_RETRIES
7
+ } from "../chunk-JCGOZVWL.js";
6
8
  import "../chunk-YHTZ7VMV.js";
7
9
  import "../chunk-P6WOZO7H.js";
8
10
  import "../chunk-CACKC6XG.js";
9
- import "../chunk-55DKCJV4.js";
11
+ import "../chunk-RE5HWLCB.js";
10
12
  import {
11
13
  DEFAULT_CONNECTION_HEALTH,
12
14
  DEFAULT_SYNC_CONFIG,
13
15
  DEFAULT_SYNC_METRICS,
14
16
  DEFAULT_SYNC_STATUS
15
- } from "../chunk-24RDMMCL.js";
17
+ } from "../chunk-FNYQFILT.js";
16
18
  import {
17
19
  AttachmentQueueContext,
18
20
  CompletedTransactionsContext,
@@ -42,6 +44,7 @@ import {
42
44
  usePendingMutationsContext,
43
45
  usePlatform,
44
46
  usePowerSync,
47
+ useRetryCountdown,
45
48
  useSyncActivity,
46
49
  useSyncActivityContext,
47
50
  useSyncControl,
@@ -49,15 +52,17 @@ import {
49
52
  useSyncMode,
50
53
  useSyncModeContext,
51
54
  useSyncStatus,
55
+ useUploadBlockedReason,
56
+ useUploadRetry,
52
57
  useUploadStatus
53
- } from "../chunk-YSTEESEG.js";
58
+ } from "../chunk-C2ACBYBZ.js";
54
59
  import "../chunk-CAB26E6F.js";
55
60
  import "../chunk-XAEII4ZX.js";
56
61
  import "../chunk-Z6VOBGTU.js";
62
+ import "../chunk-FV2HXEIY.js";
57
63
  import "../chunk-CGL33PL4.js";
58
64
  import "../chunk-WN5ZJ3E2.js";
59
- import "../chunk-BGBQYQV3.js";
60
- import "../chunk-FV2HXEIY.js";
65
+ import "../chunk-BC2SRII2.js";
61
66
  import "../chunk-I2AYMY5O.js";
62
67
  export {
63
68
  AttachmentQueueContext,
@@ -78,6 +83,8 @@ export {
78
83
  SyncMetricsContext,
79
84
  SyncModeContext,
80
85
  SyncStatusContext,
86
+ UPLOAD_BACKOFF_DELAYS,
87
+ UPLOAD_MAX_RETRIES,
81
88
  useAttachmentQueue,
82
89
  useAttachmentQueueReady,
83
90
  useCompletedTransactions,
@@ -95,6 +102,7 @@ export {
95
102
  usePendingMutationsContext,
96
103
  usePlatform,
97
104
  usePowerSync,
105
+ useRetryCountdown,
98
106
  useSyncActivity,
99
107
  useSyncActivityContext,
100
108
  useSyncControl,
@@ -102,6 +110,8 @@ export {
102
110
  useSyncMode,
103
111
  useSyncModeContext,
104
112
  useSyncStatus,
113
+ useUploadBlockedReason,
114
+ useUploadRetry,
105
115
  useUploadStatus
106
116
  };
107
117
  //# sourceMappingURL=index.js.map
@@ -1,11 +1,11 @@
1
1
  import * as react from 'react';
2
2
  import react__default, { ReactNode } from 'react';
3
3
  import { Schema } from '@powersync/react-native';
4
- import { A as AuthProvider } from '../types-DiBvmGEi.js';
4
+ import { A as AuthProvider } from '../types-CpM2_LhU.js';
5
5
  import { a as StorageBackend } from '../types-D0WcHrq6.js';
6
6
  import { f as AttachmentConfig, P as PolAttachmentQueue } from '../pol-attachment-queue-BE2HU3Us.js';
7
7
  import { PlatformAdapter } from '../platform/index.js';
8
- import { f as SyncError, a as SyncStatus, A as AbstractPowerSyncDatabase } from '../types-CDqWh56B.js';
8
+ import { f as SyncError, a as SyncStatus, A as AbstractPowerSyncDatabase } from '../types-Dv1uf0LZ.js';
9
9
  import '@supabase/supabase-js';
10
10
  import '@powersync/attachments';
11
11
  import '@powersync/common';
@@ -6,11 +6,11 @@ import {
6
6
  useAttachmentQueueContext,
7
7
  usePowerSyncContext,
8
8
  useSyncStatusContext
9
- } from "../chunk-TIFL2KWE.js";
9
+ } from "../chunk-RBPWEOIV.js";
10
10
  import "../chunk-CACKC6XG.js";
11
- import "../chunk-24RDMMCL.js";
12
- import "../chunk-BGBQYQV3.js";
11
+ import "../chunk-FNYQFILT.js";
13
12
  import "../chunk-FV2HXEIY.js";
13
+ import "../chunk-BC2SRII2.js";
14
14
  import "../chunk-I2AYMY5O.js";
15
15
  export {
16
16
  AttachmentQueueContext,
@@ -3,4 +3,4 @@ export { f as CacheSettings, C as CacheSettingsManager, h as CacheSettingsManage
3
3
  export { D as DEFAULT_UPLOAD_NOTIFICATION, S as SupabaseUploadHandlerOptions, U as UploadEventHandlers, a as UploadNotificationConfig } from '../types-CyvBaAl8.js';
4
4
  export { SupabaseUploadHandler, createSupabaseUploadHandler } from './upload/index.js';
5
5
  import '../platform/index.js';
6
- import '../types-CDqWh56B.js';
6
+ import '../types-Dv1uf0LZ.js';
@@ -3,4 +3,4 @@ export { f as CacheSettings, C as CacheSettingsManager, h as CacheSettingsManage
3
3
  export { D as DEFAULT_UPLOAD_NOTIFICATION, S as SupabaseUploadHandlerOptions, U as UploadEventHandlers, a as UploadNotificationConfig } from '../types-CyvBaAl8.js';
4
4
  export { SupabaseUploadHandler, createSupabaseUploadHandler } from './upload/index.native.js';
5
5
  import '../platform/index.js';
6
- import '../types-CDqWh56B.js';
6
+ import '../types-Dv1uf0LZ.js';
@@ -3,4 +3,4 @@ export { f as CacheSettings, C as CacheSettingsManager, h as CacheSettingsManage
3
3
  export { D as DEFAULT_UPLOAD_NOTIFICATION, S as SupabaseUploadHandlerOptions, U as UploadEventHandlers, a as UploadNotificationConfig } from '../types-CyvBaAl8.js';
4
4
  export { SupabaseUploadHandler, createSupabaseUploadHandler } from './upload/index.js';
5
5
  import '../platform/index.js';
6
- import '../types-CDqWh56B.js';
6
+ import '../types-Dv1uf0LZ.js';