@dittolive/ditto 3.0.0 → 4.0.0-alpha2

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.
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dittolive/ditto",
3
- "version": "3.0.0",
3
+ "version": "4.0.0-alpha2",
4
4
  "description": "Ditto is a cross-platform embeddable NoSQL database that can sync with or without an internet connection.",
5
5
  "homepage": "https://ditto.live",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -45,6 +45,6 @@
45
45
  },
46
46
 
47
47
  "devDependencies": {
48
- "serve": "^14.0.1"
48
+ "serve": "^14.1.2"
49
49
  }
50
50
  }
package/types/ditto.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Describes the direction when sorting a query.
3
3
  */
4
- declare type SortDirection = 'ascending' | 'descending';
4
+ type SortDirection = 'ascending' | 'descending';
5
5
  /**
6
6
  * Defines the various strategies available when inserting a document into a
7
7
  * collection.
@@ -21,37 +21,37 @@ declare type SortDirection = 'ascending' | 'descending';
21
21
  * data amongst all peers and that you expect to be mutated or overwritten in
22
22
  * due course.
23
23
  */
24
- declare type WriteStrategy = 'merge' | 'insertIfAbsent' | 'insertDefaultIfAbsent';
24
+ type WriteStrategy = 'merge' | 'insertIfAbsent' | 'insertDefaultIfAbsent';
25
25
  /**
26
26
  * Represents a dictionary of values to be incorporated into a query keyed
27
27
  * by the placeholder used within that query. See method
28
28
  * {@link Collection.find | find()} of {@link Collection} for more info.
29
29
  */
