@supraio/client-daemon-js 0.0.1-mz-warmup.2 → 0.0.1-mz-webcodecs.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/daemon.js +2 -2
- package/daemon.js.map +1 -1
- package/package.json +4 -4
- package/screen.js +3 -4
- package/screen.js.map +2 -2
- package/sdk.js +3 -3
- package/sdk.js.map +1 -1
- package/supra-client-daemon.js +2956 -2213
- package/supra-client-daemon.js.map +1 -1
- package/supra-client-daemon.wasm +0 -0
- package/supra-client-screen.js +5426 -4263
- package/supra-client-screen.js.map +1 -1
- package/supra-client-screen.wasm +0 -0
package/daemon.js
CHANGED
|
@@ -17233,14 +17233,14 @@
|
|
|
17233
17233
|
return;
|
|
17234
17234
|
}
|
|
17235
17235
|
return origClose.call(this, ...args, function(err) {
|
|
17236
|
-
return callback.call(this, err
|
|
17236
|
+
return callback.call(this, err != null ? err : null);
|
|
17237
17237
|
});
|
|
17238
17238
|
};
|
|
17239
17239
|
const origMkdir = fs.mkdir;
|
|
17240
17240
|
fs.mkdir = function(...args) {
|
|
17241
17241
|
const callback = args.pop();
|
|
17242
17242
|
return origMkdir.call(this, ...args, function(err, path) {
|
|
17243
|
-
return callback.call(this, err
|
|
17243
|
+
return callback.call(this, err != null ? err : null, path);
|
|
17244
17244
|
});
|
|
17245
17245
|
};
|
|
17246
17246
|
const origWrite = fs.write;
|