@xmtp/node-bindings 0.0.19 → 0.0.21

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
@@ -5,6 +5,7 @@ export declare class Client {
5
5
  inboxId(): string
6
6
  isRegistered(): boolean
7
7
  installationId(): string
8
+ installationIdBytes(): Uint8Array
8
9
  canMessage(accountAddresses: Array<string>): Promise<Record<string, boolean>>
9
10
  registerIdentity(): Promise<void>
10
11
  conversations(): Conversations
@@ -12,9 +13,9 @@ export declare class Client {
12
13
  sendConsentSyncRequest(): Promise<void>
13
14
  findInboxIdByAddress(address: string): Promise<string | null>
14
15
  addressesFromInboxId(refreshFromNetwork: boolean, inboxIds: Array<string>): Promise<Array<InboxState>>
15
- signWithInstallationKey(text: string): Array<number>
16
- verifySignedWithInstallationKey(signatureText: string, signatureBytes: Array<number>): void
17
- verifySignedWithPublicKey(signatureText: string, signatureBytes: Array<number>, publicKey: Array<number>): void
16
+ signWithInstallationKey(signatureText: string): Uint8Array
17
+ verifySignedWithInstallationKey(signatureText: string, signatureBytes: Uint8Array): void
18
+ verifySignedWithPublicKey(signatureText: string, signatureBytes: Uint8Array, publicKey: Uint8Array): void
18
19
  setConsentStates(records: Array<Consent>): Promise<void>
19
20
  getConsentState(entityType: ConsentEntityType, entity: string): Promise<ConsentState>
20
21
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/node-bindings",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://git@github.com/xmtp/libxmtp.git",