w-converhp 2.0.47 → 2.0.49
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/dist/w-converhp-server.umd.js +1 -1
- package/docs/WConverhpClient.html +44 -4
- package/docs/WConverhpClient.mjs.html +185 -197
- package/docs/WConverhpServer.html +1 -1
- package/docs/WConverhpServer.mjs.html +8 -8
- package/docs/index.html +1 -1
- package/package.json +1 -1
- package/src/WConverhpClient.mjs +184 -196
- package/src/WConverhpServer.mjs +7 -7
- package/srv.mjs +1 -1
package/src/WConverhpServer.mjs
CHANGED
|
@@ -448,7 +448,7 @@ function WConverhpServer(opt = {}) {
|
|
|
448
448
|
|
|
449
449
|
//apiMain
|
|
450
450
|
let apiMain = {
|
|
451
|
-
path: `/${apiName}/main`,
|
|
451
|
+
path: `/${apiName}/main`,
|
|
452
452
|
method: 'POST',
|
|
453
453
|
options: {
|
|
454
454
|
payload: {
|
|
@@ -604,7 +604,7 @@ function WConverhpServer(opt = {}) {
|
|
|
604
604
|
|
|
605
605
|
//apiUploadCheck
|
|
606
606
|
let apiUploadCheck = {
|
|
607
|
-
path: `/${apiName}/ulctr`,
|
|
607
|
+
path: `/${apiName}/ulctr`,
|
|
608
608
|
method: 'POST',
|
|
609
609
|
options: {
|
|
610
610
|
payload: {
|
|
@@ -822,7 +822,7 @@ function WConverhpServer(opt = {}) {
|
|
|
822
822
|
|
|
823
823
|
//apiUploadSlice
|
|
824
824
|
let apiUploadSlice = {
|
|
825
|
-
path: `/${apiName}/slc`,
|
|
825
|
+
path: `/${apiName}/slc`,
|
|
826
826
|
method: 'POST',
|
|
827
827
|
options: {
|
|
828
828
|
payload: {
|
|
@@ -960,7 +960,7 @@ function WConverhpServer(opt = {}) {
|
|
|
960
960
|
// console.log('u8aOut', u8aOut)
|
|
961
961
|
|
|
962
962
|
// //測試失敗重傳
|
|
963
|
-
// if (Math.random() < 0.
|
|
963
|
+
// if (Math.random() < 0.6) {
|
|
964
964
|
// out = {
|
|
965
965
|
// error: 'force error'
|
|
966
966
|
// }
|
|
@@ -976,7 +976,7 @@ function WConverhpServer(opt = {}) {
|
|
|
976
976
|
|
|
977
977
|
//apiDownloadGetFilename
|
|
978
978
|
let apiDownloadGetFilename = {
|
|
979
|
-
path: `/${apiName}/dwgfn`,
|
|
979
|
+
path: `/${apiName}/dwgfn`,
|
|
980
980
|
method: 'POST',
|
|
981
981
|
options: {
|
|
982
982
|
payload: {
|
|
@@ -1098,7 +1098,7 @@ function WConverhpServer(opt = {}) {
|
|
|
1098
1098
|
|
|
1099
1099
|
//apiDownloadGetFile
|
|
1100
1100
|
let apiDownloadGetFile = {
|
|
1101
|
-
path: `/${apiName}/dwgf`,
|
|
1101
|
+
path: `/${apiName}/dwgf`,
|
|
1102
1102
|
method: 'GET',
|
|
1103
1103
|
options: {
|
|
1104
1104
|
timeout: {
|
|
@@ -1222,7 +1222,7 @@ function WConverhpServer(opt = {}) {
|
|
|
1222
1222
|
|
|
1223
1223
|
//apiDownload
|
|
1224
1224
|
let apiDownload = {
|
|
1225
|
-
path: `/${apiName}/dw`,
|
|
1225
|
+
path: `/${apiName}/dw`,
|
|
1226
1226
|
method: 'POST',
|
|
1227
1227
|
options: {
|
|
1228
1228
|
payload: {
|