Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
refactor: clean up alias handling — replace conditional spreads with if blocks
abir5429fed94935
diff --git a/ts/packages/core/src/models/ConnectedAccounts.ts b/ts/packages/core/src/models/ConnectedAccounts.tsindex fbb445d1c..23f8ac17e 100644--- a/ts/packages/core/src/models/ConnectedAccounts.ts+++ b/ts/packages/core/src/models/ConnectedAccounts.ts@@ -193,7 +193,8 @@ export class ConnectedAccounts {// state = connectionDataParsed.data;// }- const createParams: ConnectedAccountCreateParamsRaw = {+ // alias is not yet in the published @composio/client types+ const createParams: ConnectedAccountCreateParamsRaw & { alias?: string } = {auth_config: {id: authConfigId,},