Skip to content

Commit

Permalink
fix: optional field follows non-optional
Browse files Browse the repository at this point in the history
  • Loading branch information
peterferguson committed Oct 21, 2024
1 parent 3d8063d commit ed81adf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ export async function createV3(

export async function buildV3(
address: string,
chainId?: number | undefined,
environment: 'local' | 'dev' | 'production',
chainId?: number | undefined,
appVersion?: string | undefined,
enableV3?: boolean | undefined,
dbEncryptionKey?: Uint8Array | undefined,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -438,8 +438,8 @@ export class Client<
}
const client = await XMTPModule.buildV3(
address,
chainId,
options.env,
chainId,
options.appVersion,
Boolean(options.enableV3),
options.dbEncryptionKey,
Expand Down

0 comments on commit ed81adf

Please sign in to comment.