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.umd.js CHANGED
@@ -121,15 +121,15 @@
121
121
  var token = securityCtx ? securityCtx.token() : null;
122
122
  return fetchAsync('POST', domain + URL, body, token, headers);
123
123
  },
124
- PUT: function PUT(URL, body) {
124
+ PUT: function PUT(URL, body, headers) {
125
125
  var token = securityCtx ? securityCtx.token() : null;
126
126
  return fetchAsync('PUT', domain + URL, body, token, headers);
127
127
  },
128
- PATCH: function PATCH(URL, body) {
128
+ PATCH: function PATCH(URL, body, headers) {
129
129
  var token = securityCtx ? securityCtx.token() : null;
130
130
  return fetchAsync('PATCH', domain + URL, body, token, headers);
131
131
  },
132
- DELETE: function DELETE(URL) {
132
+ DELETE: function DELETE(URL, headers) {
133
133
  var token = securityCtx ? securityCtx.token() : null;
134
134
  return fetchAsync('DELETE', domain + URL, undefined, token, headers);
135
135
  }