getta 1.0.13 → 1.0.14

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,7 +1,7 @@
1
1
  {
2
2
  "name": "getta",
3
3
  "description": "An isomorphic rest client based on the Fetch API.",
4
- "version": "1.0.13",
4
+ "version": "1.0.14",
5
5
  "author": "Dylan Aubrey",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/badbatch/getta",
package/src/main.ts CHANGED
@@ -386,8 +386,10 @@ export class Getta {
386
386
 
387
387
  this._log?.(consts.RESPONSE_FROM_CACHE, {
388
388
  context: {
389
- headers: newHeaders,
390
- url: endpoint,
389
+ fetchMethod: consts.GET_METHOD,
390
+ fetchResponseHeaders: newHeaders,
391
+ fetchUrl: endpoint,
392
+ logEntryName: 'FETCH_RESPONSE_FROM_CACHE',
391
393
  ...context,
392
394
  },
393
395
  });