@dataforsyningen/saul 3.5.1 → 3.6.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.
Files changed (2) hide show
  1. package/modules/api.js +1 -1
  2. package/package.json +1 -1
package/modules/api.js CHANGED
@@ -229,7 +229,7 @@ function getTerrainGeoTIFF(stac_item, auth, resolution = 0.05, sizeX = 300) {
229
229
  url += `&width=${ width }`
230
230
  url += `&bbox=${ bbox[0]},${ bbox[1]},${ bbox[2]},${ bbox[3]}`
231
231
 
232
- return get(url, {}, false)
232
+ return get(url, {cache: 'force-cache'}, false)
233
233
  .then((response) => {
234
234
  return response.arrayBuffer()
235
235
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataforsyningen/saul",
3
- "version": "3.5.1",
3
+ "version": "3.6.0",
4
4
  "description": "This is a collection of stand-alone methods for photogrammetry calculations and API interactions for 'Danske Skråfotos'.",
5
5
  "main": "index.js",
6
6
  "type": "module",