conductor-node 12.8.1 → 12.9.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,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 12.9.0 (2025-06-06)
4
+
5
+ Full Changelog: [v12.8.1...v12.9.0](https://github.com/conductor-is/quickbooks-desktop-node/compare/v12.8.1...v12.9.0)
6
+
7
+ ### Features
8
+
9
+ * **mcp:** implement support for binary responses ([e5261e6](https://github.com/conductor-is/quickbooks-desktop-node/commit/e5261e6e4aaf89d7a06aeed09214e18a84d1a83c))
10
+
11
+
12
+ ### Chores
13
+
14
+ * **docs:** use top-level-await in example snippets ([1b9e6e3](https://github.com/conductor-is/quickbooks-desktop-node/commit/1b9e6e39772f0bc760599e41fd20d674338dd90c))
15
+
3
16
  ## 12.8.1 (2025-06-03)
4
17
 
5
18
  Full Changelog: [v12.8.0...v12.8.1](https://github.com/conductor-is/quickbooks-desktop-node/compare/v12.8.0...v12.8.1)
package/README.md CHANGED
@@ -72,14 +72,10 @@ const conductor = new Conductor({
72
72
  apiKey: process.env['CONDUCTOR_SECRET_KEY'], // This is the default and can be omitted
73
73
  });
74
74
 
75
- async function main() {
76
- const page = await conductor.qbd.invoices.list({ conductorEndUserId: 'YOUR_END_USER_ID' });
77
- const invoice = page.data[0];
75
+ const page = await conductor.qbd.invoices.list({ conductorEndUserId: 'YOUR_END_USER_ID' });
76
+ const invoice = page.data[0];
78
77
 
79
- console.log(invoice.id);
80
- }
81
-
82
- main();
78
+ console.log(invoice.id);
83
79
  ```
84
80
 
85
81
  ### Request & Response types
@@ -94,12 +90,8 @@ const conductor = new Conductor({
94
90
  apiKey: process.env['CONDUCTOR_SECRET_KEY'], // This is the default and can be omitted
95
91
  });
96
92
 
97
- async function main() {
98
- const params: Conductor.Qbd.InvoiceListParams = { conductorEndUserId: 'YOUR_END_USER_ID' };
99
- const [invoice]: [Conductor.Qbd.Invoice] = await conductor.qbd.invoices.list(params);
100
- }
101
-
102
- main();
93
+ const params: Conductor.Qbd.InvoiceListParams = { conductorEndUserId: 'YOUR_END_USER_ID' };
94
+ const [invoice]: [Conductor.Qbd.Invoice] = await conductor.qbd.invoices.list(params);
103
95
  ```
104
96
 
105
97
  Documentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.
@@ -112,21 +104,15 @@ a subclass of `APIError` will be thrown:
112
104
 
113
105
  <!-- prettier-ignore -->
114
106
  ```ts
115
- async function main() {
116
- const page = await conductor.qbd.invoices
117
- .list({ conductorEndUserId: 'YOUR_END_USER_ID' })
118
- .catch(async (err) => {
119
- if (err instanceof Conductor.APIError) {
120
- console.log(err.status); // 400
121
- console.log(err.name); // BadRequestError
122
- console.log(err.headers); // {server: 'nginx', ...}
123
- } else {
124
- throw err;
125
- }
126
- });
127
- }
128
-
129
- main();
107
+ const page = await conductor.qbd.invoices.list({ conductorEndUserId: 'YOUR_END_USER_ID' }).catch(async (err) => {
108
+ if (err instanceof Conductor.APIError) {
109
+ console.log(err.status); // 400
110
+ console.log(err.name); // BadRequestError
111
+ console.log(err.headers); // {server: 'nginx', ...}
112
+ } else {
113
+ throw err;
114
+ }
115
+ });
130
116
  ```
131
117
 
132
118
  Error codes are as follows:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "12.8.1",
3
+ "version": "12.9.0",
4
4
  "description": "The official TypeScript library for the Conductor API",
5
5
  "author": "Conductor <support@conductor.is>",
6
6
  "types": "./index.d.ts",
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '12.8.1'; // x-release-please-version
1
+ export const VERSION = '12.9.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "12.8.1";
1
+ export declare const VERSION = "12.9.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '12.8.1'; // x-release-please-version
4
+ exports.VERSION = '12.9.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '12.8.1'; // x-release-please-version
1
+ export const VERSION = '12.9.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map