@minded-ai/mindedjs 1.0.118 → 1.0.119

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.
@@ -187,7 +187,7 @@ const createBrowserSession = async (proxy) => {
187
187
  const response = await mindedConnection_1.mindedConnection.awaitEmit(mindedConnectionTypes_1.mindedConnectionSocketMessageType.CREATE_BROWSER_SESSION, {
188
188
  type: mindedConnectionTypes_1.mindedConnectionSocketMessageType.CREATE_BROWSER_SESSION,
189
189
  proxy,
190
- }, 30000);
190
+ }, 60000);
191
191
  if (response.error) {
192
192
  logger_1.logger.error({ msg: 'Failed to create browser session', error: response.error });
193
193
  throw new Error(response.error);
@@ -221,7 +221,7 @@ const invokeBrowserTask = async (sessionId, cdpUrl, task, keepAlive, hooks) => {
221
221
  task,
222
222
  keepAlive,
223
223
  hooks,
224
- }, 120000);
224
+ }, 900000);
225
225
  if (response.error) {
226
226
  logger_1.logger.error({ msg: 'Failed to invoke browser task', error: response.error });
227
227
  throw new Error(response.error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minded-ai/mindedjs",
3
- "version": "1.0.118",
3
+ "version": "1.0.119",
4
4
  "description": "MindedJS is a TypeScript library for building agents.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -230,7 +230,7 @@ export const createBrowserSession = async (proxy?: string): Promise<CreateBrowse
230
230
  type: mindedConnectionSocketMessageType.CREATE_BROWSER_SESSION,
231
231
  proxy,
232
232
  },
233
- 30000, // 30 seconds timeout
233
+ 60000, // 60 seconds timeout
234
234
  );
235
235
 
236
236
  if (response.error) {
@@ -276,7 +276,7 @@ export const invokeBrowserTask = async (
276
276
  keepAlive,
277
277
  hooks,
278
278
  },
279
- 120000, // 2 minutes timeout
279
+ 900000, // 15 minutes timeout
280
280
  );
281
281
 
282
282
  if (response.error) {