@3cr/viewer-browser 0.0.154 → 0.0.156
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/dist/Viewer3CR.js +15 -15
- package/dist/Viewer3CR.mjs +1680 -1685
- package/dist/Viewer3CR.umd.js +17 -17
- package/package.json +1 -1
- package/playground/sw.js +9 -2
- package/src/components/modal/MftpWebGL3DRModal.vue +5 -5
package/package.json
CHANGED
package/playground/sw.js
CHANGED
|
@@ -14,6 +14,12 @@ self.addEventListener("message", async (event) => {
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
self.addEventListener("fetch", (event) => {
|
|
17
|
+
if (
|
|
18
|
+
event.request.url.includes("statsigapi") ||
|
|
19
|
+
event.request.url.includes("featuregates")
|
|
20
|
+
) {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
17
23
|
event.respondWith(handleServerRequest(event.request));
|
|
18
24
|
});
|
|
19
25
|
|
|
@@ -34,7 +40,8 @@ async function handleServerRequest(request) {
|
|
|
34
40
|
// If not in cache, fetch from the network
|
|
35
41
|
const networkResponse = await fetch(request);
|
|
36
42
|
// Save the fetched response in the cache for future use
|
|
37
|
-
|
|
43
|
+
if (request.method === "GET")
|
|
44
|
+
await cache.put(request, networkResponse.clone());
|
|
45
|
+
|
|
38
46
|
return networkResponse; // Return the fetched response
|
|
39
47
|
}
|
|
40
|
-
async function abc() {}
|
|
@@ -456,11 +456,11 @@
|
|
|
456
456
|
payloadHandler.setPreset(PresetsActions.pr01, item.raw)
|
|
457
457
|
"
|
|
458
458
|
>
|
|
459
|
-
<template v-slot:prepend
|
|
460
|
-
<v-icon
|
|
461
|
-
:icon="getIconForPreset(item.raw.Name)"
|
|
462
|
-
></v-icon
|
|
463
|
-
</template
|
|
459
|
+
<!-- <template v-slot:prepend>-->
|
|
460
|
+
<!-- <v-icon-->
|
|
461
|
+
<!-- :icon="getIconForPreset(item.raw.Name)"-->
|
|
462
|
+
<!-- ></v-icon>-->
|
|
463
|
+
<!-- </template>-->
|
|
464
464
|
<template v-slot:subtitle>
|
|
465
465
|
Skin Density:
|
|
466
466
|
<span class="text-mono">{{ item.raw.Lower }}</span>
|