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.
@@ -32810,18 +32810,12 @@ const meetOp = sip => {
32810
32810
  // }
32811
32811
  // }, async, net.method);
32812
32812
 
32813
- let formdata = new FormData();
32814
-
32815
- for (let key in param) {
32816
- formdata.append(key, param[key]);
32817
- }
32818
-
32819
32813
  return fetch(server_ + net.url, {
32820
32814
  method: net.method,
32821
32815
  headers: {
32822
32816
  'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
32823
32817
  },
32824
- body: formdata,
32818
+ body: new URLSearchParams(param),
32825
32819
  keepalive: true
32826
32820
  });
32827
32821
  }
@@ -32877,18 +32871,12 @@ const meetOp = sip => {
32877
32871
  delete param.async;
32878
32872
  }
32879
32873
 
32880
- let formdata = new FormData();
32881
-
32882
- for (let key in param) {
32883
- formdata.append(key, param[key]);
32884
- }
32885
-
32886
32874
  return fetch(server_ + net.url, {
32887
32875
  method: net.method,
32888
32876
  headers: {
32889
32877
  'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
32890
32878
  },
32891
- body: formdata,
32879
+ body: new URLSearchParams(param),
32892
32880
  keepalive: true
32893
32881
  }); // if(async){
32894
32882
  // return new Promise((resolve, reject) => {
Binary file