conductor-node 11.6.7 → 11.6.8

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": "11.6.7",
3
+ "version": "11.6.8",
4
4
  "description": "QuickBooks Desktop API for Node.js and TypeScript",
5
5
  "keywords": [
6
6
  "QuickBooks",
@@ -1,13 +1,9 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.addLoggingInterceptors = addLoggingInterceptors;
7
4
  exports.createRequestLogObject = createRequestLogObject;
8
5
  exports.getDurationStringFromConfig = getDurationStringFromConfig;
9
6
  exports.stringifyForLogs = stringifyForLogs;
10
- const node_util_1 = __importDefault(require("node:util"));
11
7
  function addLoggingInterceptors(httpClient, verbose) {
12
8
  httpClient.interceptors.request.use((config) => {
13
9
  if (verbose) {
@@ -69,10 +65,6 @@ function getDurationStringFromConfig(config) {
69
65
  return `${Math.round(duration / 10) / 100}s`;
70
66
  }
71
67
  function stringifyForLogs(object) {
72
- return node_util_1.default.inspect(object, {
73
- depth: 5,
74
- // Omit color codes to keep logs clean when sent to a log management
75
- // service.
76
- colors: false,
77
- });
68
+ // Output raw JSON for easy copy-pasting for REST API development.
69
+ return JSON.stringify(object, undefined, 2);
78
70
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "11.6.7",
3
+ "version": "11.6.8",
4
4
  "description": "QuickBooks Desktop API for Node.js and TypeScript",
5
5
  "keywords": [
6
6
  "QuickBooks",