Make sure that the crossmark extension is installed and connect with the API
This function will automatically be run when the SDK is instantiated. This method should rarely be used. If you need to determine if crossmark exists on your users device, we recommend refer to (isConnected())[/docs/docs-methods/isConnected] or grabbing the status using the window provider.
await sdk.connect(timeout: number)
timeout: number // in milliseconds;
let isConnected = await sdk.connect(); console.log(isConnected); // true