puvox-library 1.0.38 → 1.0.40

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.
@@ -1095,7 +1095,7 @@ const puvox_library =
1095
1095
  rejector = reject;
1096
1096
  });
1097
1097
  let buffer = '';
1098
- const readStream = fs.createReadStream(filePath);
1098
+ const readStream = this.file.fs().createReadStream(filePath);
1099
1099
  let collectedLines = [];
1100
1100
  readStream.on('data', async function(chunk) {
1101
1101
  var lines = (buffer + chunk).split(/\n/g);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "puvox-library",
3
- "version": "1.0.38",
3
+ "version": "1.0.40",
4
4
  "description": "library-class-javascript",
5
5
  "main": "library_standard.js",
6
6
  "scripts": {
package/test.js DELETED
@@ -1,11 +0,0 @@
1
- const h = require('./library_standard.js');
2
- function c(...args){console.log(...args);} function cc(o){console.dir(o, {'maxArrayLength': null});} function x(...args){c(...args);process.exit();} function xx(o){cc(o);process.exit();}
3
-
4
- h.setAppName("myApp");
5
- async function x(){
6
- c(await h.telegramMessageCached('Hello World', 1668904096, '1651207488:AAF0KDLW6tmDUElN7RxVbp5RwQK5u77znhU'));
7
- }
8
- //x();
9
-
10
- console.log (h.isBrowser);
11
- console.log (h.isNode);