Function createFrom23Environment

  • If this file is loaded in a 2.3 environment, then this function provides an easy way to sniff context from globals and create an sdk object.

    Parameters

    • Optional skipSdkVersionCheck: boolean

    Returns Promise<StandaloneMatrixSDK>

    A StandaloneMatrixSDK

    Throws

    an Error if some of the environment variables can't be found.

Generated using TypeDoc