UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

19 lines (18 loc) • 601 B
import { n as resolveGatewayCredentialsWithSecretInputs } from "./credentials-secret-inputs-GwS18g8L.js"; //#region src/gateway/connection-auth.ts function toGatewayCredentialOptions(params) { const { config, ...rest } = params; return { cfg: config, ...rest }; } /** Resolves gateway connection credentials, including configured SecretRef inputs. */ async function resolveGatewayConnectionAuth(params) { return await resolveGatewayCredentialsWithSecretInputs({ config: params.config, ...toGatewayCredentialOptions(params) }); } //#endregion export { resolveGatewayConnectionAuth as t };