@joystick.js/node-canary 0.0.0-canary.351 → 0.0.0-canary.352

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -17,7 +17,9 @@ import pushLogs from "./push/logs/index.js";
17
17
  import nodeUrlPolyfills from "./lib/nodeUrlPolyfills.js";
18
18
  import sendEmail from "./email/send";
19
19
  const { readFile } = fs.promises;
20
- await pushLogs();
20
+ if (process.env.NODE_ENV !== "development" && process.env.IS_PUSH_DEPLOYED) {
21
+ await pushLogs();
22
+ }
21
23
  const generate_sql_from_object = _generate_sql_from_object;
22
24
  const accounts = _accounts;
23
25
  const action = _action;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joystick.js/node-canary",
3
- "version": "0.0.0-canary.351",
3
+ "version": "0.0.0-canary.352",
4
4
  "type": "module",
5
5
  "description": "A Node.js framework for building web apps.",
6
6
  "main": "./dist/index.js",