@bountylab/bountylab 0.29.1 → 0.30.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.30.0 (2026-01-22)
4
+
5
+ Full Changelog: [v0.29.2...v0.30.0](https://github.com/bountylaboratories/typescript-sdk/compare/v0.29.2...v0.30.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([dd51c76](https://github.com/bountylaboratories/typescript-sdk/commit/dd51c76affefed50a5957f752954d89406108921))
10
+
11
+
12
+ ### Chores
13
+
14
+ * break long lines in snippets into multiline ([7925b55](https://github.com/bountylaboratories/typescript-sdk/commit/7925b558ea5d16e82f23235742255c2fb40df8b3))
15
+ * **internal:** codegen related update ([3e92a4e](https://github.com/bountylaboratories/typescript-sdk/commit/3e92a4e3a54986c7389e0c841d54c602cda320d3))
16
+ * **internal:** update `actions/checkout` version ([faedb96](https://github.com/bountylaboratories/typescript-sdk/commit/faedb962b620d2bd08b5daabaa7a70e901c963a3))
17
+ * **internal:** upgrade babel, qs, js-yaml ([8bc3f44](https://github.com/bountylaboratories/typescript-sdk/commit/8bc3f44f04fd9062ce923a948ec3463a7e0ddfc1))
18
+
19
+ ## 0.29.2 (2025-12-06)
20
+
21
+ Full Changelog: [v0.29.1...v0.29.2](https://github.com/bountylaboratories/typescript-sdk/compare/v0.29.1...v0.29.2)
22
+
23
+ ### Bug Fixes
24
+
25
+ * **mcp:** correct code tool API endpoint ([7040cc0](https://github.com/bountylaboratories/typescript-sdk/commit/7040cc0829018428fba577a4b67905a6b518c49d))
26
+
27
+
28
+ ### Chores
29
+
30
+ * **internal:** codegen related update ([b4b16a4](https://github.com/bountylaboratories/typescript-sdk/commit/b4b16a420bf569512649e930d64961726aa445b1))
31
+
3
32
  ## 0.29.1 (2025-12-06)
4
33
 
5
34
  Full Changelog: [v0.29.0...v0.29.1](https://github.com/bountylaboratories/typescript-sdk/compare/v0.29.0...v0.29.1)
package/LICENSE CHANGED
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright 2025 Bountylab
189
+ Copyright 2026 Bountylab
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
192
  you may not use this file except in compliance with the License.
package/README.md CHANGED
@@ -60,15 +60,17 @@ a subclass of `APIError` will be thrown:
60
60
 
61
61
  <!-- prettier-ignore -->
62
62
  ```ts
63
- const response = await client.searchUsers.search({ query: 'developer', maxResults: 5 }).catch(async (err) => {
64
- if (err instanceof Bountylab.APIError) {
65
- console.log(err.status); // 400
66
- console.log(err.name); // BadRequestError
67
- console.log(err.headers); // {server: 'nginx', ...}
68
- } else {
69
- throw err;
70
- }
71
- });
63
+ const response = await client.searchUsers
64
+ .search({ query: 'developer', maxResults: 5 })
65
+ .catch(async (err) => {
66
+ if (err instanceof Bountylab.APIError) {
67
+ console.log(err.status); // 400
68
+ console.log(err.name); // BadRequestError
69
+ console.log(err.headers); // {server: 'nginx', ...}
70
+ } else {
71
+ throw err;
72
+ }
73
+ });
72
74
  ```
73
75
 
74
76
  Error codes are as follows:
@@ -140,7 +142,9 @@ Unlike `.asResponse()` this method consumes the body, returning once it is parse
140
142
  ```ts
141
143
  const client = new Bountylab();
142
144
 
143
- const response = await client.searchUsers.search({ query: 'developer', maxResults: 5 }).asResponse();
145
+ const response = await client.searchUsers
146
+ .search({ query: 'developer', maxResults: 5 })
147
+ .asResponse();
144
148
  console.log(response.headers.get('X-My-Header'));
145
149
  console.log(response.statusText); // access the underlying Response object
146
150
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bountylab/bountylab",
3
- "version": "0.29.1",
3
+ "version": "0.30.0",
4
4
  "description": "The official TypeScript library for the Bountylab API",
5
5
  "author": "Bountylab <alec@bountylab.io>",
6
6
  "types": "./index.d.ts",