uepay-ops2 4.0.7 → 4.0.8

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.
Files changed (2) hide show
  1. package/lib/util/net.js +0 -4
  2. package/package.json +1 -1
package/lib/util/net.js CHANGED
@@ -106,10 +106,6 @@ function request(method, url, params, headers) {
106
106
  return new Promise((suc, err) => {
107
107
  err("".concat(method, " Method Must Support url"));
108
108
  });
109
- } else if (!params) {
110
- return new Promise((suc, err) => {
111
- err("".concat(method, " Method Must Support Params"));
112
- });
113
109
  } else {
114
110
  return fetch(url, {
115
111
  method: method,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uepay-ops2",
3
- "version": "4.0.7",
3
+ "version": "4.0.8",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",