w-converhp 2.0.69 → 2.0.70
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 +1 -1
- package/dist/w-converhp-client.umd.js +2 -2
- package/dist/w-converhp-client.umd.js.map +1 -1
- package/docs/WConverhpClient.html +1 -1
- package/docs/WConverhpClient.mjs.html +2 -1
- package/docs/WConverhpServer.html +1 -1
- package/docs/WConverhpServer.mjs.html +11 -1
- package/docs/index.html +1 -1
- package/package.json +3 -3
- package/src/WConverhpClient.mjs +1 -0
- package/src/WConverhpServer.mjs +10 -0
- package/srv.mjs +1 -1
|
@@ -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
|
|
652
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Oct 24 2025 12:48:27 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
653
653
|
</footer>
|
|
654
654
|
|
|
655
655
|
<script>prettyPrint();</script>
|
|
@@ -519,6 +519,7 @@ function WConverhpClient(opt) {
|
|
|
519
519
|
timeout,
|
|
520
520
|
maxContentLength: Infinity, //1024 * 1024 * 1024, Infinity //axios於nodejs中會限制內容大小故需改為無限
|
|
521
521
|
maxBodyLength: Infinity, //1024 * 1024 * 1024, Infinity //axios於nodejs中會限制內容大小故需改為無限
|
|
522
|
+
// decompress: true, //axios於nodejs中預設為true
|
|
522
523
|
responseType: rt,
|
|
523
524
|
onUploadProgress: function(ev) {
|
|
524
525
|
//console.log('onUploadProgress', ev)
|
|
@@ -1197,7 +1198,7 @@ export default WConverhpClient
|
|
|
1197
1198
|
<br class="clear">
|
|
1198
1199
|
|
|
1199
1200
|
<footer>
|
|
1200
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on
|
|
1201
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Oct 24 2025 12:48:27 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
1201
1202
|
</footer>
|
|
1202
1203
|
|
|
1203
1204
|
<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
|
|
752
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Oct 24 2025 12:48:27 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
753
753
|
</footer>
|
|
754
754
|
|
|
755
755
|
<script>prettyPrint();</script>
|
|
@@ -327,6 +327,16 @@ function WConverhpServer(opt = {}) {
|
|
|
327
327
|
origin: corsOrigins, //Access-Control-Allow-Origin
|
|
328
328
|
credentials: false, //Access-Control-Allow-Credentials
|
|
329
329
|
},
|
|
330
|
+
// compression: { //壓縮須納入通用訊息處理(obj2u8arr與u8arr2obj), 其他傳輸或提供下載檔案等, 通常為已壓縮, 故不須指定壓縮
|
|
331
|
+
// minBytes: {
|
|
332
|
+
// value: 1024, //超過1KB才壓縮
|
|
333
|
+
// },
|
|
334
|
+
// mime: {
|
|
335
|
+
// 'application/json': true,
|
|
336
|
+
// 'text/html': true,
|
|
337
|
+
// 'application/octet-stream': true, //針對application/octet-stream壓縮的話, Content-Length得要回傳壓縮後的資料長度
|
|
338
|
+
// },
|
|
339
|
+
// },
|
|
330
340
|
},
|
|
331
341
|
})
|
|
332
342
|
|
|
@@ -1498,7 +1508,7 @@ export default WConverhpServer
|
|
|
1498
1508
|
<br class="clear">
|
|
1499
1509
|
|
|
1500
1510
|
<footer>
|
|
1501
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on
|
|
1511
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Oct 24 2025 12:48:27 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
1502
1512
|
</footer>
|
|
1503
1513
|
|
|
1504
1514
|
<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
|
|
74
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Oct 24 2025 12:48:27 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,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "w-converhp",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.70",
|
|
4
4
|
"main": "dist/w-converhp-server.umd.js",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@hapi/hapi": "^21.4.3",
|
|
7
7
|
"@hapi/inert": "^7.1.0",
|
|
8
|
-
"axios": "^1.
|
|
8
|
+
"axios": "^1.12.2",
|
|
9
9
|
"lodash-es": "^4.17.21",
|
|
10
|
-
"wsemi": "^1.8.
|
|
10
|
+
"wsemi": "^1.8.23"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"form-data": "^4.0.4",
|
package/src/WConverhpClient.mjs
CHANGED
|
@@ -472,6 +472,7 @@ function WConverhpClient(opt) {
|
|
|
472
472
|
timeout,
|
|
473
473
|
maxContentLength: Infinity, //1024 * 1024 * 1024, Infinity //axios於nodejs中會限制內容大小故需改為無限
|
|
474
474
|
maxBodyLength: Infinity, //1024 * 1024 * 1024, Infinity //axios於nodejs中會限制內容大小故需改為無限
|
|
475
|
+
// decompress: true, //axios於nodejs中預設為true
|
|
475
476
|
responseType: rt,
|
|
476
477
|
onUploadProgress: function(ev) {
|
|
477
478
|
//console.log('onUploadProgress', ev)
|
package/src/WConverhpServer.mjs
CHANGED
|
@@ -280,6 +280,16 @@ function WConverhpServer(opt = {}) {
|
|
|
280
280
|
origin: corsOrigins, //Access-Control-Allow-Origin
|
|
281
281
|
credentials: false, //Access-Control-Allow-Credentials
|
|
282
282
|
},
|
|
283
|
+
// compression: { //壓縮須納入通用訊息處理(obj2u8arr與u8arr2obj), 其他傳輸或提供下載檔案等, 通常為已壓縮, 故不須指定壓縮
|
|
284
|
+
// minBytes: {
|
|
285
|
+
// value: 1024, //超過1KB才壓縮
|
|
286
|
+
// },
|
|
287
|
+
// mime: {
|
|
288
|
+
// 'application/json': true,
|
|
289
|
+
// 'text/html': true,
|
|
290
|
+
// 'application/octet-stream': true, //針對application/octet-stream壓縮的話, Content-Length得要回傳壓縮後的資料長度
|
|
291
|
+
// },
|
|
292
|
+
// },
|
|
283
293
|
},
|
|
284
294
|
})
|
|
285
295
|
|