conductor-node 11.5.0 → 11.5.2

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/README.md CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  Conductor is a TypeScript-first Node.js API for **QuickBooks Desktop** (sometimes called QuickBooks Enterprise). In just a few lines, get real-time access to fetch, create, or update [_any_ QuickBooks Desktop object type](https://docs.conductor.is/qbd/api#supported-object-types) and receive a fully-typed response. Check out [the documentation](https://docs.conductor.is) to get started.
26
26
 
27
- We also offer a [REST API](https://docs.conductor.is/usage/rest).
27
+ We also offer a [REST API](https://docs.conductor.is/qbd/rest).
28
28
 
29
29
  Conductor, the company, is building a data integration platform for vertical SaaS companies, starting with QuickBooks Desktop. Our team has spent over a decade building companies, scaling vast software systems, and obsessing over quality.
30
30
 
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "11.5.0",
3
+ "version": "11.5.2",
4
4
  "description": "QuickBooks Desktop API for Node.js and TypeScript",
5
5
  "keywords": [
6
6
  "QuickBooks",
package/dist/src/index.js CHANGED
@@ -40,6 +40,8 @@ const ErrorModule = __importStar(require("./utils/error"));
40
40
  */
41
41
  if (module.exports !== undefined) {
42
42
  module.exports = Client_1.default;
43
+ // Required for when `esModuleInterop` is `false`.
44
+ module.exports["default"] = Client_1.default;
43
45
  // Extend `module.exports` with the exports from `ErrorModule`.
44
46
  Object.assign(module.exports, ErrorModule);
45
47
  }
@@ -22,7 +22,7 @@ function addLoggingInterceptors(httpClient, verbose) {
22
22
  // Log after the other interceptor wraps the response error in a
23
23
  // `ConductorError`.
24
24
  // NOTE: We cannot include duration because we lack access to
25
- // `AxiosError.config` because we already wrapped the error.
25
+ // `AxiosError#config` because we already wrapped the error.
26
26
  if (verbose) {
27
27
  // No prefix "Conductor error:" because the error already includes a
28
28
  // prefix (e.g., `ConductorConnectionError`).
@@ -16,9 +16,12 @@ function checkForUpdates() {
16
16
  if ((0, env_1.isEnvironmentVariableTruthy)("CONDUCTOR_HIDE_UPDATE_MESSAGE")) {
17
17
  return;
18
18
  }
19
- // Exit early if npm is not installed.
19
+ // Exit early if `npm` is not installed.
20
20
  try {
21
- node_child_process_1.default.execSync("which npm");
21
+ node_child_process_1.default.execSync("npm --version", {
22
+ // Prevent the shell from internally logging the error message.
23
+ stdio: "ignore",
24
+ });
22
25
  }
23
26
  catch {
24
27
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "11.5.0",
3
+ "version": "11.5.2",
4
4
  "description": "QuickBooks Desktop API for Node.js and TypeScript",
5
5
  "keywords": [
6
6
  "QuickBooks",