@ekhein/http-request 1.0.8 → 1.0.9

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/dist/main.js +4 -4
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -230,14 +230,14 @@ class HttpRequest {
230
230
  .request(options);
231
231
  });
232
232
  }
233
- post(url, data, opts) {
234
- return __awaiter(this, void 0, void 0, function* () {
233
+ post(url_1, data_1) {
234
+ return __awaiter(this, arguments, void 0, function* (url, data, opts = {}) {
235
235
  return this.instance
236
236
  .request(Object.assign(Object.assign({}, opts), { method: "POST", serviceType: 1, url, data }));
237
237
  });
238
238
  }
239
- call(path, data, opts) {
240
- return __awaiter(this, void 0, void 0, function* () {
239
+ call(path_1, data_1) {
240
+ return __awaiter(this, arguments, void 0, function* (path, data, opts = {}) {
241
241
  return this.instance
242
242
  .request(Object.assign(Object.assign({}, opts), { method: "POST", serviceType: 2, path, data }));
243
243
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ekhein/http-request",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "license": "MIT",
5
5
  "author": "ekhein",
6
6
  "main": "./dist/main.js",