Vaultrice SDK - v1.1.1
    Preparing search index...

    Function createOfflineSyncObject

    • Creates an offline-capable sync object that transparently synchronizes with a remote sync object when online. Handles local persistence, expiration, conflict resolution, and event bridging.

      Type Parameters

      • T extends object

      Parameters

      • credentials: Credentials

        API credentials and project information.

      • OptionalidOrOptions: string | OfflineSyncOptions

        Either an ID string or an OfflineSyncOptions object.

      Returns Promise<T & SyncObjectMeta>

      A proxy object implementing both local and remote sync behaviors.