ywana-core8 0.0.850 → 0.0.851

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.cjs CHANGED
@@ -128,15 +128,15 @@ var HTTPClient = function HTTPClient(domain, securityCtx) {
128
128
  var token = securityCtx ? securityCtx.token() : null;
129
129
  return fetchAsync('POST', domain + URL, body, token, headers);
130
130
  },
131
- PUT: function PUT(URL, body) {
131
+ PUT: function PUT(URL, body, headers) {
132
132
  var token = securityCtx ? securityCtx.token() : null;
133
133
  return fetchAsync('PUT', domain + URL, body, token, headers);
134
134
  },
135
- PATCH: function PATCH(URL, body) {
135
+ PATCH: function PATCH(URL, body, headers) {
136
136
  var token = securityCtx ? securityCtx.token() : null;
137
137
  return fetchAsync('PATCH', domain + URL, body, token, headers);
138
138
  },
139
- DELETE: function DELETE(URL) {
139
+ DELETE: function DELETE(URL, headers) {
140
140
  var token = securityCtx ? securityCtx.token() : null;
141
141
  return fetchAsync('DELETE', domain + URL, undefined, token, headers);
142
142
  }