uniapp-request-sdk 1.4.11 → 1.4.12

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/dist/index.esm.js CHANGED
@@ -296,7 +296,7 @@ var UniRequest = /*#__PURE__*/function () {
296
296
  name: name,
297
297
  header: header,
298
298
  timeout: this.uploadTimeout,
299
- method: 'PUT'
299
+ method: 'POST'
300
300
  }, uploadFilePromise);
301
301
  }
302
302
  }]);
package/dist/index.umd.js CHANGED
@@ -302,7 +302,7 @@
302
302
  name: name,
303
303
  header: header,
304
304
  timeout: this.uploadTimeout,
305
- method: 'PUT'
305
+ method: 'POST'
306
306
  }, uploadFilePromise);
307
307
  }
308
308
  }]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uniapp-request-sdk",
3
- "version": "1.4.11",
3
+ "version": "1.4.12",
4
4
  "description": "用于uniapp小程序的请求库的sdk",
5
5
  "main": "dist/index.umd.js",
6
6
  "module": " dist/index.esm.js",