ng-http-caching 13.0.5 → 13.0.6

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -262,7 +262,7 @@ If you have choose the `DISALLOW_ALL` cache strategy, you can mark specific requ
262
262
  ```ts
263
263
  this.http.get('https://my-json-server.typicode.com/typicode/demo/db', {
264
264
  headers: {
265
- [NgHttpCachingHeaders.ALLOW_ALL]: '1',
265
+ [NgHttpCachingHeaders.ALLOW_CACHE]: '1',
266
266
  }
267
267
  }).subscribe(e => console.log);
268
268
  ```
@@ -491,7 +491,7 @@ export class AppComponent implements OnInit {
491
491
  // Note: all the "special" headers in NgHttpCachingHeaders are removed before send the request to the backend.
492
492
  this.http.get('https://my-json-server.typicode.com/typicode/demo/db', {
493
493
  headers: {
494
- [NgHttpCachingHeaders.ALLOW_ALL]: '1',
494
+ [NgHttpCachingHeaders.ALLOW_CACHE]: '1',
495
495
  }
496
496
  }).subscribe(e => console.log);
497
497
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-http-caching",
3
- "version": "13.0.5",
3
+ "version": "13.0.6",
4
4
  "description": "Cache for HTTP requests in Angular application.",
5
5
  "repository": {
6
6
  "type": "git",