conductor-node 8.0.3 → 8.1.0

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.
@@ -14,6 +14,11 @@ function getServerUrlForEnvironment(environment) {
14
14
  if (environment === "production") {
15
15
  return "https://api.conductor.is";
16
16
  }
17
+ if (environment === "development") {
18
+ // Though `localhost` works locally, we must return the hosted URL for
19
+ // generating the QWC file to connect from a remote Windows QBD instance.
20
+ return "https://conductor.ngrok.io";
21
+ }
17
22
  return "http://localhost:4000";
18
23
  }
19
24
  exports.getServerUrlForEnvironment = getServerUrlForEnvironment;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "8.0.3",
3
+ "version": "8.1.0",
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",