@spatius/avatarkit 1.3.4 → 1.3.5
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 +7 -0
- package/dist/assets/{OpusDecoderWorker.worker-BAd4MYA3.js → OpusDecoderWorker.worker-BTHlnzwA.js} +8890 -3
- package/dist/assets/{OpusEncoderWorker.worker-DdhFHkno.js → OpusEncoderWorker.worker-DB_Lvnzc.js} +8890 -3
- package/dist/core/AvatarController.d.ts +17 -0
- package/dist/core/sdk-ref.d.ts +1 -0
- package/dist/index.js +46299 -679
- package/dist/internal-telemetry.d.ts +20 -1
- package/dist/internal-telemetry.js +29 -5
- package/dist/{logger-B_tTFAYq.js → otel-trace-CdspSqI0.js} +5121 -120
- package/dist/{assets/rolldown-runtime-B-1-B7_t.js → rolldown-runtime-FDOR9p9I.js} +1 -10
- package/package.json +1 -1
- package/dist/AvatarDownloader-CavxMpAz.js +0 -569
- package/dist/AvatarSDK-BMjjoYiZ.js +0 -4400
- package/dist/OpusCodec-Cib3mtQ2.js +0 -41760
- package/dist/OpusDecoderProxy-Dz21UtCz.js +0 -142
- package/dist/OpusEncoderProxy-BiX90p4q.js +0 -170
- package/dist/StreamingAudioPlayer-D5_x6veD.js +0 -561
- package/dist/assets/AvatarDownloader-DkReeoUZ.js +0 -797
- package/dist/assets/AvatarSDK-DX8_-oyi.js +0 -6723
- package/dist/assets/avatar_core_wasm-wdep7Ict.js +0 -2536
- package/dist/assets/logger-__jZD7QG.js +0 -15542
- package/dist/error-utils-B76Nf6d6.js +0 -85
- package/dist/otel-trace-DmmQrXv-.js +0 -2611
- package/dist/pwa-cache-manager-BxeZI1BU.js +0 -151
- package/dist/rolldown-runtime-B-1-B7_t.js +0 -33
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.3.5] - 2026-08-12
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **`initialize` no longer fails with `Cannot destructure property 'AvatarDownloader'` in production builds.** The SDK loaded several of its own modules dynamically, which the bundler compiled into a form that only resolves while those modules stay in separate chunks. Whether they do is decided by the *consuming* application's bundler, which merges them once a project grows past a certain size — so the same SDK build worked in development and in small projects, then broke on `vite build` in larger ones. Affects 1.3.1 through 1.3.5-beta.1; upgrading is the fix, no integration changes are needed.
|
|
12
|
+
- Internal telemetry only, no change to public API or runtime behaviour: the avatar-loading and connection timings the SDK reports are now sent for failed attempts as well, each tagged with what went wrong. They were previously only sent on success, so the data could not tell a healthy integration apart from one where every load was failing. HTTP status codes alone could not fill the gap — a request that returns 200 and then fails to parse, or a WebSocket that is refused after the handshake, has no failing status code to report.
|
|
13
|
+
- Internal telemetry only, no change to public API or runtime behaviour: motion data received in host mode now continues the trace started upstream, so one round of playback reads as a single trace end to end instead of two unrelated ones.
|
|
14
|
+
|
|
8
15
|
## [1.3.4] - 2026-08-11
|
|
9
16
|
|
|
10
17
|
### Fixed
|