@launchdarkly/js-client-sdk-common - v1.35.0
    Preparing search index...

    Variable base64UrlEncodeConst

    base64UrlEncode: (s: string, encoding: Encoding) => string

    In react-native use base64-js to polyfill btoa. This is safe because the react-native repo uses it too. Set the global.btoa to the encode function of base64-js. https://github.com/beatgammit/base64-js https://github.com/axios/axios/issues/2235#issuecomment-512204616

    Ripped from https://thewoods.blog/base64url/

    Type Declaration

      • (s: string, encoding: Encoding): string
      • Parameters

        Returns string