conductor-node 7.4.7 → 7.4.9

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.4.7",
3
+ "version": "7.4.9",
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",
@@ -17,7 +17,6 @@
17
17
  "postpack": "rm -rf dist",
18
18
  "clean": "rm -rf dist package conductor-node-*.tgz tsconfig.tsbuildinfo",
19
19
  "gen:graphql": "yarn graphql-codegen --config ./src/graphql/codegenConfig.ts",
20
- "status": "yarn ts-node ./bin/logConnectionStatuses.ts",
21
20
  "diff": "yarn pack && npm diff --diff=conductor-node@latest --diff=conductor-node-v$(node -p \"require('./package.json').version\").tgz && yarn clean"
22
21
  },
23
22
  "engines": {
@@ -25,7 +24,6 @@
25
24
  },
26
25
  "dependencies": {
27
26
  "chalk": "^4",
28
- "dotenv": "^16.0.3",
29
27
  "graphql": "^16.6.0",
30
28
  "graphql-request": "^5.0.0"
31
29
  },
@@ -25,14 +25,14 @@ class Client {
25
25
  this.graphqlClient = new graphql_request_1.GraphQLClient(`${this.serverURL}/graphql`, {
26
26
  headers: {
27
27
  Authorization: `Bearer ${apiKey}`,
28
- "User-Agent": `${package_json_1.default.name}/${package_json_1.default.version} (Node.js ${process.version})`,
28
+ "User-Agent": `${package_json_1.default.name}/${package_json_1.default.version} (Node.js ${process.version}; ${process.platform} ${process.arch})`,
29
29
  },
30
30
  });
31
31
  this.graphqlOperations = (0, operationTypes_1.getSdk)(this.graphqlClient);
32
32
  Object.entries(this.graphqlOperations).forEach(([operationName, operation]) => {
33
- // @ts-expect-error - `operationName` is a key of `this.gqlOperations`.
33
+ // @ts-expect-error -- `operationName` is a key of `this.gqlOperations`.
34
34
  this.graphqlOperations[operationName] = async (variables) => this.graphqlOperationWrapper(operationName, variables,
35
- // @ts-expect-error - It is safe to call `operation` with `variables`.
35
+ // @ts-expect-error -- It is safe to call `operation` with `variables`.
36
36
  operation);
37
37
  });
38
38
  this.qbd = new QbdIntegration_1.default(this);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "7.4.7",
3
+ "version": "7.4.9",
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",
@@ -17,7 +17,6 @@
17
17
  "postpack": "rm -rf dist",
18
18
  "clean": "rm -rf dist package conductor-node-*.tgz tsconfig.tsbuildinfo",
19
19
  "gen:graphql": "yarn graphql-codegen --config ./src/graphql/codegenConfig.ts",
20
- "status": "yarn ts-node ./bin/logConnectionStatuses.ts",
21
20
  "diff": "yarn pack && npm diff --diff=conductor-node@latest --diff=conductor-node-v$(node -p \"require('./package.json').version\").tgz && yarn clean"
22
21
  },
23
22
  "engines": {
@@ -25,7 +24,6 @@
25
24
  },
26
25
  "dependencies": {
27
26
  "chalk": "^4",
28
- "dotenv": "^16.0.3",
29
27
  "graphql": "^16.6.0",
30
28
  "graphql-request": "^5.0.0"
31
29
  },