File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 44
55* Initial Release.
66
7+ ## 1.0.2
8+
9+ * Bug resolution and optimization.
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ const { customAlphabet } = require('nanoid');
1616const EventEmitter = require ( 'events' ) ;
1717const nanoid = customAlphabet ( '1234567890abcdefghijklmopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' , 10 )
1818
19- class databridges_apifront_proxy extends EventEmitter {
19+ class apifront_proxy extends EventEmitter {
2020 #configJson = null ;
2121 #proxyPaths = { } ;
2222 #started = false ;
@@ -300,7 +300,7 @@ class databridges_apifront_proxy extends EventEmitter {
300300 await delay ( 20 ) ;
301301 }
302302 // End the response with the last chunk
303- response . end ( JSON . stringify ( { status : 1 , msg : '' , rpc : rpcSvrNameToSend . slice ( - chunkSize ) } ) ) ;
303+ response . end ( JSON . stringify ( { status : 1 , msg : '' , rpc : [ ] } ) ) ; // rpcSvrNameToSend.slice(-chunkSize)
304304 } else {
305305 // If the size is less than or equal to 50, send the entire response at once
306306 response . end ( JSON . stringify ( { status : 1 , msg : '' , rpc : rpcSvrNameToSend } ) ) ;
@@ -611,5 +611,5 @@ class databridges_apifront_proxy extends EventEmitter {
611611 }
612612}
613613
614- module . exports = databridges_apifront_proxy ;
614+ module . exports = apifront_proxy ;
615615
You can’t perform that action at this time.
0 commit comments