@thatopen/services 0.0.3 → 0.0.4

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 CHANGED
@@ -15,7 +15,7 @@
15
15
  "access": "public"
16
16
  },
17
17
  "private": false,
18
- "version": "0.0.3",
18
+ "version": "0.0.4",
19
19
  "main": "dist/index.cjs.js",
20
20
  "module": "dist/index.es.js",
21
21
  "types": "dist/index.d.ts",
@@ -2,6 +2,10 @@ import * as THREE from "three";
2
2
  import * as OBC from "@thatopen-platform/components-beta";
3
3
  import * as OBF from "@thatopen-platform/components-front-beta";
4
4
  import * as FRAGS from "@thatopen-platform/fragments-beta";
5
+ // Inlines the fragments worker so it runs inside the platform's sandboxed iframe
6
+ // (IIFE bundle: no import.meta, no cross-origin fetch). Opt-in — only apps that
7
+ // import this pay the worker's size.
8
+ import "@thatopen-platform/fragments-beta/inline";
5
9
  import * as BUI from "@thatopen/ui";
6
10
  import * as MARKERJS from "@markerjs/markerjs3"
7
11
  import {