@devries-cameron20 / composio-1 / commits / f04b86e55
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Fix package versioning

haxzie committed May 15, 2025 at 21:51 UTC f04b86e5592ccca80d2a4de9c0e4c33fecdb2e50
5 files changed +20 -35
packages/core/src/models/AuthConfigs.ts
+16 -27
@@ -39,11 +39,8 @@ export class AuthConfigs {
39 * @param {RequestOptions} options - Request options
40 * @returns {Promise<AuthConfigListResponse>} List of auth configs
41 */
42 - async list(
43 - query?: AuthConfigListParams,
44 - options?: RequestOptions
45 - ): Promise<AuthConfigListResponse> {
46 - return this.client.authConfigs.list(query, options);
42 + async list(query?: AuthConfigListParams): Promise<AuthConfigListResponse> {
43 + return this.client.authConfigs.list(query);
44 }
45
46 /**
@@ -52,11 +49,8 @@ export class AuthConfigs {
49 * @param {RequestOptions} options - Request options
50 * @returns {Promise<AuthConfigCreateResponse>} Created auth config
51 */
55 - async create(
56 - data: AuthConfigCreateParams,
57 - options?: RequestOptions
58 - ): Promise<AuthConfigCreateResponse> {
59 - return this.client.authConfigs.create(data, options);
52 + async create(data: AuthConfigCreateParams): Promise<AuthConfigCreateResponse> {
53 + return this.client.authConfigs.create(data);
54 }
55
56 /**
@@ -65,8 +59,8 @@ export class AuthConfigs {
59 * @param {RequestOptions} options - Request options
60 * @returns {Promise<AuthConfigRetrieveResponse>} Auth config details
61 */
68 - async get(nanoid: string, options?: RequestOptions): Promise<AuthConfigRetrieveResponse> {
69 - return this.client.authConfigs.retrieve(nanoid, options);
62 + async get(nanoid: string): Promise<AuthConfigRetrieveResponse> {
63 + return this.client.authConfigs.retrieve(nanoid);
64 }
65
66 /**
@@ -76,12 +70,8 @@ export class AuthConfigs {
70 * @param {RequestOptions} options - Request options
71 * @returns {Promise<AuthConfigUpdateResponse>} Updated auth config
72 */
79 - async update(
80 - nanoid: string,
81 - data: AuthConfigUpdateParams,
82 - options?: RequestOptions
83 - ): Promise<AuthConfigUpdateResponse> {
84 - return this.client.authConfigs.update(nanoid, data, options);
73 + async update(nanoid: string, data: AuthConfigUpdateParams): Promise<AuthConfigUpdateResponse> {
74 + return this.client.authConfigs.update(nanoid, data);
75 }
76
77 /**
@@ -90,8 +80,8 @@ export class AuthConfigs {
80 * @param {RequestOptions} options - Request options
81 * @returns {Promise<AuthConfigDeleteResponse>} Response from deletion
82 */
93 - async delete(nanoid: string, options?: RequestOptions): Promise<AuthConfigDeleteResponse> {
94 - return this.client.authConfigs.delete(nanoid, options);
83 + async delete(nanoid: string): Promise<AuthConfigDeleteResponse> {
84 + return this.client.authConfigs.delete(nanoid);
85 }
86
87 /**
@@ -103,10 +93,9 @@ export class AuthConfigs {
93 */
94 async updateStatus(
95 status: 'ENABLED' | 'DISABLED',
106 - nanoid: string,
107 - options?: RequestOptions
96 + nanoid: string
97 ): Promise<AuthConfigUpdateStatusResponse> {
109 - return this.client.authConfigs.updateStatus(status, { nanoid }, options);
98 + return this.client.authConfigs.updateStatus(status, { nanoid });
99 }
100
101 /**
@@ -115,8 +104,8 @@ export class AuthConfigs {
104 * @param {RequestOptions} options - Request options
105 * @returns {Promise<AuthConfigUpdateStatusResponse>} Updated auth config details
106 */
118 - async enable(nanoid: string, options?: RequestOptions): Promise<AuthConfigUpdateStatusResponse> {
119 - return this.client.authConfigs.updateStatus('ENABLED', { nanoid }, options);
107 + async enable(nanoid: string): Promise<AuthConfigUpdateStatusResponse> {
108 + return this.client.authConfigs.updateStatus('ENABLED', { nanoid });
109 }
110
111 /**
@@ -125,7 +114,7 @@ export class AuthConfigs {
114 * @param {RequestOptions} options - Request options
115 * @returns {Promise<AuthConfigUpdateStatusResponse>} Updated auth config details
116 */
128 - async disable(nanoid: string, options?: RequestOptions): Promise<AuthConfigUpdateStatusResponse> {
129 - return this.client.authConfigs.updateStatus('DISABLED', { nanoid }, options);
117 + async disable(nanoid: string): Promise<AuthConfigUpdateStatusResponse> {
118 + return this.client.authConfigs.updateStatus('DISABLED', { nanoid });
119 }
120 }
packages/toolsets/cloudflare/package.json
+1 -2
@@ -36,6 +36,5 @@
36 "@composio/core": "workspace:*",
37 "tsup": "^8.4.0",
38 "typescript": "^5.8.3"
39 - },
40 - "gitHead": "409e5f7d2e3e5e921231cbabd538484245f7ab0e"
39 + }
40 }
packages/toolsets/langchain/package.json
+1 -2
@@ -36,6 +36,5 @@
36 "@composio/core": "workspace:*",
37 "tsup": "^8.4.0",
38 "typescript": "^5.8.3"
39 - },
40 - "gitHead": "409e5f7d2e3e5e921231cbabd538484245f7ab0e"
39 + }
40 }
packages/toolsets/openai/package.json
+1 -2
@@ -36,6 +36,5 @@
36 "@composio/core": "workspace:*",
37 "tsup": "^8.4.0",
38 "typescript": "^5.8.3"
39 - },
40 - "gitHead": "409e5f7d2e3e5e921231cbabd538484245f7ab0e"
39 + }
40 }
packages/toolsets/vercel/package.json
+1 -2
@@ -36,6 +36,5 @@
36 "@composio/core": "workspace:*",
37 "tsup": "^8.4.0",
38 "typescript": "^5.8.3"
39 - },
40 - "gitHead": "409e5f7d2e3e5e921231cbabd538484245f7ab0e"
39 + }
40 }