Skip to content

Commit

Permalink
fix: for client create as well
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Feb 9, 2024
1 parent 6a3e85b commit f9036ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,16 @@ export async function auth(
environment: 'local' | 'dev' | 'production',
appVersion?: string | undefined,
hasCreateIdentityCallback?: boolean | undefined,
hasEnableIdentityCallback?: boolean | undefined
hasEnableIdentityCallback?: boolean | undefined,
enableAlphaMls?: boolean | undefined
) {
return await XMTPModule.auth(
address,
environment,
appVersion,
hasCreateIdentityCallback,
hasEnableIdentityCallback
hasEnableIdentityCallback,
enableAlphaMls
)
}

Expand Down
3 changes: 2 additions & 1 deletion src/lib/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ export class Client<ContentTypes> {
options.env,
options.appVersion,
Boolean(createSubscription),
Boolean(enableSubscription)
Boolean(enableSubscription),
Boolean(options.enableAlphaMls)
)
})()
})
Expand Down

0 comments on commit f9036ab

Please sign in to comment.