@dataforsyningen/saul 3.3.4 → 3.4.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
@@ -160,7 +160,7 @@ function post(url, requestbody, token) {
160
160
  */
161
161
  function getDHM(query, auth) {
162
162
  const auth_params = `&username=${auth.API_DHM_TOKENA}&password=${auth.API_DHM_TOKENB}`
163
- return get(encodeURI(auth.API_DHM_BASEURL + query + auth_params))
163
+ return get(encodeURI(auth.API_DHM_BASEURL + query + auth_params), {cache: 'force-cache'})
164
164
  .then((data) => data)
165
165
  }
166
166
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataforsyningen/saul",
3
- "version": "3.3.4",
3
+ "version": "3.4.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",