conductor-node 9.4.1 → 9.4.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/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "9.4.1",
3
+ "version": "9.4.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",
@@ -4,7 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.wrapError = exports.getDurationString = exports.graphqlOperationWrapper = exports.wrapGraphqlOperations = void 0;
7
- const package_json_1 = __importDefault(require("../../package.json"));
8
7
  const error_1 = require("../utils/error");
9
8
  const graphql_request_1 = require("graphql-request");
10
9
  const node_util_1 = __importDefault(require("node:util"));
@@ -77,13 +76,6 @@ function wrapError(error) {
77
76
  const nestedError = response.errors?.[0];
78
77
  const errorExtensions = nestedError?.extensions;
79
78
  if (errorExtensions) {
80
- if (errorExtensions["code"] === "GRAPHQL_VALIDATION_FAILED") {
81
- return new error_1.ConductorInvalidRequestError({
82
- code: "CLIENT_OUTDATED",
83
- message: `Your version of "${package_json_1.default.name}" is no longer compatible with the Conductor server. Please run "yarn upgrade ${package_json_1.default.name} --latest" to update.`,
84
- httpStatusCode: response.status,
85
- });
86
- }
87
79
  // Do *not* bother validating if this error is a Conductor error:
88
80
  // 1. We know this is a `ClientError`, so `message` and `httpStatusCode`
89
81
  // exist.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "9.4.1",
3
+ "version": "9.4.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",