@composio/core 0.5.3 → 0.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -3353,7 +3353,8 @@ var ConnectedAccounts = class {
3353
3353
  async initiate(userId, authConfigId, options) {
3354
3354
  const connectedAccount = await this.list({
3355
3355
  userIds: [userId],
3356
- authConfigIds: [authConfigId]
3356
+ authConfigIds: [authConfigId],
3357
+ statuses: [ConnectedAccountStatuses.ACTIVE]
3357
3358
  });
3358
3359
  if (connectedAccount.items.length > 0 && !options?.allowMultiple) throw new ComposioMultipleConnectedAccountsError(`Multiple connected accounts found for user ${userId} in auth config ${authConfigId}. Please use the allowMultiple option to allow multiple connected accounts.`);
3359
3360
  else if (connectedAccount.items.length > 0) require_fileUtils.logger_default.warn(`[Warn:AllowMultiple] Multiple connected accounts found for user ${userId} in auth config ${authConfigId}`);
@@ -5708,7 +5709,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
5708
5709
 
5709
5710
  //#endregion
5710
5711
  //#region package.json
5711
- var version = "0.5.3";
5712
+ var version = "0.5.4";
5712
5713
 
5713
5714
  //#endregion
5714
5715
  //#region src/utils/session.ts