conductor-node 9.1.0 → 9.1.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
@@ -160,14 +160,14 @@ const accountAddInput: QbdTypes.AccountAdd = {
160
160
 
161
161
  ### `ConductorError`
162
162
 
163
- Any error ever thrown by the Conductor API will be an instance of `ConductorError` or one of its subclasses, which all have the following properties:
163
+ All errors thrown by the Conductor API are instances of `ConductorError` or its subclasses. These errors have the following properties:
164
164
 
165
165
  | Property | Type | Description |
166
166
  | ----------------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
167
- | `type` | `string` | The error type, which categorizes the error. See [Error Types](#error-types) below.<br><br>This value is the same as the subclass name. E.g., `"ConductorIntegrationError"` or `"ConductorInvalidRequestError"`. |
168
- | `code` | `string` | The unique error code from Conductor, which is useful for adding special handling for specific errors. E.g., `"INTEGRATION_CONNECTION_MISSING"`, `"API_KEY_INVALID"`, or `"QBD_REQUEST_ERROR"`.<br><br>By comparison, `type` is more general and categorizes the error. |
167
+ | `type` | `string` | Categorizes the error. See [Error Types](#error-types) below.<br><br>This value is the same as the subclass name. E.g., `"ConductorIntegrationError"` or `"ConductorInvalidRequestError"`. |
168
+ | `code` | `string` | The unique error code from Conductor, which is useful for adding special handling for specific errors. E.g., `"INTEGRATION_CONNECTION_MISSING"`, `"API_KEY_INVALID"`, or `"QBD_REQUEST_ERROR"`.<br><br>In contrast, `type` is more general and categorizes the error. |
169
169
  | `message` | `string` | The developer-friendly error message for your logs. |
170
- | `endUserMessage` | `string` | The end-user-friendly error message to display in your app's UI for your end-user to see.<br><br>This value exists for _every_ error. E.g., if it's a QBD connection error, it might recommend the end-user to check that their QuickBooks Desktop is open and that they're logged in. But if a Conductor API key is expired, e.g., this message will just say "An internal server error occurred. Please try again later.". |
170
+ | `endUserMessage` | `string` | The end-user-friendly error message to display in your app's UI to your end-users.<br><br>This value exists for _every_ error. E.g., for a QBD connection error, it might recommend the end-user to check that their QuickBooks Desktop is open and that they're logged in. But if a Conductor API key is expired, e.g., this message will just say "An internal server error occurred. Please try again later.". |
171
171
  | `integrationCode` | `string` or `undefined` | The unique error code supplied by the third-party integration for errors returned by the integration (i.e., `ConductorIntegrationError`) or integration connector (i.e., `ConductorIntegrationConnectorError`). This is useful for adding special handling for specific errors from the third-party integration or connector.<br><br>The integration's corresponding error message for this code is in `error.message`.<br><br>The third-party integrations' error codes are not standardized, so you should not rely on this code to be the same across integrations. |
172
172
  | `httpStatusCode` | `number` or `undefined` | The HTTP status code of the response that included the error. You probably won't need this. |
173
173
 
@@ -175,14 +175,14 @@ Any error ever thrown by the Conductor API will be an instance of `ConductorErro
175
175
 
176
176
  The error object you receive will have one of the following error types:
177
177
 
178
- | Type | Description |
179
- | ------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
180
- | `ConductorIntegrationError` | Raised when the third-party integration returned an error while processing your end-user's request. Most likely, something is wrong with your request or data handling that you must fix.<br><br>E.g., a `ListID` you provided was not found in QuickBooks Desktop, or an accounting value you provided failed the integration's accounting rules.<br><br>See `error.integrationCode` (above) for the error code that the integration returned, if any. |
181
- | `ConductorIntegrationConnectionError` | Raised when an error occurred connecting to the third-party integration on behalf of the end-user. Most likely, something is wrong with the end-user's connection or configuration that _the end-user must fix_, not you. <br><br>E.g., QuickBooks Web Connector (QBWC) failed to connect to QuickBooks Desktop on the end-user's computer.<br><br>See `error.integrationCode` (above) for the error code that the integration connector returned, if any.<br><br>❗ We recommend _not_ alerting your team for these errors because only the end-user can fix them. See [Global Error Handling](#global-error-handling) for an example of this. |
182
- | `ConductorInvalidRequestError` | Raised when you make an API call with the wrong parameters, in the wrong state, or in an invalid way. |
183
- | `ConductorAuthenticationError` | Raised when Conductor cannot authenticate you with the credentials you provided. E.g., an incorrect API key. |
184
- | `ConductorConnectionError` | Raised when there was a network problem between the client (on your server) and Conductor's servers. E.g., a downed network or a bad TLS certificate. |
185
- | `ConductorInternalError` | Raised when something went wrong on Conductor's end. (These are rare.) |
178
+ | Type | Description |
179
+ | ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
180
+ | `ConductorIntegrationError` | Raised when the third-party integration encounters an error while processing the end-user's request. This often results from an issue with the request or data handling that requires your attention to resolve.<br><br>E.g., a `ListID` you provided was not found in QuickBooks Desktop, or an accounting value you supplied did not adhere to the integration's accounting rules.<br><br>Refer to `error.integrationCode` for the error code returned by the integration, if available. |
181
+ | `ConductorIntegrationConnectionError` | Raised when a connection error occurs with the third-party integration on the end-user's side. This typically indicates an issue with the end-user's integration connection or configuration, which they must resolve. In other words, you cannot take action to fix these errors.<br><br>E.g., QuickBooks Web Connector (QBWC) failed to connect to QuickBooks Desktop on the end-user's computer.<br><br>Refer to `error.integrationCode` for the error code returned by the integration connector, if available.<br><br>❗ We recommend _not_ alerting your team for these errors because only the end-user can fix them. See [Centralized Error Handling](#centralized-error-handling) for an example of this. |
182
+ | `ConductorInvalidRequestError` | Raised when you make an API call with the wrong parameters, in the wrong state, or in an invalid way. |
183
+ | `ConductorAuthenticationError` | Raised when Conductor cannot authenticate you with the credentials you provided. E.g., an incorrect API key. |
184
+ | `ConductorConnectionError` | Raised when there was a network problem between the client (on your server) and Conductor's servers. E.g., a downed network or a bad TLS certificate. |
185
+ | `ConductorInternalError` | Raised when something went wrong on Conductor's end. (These are rare.) |
186
186
 
187
187
  ### Specific Error Handling
188
188
 
@@ -227,14 +227,14 @@ conductor.qbd.account
227
227
  });
228
228
  ```
229
229
 
230
- ### Global Error Handling
230
+ ### Centralized Error Handling
231
231
 
232
- We do _not_ expect you to individually wrap every API call like the examples above. Instead, we recommend your server use a single global error handler, such as [`app.use((error, ...) => { ... })` in Express](https://expressjs.com/en/guide/error-handling.html#writing-error-handlers) or [`formatError` in Apollo Server](https://apollographql.com/docs/apollo-server/data/errors/#for-client-responses), where you do the following:
232
+ It is unnecessary to wrap each API call individually, as demonstrated in the examples above. Instead, we suggest implementing a centralized error handler for your server, such as [`app.use((error, ...) => { ... })` in Express](https://expressjs.com/en/guide/error-handling.html#writing-error-handlers) or [`formatError` in Apollo Server](https://apollographql.com/docs/apollo-server/data/errors/#for-client-responses). Within this handler, perform the following actions:
233
233
 
234
- 1. Ensure your app's UI shows your end-user the property `error.endUserMessage` for any `ConductorError` instance while you log the rest of the error object.
235
- 2. Send the entire error object to your error-tracking service (e.g., Sentry) for all `ConductorError` instances:
236
- - Send a **warning** for instances of `ConductorIntegrationConnectionError`, which only the end-user can fix; e.g., failed to connect to QuickBooks Desktop on your end-user's computer.
237
- - Send an **error** for all other `ConductorError` instances; e.g., invalid API key.
234
+ 1. For any `ConductorError` instance, display the `error.endUserMessage` property to the end-user in your app's UI while logging the complete error object.
235
+ 2. For all `ConductorError` instances, transmit the full error object to your error-tracking service (e.g., Sentry):
236
+ - Send a **warning** for instances of `ConductorIntegrationConnectionError`, which are not actionable by you and can only be resolved by the end-user; for example, failure to connect to QuickBooks Desktop on the end-user's computer.
237
+ - Send an **error** for all other `ConductorError` instances, such as an invalid API key.
238
238
 
239
239
  For example, using an Express error handler:
240
240
 
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "9.1.0",
3
+ "version": "9.1.2",
4
4
  "description": "Easily integrate with the entire QuickBooks Desktop API with fully-typed async TypeScript",
5
5
  "author": "Danny Nemer <hi@DannyNemer.com>",
6
6
  "license": "MIT",
@@ -1,6 +1,6 @@
1
1
  import type { GraphqlCreateIntegrationConnectionInput, GraphqlCreateIntegrationConnectionMutation, GraphqlGetIntegrationConnectionQuery, GraphqlGetIntegrationConnectionQueryVariables, GraphqlGetIntegrationConnectionsQuery, GraphqlPingIntegrationConnectionMutation, GraphqlPingIntegrationConnectionMutationVariables } from "./graphql/__generated__/operationTypes";
2
2
  import QbdIntegration from "./integrations/qbd/QbdIntegration";
3
- import { getServerUrlForEnvironment } from "./utils";
3
+ import { getServerUrlForEnvironment } from "./utils/misc";
4
4
  export interface ClientOptions {
5
5
  /** Logs each request and response. */
6
6
  readonly verbose?: boolean;
@@ -7,7 +7,7 @@ const package_json_1 = __importDefault(require("./../package.json"));
7
7
  const graphqlOperationWrapper_1 = require("./graphql/graphqlOperationWrapper");
8
8
  const operationTypes_1 = require("./graphql/__generated__/operationTypes");
9
9
  const QbdIntegration_1 = __importDefault(require("./integrations/qbd/QbdIntegration"));
10
- const utils_1 = require("./utils");
10
+ const misc_1 = require("./utils/misc");
11
11
  const graphql_request_1 = require("graphql-request");
12
12
  class Client {
13
13
  /** QuickBooks Desktop integration. */
@@ -15,8 +15,8 @@ class Client {
15
15
  graphqlClient;
16
16
  graphqlOperations;
17
17
  constructor(apiKey, { verbose = false, serverEnvironment = "production" } = {}) {
18
- (0, utils_1.checkForUpdates)();
19
- this.graphqlClient = new graphql_request_1.GraphQLClient(`${(0, utils_1.getServerUrlForEnvironment)(serverEnvironment)}/graphql`, { headers: this.createHeaders(apiKey) });
18
+ (0, misc_1.checkForUpdates)();
19
+ this.graphqlClient = new graphql_request_1.GraphQLClient(`${(0, misc_1.getServerUrlForEnvironment)(serverEnvironment)}/graphql`, { headers: this.createHeaders(apiKey) });
20
20
  this.graphqlOperations = (0, graphqlOperationWrapper_1.wrapGraphqlOperations)((0, operationTypes_1.getSdk)(this.graphqlClient), verbose);
21
21
  this.qbd = new QbdIntegration_1.default(this.graphqlOperations);
22
22
  }
@@ -1,5 +1,5 @@
1
- import type { ConductorError } from "../error";
2
1
  import type { getSdk } from "../graphql/__generated__/operationTypes";
2
+ import type { ConductorError } from "../utils/error";
3
3
  export declare function wrapGraphqlOperations<T extends ReturnType<typeof getSdk>>(graphqlOperations: T, verbose: boolean): T;
4
4
  export declare function graphqlOperationWrapper<V extends {
5
5
  [key: string]: unknown;
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.wrapError = exports.getDurationString = exports.graphqlOperationWrapper = exports.wrapGraphqlOperations = void 0;
7
7
  const package_json_1 = __importDefault(require("../../package.json"));
8
- const error_1 = require("../error");
8
+ const error_1 = require("../utils/error");
9
9
  const graphql_request_1 = require("graphql-request");
10
10
  const node_util_1 = __importDefault(require("node:util"));
11
11
  function wrapGraphqlOperations(graphqlOperations, verbose) {
@@ -1,5 +1,5 @@
1
1
  import Client from "./Client";
2
2
  export default Client;
3
3
  export { type ClientOptions } from "./Client";
4
- export * from "./error";
5
4
  export * as QbdTypes from "./integrations/qbd/qbdTypes";
5
+ export * from "./utils/error";
package/dist/src/index.js CHANGED
@@ -15,9 +15,6 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
- };
21
18
  var __importStar = (this && this.__importStar) || function (mod) {
22
19
  if (mod && mod.__esModule) return mod;
23
20
  var result = {};
@@ -25,6 +22,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
22
  __setModuleDefault(result, mod);
26
23
  return result;
27
24
  };
25
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
+ };
28
28
  var __importDefault = (this && this.__importDefault) || function (mod) {
29
29
  return (mod && mod.__esModule) ? mod : { "default": mod };
30
30
  };
@@ -34,5 +34,5 @@ exports.QbdTypes = void 0;
34
34
  const Client_1 = __importDefault(require("./Client"));
35
35
  // eslint-disable-next-line unicorn/prefer-export-from -- We need `Client` to be the default export, which is impossible to define with `export from`.
36
36
  exports.default = Client_1.default;
37
- __exportStar(require("./error"), exports);
38
37
  exports.QbdTypes = __importStar(require("./integrations/qbd/qbdTypes"));
38
+ __exportStar(require("./utils/error"), exports);
@@ -3,8 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const error_1 = require("../../error");
7
6
  const BaseIntegration_1 = __importDefault(require("../../integrations/BaseIntegration"));
7
+ const error_1 = require("../../utils/error");
8
8
  class QbdIntegration extends BaseIntegration_1.default {
9
9
  account = {
10
10
  /**
@@ -20,7 +20,7 @@ export interface ConductorGraphqlError {
20
20
  */
21
21
  export declare class ConductorError extends Error {
22
22
  /**
23
- * The error type, which categorizes the error.
23
+ * Categorizes the error.
24
24
  *
25
25
  * This value is the same as the subclass name. E.g.,
26
26
  * `"ConductorIntegrationError"` or `"ConductorInvalidRequestError"`.
@@ -31,7 +31,7 @@ export declare class ConductorError extends Error {
31
31
  * handling for specific errors. E.g., `"INTEGRATION_CONNECTION_MISSING"`,
32
32
  * `"API_KEY_INVALID"`, or `"QBD_REQUEST_ERROR"`.
33
33
  *
34
- * By comparison, `type` is more general and categorizes the error.
34
+ * In contrast, `type` is more general and categorizes the error.
35
35
  */
36
36
  readonly code: string;
37
37
  /**
@@ -39,14 +39,14 @@ export declare class ConductorError extends Error {
39
39
  */
40
40
  readonly message: string;
41
41
  /**
42
- * The end-user-friendly error message to display in your app's UI for your
43
- * end-user to see.
42
+ * The end-user-friendly error message to display in your app's UI to your
43
+ * end-users.
44
44
  *
45
- * This value exists for *every* error. E.g., if it's a QBD connection error,
46
- * it might recommend the end-user to check that their QuickBooks Desktop is
47
- * open and that they're logged in. But if a Conductor API key is expired,
48
- * e.g., this message will just say "An internal server error occurred. Please
49
- * try again later.".
45
+ * This value exists for *every* error. E.g., for a QBD connection error, it
46
+ * might recommend the end-user to check that their QuickBooks Desktop is open
47
+ * and that they're logged in. But if a Conductor API key is expired, e.g.,
48
+ * this message will just say "An internal server error occurred. Please try
49
+ * again later.".
50
50
  */
51
51
  readonly endUserMessage: string;
52
52
  /**
@@ -76,30 +76,32 @@ export declare class ConductorError extends Error {
76
76
  }
77
77
  type ConductorErrorOptionsWithoutType = Omit<ConductorErrorOptions, "type">;
78
78
  /**
79
- * Raised when the third-party integration returned an error while processing
80
- * your end-user's request. Most likely, something is wrong with your request or
81
- * data handling that you must fix.
79
+ * Raised when the third-party integration encounters an error while processing
80
+ * the end-user's request. This often results from an issue with the request or
81
+ * data handling that requires your attention to resolve.
82
82
  *
83
83
  * E.g., a `ListID` you provided was not found in QuickBooks Desktop, or an
84
- * accounting value you provided failed the integration's accounting rules.
84
+ * accounting value you supplied did not adhere to the integration's accounting
85
+ * rules.
85
86
  *
86
- * See `error.integrationCode` for the error code that the integration returned,
87
- * if any.
87
+ * Refer to `error.integrationCode` for the error code returned by the
88
+ * integration, if available.
88
89
  */
89
90
  export declare class ConductorIntegrationError extends ConductorError {
90
91
  static readonly rawType = "INTEGRATION_ERROR";
91
92
  constructor(options: ConductorErrorOptionsWithoutType);
92
93
  }
93
94
  /**
94
- * Raised when an error occurred connecting to the third-party integration on
95
- * behalf of the end-user. Most likely, something is wrong with the end-user's
96
- * connection or configuration that the end-user must fix, not you.
95
+ * Raised when a connection error occurs with the third-party integration on the
96
+ * end-user's side. This typically indicates an issue with the end-user's
97
+ * integration connection or configuration, which they must resolve. In other
98
+ * words, you cannot take action to fix these errors.
97
99
  *
98
100
  * E.g., QuickBooks Web Connector (QBWC) failed to connect to QuickBooks Desktop
99
101
  * on the end-user's computer.
100
102
  *
101
- * See `error.integrationCode` for the error code that the integration connector
102
- * returned, if any.
103
+ * Refer to `error.integrationCode` for the error code returned by the
104
+ * integration connector, if available.
103
105
  */
104
106
  export declare class ConductorIntegrationConnectionError extends ConductorError {
105
107
  static readonly rawType = "INTEGRATION_CONNECTION_ERROR";
@@ -10,7 +10,7 @@ exports.DEFAULT_END_USER_MESSAGE = "An internal server error occurred. Please tr
10
10
  */
11
11
  class ConductorError extends Error {
12
12
  /**
13
- * The error type, which categorizes the error.
13
+ * Categorizes the error.
14
14
  *
15
15
  * This value is the same as the subclass name. E.g.,
16
16
  * `"ConductorIntegrationError"` or `"ConductorInvalidRequestError"`.
@@ -21,7 +21,7 @@ class ConductorError extends Error {
21
21
  * handling for specific errors. E.g., `"INTEGRATION_CONNECTION_MISSING"`,
22
22
  * `"API_KEY_INVALID"`, or `"QBD_REQUEST_ERROR"`.
23
23
  *
24
- * By comparison, `type` is more general and categorizes the error.
24
+ * In contrast, `type` is more general and categorizes the error.
25
25
  */
26
26
  code;
27
27
  /**
@@ -29,14 +29,14 @@ class ConductorError extends Error {
29
29
  */
30
30
  message;
31
31
  /**
32
- * The end-user-friendly error message to display in your app's UI for your
33
- * end-user to see.
32
+ * The end-user-friendly error message to display in your app's UI to your
33
+ * end-users.
34
34
  *
35
- * This value exists for *every* error. E.g., if it's a QBD connection error,
36
- * it might recommend the end-user to check that their QuickBooks Desktop is
37
- * open and that they're logged in. But if a Conductor API key is expired,
38
- * e.g., this message will just say "An internal server error occurred. Please
39
- * try again later.".
35
+ * This value exists for *every* error. E.g., for a QBD connection error, it
36
+ * might recommend the end-user to check that their QuickBooks Desktop is open
37
+ * and that they're logged in. But if a Conductor API key is expired, e.g.,
38
+ * this message will just say "An internal server error occurred. Please try
39
+ * again later.".
40
40
  */
41
41
  endUserMessage;
42
42
  /**
@@ -84,15 +84,16 @@ class ConductorError extends Error {
84
84
  }
85
85
  exports.ConductorError = ConductorError;
86
86
  /**
87
- * Raised when the third-party integration returned an error while processing
88
- * your end-user's request. Most likely, something is wrong with your request or
89
- * data handling that you must fix.
87
+ * Raised when the third-party integration encounters an error while processing
88
+ * the end-user's request. This often results from an issue with the request or
89
+ * data handling that requires your attention to resolve.
90
90
  *
91
91
  * E.g., a `ListID` you provided was not found in QuickBooks Desktop, or an
92
- * accounting value you provided failed the integration's accounting rules.
92
+ * accounting value you supplied did not adhere to the integration's accounting
93
+ * rules.
93
94
  *
94
- * See `error.integrationCode` for the error code that the integration returned,
95
- * if any.
95
+ * Refer to `error.integrationCode` for the error code returned by the
96
+ * integration, if available.
96
97
  */
97
98
  class ConductorIntegrationError extends ConductorError {
98
99
  static rawType = "INTEGRATION_ERROR";
@@ -102,15 +103,16 @@ class ConductorIntegrationError extends ConductorError {
102
103
  }
103
104
  exports.ConductorIntegrationError = ConductorIntegrationError;
104
105
  /**
105
- * Raised when an error occurred connecting to the third-party integration on
106
- * behalf of the end-user. Most likely, something is wrong with the end-user's
107
- * connection or configuration that the end-user must fix, not you.
106
+ * Raised when a connection error occurs with the third-party integration on the
107
+ * end-user's side. This typically indicates an issue with the end-user's
108
+ * integration connection or configuration, which they must resolve. In other
109
+ * words, you cannot take action to fix these errors.
108
110
  *
109
111
  * E.g., QuickBooks Web Connector (QBWC) failed to connect to QuickBooks Desktop
110
112
  * on the end-user's computer.
111
113
  *
112
- * See `error.integrationCode` for the error code that the integration connector
113
- * returned, if any.
114
+ * Refer to `error.integrationCode` for the error code returned by the
115
+ * integration connector, if available.
114
116
  */
115
117
  class ConductorIntegrationConnectionError extends ConductorError {
116
118
  static rawType = "INTEGRATION_CONNECTION_ERROR";
@@ -1,2 +1,2 @@
1
1
  export declare function checkForUpdates(): void;
2
- export declare function getServerUrlForEnvironment(environment: "development" | "production"): string;
2
+ export declare function getServerUrlForEnvironment(environment: "development" | "production" | "test"): string;
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.getServerUrlForEnvironment = exports.checkForUpdates = void 0;
7
- const package_json_1 = __importDefault(require("./../package.json"));
7
+ const package_json_1 = __importDefault(require("../../package.json"));
8
8
  const node_child_process_1 = require("node:child_process");
9
9
  function checkForUpdates() {
10
10
  const currentVersion = package_json_1.default.version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "9.1.0",
3
+ "version": "9.1.2",
4
4
  "description": "Easily integrate with the entire QuickBooks Desktop API with fully-typed async TypeScript",
5
5
  "author": "Danny Nemer <hi@DannyNemer.com>",
6
6
  "license": "MIT",