30
- declare type QueryArguments = {
30
+ type QueryArguments = {
31
31
  [key: string]: any;
32
32
  };
33
33
 
34
34
  /** @internal */
35
- declare type Pointer<Type> = {
35
+ type Pointer<Type> = {
36
36
  type: Type;
37
37
  addr: string;
38
38
  };
39
39
  /** @internal */
40
- declare type FFIAuthClient = 'CAuthClient_t';
40
+ type FFIAuthClient = 'CAuthClient_t';
41
41
  /** @internal */
42
- declare type OrderBy = {
42
+ type OrderBy = {
43
43
  query: string;
44
44
  direction: 'Ascending' | 'Descending';
45
45
  };
46
46
  /** @internal */
47
- declare type PathAccessorType = 'String' | 'Number' | 'Int' | 'UInt' | 'Float' | 'Double' | 'Bool' | 'Null' | 'Object' | 'Array' | 'Any' | 'Counter' | 'Register' | 'Attachment' | 'Rga' | 'RWMap';
47
+ type PathAccessorType = 'String' | 'Number' | 'Int' | 'UInt' | 'Float' | 'Double' | 'Bool' | 'Null' | 'Object' | 'Array' | 'Any' | 'Counter' | 'Register' | 'Attachment' | 'Rga' | 'RWMap';
48
48
  /** Various options to pass the web assembly module to Ditto. */
49
- declare type WebAssemblyModule = RequestInfo | URL | Response | BufferSource | WebAssembly.Module | string | null;
49
+ type WebAssemblyModule = RequestInfo | URL | Response | BufferSource | WebAssembly.Module | string | null;
50
50
 
51
51
  /**
52
52
  * Available options for {@link init | init()}.
53
53
  */
54
- declare type InitOptions = {
54
+ type InitOptions = {
55
55
  /**
56
56
  * You can explicitly pass the WebAssembly module or its location via the
57
57
  * `webAssemblyModule` option. By default, Ditto tries to load the WebAssembly
@@ -165,6 +165,23 @@ interface TransportConfigGlobal {
165
165
  * Ditto's permissions system.
166
166
  */
167
167
  syncGroup: number;
168
+ /**
169
+ * The routing hint for this device.
170
+ *
171
+ * A routing hint is a performance tuning option which can improve the performance of
172
+ * applications that use large collections. Ditto will make a best effort to co-locate data for
173
+ * the same routing key. In most circumstances, this should substantially improve responsiveness
174
+ * of the Ditto Cloud.
175
+ *
176
+ * The value of the routing hint is application specific - you are free to chose any value.
177
+ * Devices which you expect to operate on much the same data should be configured to
178
+ * use the same value.
179
+ *
180
+ * A routing hint does not partition data. The value of the routing hint will not affect the data
181
+ * returned for a query. The routing hint only improves the efficiency of the Cloud's
182
+ * ability to satisfy the query.
183
+ */
184
+ routingHint: number;
168
185
  }
169
186
  /**
170
187
  * A configuration object specifying which network transports Ditto should
@@ -367,7 +384,7 @@ interface IdentityOnlineWithAuthentication {
367
384
  * The various identity configurations that you can use when initializing a
368
385
  * `Ditto` instance.
369
386
  */
370
- declare type Identity = IdentityOfflinePlayground | IdentitySharedKey | IdentityManual | IdentityOnlinePlayground | IdentityOnlineWithAuthentication;
387
+ type Identity = IdentityOfflinePlayground | IdentitySharedKey | IdentityManual | IdentityOnlinePlayground | IdentityOnlineWithAuthentication;
371
388
  /** The list of identity types that require activation through an offlineLicenseToken */
372
389
  declare const IdentityTypesRequiringOfflineLicenseToken: string[];
373
390
 
@@ -426,7 +443,7 @@ declare class Bridge<JSClass extends object, FFIType> {
426
443
  }
427
444
 
428
445
  /** Represents a unique identifier for a {@link Document}. */
429
- declare type DocumentIDValue = any;
446
+ type DocumentIDValue = any;
430
447
  /** Represents a unique identifier for a {@link Document}. */
431
448
  declare class DocumentID {
432
449
  /**
@@ -509,7 +526,7 @@ declare function validateDocumentIDCBOR(idCBOR: Uint8Array): Uint8Array;
509
526
  /**
510
527
  * The types of an {@link UpdateResult}.
511
528
  */
512
- declare type UpdateResultType = 'set' | 'incremented' | 'removed';
529
+ type UpdateResultType = 'set' | 'incremented' | 'removed';
513
530
  declare class UpdateResult {
514
531
  /** The update result's type. */
515
532
  readonly type: UpdateResultType;
@@ -620,25 +637,6 @@ declare class MutableRegister extends Register {
620
637
  constructor(value: any);
621
638
  }
622
639
 
623
- /**
624
- * Represents a CRDT Replicated Growable Array (RGA).
625
- *
626
- * RGAs are deprecated and you should instead use a `Register` containing an
627
- * array.
628
- */
629
- declare class RGA {
630
- /** The array representation of the RGA. */
631
- get value(): any[];
632
- /** @internal */
633
- private constructor();
634
- /** @internal */
635
- static '@ditto.create'(path: any, value: any): RGA;
636
- /** @internal */
637
- protected '@ditto.path': any;
638
- /** @internal */
639
- protected '@ditto.value': any;
640
- }
641
-
642
640
  /**
643
641
  * Serves as a token for a specific attachment that you can pass to a call to
644
642
  * {@link Collection.fetchAttachment | fetchAttachment()} on a
@@ -706,14 +704,6 @@ declare class DocumentPath {
706
704
  * {@link Register} if possible, otherwise returns `null`.
707
705
  */
708
706
  get register(): Register | null;
709
- /**
710
- * Returns the value at the previously specified key in the document as an
711
- * {@link RGA} if possible, otherwise returns `null`.
712
- *
713
- * @deprecated RGA usage should be replaced. Use arrays inside Registers
714
- * instead.
715
- */
716
- get rga(): RGA | null;
717
707
  /**
718
708
  * Returns the value at the previously specified key in the document as an
719
709
  * {@link AttachmentToken} if possible, otherwise returns `null`.
@@ -770,18 +760,6 @@ declare class MutableDocumentPath {
770
760
  * {@link MutableRegister} if possible, otherwise returns `null`.
771
761
  */
772
762
  get register(): MutableRegister | null;
773
- /**
774
- * Returns the value at the previously specified key in the document as a
775
- * {@link RGA} if possible, otherwise returns `null`.
776
- *
777
- * Note that the returned type, {@link RGA}, is deprecated and does not allow
778
- * any mutation. RGAs cannot be created or mutated with this version of the
779
- * SDK; they can only be read and this is for backwards compatibility reasons.
780
- *
781
- * @deprecated RGA usage should be replaced. Use arrays inside Registers
782
- * instead.
783
- */
784
- get rga(): RGA | null;
785
763
  /**
786
764
  * Returns the value at the previously specified key in the document as a
787
765
  * {@link AttachmentToken} if possible, otherwise returns `null`.
@@ -798,8 +776,6 @@ declare class MutableDocumentPath {
798
776
  set(value: any, isDefault?: boolean): void;
799
777
  /**
800
778
  * Removes a value at the document's key-path defined by the receiver.
801
- * If removing an index from an `RGA`, any subsequent indexes will be shifted
802
- * left to fill the gap.
803
779
  */
804
780
  remove(): void;
805
781
  /** @internal */
@@ -822,7 +798,7 @@ declare class MutableDocumentPath {
822
798
  * A document value is a JavaScript object containing values for keys that
823
799
  * can be serialized via CBOR.
824
800
  */
825
- declare type DocumentValue = Record<string, any>;
801
+ type DocumentValue = Record<string, any>;
826
802
  /** A document belonging to a {@link Collection} with an inner value. */
827
803
  declare class Document {
828
804
  /**
@@ -938,11 +914,11 @@ declare const attachmentBridge: Bridge<Attachment, "AttachmentHandle_t">;
938
914
  * The types of attachment fetch events that can be delivered to an attachment
939
915
  * fetcher's `callback`.
940
916
  */
941
- declare type AttachmentFetchEventType = 'Completed' | 'Progress' | 'Deleted';
917
+ type AttachmentFetchEventType = 'Completed' | 'Progress' | 'Deleted';
942
918
  /**
943
919
  * An attachment fetch event used when the attachment's download has completed.
944
920
  */
945
- declare type AttachmentFetchEventCompleted = {
921
+ type AttachmentFetchEventCompleted = {
946
922
  type: 'Completed';
947
923
  attachment: Attachment;
948
924
  };
@@ -950,7 +926,7 @@ declare type AttachmentFetchEventCompleted = {
950
926
  * An attachment fetch event used when the attachment's download progressed but
951
927
  * is not yet complete.
952
928
  */
953
- declare type AttachmentFetchEventProgress = {
929
+ type AttachmentFetchEventProgress = {
954
930
  type: 'Progress';
955
931
  totalBytes: number | BigInt;
956
932
  downloadedBytes: number | BigInt;
@@ -958,7 +934,7 @@ declare type AttachmentFetchEventProgress = {
958
934
  /**
959
935
  * An attachment fetch event used when the attachment is deleted.
960
936
  */
961
- declare type AttachmentFetchEventDeleted = {
937
+ type AttachmentFetchEventDeleted = {
962
938
  type: 'Deleted';
963
939
  };
964
940
  /**
@@ -977,7 +953,7 @@ declare type AttachmentFetchEventDeleted = {
977
953
  * {@link Collection.fetchAttachment | fetchAttachment()} on a
978
954
  * {@link Collection} instance.
979
955
  */
980
- declare type AttachmentFetchEvent = AttachmentFetchEventCompleted | AttachmentFetchEventProgress | AttachmentFetchEventDeleted;
956
+ type AttachmentFetchEvent = AttachmentFetchEventCompleted | AttachmentFetchEventProgress | AttachmentFetchEventDeleted;
981
957
 
982
958
  /**
983
959
  * These objects are returned by calls to
@@ -1228,7 +1204,7 @@ declare class LiveQueryEventUpdate {
1228
1204
  * Represents events delivered by a {@link LiveQuery}, which can be initial
1229
1205
  * (fired immediately upon registration) or an update (all subsequent events).
1230
1206
  */
1231
- declare type LiveQueryEvent = LiveQueryEventInitial | LiveQueryEventUpdate;
1207
+ type LiveQueryEvent = LiveQueryEventInitial | LiveQueryEventUpdate;
1232
1208
  /**
1233
1209
  * Provides information about a live query event relating to a single document
1234
1210
  * live query.
@@ -1257,7 +1233,7 @@ declare class SingleDocumentLiveQueryEvent {
1257
1233
  * The closure that is called whenever the documents covered by a live query
1258
1234
  * change.
1259
1235
  */
1260
- declare type QueryObservationHandler = (documents: Document[], event: LiveQueryEvent, signalNext?: () => void) => void | Promise<void>;
1236
+ type QueryObservationHandler = (documents: Document[], event: LiveQueryEvent, signalNext?: () => void) => void | Promise<void>;
1261
1237
  /**
1262
1238
  * These objects are returned when using `find`-like functionality on
1263
1239
  * {@link Collection}.
@@ -1454,7 +1430,7 @@ declare class PendingCursorOperation implements PromiseLike<Document[]> {
1454
1430
  * The closure that is called whenever a single documunent covered by a
1455
1431
  * live query changes.
1456
1432
  */
1457
- declare type SingleObservationHandler = (document: Document | null, event: SingleDocumentLiveQueryEvent, signalNext?: () => void) => void | Promise<void>;
1433
+ type SingleObservationHandler = (document: Document | null, event: SingleDocumentLiveQueryEvent, signalNext?: () => void) => void | Promise<void>;
1458
1434
  /**
1459
1435
  * These objects are returned when using {@link Collection.findByID | findByID()}
1460
1436
  * functionality on {@link Collection | collections}.
@@ -1586,7 +1562,7 @@ declare class PendingIDSpecificOperation implements PromiseLike<Document | undef
1586
1562
  private get query();
1587
1563
  }
1588
1564
 
1589
- declare type UpsertOptions = {
1565
+ type UpsertOptions = {
1590
1566
  writeStrategy?: WriteStrategy;
1591
1567
  };
1592
1568
  /**
@@ -1778,7 +1754,7 @@ declare class CollectionsEvent {
1778
1754
  * The closure that is called whenever the collections covered by a live query
1779
1755
  * change.
1780
1756
  */
1781
- declare type CollectionsObservationHandler = (event: CollectionsEvent, signalNext?: () => void) => void | Promise<void>;
1757
+ type CollectionsObservationHandler = (event: CollectionsEvent, signalNext?: () => void) => void | Promise<void>;
1782
1758
  /**
1783
1759
  * These objects are returned when calling
1784
1760
  * {@link Store.collections | collections()} on {@link Store}.
@@ -1947,7 +1923,7 @@ interface ObserverRemoving {
1947
1923
  removeObserver(token: any): any;
1948
1924
  }
1949
1925
  /** @internal */
1950
- declare type ObserverOptions = {
1926
+ type ObserverOptions = {
1951
1927
  stopsWhenFinalized?: boolean;
1952
1928
  };
1953
1929
  /**
@@ -1979,7 +1955,7 @@ declare class Observer {
1979
1955
  }
1980
1956
 
1981
1957
  /** Types of connections that can be established between two peers. */
1982
- declare type ConnectionType = 'P2PWiFi' | 'WebSocket' | 'AccessPoint' | 'Bluetooth';
1958
+ type ConnectionType = 'P2PWiFi' | 'WebSocket' | 'AccessPoint' | 'Bluetooth';
1983
1959
  /**
1984
1960
  * An opaque address uniquely identifying another peer on the Ditto mesh
1985
1961
  * network.
@@ -1989,7 +1965,7 @@ declare type ConnectionType = 'P2PWiFi' | 'WebSocket' | 'AccessPoint' | 'Bluetoo
1989
1965
  * {@link addressToString | addressToString()} to compare individual addresses
1990
1966
  * with each other.
1991
1967
  */
1992
- declare type Address = {
1968
+ type Address = {
1993
1969
  siteId: string;
1994
1970
  pubkey: Uint8Array;
1995
1971
  };
@@ -2000,7 +1976,7 @@ declare type Address = {
2000
1976
  */
2001
1977
  declare function addressToString(address: Address): string;
2002
1978
  /** Represents a connection between two peers on the Ditto mesh network. */
2003
- declare type Connection = {
1979
+ type Connection = {
2004
1980
  /** Unique identifier for the connection. */
2005
1981
  id: string;
2006
1982
  /** Type of transport enabling this connection. */
@@ -2012,7 +1988,7 @@ declare type Connection = {
2012
1988
  approximateDistanceInMeters?: number;
2013
1989
  };
2014
1990
  /** An instance of Ditto taking part in the Ditto mesh network. */
2015
- declare type Peer = {
1991
+ type Peer = {
2016
1992
  /**
2017
1993
  * Address to contact this peer via Ditto Bus, unique with a Ditto mesh
2018
1994
  * network.
@@ -2042,7 +2018,7 @@ declare type Peer = {
2042
2018
  * other. The `localPeer` is the entry point, all others are remote peers known
2043
2019
  * by the local peer (either directly or via other remote peers).
2044
2020
  */
2045
- declare type PresenceGraph = {
2021
+ type PresenceGraph = {
2046
2022
  /**
2047
2023
  * Returns the local peer (usually the peer that is represented by the
2048
2024
  * currently running Ditto instance). The `localPeer` is the entry point, all
@@ -2092,19 +2068,19 @@ declare class Presence {
2092
2068
  }
2093
2069
 
2094
2070
  /** Types of connections that can be established between two peers. */
2095
- declare type TransportCondition = 'Unknown' | 'OK' | 'GenericFailure' | 'AppInBackground' | 'MDNSFailure' | 'TCPListenFailure' | 'NoBLECentralPermission' | 'NoBLEPeripheralPermission' | 'CannotEstablishConnection' | 'BLEDisabled' | 'NoBLEHardware' | 'WiFiDisabled' | 'TemporarilyUnavailable';
2071
+ type TransportCondition = 'Unknown' | 'OK' | 'GenericFailure' | 'AppInBackground' | 'MDNSFailure' | 'TCPListenFailure' | 'NoBLECentralPermission' | 'NoBLEPeripheralPermission' | 'CannotEstablishConnection' | 'BLEDisabled' | 'NoBLEHardware' | 'WiFiDisabled' | 'TemporarilyUnavailable';
2096
2072
  /** The source for a transport condition. */
2097
- declare type ConditionSource = 'BLE' | 'TCP' | 'AWDL' | 'MDNS';
2073
+ type ConditionSource = 'BLE' | 'TCP' | 'AWDL' | 'MDNS';
2098
2074
  /**
2099
2075
  * Types of connections that can be established between two peers.
2100
2076
  * @deprecated replaced by {@link ConnectionType}.
2101
2077
  */
2102
- declare type PresenceConnectionType = 'WiFi' | 'WebSocket' | 'AWDL' | 'BLE';
2078
+ type PresenceConnectionType = 'WiFi' | 'WebSocket' | 'AWDL' | 'BLE';
2103
2079
  /**
2104
2080
  * A peer object with information about an observed peer.
2105
2081
  * @deprecated replaced by {@link Peer}.
2106
2082
  */
2107
- declare type RemotePeer = {
2083
+ type RemotePeer = {
2108
2084
  networkID: string;
2109
2085
  deviceName: string;
2110
2086
  rssi?: number;
@@ -2295,14 +2271,14 @@ declare class Ditto {
2295
2271
  runGarbageCollection(): void;
2296
2272
  /**
2297
2273
  * Explicitly opt-in to disabling the ability to sync with Ditto peers running
2298
- * any version of the SDK in the v2 series of releases.
2274
+ * any version of the SDK in the v3 series of releases.
2299
2275
  *
2300
2276
  * Assuming this succeeds then this peer will only be able to sync with other
2301
- * peers using SDKs in the v3 series of releases. Note that this disabling of
2277
+ * peers using SDKs in the v4 series of releases. Note that this disabling of
2302
2278
  * sync spreads to peers that sync with a peer that has disabled, or has
2303
- * (transitively) had disabled, syncing with v2 SDK peers.
2279
+ * (transitively) had disabled, syncing with v3 SDK peers.
2304
2280
  */
2305
- disableSyncWithV2(): void;
2281
+ disableSyncWithV3(): void;
2306
2282
  /** @internal */
2307
2283
  keepAlive: KeepAlive;
2308
2284
  private sync;
@@ -2319,9 +2295,9 @@ declare class Ditto {
2319
2295
  declare const dittoBridge: Bridge<Ditto, "CDitto_t">;
2320
2296
 
2321
2297
  /** @internal */
2322
- declare type ObserverToken = string;
2298
+ type ObserverToken = string;
2323
2299
  /** @internal */
2324
- declare type ObserverManagerConstructorOptions = {
2300
+ type ObserverManagerConstructorOptions = {
2325
2301
  keepAlive?: KeepAlive;
2326
2302
  register?: (callback: (...args: any[]) => void) => void;
2327
2303
  unregister?: () => void;
@@ -2371,7 +2347,7 @@ declare class ObserverManager {
2371
2347
  /**
2372
2348
  * Provides info about the authentication status.
2373
2349
  */
2374
- declare type AuthenticationStatus = {
2350
+ type AuthenticationStatus = {
2375
2351
  /**
2376
2352
  * Returns `true` if authenticated, otherwise returns `false`.
2377
2353
  */
@@ -2504,12 +2480,12 @@ declare class Value {
2504
2480
  }
2505
2481
 
2506
2482
  /** The log levels supported by Ditto. */
2507
- declare type LogLevel = 'Error' | 'Warning' | 'Info' | 'Debug' | 'Verbose';
2483
+ type LogLevel = 'Error' | 'Warning' | 'Info' | 'Debug' | 'Verbose';
2508
2484
  /**
2509
2485
  * Closure that {@link Logger.setCustomLogCallback} can be set as a custom
2510
2486
  * log callback on {@link Logger}.
2511
2487
  */
2512
- declare type CustomLogCallback = (logLevel: LogLevel, message: string) => void;
2488
+ type CustomLogCallback = (logLevel: LogLevel, message: string) => void;
2513
2489
  /**
2514
2490
  * Class with static methods to customize the logging behavior from Ditto and
2515
2491
  * log messages with the Ditto logging infrastructure.
@@ -2623,5 +2599,5 @@ declare class CBOR {
2623
2599
  static decode(data: Uint8Array): any;
2624
2600
  }
2625
2601
 
2626
- export { Address, Attachment, AttachmentFetchEvent, AttachmentFetchEventCompleted, AttachmentFetchEventDeleted, AttachmentFetchEventProgress, AttachmentFetchEventType, AttachmentFetcher, AttachmentToken, AuthenticationHandler, AuthenticationStatus, Authenticator, CBOR, Collection, CollectionsEvent, CollectionsEventParams, CollectionsObservationHandler, ConditionSource, Connection, ConnectionType, Counter, CustomLogCallback, Ditto, Document, DocumentID, DocumentIDValue, DocumentPath, DocumentValue, Identity, IdentityManual, IdentityOfflinePlayground, IdentityOnlinePlayground, IdentityOnlineWithAuthentication, IdentitySharedKey, IdentityTypesRequiringOfflineLicenseToken, InitOptions, KeepAlive, LiveQuery, LiveQueryEvent, LiveQueryEventInitial, LiveQueryEventUpdate, LiveQueryEventUpdateParams, LiveQueryMove, LogLevel, Logger, MutableCounter, MutableDocument, MutableDocumentPath, MutableRegister, NotAvailableAuthenticator, Observer, ObserverOptions, OnlineAuthenticator, Peer, PendingCollectionsOperation, PendingCursorOperation, PendingIDSpecificOperation, Presence, PresenceConnectionType, PresenceGraph, QueryArguments, QueryObservationHandler, RGA, Register, RemotePeer, SingleDocumentLiveQueryEvent, SingleObservationHandler, SortDirection, Store, Subscription, TransportCondition, TransportConfig, TransportConfigConnect, TransportConfigGlobal, TransportConfigLan, TransportConfigListen, TransportConfigListenHTTP, TransportConfigListenTCP, TransportConfigPeerToPeer, UpdateResult, UpdateResultType, UpdateResultsMap, UpsertOptions, Value, WebAssemblyModule, WriteStrategy, addressToString, attachmentBridge, dittoBridge, documentBridge, init, mutableDocumentBridge, validateDocumentIDCBOR, validateDocumentIDValue };
2602
+ export { Address, Attachment, AttachmentFetchEvent, AttachmentFetchEventCompleted, AttachmentFetchEventDeleted, AttachmentFetchEventProgress, AttachmentFetchEventType, AttachmentFetcher, AttachmentToken, AuthenticationHandler, AuthenticationStatus, Authenticator, CBOR, Collection, CollectionsEvent, CollectionsEventParams, CollectionsObservationHandler, ConditionSource, Connection, ConnectionType, Counter, CustomLogCallback, Ditto, Document, DocumentID, DocumentIDValue, DocumentPath, DocumentValue, Identity, IdentityManual, IdentityOfflinePlayground, IdentityOnlinePlayground, IdentityOnlineWithAuthentication, IdentitySharedKey, IdentityTypesRequiringOfflineLicenseToken, InitOptions, KeepAlive, LiveQuery, LiveQueryEvent, LiveQueryEventInitial, LiveQueryEventUpdate, LiveQueryEventUpdateParams, LiveQueryMove, LogLevel, Logger, MutableCounter, MutableDocument, MutableDocumentPath, MutableRegister, NotAvailableAuthenticator, Observer, ObserverOptions, OnlineAuthenticator, Peer, PendingCollectionsOperation, PendingCursorOperation, PendingIDSpecificOperation, Presence, PresenceConnectionType, PresenceGraph, QueryArguments, QueryObservationHandler, Register, RemotePeer, SingleDocumentLiveQueryEvent, SingleObservationHandler, SortDirection, Store, Subscription, TransportCondition, TransportConfig, TransportConfigConnect, TransportConfigGlobal, TransportConfigLan, TransportConfigListen, TransportConfigListenHTTP, TransportConfigListenTCP, TransportConfigPeerToPeer, UpdateResult, UpdateResultType, UpdateResultsMap, UpsertOptions, Value, WebAssemblyModule, WriteStrategy, addressToString, attachmentBridge, dittoBridge, documentBridge, init, mutableDocumentBridge, validateDocumentIDCBOR, validateDocumentIDValue };
2627
2603
  //# sourceMappingURL=ditto.d.ts.map