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
fix(ts/core): add type assertion for OAuth status discriminated union
jkomynoed17f6ff308b
diff --git a/ts/packages/core/src/models/AuthScheme.ts b/ts/packages/core/src/models/AuthScheme.tsindex ead3da04d..b266fc334 100644--- a/ts/packages/core/src/models/AuthScheme.ts+++ b/ts/packages/core/src/models/AuthScheme.ts@@ -43,7 +43,7 @@ export class AuthScheme {status: hasToken ? ConnectionStatuses.ACTIVE : ConnectionStatuses.INITIALIZING,...params,},- };+ } as ConnectionData;}/**@@ -73,7 +73,7 @@ export class AuthScheme {status: hasTokens ? ConnectionStatuses.ACTIVE : ConnectionStatuses.INITIALIZING,...params,},- };+ } as ConnectionData;}/**