@opengeoweb/data-explorer 20.2.0-nightly-20261029 → 21.0.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/dist/index.esm.js +4 -3
  2. package/package.json +10 -9
package/dist/index.esm.js CHANGED
@@ -20,6 +20,7 @@ import { createSelector, createSlice, createListenerMiddleware, combineReducers
20
20
  import { snackbarListener, snackbarReducer } from '@opengeoweb/snackbar';
21
21
  import { useQuery } from '@tanstack/react-query';
22
22
  import { handleResponse } from '@opengeoweb/api';
23
+ import { authFetch } from '@opengeoweb/authentication';
23
24
  import { boundingExtent } from 'ol/extent';
24
25
 
25
26
  var en = {
@@ -8587,7 +8588,7 @@ const fetchItemsWithPagination = async (initialUrl, options = {}) => {
8587
8588
  visitedUrls.add(requestUrl);
8588
8589
  // Pages must be fetched sequentially because each next URL comes from the prior response.
8589
8590
  // eslint-disable-next-line no-await-in-loop
8590
- const page = await fetch(requestUrl, {
8591
+ const page = await authFetch(requestUrl, {
8591
8592
  signal: options.signal
8592
8593
  }).then(handleResponse);
8593
8594
  firstPage != null ? firstPage : firstPage = page;
@@ -8631,13 +8632,13 @@ const fetchGeoJSON = async collectionUrl => {
8631
8632
  if (!collectionUrl) {
8632
8633
  return null;
8633
8634
  }
8634
- return fetch(collectionUrl).then(handleResponse);
8635
+ return authFetch(collectionUrl).then(handleResponse);
8635
8636
  };
8636
8637
  const fetchItem = async (baseUrl, datasetId) => {
8637
8638
  if (!baseUrl || !datasetId) {
8638
8639
  return null;
8639
8640
  }
8640
- return fetch(`${baseUrl}/items/${datasetId}`).then(handleResponse);
8641
+ return authFetch(`${baseUrl}/items/${datasetId}`).then(handleResponse);
8641
8642
  };
8642
8643
  const addQueryParameters = (params, search, queryables, concepts, bbox, meteogateOnly) => {
8643
8644
  if (search !== undefined) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/data-explorer",
3
- "version": "20.2.0-nightly-20261029",
3
+ "version": "21.0.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@gitlab.com:opengeoweb/opengeoweb.git"
@@ -19,14 +19,15 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "@mui/material": "^9.0.1",
22
- "@opengeoweb/api": "20.2.0-nightly-20261029",
23
- "@opengeoweb/core": "20.2.0-nightly-20261029",
24
- "@opengeoweb/shared": "20.2.0-nightly-20261029",
25
- "@opengeoweb/snackbar": "20.2.0-nightly-20261029",
26
- "@opengeoweb/store": "20.2.0-nightly-20261029",
27
- "@opengeoweb/theme": "20.2.0-nightly-20261029",
28
- "@opengeoweb/webmap": "20.2.0-nightly-20261029",
29
- "@opengeoweb/webmap-react": "20.2.0-nightly-20261029",
22
+ "@opengeoweb/api": "21.0.0",
23
+ "@opengeoweb/authentication": "21.0.0",
24
+ "@opengeoweb/core": "21.0.0",
25
+ "@opengeoweb/shared": "21.0.0",
26
+ "@opengeoweb/snackbar": "21.0.0",
27
+ "@opengeoweb/store": "21.0.0",
28
+ "@opengeoweb/theme": "21.0.0",
29
+ "@opengeoweb/webmap": "21.0.0",
30
+ "@opengeoweb/webmap-react": "21.0.0",
30
31
  "@reduxjs/toolkit": "^2.6.1",
31
32
  "@tanstack/query-core": "^5.69.2",
32
33
  "@tanstack/react-query": "^5.85.5",