semantic-network
Advanced tools
Comparing version 0.7.27 to 0.7.28
@@ -15,2 +15,8 @@ "use strict"; | ||
return { | ||
/** | ||
* WARNING: if this is a CORS request that both pragma and cache-control must be registered as exposed | ||
* Access-Control-Allow-Headers (otherwise failed CORS request in browser) | ||
* | ||
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers | ||
*/ | ||
headers: { | ||
@@ -17,0 +23,0 @@ // http 1.0 - @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching |
@@ -310,2 +310,4 @@ "use strict"; | ||
trackedState.headers = this.mergeHeaders(trackedState.headers, response.headers); | ||
// clear any feed headers, for example eager feed item eTags are no longer needed | ||
trackedState.feedHeaders = {}; | ||
// save the across-the-wire metadata, so we can check for collisions/staleness | ||
@@ -312,0 +314,0 @@ trackedState.previousStatus = trackedState.status; |
@@ -12,2 +12,8 @@ /** | ||
return { | ||
/** | ||
* WARNING: if this is a CORS request that both pragma and cache-control must be registered as exposed | ||
* Access-Control-Allow-Headers (otherwise failed CORS request in browser) | ||
* | ||
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers | ||
*/ | ||
headers: { | ||
@@ -14,0 +20,0 @@ // http 1.0 - @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching |
@@ -239,2 +239,4 @@ import { __awaiter } from "tslib"; | ||
trackedState.headers = this.mergeHeaders(trackedState.headers, response.headers); | ||
// clear any feed headers, for example eager feed item eTags are no longer needed | ||
trackedState.feedHeaders = {}; | ||
// save the across-the-wire metadata, so we can check for collisions/staleness | ||
@@ -241,0 +243,0 @@ trackedState.previousStatus = trackedState.status; |
{ | ||
"name": "semantic-network", | ||
"version": "0.7.27", | ||
"version": "0.7.28", | ||
"description": "A utility library for manipulating a list of links that form a semantic interface to a network of resources.", | ||
@@ -5,0 +5,0 @@ "main": "lib/es5/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1257637
20661