@vctrl/embed 0.24.1 → 0.25.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.25.0](https://github.com/Vectreal/vectreal-platform/compare/embed-v0.24.1...embed-v0.25.0) (2026-08-04)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **packages:** match repository.url org casing for npm provenance ([455caa9](https://github.com/Vectreal/vectreal-platform/commit/455caa927ff7a668ea2b6af6a633d9057d69f203))
9
+ * **packages:** match repository.url org casing for npm provenance ([7289fdc](https://github.com/Vectreal/vectreal-platform/commit/7289fdcbc5678588acccaf5b650d62a4d70a7e10))
10
+
3
11
  ## [0.24.1](https://github.com/Vectreal/vectreal-platform/compare/embed-v0.24.0...embed-v0.24.1) (2026-08-02)
4
12
 
5
13
 
package/README.md CHANGED
@@ -11,12 +11,19 @@ Framework-agnostic JavaScript SDK for controlling Vectreal embedded 3D scene pre
11
11
  npm install @vctrl/embed
12
12
  ```
13
13
 
14
- **CDN (UMD — no bundler needed):**
14
+ **CDN (UMD, no bundler needed):** the package ships a UMD build that any npm CDN can serve. Because the entry point uses named exports, the global is a namespace object and the class is `VectrealEmbed.VectrealEmbed`.
15
15
 
16
16
  ```html
17
- <script src="https://cdn.vectreal.com/embed/latest/vectreal-embed.umd.js"></script>
17
+ <script src="https://unpkg.com/@vctrl/embed/vectreal-embed.umd.js"></script>
18
+ <script>
19
+ const embed = new VectrealEmbed.VectrealEmbed(
20
+ document.getElementById('vectreal-scene')
21
+ )
22
+ </script>
18
23
  ```
19
24
 
25
+ For production, pin a version (`@vctrl/embed@<version>`) and add a [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) hash for it.
26
+
20
27
  ## Quick start
21
28
 
22
29
  ```html
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.24.1",
2
+ "version": "0.25.0",
3
3
  "name": "@vctrl/embed",
4
4
  "description": "Framework-agnostic JavaScript SDK for controlling Vectreal embedded 3D scene previews via postMessage.",
5
5
  "bugs": {