diff --git a/src/index.ts b/src/index.ts index c0914276a..ddc73df1c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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 ) } diff --git a/src/lib/Client.ts b/src/lib/Client.ts index 8bba98221..207ec2646 100644 --- a/src/lib/Client.ts +++ b/src/lib/Client.ts @@ -111,7 +111,8 @@ export class Client { options.env, options.appVersion, Boolean(createSubscription), - Boolean(enableSubscription) + Boolean(enableSubscription), + Boolean(options.enableAlphaMls) ) })() })