@xmtp/node-bindings 1.2.0-rc5 → 1.2.2

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
package/dist/index.d.ts CHANGED
@@ -17,6 +17,7 @@ export declare class Client {
17
17
  apiStatistics(): ApiStats
18
18
  apiIdentityStatistics(): IdentityStats
19
19
  apiAggregateStatistics(): string
20
+ clearAllStatistics(): void
20
21
  uploadDebugArchive(serverUrl: string): Promise<string>
21
22
  setConsentStates(records: Array<Consent>): Promise<void>
22
23
  getConsentState(entityType: ConsentEntityType, entity: string): Promise<ConsentState>
@@ -223,7 +224,7 @@ export declare const enum ConversationType {
223
224
  * It can be one of: `debug`, `info`, `warn`, `error` or 'off'.
224
225
  * By default, logging is disabled.
225
226
  */
226
- export declare export declare function createClient(host: string, isSecure: boolean, dbPath: string | undefined | null, inboxId: string, accountIdentifier: Identifier, encryptionKey?: Uint8Array | undefined | null, deviceSyncServerUrl?: string | undefined | null, deviceSyncWorkerMode?: SyncWorkerMode | undefined | null, logOptions?: LogOptions | undefined | null): Promise<Client>
227
+ export declare export declare function createClient(host: string, isSecure: boolean, dbPath: string | undefined | null, inboxId: string, accountIdentifier: Identifier, encryptionKey?: Uint8Array | undefined | null, deviceSyncServerUrl?: string | undefined | null, deviceSyncWorkerMode?: SyncWorkerMode | undefined | null, logOptions?: LogOptions | undefined | null, allowOffline?: boolean | undefined | null): Promise<Client>
227
228
 
228
229
  export interface CreateDmOptions {
229
230
  messageDisappearingSettings?: MessageDisappearingSettings
package/dist/version.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "branch": "release/v1.2",
3
- "version": "d990224",
4
- "date": "2025-05-29 00:31:52 +0000"
3
+ "version": "d0f0b67",
4
+ "date": "2025-06-18 21:31:37 +0000"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/node-bindings",
3
- "version": "1.2.0-rc5",
3
+ "version": "1.2.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://git@github.com/xmtp/libxmtp.git",