@geogirafe/lib-geoportal 1.1.0-dev.2402672760 → 1.1.0-dev.2407028282
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.
- package/package.json +1 -1
- package/service-worker.js +3 -2
- package/templates/public/about.json +1 -1
package/package.json
CHANGED
package/service-worker.js
CHANGED
|
@@ -60,8 +60,9 @@ function handleMessage(event) {
|
|
|
60
60
|
audience = data.audience ?? [];
|
|
61
61
|
log(`audience changed: ${audience}`);
|
|
62
62
|
}
|
|
63
|
+
audienceExcludedPaths = [];
|
|
63
64
|
if (data.audienceExcludedPaths) {
|
|
64
|
-
audienceExcludedPaths = data.audienceExcludedPaths
|
|
65
|
+
audienceExcludedPaths = data.audienceExcludedPaths.map((str) => new RegExp(str));
|
|
65
66
|
log(`audienceExcludedPaths changed: ${audienceExcludedPaths}`);
|
|
66
67
|
}
|
|
67
68
|
if (data.access_token) {
|
|
@@ -253,6 +254,6 @@ async function openIndexedDB() {
|
|
|
253
254
|
}
|
|
254
255
|
function log(str, error) {
|
|
255
256
|
if (logLevel === 'debug') {
|
|
256
|
-
console.debug(`SW: ${str}`, error);
|
|
257
|
+
console.debug(`SW: ${str}`, error ?? '');
|
|
257
258
|
}
|
|
258
259
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.1.0-dev.
|
|
1
|
+
{"version":"1.1.0-dev.2407028282", "build":"2407028282", "date":"25/03/2026"}
|