@spatialwalk/avatarkit 1.0.0-beta.66 → 1.0.0-beta.68

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
@@ -2,12 +2,29 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- ## [1.0.0-beta.66] - 2026-01-14
5
+ ## [1.0.0-beta.68] - 2026-01-17
6
+
7
+ ### 🐛 Bugfixes
8
+ - **Vite Plugin WASM File Detection** - Fixed Vite plugin not finding WASM files with hash in consuming projects
9
+ - Plugin now reads JS glue file to extract referenced WASM filename (including hash)
10
+ - Ensures correct WASM file is copied to match JS glue file references
11
+ - Prevents 404 errors when WASM files have content-based hashes
12
+ - Fixes issue where `avatar_core_wasm.wasm` was not found after adding hash support
13
+
14
+ ## [1.0.0-beta.67] - 2026-01-17
15
+
16
+ ### 🐛 Bugfixes
17
+ - **WASM File Hash Support** - Fixed critical issue where WASM files were not being hashed during SDK build
18
+ - WASM files now automatically get content-based hash (e.g., `avatar_core_wasm-{hash}.wasm`)
19
+ - JS glue files are automatically updated to reference the hashed WASM filename
20
+ - Prevents browser cache issues when WASM files are updated
21
+ - Ensures proper version management and cache invalidation
6
22
 
7
23
  ### 🔧 Improvements
8
- - **Template Cache Version Update** - Updated template resource cache version from 1.0.0 to 1.0.1 to invalidate old cache after WASM module update
9
- - Ensures users get updated template resources compatible with the new WASM module
10
- - Fixes "offset is out of bounds" errors caused by incompatible cached template resources
24
+ - **Build Process** - Enhanced SDK build process to automatically handle WASM file hashing
25
+ - Hash is calculated based on WASM file content (SHA256, first 8 characters)
26
+ - Build logs now show hash generation progress
27
+ - Compatible with existing Vite plugin for consuming projects
11
28
 
12
29
  ## [1.0.0-beta.65] - 2026-01-14
13
30
 
@@ -18,11 +35,6 @@ All notable changes to this project will be documented in this file.
18
35
  - Reset `currentPlayingFrame` to `null` when entering Idle state
19
36
  - Ensures each transition starts from the correct current frame by re-fetching the current state frame when needed
20
37
 
21
- ### 🔧 Improvements
22
- - **Template Cache Version Update** - Updated template resource cache version from 1.0.0 to 1.0.1 to invalidate old cache after WASM module update
23
- - Ensures users get updated template resources compatible with the new WASM module
24
- - Fixes "offset is out of bounds" errors caused by incompatible cached template resources
25
-
26
38
  ## [1.0.0-beta.64] - 2026-01-14
27
39
 
28
40
  ### ✨ New Features
@@ -1,7 +1,7 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- import { A as APP_CONFIG, l as logger, e as errorToMessage, a as logEvent } from "./index-zj_wtoEC.js";
4
+ import { A as APP_CONFIG, l as logger, e as errorToMessage, a as logEvent } from "./index-CF8Fvg7k.js";
5
5
  class StreamingAudioPlayer {
6
6
  constructor(options) {
7
7
  __publicField(this, "audioContext", null);