@xmtp/node-bindings 1.6.0-dev.3656d63 → 1.6.0-dev.419b6dc

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
@@ -211,7 +211,7 @@ export interface ApiStats {
211
211
  subscribeWelcomes: bigint
212
212
  }
213
213
 
214
- export declare export declare function applySignatureRequest(host: string, signatureRequest: SignatureRequestHandle): Promise<void>
214
+ export declare export declare function applySignatureRequest(v3Host: string, gatewayHost: string | undefined | null, signatureRequest: SignatureRequestHandle): Promise<void>
215
215
 
216
216
  export interface Attachment {
217
217
  filename?: string
@@ -239,14 +239,15 @@ export declare const enum ConsentState {
239
239
  export declare const enum ContentType {
240
240
  Unknown = 0,
241
241
  Text = 1,
242
- GroupMembershipChange = 2,
243
- GroupUpdated = 3,
244
- Reaction = 4,
245
- ReadReceipt = 5,
246
- Reply = 6,
247
- Attachment = 7,
248
- RemoteAttachment = 8,
249
- TransactionReference = 9
242
+ LeaveRequest = 2,
243
+ GroupMembershipChange = 3,
244
+ GroupUpdated = 4,
245
+ Reaction = 5,
246
+ ReadReceipt = 6,
247
+ Reply = 7,
248
+ Attachment = 8,
249
+ RemoteAttachment = 9,
250
+ TransactionReference = 10
250
251
  }
251
252
 
252
253
  export interface ContentTypeId {
@@ -263,7 +264,7 @@ export interface ConversationDebugInfo {
263
264
  isCommitLogForked?: boolean
264
265
  localCommitLog: string
265
266
  remoteCommitLog: string
266
- cursor: number
267
+ cursor: Array<XmtpCursor>
267
268
  }
268
269
 
269
270
  export declare const enum ConversationType {
@@ -280,7 +281,7 @@ export declare const enum ConversationType {
280
281
  * It can be one of: `debug`, `info`, `warn`, `error` or 'off'.
281
282
  * By default, logging is disabled.
282
283
  */
283
- 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, disableEvents?: boolean | undefined | null, appVersion?: string | undefined | null): Promise<Client>
284
+ export declare export declare function createClient(v3Host: string, gatewayHost: string | undefined | null, 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, disableEvents?: boolean | undefined | null, appVersion?: string | undefined | null): Promise<Client>
284
285
 
285
286
  export interface CreateDmOptions {
286
287
  messageDisappearingSettings?: MessageDisappearingSettings
@@ -334,13 +335,14 @@ export declare export declare function encodeReaction(reaction: Reaction): Uint8
334
335
 
335
336
  export declare export declare function generateInboxId(accountIdent: Identifier): string
336
337
 
337
- export declare export declare function getInboxIdForIdentifier(host: string, isSecure: boolean, identifier: Identifier): Promise<string | null>
338
+ export declare export declare function getInboxIdForIdentifier(v3Host: string, gatewayHost: string | undefined | null, isSecure: boolean, identifier: Identifier): Promise<string | null>
338
339
 
339
340
  export declare const enum GroupMembershipState {
340
341
  Allowed = 0,
341
342
  Rejected = 1,
342
343
  Pending = 2,
343
- Restored = 3
344
+ Restored = 3,
345
+ PendingRemove = 4
344
346
  }
345
347
 
346
348
  export declare const enum GroupMessageKind {
@@ -394,7 +396,7 @@ export interface InboxState {
394
396
  identifiers: Array<Identifier>
395
397
  }
396
398
 
397
- export declare export declare function inboxStateFromInboxIds(host: string, inboxIds: Array<string>): Promise<Array<InboxState>>
399
+ export declare export declare function inboxStateFromInboxIds(v3Host: string, gatewayHost: string | undefined | null, inboxIds: Array<string>): Promise<Array<InboxState>>
398
400
 
399
401
  export interface Installation {
400
402
  bytes: Uint8Array
@@ -402,9 +404,9 @@ export interface Installation {
402
404
  id: string
403
405
  }
404
406
 
405
- export declare export declare function isAddressAuthorized(host: string, inboxId: string, address: string): Promise<boolean>
407
+ export declare export declare function isAddressAuthorized(host: string, gatewayHost: string | undefined | null, inboxId: string, address: string): Promise<boolean>
406
408
 
407
- export declare export declare function isInstallationAuthorized(host: string, inboxId: string, installationId: Uint8Array): Promise<boolean>
409
+ export declare export declare function isInstallationAuthorized(host: string, gatewayHost: string | undefined | null, inboxId: string, installationId: Uint8Array): Promise<boolean>
408
410
 
409
411
  export interface KeyPackageStatus {
410
412
  lifetime?: Lifetime
@@ -604,7 +606,7 @@ export interface RemoteAttachmentInfoPayload {
604
606
  filename?: string
605
607
  }
606
608
 
607
- export declare export declare function revokeInstallationsSignatureRequest(host: string, recoveryIdentifier: Identifier, inboxId: string, installationIds: Array<Uint8Array>): SignatureRequestHandle
609
+ export declare export declare function revokeInstallationsSignatureRequest(v3Host: string, gatewayHost: string | undefined | null, recoveryIdentifier: Identifier, inboxId: string, installationIds: Array<Uint8Array>): SignatureRequestHandle
608
610
 
609
611
  export interface SendMessageOpts {
610
612
  shouldPush: boolean
@@ -665,3 +667,8 @@ export interface WalletSendCalls {
665
667
  calls: Array<WalletCall>
666
668
  capabilities?: Record<string, string>
667
669
  }
670
+
671
+ export interface XmtpCursor {
672
+ originatorId: number
673
+ sequenceId: number
674
+ }
package/dist/version.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "branch": "10-10-add_exclude_sender_inbox_ids_msgqueryarg_option",
3
- "version": "3656d63",
4
- "date": "2025-10-10 23:07:27 +0000"
2
+ "branch": "mc/self-removal-ama-protos",
3
+ "version": "419b6dc",
4
+ "date": "2025-10-21 09:09:12 +0000"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/node-bindings",
3
- "version": "1.6.0-dev.3656d63",
3
+ "version": "1.6.0-dev.419b6dc",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://git@github.com/xmtp/libxmtp.git",