diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 466df71..a915e8c 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0" + ".": "0.1.1" } diff --git a/.stats.yml b/.stats.yml index 8c54a54..c28d532 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 22 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browser-use%2Fbrowser-use-86040fd18419e7b4e0947660d9c0ff1abe21550528d2d2a549736cd16f85a92d.yml openapi_spec_hash: 7c5de9d0f633db35fd9e250fcc834d1f -config_hash: 9ae623b132cbaa42505f45bb1db418ea +config_hash: 99e0e445bc20c5723030c315bab52940 diff --git a/CHANGELOG.md b/CHANGELOG.md index ae83fc2..40f889a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.1.1 (2025-08-14) + +Full Changelog: [v0.1.0...v0.1.1](https://github.com/browser-use/browser-use-node/compare/v0.1.0...v0.1.1) + +### Chores + +* **internal:** codegen related update ([cf1f8c5](https://github.com/browser-use/browser-use-node/commit/cf1f8c5e6f2ba3b1b4795ad0e5fd1e1eaba2c187)) + ## 0.1.0 (2025-08-09) Full Changelog: [v0.0.1...v0.1.0](https://github.com/browser-use/browser-use-node/compare/v0.0.1...v0.1.0) diff --git a/package.json b/package.json index 81f3614..c3280f7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "browser-use-sdk", - "version": "0.1.0", + "version": "0.1.1", "description": "The official TypeScript library for the Browser Use API", "author": "Browser Use ", "types": "dist/index.d.ts", diff --git a/src/version.ts b/src/version.ts index 1baa228..b322647 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.1.0'; // x-release-please-version +export const VERSION = '0.1.1'; // x-release-please-version diff --git a/tests/api-resources/agent-profiles.test.ts b/tests/api-resources/agent-profiles.test.ts index 3ddb664..35b4f59 100644 --- a/tests/api-resources/agent-profiles.test.ts +++ b/tests/api-resources/agent-profiles.test.ts @@ -8,7 +8,7 @@ const client = new BrowserUse({ }); describe('resource agentProfiles', () => { - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('create: only required params', async () => { const responsePromise = client.agentProfiles.create({ name: 'x' }); const rawResponse = await responsePromise.asResponse(); @@ -20,7 +20,7 @@ describe('resource agentProfiles', () => { expect(dataAndResponse.response).toBe(rawResponse); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('create: required and optional params', async () => { const response = await client.agentProfiles.create({ name: 'x', @@ -35,7 +35,7 @@ describe('resource agentProfiles', () => { }); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('retrieve', async () => { const responsePromise = client.agentProfiles.retrieve('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e'); const rawResponse = await responsePromise.asResponse(); @@ -47,7 +47,7 @@ describe('resource agentProfiles', () => { expect(dataAndResponse.response).toBe(rawResponse); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('update', async () => { const responsePromise = client.agentProfiles.update('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', {}); const rawResponse = await responsePromise.asResponse(); @@ -59,7 +59,7 @@ describe('resource agentProfiles', () => { expect(dataAndResponse.response).toBe(rawResponse); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('list', async () => { const responsePromise = client.agentProfiles.list(); const rawResponse = await responsePromise.asResponse(); @@ -71,7 +71,7 @@ describe('resource agentProfiles', () => { expect(dataAndResponse.response).toBe(rawResponse); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('list: request options and params are passed correctly', async () => { // ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error await expect( @@ -79,7 +79,7 @@ describe('resource agentProfiles', () => { ).rejects.toThrow(BrowserUse.NotFoundError); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('delete', async () => { const responsePromise = client.agentProfiles.delete('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e'); const rawResponse = await responsePromise.asResponse(); diff --git a/tests/api-resources/browser-profiles.test.ts b/tests/api-resources/browser-profiles.test.ts index f5a9e17..eaa58bd 100644 --- a/tests/api-resources/browser-profiles.test.ts +++ b/tests/api-resources/browser-profiles.test.ts @@ -8,7 +8,7 @@ const client = new BrowserUse({ }); describe('resource browserProfiles', () => { - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('create: only required params', async () => { const responsePromise = client.browserProfiles.create({ name: 'x' }); const rawResponse = await responsePromise.asResponse(); @@ -20,7 +20,7 @@ describe('resource browserProfiles', () => { expect(dataAndResponse.response).toBe(rawResponse); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('create: required and optional params', async () => { const response = await client.browserProfiles.create({ name: 'x', @@ -36,7 +36,7 @@ describe('resource browserProfiles', () => { }); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('retrieve', async () => { const responsePromise = client.browserProfiles.retrieve('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e'); const rawResponse = await responsePromise.asResponse(); @@ -48,7 +48,7 @@ describe('resource browserProfiles', () => { expect(dataAndResponse.response).toBe(rawResponse); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('update', async () => { const responsePromise = client.browserProfiles.update('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', {}); const rawResponse = await responsePromise.asResponse(); @@ -60,7 +60,7 @@ describe('resource browserProfiles', () => { expect(dataAndResponse.response).toBe(rawResponse); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('list', async () => { const responsePromise = client.browserProfiles.list(); const rawResponse = await responsePromise.asResponse(); @@ -72,7 +72,7 @@ describe('resource browserProfiles', () => { expect(dataAndResponse.response).toBe(rawResponse); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('list: request options and params are passed correctly', async () => { // ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error await expect( @@ -80,7 +80,7 @@ describe('resource browserProfiles', () => { ).rejects.toThrow(BrowserUse.NotFoundError); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('delete', async () => { const responsePromise = client.browserProfiles.delete('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e'); const rawResponse = await responsePromise.asResponse(); diff --git a/tests/api-resources/sessions/public-share.test.ts b/tests/api-resources/sessions/public-share.test.ts index 9d0297e..3342a93 100644 --- a/tests/api-resources/sessions/public-share.test.ts +++ b/tests/api-resources/sessions/public-share.test.ts @@ -8,7 +8,7 @@ const client = new BrowserUse({ }); describe('resource publicShare', () => { - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('create', async () => { const responsePromise = client.sessions.publicShare.create('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e'); const rawResponse = await responsePromise.asResponse(); @@ -20,7 +20,7 @@ describe('resource publicShare', () => { expect(dataAndResponse.response).toBe(rawResponse); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('retrieve', async () => { const responsePromise = client.sessions.publicShare.retrieve('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e'); const rawResponse = await responsePromise.asResponse(); @@ -32,7 +32,7 @@ describe('resource publicShare', () => { expect(dataAndResponse.response).toBe(rawResponse); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('delete', async () => { const responsePromise = client.sessions.publicShare.delete('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e'); const rawResponse = await responsePromise.asResponse(); diff --git a/tests/api-resources/sessions/sessions.test.ts b/tests/api-resources/sessions/sessions.test.ts index 00aa51a..ad07ad4 100644 --- a/tests/api-resources/sessions/sessions.test.ts +++ b/tests/api-resources/sessions/sessions.test.ts @@ -8,7 +8,7 @@ const client = new BrowserUse({ }); describe('resource sessions', () => { - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('retrieve', async () => { const responsePromise = client.sessions.retrieve('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e'); const rawResponse = await responsePromise.asResponse(); @@ -20,7 +20,7 @@ describe('resource sessions', () => { expect(dataAndResponse.response).toBe(rawResponse); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('retrieve: request options and params are passed correctly', async () => { // ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error await expect( @@ -32,7 +32,7 @@ describe('resource sessions', () => { ).rejects.toThrow(BrowserUse.NotFoundError); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('update: only required params', async () => { const responsePromise = client.sessions.update('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', { action: 'stop', @@ -46,12 +46,12 @@ describe('resource sessions', () => { expect(dataAndResponse.response).toBe(rawResponse); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('update: required and optional params', async () => { const response = await client.sessions.update('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', { action: 'stop' }); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('list', async () => { const responsePromise = client.sessions.list(); const rawResponse = await responsePromise.asResponse(); @@ -63,7 +63,7 @@ describe('resource sessions', () => { expect(dataAndResponse.response).toBe(rawResponse); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('list: request options and params are passed correctly', async () => { // ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error await expect( diff --git a/tests/api-resources/tasks.test.ts b/tests/api-resources/tasks.test.ts index 0dd372e..b856936 100644 --- a/tests/api-resources/tasks.test.ts +++ b/tests/api-resources/tasks.test.ts @@ -8,7 +8,7 @@ const client = new BrowserUse({ }); describe('resource tasks', () => { - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('create: only required params', async () => { const responsePromise = client.tasks.create({ task: 'x' }); const rawResponse = await responsePromise.asResponse(); @@ -20,7 +20,7 @@ describe('resource tasks', () => { expect(dataAndResponse.response).toBe(rawResponse); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('create: required and optional params', async () => { const response = await client.tasks.create({ task: 'x', @@ -37,7 +37,7 @@ describe('resource tasks', () => { }); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('retrieve', async () => { const responsePromise = client.tasks.retrieve('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e'); const rawResponse = await responsePromise.asResponse(); @@ -49,7 +49,7 @@ describe('resource tasks', () => { expect(dataAndResponse.response).toBe(rawResponse); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('retrieve: request options and params are passed correctly', async () => { // ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error await expect( @@ -61,7 +61,7 @@ describe('resource tasks', () => { ).rejects.toThrow(BrowserUse.NotFoundError); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('update: only required params', async () => { const responsePromise = client.tasks.update('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', { action: 'stop' }); const rawResponse = await responsePromise.asResponse(); @@ -73,12 +73,12 @@ describe('resource tasks', () => { expect(dataAndResponse.response).toBe(rawResponse); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('update: required and optional params', async () => { const response = await client.tasks.update('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', { action: 'stop' }); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('list', async () => { const responsePromise = client.tasks.list(); const rawResponse = await responsePromise.asResponse(); @@ -90,7 +90,7 @@ describe('resource tasks', () => { expect(dataAndResponse.response).toBe(rawResponse); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('list: request options and params are passed correctly', async () => { // ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error await expect( @@ -107,7 +107,7 @@ describe('resource tasks', () => { ).rejects.toThrow(BrowserUse.NotFoundError); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('retrieveLogs', async () => { const responsePromise = client.tasks.retrieveLogs('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e'); const rawResponse = await responsePromise.asResponse(); @@ -119,7 +119,7 @@ describe('resource tasks', () => { expect(dataAndResponse.response).toBe(rawResponse); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('retrieveOutputFile: only required params', async () => { const responsePromise = client.tasks.retrieveOutputFile('file_name', { task_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', @@ -133,7 +133,7 @@ describe('resource tasks', () => { expect(dataAndResponse.response).toBe(rawResponse); }); - // skipped: tests are disabled for the time being + // Prism tests are disabled test.skip('retrieveOutputFile: required and optional params', async () => { const response = await client.tasks.retrieveOutputFile('file_name', { task_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',