@velora-dex/sdk 9.3.2-dev.1 → 9.3.2

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/sdk.esm.js CHANGED
@@ -2859,10 +2859,10 @@ var constructFetcher$1 = function constructFetcher(fetch, extra) {
2859
2859
  _context.next = 8;
2860
2860
  return fetch(url, _extends({
2861
2861
  method: method,
2862
- body: body
2863
- }, requestParams, {
2864
- headers: headers,
2862
+ body: body,
2865
2863
  keepalive: extra == null ? void 0 : extra.keepalive
2864
+ }, requestParams, {
2865
+ headers: headers
2866
2866
  }));
2867
2867
  case 8:
2868
2868
  response = _context.sent;
@@ -4921,11 +4921,11 @@ var constructFetcher = function constructFetcher(options) {
4921
4921
  return constructFetcher$1(options.fetch, options);
4922
4922
  }
4923
4923
  return function (params) {
4924
- var _params$requestParams;
4924
+ var _params$requestParams, _params$requestParams2;
4925
4925
  // adding apiKey to headers if it's provided
4926
4926
  var headers = options != null && options.apiKey ? _extends({}, options.headers, {
4927
4927
  'X-API-KEY': options.apiKey
4928
- }, params.headers, (_params$requestParams = params.requestParams) == null ? void 0 : _params$requestParams.headers) : _extends({}, options.headers, params.headers);
4928
+ }, params.headers, (_params$requestParams = params.requestParams) == null ? void 0 : _params$requestParams.headers) : _extends({}, options.headers, params.headers, (_params$requestParams2 = params.requestParams) == null ? void 0 : _params$requestParams2.headers);
4929
4929
  return options.fetcher(_extends({}, params, {
4930
4930
  headers: headers
4931
4931
  }));