Member Junction
    Preparing search index...
    • Builds the import('./slack-sdk').SlackHuddleSdkFactory-shaped factory that constructs a SlackNativeMeetingSdk from the bridge's per-session Configuration. Pass the result to SlackBridge.SetSdkFactory(...) so a deployment activates two-way native Slack huddle audio without code changes to the driver.

      Reads bot token / team / channel / huddle + media opts + the native module specifier out of the config map the engine passes at connect (credentials resolved upstream — never inline secrets).

      Parameters

      • loadModule: NativeModuleLoader = defaultNativeLoader

        Optional native-addon loader override (tests inject a fake; production omits it).

      Returns (config?: Record<string, unknown>) => SlackNativeMeetingSdk

      A factory (config) => SlackNativeMeetingSdk.

      // Where bridge drivers are configured (creds already resolved from the MJ credential system):
      bridge.SetSdkFactory(BindSlackNative());