@xmtp/browser-sdk 0.0.15 → 0.0.16

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -4
  2. package/package.json +8 -8
package/dist/index.d.ts CHANGED
@@ -601,7 +601,7 @@ declare class WorkerClient {
601
601
  get accountAddress(): string;
602
602
  get inboxId(): string;
603
603
  get installationId(): string;
604
- get installationIdBytes(): Uint8Array;
604
+ get installationIdBytes(): Uint8Array<ArrayBufferLike>;
605
605
  get isRegistered(): boolean;
606
606
  createInboxSignatureText(): Promise<string | undefined>;
607
607
  addAccountSignatureText(accountAddress: string): Promise<string | undefined>;
@@ -619,7 +619,7 @@ declare class WorkerClient {
619
619
  setConsentStates(records: SafeConsent[]): Promise<void>;
620
620
  getConsentState(entityType: ConsentEntityType, entity: string): Promise<_xmtp_wasm_bindings.ConsentState>;
621
621
  get conversations(): WorkerConversations;
622
- signWithInstallationKey(signatureText: string): Uint8Array;
622
+ signWithInstallationKey(signatureText: string): Uint8Array<ArrayBufferLike>;
623
623
  verifySignedWithInstallationKey(signatureText: string, signatureBytes: Uint8Array): boolean;
624
624
  verifySignedWithPublicKey(signatureText: string, signatureBytes: Uint8Array, publicKey: Uint8Array): boolean;
625
625
  }
@@ -937,7 +937,7 @@ declare class Client extends ClientWorkerClass {
937
937
  get isReady(): boolean;
938
938
  get inboxId(): string | undefined;
939
939
  get installationId(): string | undefined;
940
- get installationIdBytes(): Uint8Array | undefined;
940
+ get installationIdBytes(): Uint8Array<ArrayBufferLike> | undefined;
941
941
  register(): Promise<undefined>;
942
942
  addAccount(newAccountSigner: Signer): Promise<void>;
943
943
  removeAccount(accountAddress: string): Promise<void>;
@@ -955,7 +955,7 @@ declare class Client extends ClientWorkerClass {
955
955
  codecFor(contentType: ContentTypeId$1): ContentCodec | undefined;
956
956
  encodeContent(content: any, contentType: ContentTypeId$1): SafeEncodedContent;
957
957
  decodeContent(message: SafeMessage, contentType: ContentTypeId$1): any;
958
- signWithInstallationKey(signatureText: string): Promise<Uint8Array>;
958
+ signWithInstallationKey(signatureText: string): Promise<Uint8Array<ArrayBufferLike>>;
959
959
  verifySignedWithInstallationKey(signatureText: string, signatureBytes: Uint8Array): Promise<boolean>;
960
960
  verifySignedWithPublicKey(signatureText: string, signatureBytes: Uint8Array, publicKey: Uint8Array): Promise<boolean>;
961
961
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmtp/browser-sdk",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "description": "XMTP client SDK for browsers written in TypeScript",
5
5
  "keywords": [
6
6
  "xmtp",
@@ -64,29 +64,29 @@
64
64
  "@xmtp/content-type-primitives": "^2.0.0",
65
65
  "@xmtp/content-type-text": "^2.0.0",
66
66
  "@xmtp/proto": "^3.72.3",
67
- "@xmtp/wasm-bindings": "^0.0.12",
67
+ "@xmtp/wasm-bindings": "^0.0.13",
68
68
  "uuid": "^11.0.3"
69
69
  },
70
70
  "devDependencies": {
71
71
  "@rollup/plugin-terser": "^0.4.4",
72
- "@rollup/plugin-typescript": "^12.1.1",
72
+ "@rollup/plugin-typescript": "^12.1.2",
73
73
  "@testing-library/dom": "^10.4.0",
74
74
  "@testing-library/jest-dom": "^6.6.3",
75
75
  "@types/uuid": "^10.0.0",
76
76
  "@vitest/browser": "^2.1.3",
77
77
  "@vitest/coverage-v8": "^2.0.3",
78
78
  "@web/rollup-plugin-copy": "^0.5.1",
79
- "playwright": "^1.49.0",
80
- "rollup": "^4.27.3",
79
+ "playwright": "^1.49.1",
80
+ "rollup": "^4.30.1",
81
81
  "rollup-plugin-dts": "^6.1.1",
82
82
  "rollup-plugin-filesize": "^10.0.0",
83
83
  "rollup-plugin-tsconfig-paths": "^1.5.2",
84
84
  "tsconfig": "workspace:*",
85
85
  "typedoc": "^0.26.11",
86
- "typescript": "^5.6.3",
86
+ "typescript": "^5.7.3",
87
87
  "viem": "^2.17.4",
88
- "vite": "^5.4.11",
89
- "vite-tsconfig-paths": "^5.1.2",
88
+ "vite": "^6.0.7",
89
+ "vite-tsconfig-paths": "^5.1.4",
90
90
  "vitest": "^2.1.3"
91
91
  },
92
92
  "engines": {