@joystick.js/node-canary 0.0.0-canary.75 → 0.0.0-canary.76

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/lib/wait.js +2 -2
  2. package/package.json +1 -1
package/dist/lib/wait.js CHANGED
@@ -1,6 +1,6 @@
1
- var wait_default = (seconds = 0, callback = null) => {
1
+ var wait_default = (seconds = 0) => {
2
2
  return new Promise((resolve) => {
3
- setTimeout(callback, seconds * 1e3);
3
+ setTimeout(() => resolve(), seconds * 1e3);
4
4
  });
5
5
  };
6
6
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joystick.js/node-canary",
3
- "version": "0.0.0-canary.75",
3
+ "version": "0.0.0-canary.76",
4
4
  "type": "module",
5
5
  "description": "A Node.js framework for building web apps.",
6
6
  "main": "./dist/index.js",