Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
refactor: clean up alias handling — replace conditional spreads with if blocks
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Zen Agent <zen@composio.dev>
abir committed
Apr 9, 2026 at 06:22 UTC
5429fed94935ecdc0d93ab9097e5745e7247ae0f
1 file changed
+2
-1
ts/packages/core/src/models/ConnectedAccounts.ts
+2
-1
@@ -193,7 +193,8 @@ export class ConnectedAccounts {
193
// state = connectionDataParsed.data;
194
// }
195
196
- const createParams: ConnectedAccountCreateParamsRaw = {
196
+ // alias is not yet in the published @composio/client types
197
+ const createParams: ConnectedAccountCreateParamsRaw & { alias?: string } = {
198
auth_config: {
199
id: authConfigId,
200
},