ucservice 2.6.9 → 2.7.0

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.
@@ -32819,18 +32819,12 @@ const meetOp = sip => {
32819
32819
  // }
32820
32820
  // }, async, net.method);
32821
32821
 
32822
- let formdata = new FormData();
32823
-
32824
- for (let key in param) {
32825
- formdata.append(key, param[key]);
32826
- }
32827
-
32828
32822
  return fetch(server_ + net.url, {
32829
32823
  method: net.method,
32830
32824
  headers: {
32831
32825
  'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
32832
32826
  },
32833
- body: formdata,
32827
+ body: new URLSearchParams(param),
32834
32828
  keepalive: true
32835
32829
  });
32836
32830
  }
@@ -32886,18 +32880,12 @@ const meetOp = sip => {
32886
32880
  delete param.async;
32887
32881
  }
32888
32882
 
32889
- let formdata = new FormData();
32890
-
32891
- for (let key in param) {
32892
- formdata.append(key, param[key]);
32893
- }
32894
-
32895
32883
  return fetch(server_ + net.url, {
32896
32884
  method: net.method,
32897
32885
  headers: {
32898
32886
  'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
32899
32887
  },
32900
- body: formdata,
32888
+ body: new URLSearchParams(param),
32901
32889
  keepalive: true
32902
32890
  }); // if(async){
32903
32891
  // return new Promise((resolve, reject) => {
Binary file