@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 +3 -2
- package/dist/index.d.cts +207 -207
- package/dist/index.d.mts +207 -207
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3348,7 +3348,8 @@ var ConnectedAccounts = class {
|
|
|
3348
3348
|
async initiate(userId, authConfigId, options) {
|
|
3349
3349
|
const connectedAccount = await this.list({
|
|
3350
3350
|
userIds: [userId],
|
|
3351
|
-
authConfigIds: [authConfigId]
|
|
3351
|
+
authConfigIds: [authConfigId],
|
|
3352
|
+
statuses: [ConnectedAccountStatuses.ACTIVE]
|
|
3352
3353
|
});
|
|
3353
3354
|
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.`);
|
|
3354
3355
|
else if (connectedAccount.items.length > 0) logger_default.warn(`[Warn:AllowMultiple] Multiple connected accounts found for user ${userId} in auth config ${authConfigId}`);
|
|
@@ -5703,7 +5704,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
|
|
|
5703
5704
|
|
|
5704
5705
|
//#endregion
|
|
5705
5706
|
//#region package.json
|
|
5706
|
-
var version = "0.5.
|
|
5707
|
+
var version = "0.5.4";
|
|
5707
5708
|
|
|
5708
5709
|
//#endregion
|
|
5709
5710
|
//#region src/utils/session.ts
|