prostgles-server 2.0.216 → 2.0.217

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.
@@ -48,7 +48,7 @@ class FileManager {
48
48
  errored = true;
49
49
  onError?.(err);
50
50
  });
51
- writeStream.on('data', function (chunk) {
51
+ passThrough.on('data', function (chunk) {
52
52
  loaded += chunk.length;
53
53
  onProgress?.({ loaded, total: 0 });
54
54
  });
@@ -74,7 +74,7 @@ class FileManager {
74
74
  errored = true;
75
75
  onError?.(err);
76
76
  });
77
- writeStream.on('data', function (chunk) {
77
+ passThrough.on('data', function (chunk) {
78
78
  loaded += chunk.length;
79
79
  onProgress?.({ loaded, total: 0 });
80
80
  });
@@ -267,7 +267,7 @@ export default class FileManager {
267
267
  errored = true;
268
268
  onError?.(err)
269
269
  });
270
- writeStream.on('data', function(chunk){
270
+ passThrough.on('data', function(chunk){
271
271
  loaded += chunk.length;
272
272
  onProgress?.({ loaded, total: 0 })
273
273
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prostgles-server",
3
- "version": "2.0.216",
3
+ "version": "2.0.217",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1 +1 @@
1
- 8621
1
+ 19200
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "../..": {
23
23
  "name": "prostgles-server",
24
- "version": "2.0.215",
24
+ "version": "2.0.216",
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
27
  "@aws-sdk/client-s3": "^3.121.0",