@hyper-fetch/core 5.2.0 → 5.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyper-fetch/core",
3
- "version": "5.2.0",
3
+ "version": "5.3.0",
4
4
  "private": false,
5
5
  "description": "Cache, Queue and Persist your requests no matter if you are online or offline!",
6
6
  "author": "Maciej Pyrc <m.pyrc@interia.pl>",
@@ -357,6 +357,14 @@ export const getAdapterBindings = async <T extends AdapterInstance = AdapterType
357
357
  return new Promise(apiCall);
358
358
  };
359
359
 
360
+ logger.debug(`Finishing request bindings creation`, {
361
+ fullUrl,
362
+ data,
363
+ headers,
364
+ payload,
365
+ config,
366
+ });
367
+
360
368
  return {
361
369
  fullUrl,
362
370
  data,
@@ -2,7 +2,7 @@ export const stringifyDefaultOptions = {
2
2
  strict: true,
3
3
  encode: true,
4
4
  arrayFormat: "bracket",
5
- arraySeparator: "",
5
+ arraySeparator: "bracket",
6
6
  sort: false,
7
7
  skipNull: true,
8
8
  skipEmptyString: true,
@@ -82,7 +82,7 @@ export class Client<
82
82
  ) => Partial<RequestOptionsType<string, ExtractAdapterOptionsType<Adapter>, ExtractAdapterMethodType<Adapter>>>;
83
83
  abortKeyMapper?: (request: RequestInstance) => string = getSimpleKey;
84
84
  cacheKeyMapper?: (request: RequestInstance) => string = getRequestKey;
85
- queueKeyMapper?: (request: RequestInstance) => string = getSimpleKey;
85
+ queueKeyMapper?: (request: RequestInstance) => string = getRequestKey;
86
86
  effectKeyMapper?: (request: RequestInstance) => string = getSimpleKey;
87
87
 
88
88
  // Utils