w-converhp 2.0.60 → 2.0.61

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/README.md CHANGED
@@ -221,7 +221,7 @@ downloadLargeFile()
221
221
 
222
222
  [Necessary] Add script for w-converhp-client.
223
223
  ```alias
224
- <script src="https://cdn.jsdelivr.net/npm/w-converhp@2.0.60/dist/w-converhp-client.umd.js"></script>
224
+ <script src="https://cdn.jsdelivr.net/npm/w-converhp@2.0.61/dist/w-converhp-client.umd.js"></script>
225
225
  ```
226
226
 
227
227
  #### Example for w-converhp-client in browser:
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * w-converhp-client v2.0.60
2
+ * w-converhp-client v2.0.61
3
3
  * (c) 2018-2021 yuda-lyu(semisphere)
4
4
  * Released under the MIT License.
5
5
  */
@@ -649,7 +649,7 @@
649
649
  <br class="clear">
650
650
 
651
651
  <footer>
652
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Aug 19 2025 17:04:34 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
652
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Aug 19 2025 17:33:43 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
653
653
  </footer>
654
654
 
655
655
  <script>prettyPrint();</script>
@@ -1187,7 +1187,7 @@ export default WConverhpClient
1187
1187
  <br class="clear">
1188
1188
 
1189
1189
  <footer>
1190
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Aug 19 2025 17:04:34 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1190
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Aug 19 2025 17:33:43 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1191
1191
  </footer>
1192
1192
 
1193
1193
  <script>prettyPrint();</script>
@@ -749,7 +749,7 @@
749
749
  <br class="clear">
750
750
 
751
751
  <footer>
752
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Aug 19 2025 17:04:34 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
752
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Aug 19 2025 17:33:43 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
753
753
  </footer>
754
754
 
755
755
  <script>prettyPrint();</script>
@@ -374,7 +374,7 @@ function WConverhpServer(opt = {}) {
374
374
  let input = get(data, 'input', null)
375
375
 
376
376
  //execute 執行
377
- eeEmit('execute', func, input, pmm)
377
+ eeEmit('execute', func, input, pmm) //emit至外部處理, 藉由pmm取得外部結束狀態
378
378
 
379
379
  }
380
380
 
@@ -404,7 +404,7 @@ function WConverhpServer(opt = {}) {
404
404
  if (true) {
405
405
 
406
406
  //upload, 上傳檔案
407
- eeEmit('upload', input, pmm)
407
+ eeEmit('upload', input, pmm) //emit至外部處理, 藉由pmm取得外部結束狀態
408
408
 
409
409
  }
410
410
 
@@ -434,7 +434,7 @@ function WConverhpServer(opt = {}) {
434
434
  if (true) {
435
435
 
436
436
  //download, 下載檔案
437
- eeEmit('download', input, pmm)
437
+ eeEmit('download', input, pmm) //emit至外部處理, 藉由pmm取得外部結束狀態
438
438
 
439
439
  }
440
440
 
@@ -759,8 +759,9 @@ function WConverhpServer(opt = {}) {
759
759
 
760
760
  //ri
761
761
  let ri = {
762
+ from: 'check-total-hash',
762
763
  filename,
763
- path: out.path,
764
+ path: out.path, //out.path使用path.resolve為絕對路徑
764
765
  }
765
766
 
766
767
  //procUpload
@@ -830,8 +831,9 @@ function WConverhpServer(opt = {}) {
830
831
 
831
832
  //ri
832
833
  let ri = {
834
+ from: 'merge-slices-get',
833
835
  filename,
834
- path: r.path,
836
+ path: r.path, //r.path使用path.resolve為絕對路徑
835
837
  }
836
838
 
837
839
  //procUpload, 偵測有合併完成大檔, 得調用procUpload讓伺服器攔截函數處理
@@ -1496,7 +1498,7 @@ export default WConverhpServer
1496
1498
  <br class="clear">
1497
1499
 
1498
1500
  <footer>
1499
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Aug 19 2025 17:04:34 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1501
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Aug 19 2025 17:33:43 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1500
1502
  </footer>
1501
1503
 
1502
1504
  <script>prettyPrint();</script>
package/docs/index.html CHANGED
@@ -71,7 +71,7 @@
71
71
  <br class="clear">
72
72
 
73
73
  <footer>
74
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Aug 19 2025 17:04:34 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
74
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Tue Aug 19 2025 17:33:43 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
75
75
  </footer>
76
76
 
77
77
  <script>prettyPrint();</script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "w-converhp",
3
- "version": "2.0.60",
3
+ "version": "2.0.61",
4
4
  "main": "dist/w-converhp-server.umd.js",
5
5
  "dependencies": {
6
6
  "@hapi/hapi": "^21.4.3",
@@ -327,7 +327,7 @@ function WConverhpServer(opt = {}) {
327
327
  let input = get(data, 'input', null)
328
328
 
329
329
  //execute 執行
330
- eeEmit('execute', func, input, pmm)
330
+ eeEmit('execute', func, input, pmm) //emit至外部處理, 藉由pmm取得外部結束狀態
331
331
 
332
332
  }
333
333
 
@@ -357,7 +357,7 @@ function WConverhpServer(opt = {}) {
357
357
  if (true) {
358
358
 
359
359
  //upload, 上傳檔案
360
- eeEmit('upload', input, pmm)
360
+ eeEmit('upload', input, pmm) //emit至外部處理, 藉由pmm取得外部結束狀態
361
361
 
362
362
  }
363
363
 
@@ -387,7 +387,7 @@ function WConverhpServer(opt = {}) {
387
387
  if (true) {
388
388
 
389
389
  //download, 下載檔案
390
- eeEmit('download', input, pmm)
390
+ eeEmit('download', input, pmm) //emit至外部處理, 藉由pmm取得外部結束狀態
391
391
 
392
392
  }
393
393
 
@@ -712,8 +712,9 @@ function WConverhpServer(opt = {}) {
712
712
 
713
713
  //ri
714
714
  let ri = {
715
+ from: 'check-total-hash',
715
716
  filename,
716
- path: out.path,
717
+ path: out.path, //out.path使用path.resolve為絕對路徑
717
718
  }
718
719
 
719
720
  //procUpload
@@ -783,8 +784,9 @@ function WConverhpServer(opt = {}) {
783
784
 
784
785
  //ri
785
786
  let ri = {
787
+ from: 'merge-slices-get',
786
788
  filename,
787
- path: r.path,
789
+ path: r.path, //r.path使用path.resolve為絕對路徑
788
790
  }
789
791
 
790
792
  //procUpload, 偵測有合併完成大檔, 得調用procUpload讓伺服器攔截函數處理