@composio/core 0.1.46 → 0.1.47

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
@@ -3931,7 +3931,7 @@ var ConnectedAccounts = class {
3931
3931
  });
3932
3932
  if (connectedAccount.items.length > 0 && !options?.allowMultiple) {
3933
3933
  throw new ComposioMultipleConnectedAccountsError(
3934
- `Multiple connected accounts found for user ${userId} in auth config ${authConfigId}`
3934
+ `Multiple connected accounts found for user ${userId} in auth config ${authConfigId}. Please use the allowMultiple option to allow multiple connected accounts.`
3935
3935
  );
3936
3936
  } else if (connectedAccount.items.length > 0) {
3937
3937
  logger_default.warn(
@@ -6674,7 +6674,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
6674
6674
  };
6675
6675
 
6676
6676
  // package.json
6677
- var version = "0.1.46";
6677
+ var version = "0.1.47";
6678
6678
 
6679
6679
  // src/models/Files.ts
6680
6680
  var Files = class {
package/dist/index.d.cts CHANGED
@@ -72982,8 +72982,8 @@ declare class AuthScheme {
72982
72982
  * @returns ConnectionData object
72983
72983
  */
72984
72984
  static OAuth2(params: BaseConnectionFields & {
72985
- access_token: string;
72986
- token_type: string;
72985
+ access_token?: string;
72986
+ token_type?: string;
72987
72987
  id_token?: string;
72988
72988
  refresh_token?: string;
72989
72989
  expires_in?: number;
@@ -73007,7 +73007,7 @@ declare class AuthScheme {
73007
73007
  * @returns ConnectionData object
73008
73008
  */
73009
73009
  static OAuth1(params: BaseConnectionFields & {
73010
- oauth_token: string;
73010
+ oauth_token?: string;
73011
73011
  consumer_key?: string;
73012
73012
  redirectUrl?: string;
73013
73013
  callback_url?: string;
package/dist/index.d.ts CHANGED
@@ -72982,8 +72982,8 @@ declare class AuthScheme {
72982
72982
  * @returns ConnectionData object
72983
72983
  */
72984
72984
  static OAuth2(params: BaseConnectionFields & {
72985
- access_token: string;
72986
- token_type: string;
72985
+ access_token?: string;
72986
+ token_type?: string;
72987
72987
  id_token?: string;
72988
72988
  refresh_token?: string;
72989
72989
  expires_in?: number;
@@ -73007,7 +73007,7 @@ declare class AuthScheme {
73007
73007
  * @returns ConnectionData object
73008
73008
  */
73009
73009
  static OAuth1(params: BaseConnectionFields & {
73010
- oauth_token: string;
73010
+ oauth_token?: string;
73011
73011
  consumer_key?: string;
73012
73012
  redirectUrl?: string;
73013
73013
  callback_url?: string;
package/dist/index.js CHANGED
@@ -3762,7 +3762,7 @@ var ConnectedAccounts = class {
3762
3762
  });
3763
3763
  if (connectedAccount.items.length > 0 && !options?.allowMultiple) {
3764
3764
  throw new ComposioMultipleConnectedAccountsError(
3765
- `Multiple connected accounts found for user ${userId} in auth config ${authConfigId}`
3765
+ `Multiple connected accounts found for user ${userId} in auth config ${authConfigId}. Please use the allowMultiple option to allow multiple connected accounts.`
3766
3766
  );
3767
3767
  } else if (connectedAccount.items.length > 0) {
3768
3768
  logger_default.warn(
@@ -6505,7 +6505,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
6505
6505
  };
6506
6506
 
6507
6507
  // package.json
6508
- var version = "0.1.46";
6508
+ var version = "0.1.47";
6509
6509
 
6510
6510
  // src/models/Files.ts
6511
6511
  var Files = class {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@composio/core",
3
- "version": "0.1.46",
3
+ "version": "0.1.47",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",