@spatius/avatarkit 1.2.0 → 1.3.1-beta.1
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 +26 -0
- package/README.md +8 -953
- package/dist/{StreamingAudioPlayer-a3vy2ZId.js → StreamingAudioPlayer-BQawYU25.js} +1 -1
- package/dist/{avatar_core_wasm-bd762669.wasm → avatar_core_wasm-36bf5449.wasm} +0 -0
- package/dist/avatar_core_wasm-BIbE25D3.js +2697 -0
- package/dist/index-C54v6mHz.js +22081 -0
- package/dist/index.js +9 -8
- package/dist/types/character.d.ts +5 -0
- package/dist/types/index.d.ts +2 -0
- package/package.json +4 -4
- package/dist/avatar_core_wasm-CQbUl6zN.js +0 -2696
- package/dist/index-CZsHxG4F.js +0 -21716
package/CHANGELOG.md
CHANGED
|
@@ -5,11 +5,37 @@ 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.1-beta.1] - 2026-07-16
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- The `region` configuration now defaults to automatic selection: when left unset, the SDK picks the closest serving region at initialization. Passing an explicit `region` continues to force that region, unchanged. If automatic selection can't be reached, the SDK falls back to a default region and continues initializing.
|
|
12
|
+
|
|
13
|
+
## [1.3.0] - 2026-07-04
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
- Avatars are now automatically classified as body-fixation or non-body-fixation and loaded on the matching path, driven by the asset's `compatibility_flags`.
|
|
17
|
+
- `ErrorCode.unsupportedAvatarAsset`. When loading an avatar whose asset requires a newer SDK, the load now fails fast with this error (surfaced via the existing `AvatarError` / `onError` path) instead of rendering incorrectly, prompting an SDK upgrade.
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
- The shared template is now gzip-compressed, reducing its CDN size from 43 MB to 29 MB. It is decompressed transparently and is byte-for-byte identical to the original.
|
|
21
|
+
- The npm package license changed from MIT to UNLICENSED.
|
|
22
|
+
|
|
23
|
+
## [1.2.0-beta.4] - 2026-06-28
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
- Avatars without body-fixation support no longer render a malformed body. Such avatars now correctly render the head only, matching pre-1.2.0-beta.3 behavior. Body-fixation avatars are unaffected.
|
|
27
|
+
- Fixed the opening transition being dropped and a brief stutter at the start of the second and subsequent turns in a continuous conversation.
|
|
28
|
+
|
|
8
29
|
## [1.2.0] - 2026-06-28
|
|
9
30
|
|
|
10
31
|
### Fixed
|
|
11
32
|
- Fixed the opening transition being dropped and a brief stutter at the start of the second and subsequent turns in a continuous conversation.
|
|
12
33
|
|
|
34
|
+
## [1.2.0-beta.3] - 2026-06-25
|
|
35
|
+
|
|
36
|
+
### Added
|
|
37
|
+
- New `ErrorCode.unsupportedAvatarAsset`. When loading an avatar whose asset requires a newer SDK, the load now fails fast with this error (surfaced via the existing `AvatarError` / `onError` path) instead of rendering incorrectly, prompting an SDK upgrade.
|
|
38
|
+
|
|
13
39
|
## [1.2.0-beta.2] - 2026-06-23
|
|
14
40
|
|
|
15
41
|
### Removed
|