conductor-node 7.0.1 → 7.0.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": "7.0.
|
|
3
|
+
"version": "7.0.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",
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"delete-compiled-tests": "rm -rf `find ./dist -type d -name __tests__`",
|
|
17
17
|
"postpack": "rm -rf dist",
|
|
18
18
|
"clean": "rm -rf dist package conductor-node-*.tgz tsconfig.tsbuildinfo",
|
|
19
|
-
"gen:graphql-types": "yarn graphql-codegen --config ./src/graphql/codegenConfig.ts"
|
|
19
|
+
"gen:graphql-types": "yarn graphql-codegen --config ./src/graphql/codegenConfig.ts",
|
|
20
|
+
"test-connections": "yarn ts-node ./bin/testConnections.ts"
|
|
20
21
|
},
|
|
21
22
|
"engines": {
|
|
22
23
|
"node": ">=16"
|
package/dist/src/Client.js
CHANGED
|
@@ -10,6 +10,7 @@ const QbdIntegration_1 = __importDefault(require("./integrations/qbd/QbdIntegrat
|
|
|
10
10
|
const chalk_1 = __importDefault(require("chalk"));
|
|
11
11
|
const graphql_request_1 = require("graphql-request");
|
|
12
12
|
const node_child_process_1 = require("node:child_process");
|
|
13
|
+
const node_util_1 = __importDefault(require("node:util"));
|
|
13
14
|
class Client {
|
|
14
15
|
/** QuickBooks Desktop integration. */
|
|
15
16
|
qbd;
|
|
@@ -80,14 +81,14 @@ class Client {
|
|
|
80
81
|
}
|
|
81
82
|
async graphqlOperationWrapper(operationName, variables, operation) {
|
|
82
83
|
if (this.verbose) {
|
|
83
|
-
console.log(`Client sent request to ${this.serverURL}:`, operationName,
|
|
84
|
+
console.log(`Client sent request to ${this.serverURL}:`, operationName, node_util_1.default.inspect(variables, { depth: undefined, colors: true }));
|
|
84
85
|
console.time("Request time");
|
|
85
86
|
}
|
|
86
87
|
try {
|
|
87
88
|
const result = await operation(variables);
|
|
88
89
|
if (this.verbose) {
|
|
89
90
|
console.timeEnd("Request time");
|
|
90
|
-
console.log(`Client received response from ${this.serverURL}:`,
|
|
91
|
+
console.log(`Client received response from ${this.serverURL}:`, node_util_1.default.inspect(result, { depth: undefined, colors: true }));
|
|
91
92
|
}
|
|
92
93
|
return result;
|
|
93
94
|
}
|
package/dist/src/environment.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "conductor-node",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.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",
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"delete-compiled-tests": "rm -rf `find ./dist -type d -name __tests__`",
|
|
17
17
|
"postpack": "rm -rf dist",
|
|
18
18
|
"clean": "rm -rf dist package conductor-node-*.tgz tsconfig.tsbuildinfo",
|
|
19
|
-
"gen:graphql-types": "yarn graphql-codegen --config ./src/graphql/codegenConfig.ts"
|
|
19
|
+
"gen:graphql-types": "yarn graphql-codegen --config ./src/graphql/codegenConfig.ts",
|
|
20
|
+
"test-connections": "yarn ts-node ./bin/testConnections.ts"
|
|
20
21
|
},
|
|
21
22
|
"engines": {
|
|
22
23
|
"node": ">=16"
|
package/dist/src/testUtils.d.ts
DELETED
package/dist/src/testUtils.js
DELETED