@spatialwalk/avatarkit 1.0.0-beta.74 → 1.0.0-beta.75

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.
@@ -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-CXzGTmFB.js";
4
+ import { A as APP_CONFIG, l as logger, e as errorToMessage, a as logEvent } from "./index-DktjmkwV.js";
5
5
  class StreamingAudioPlayer {
6
6
  // Mark if AudioContext is being resumed, avoid concurrent resume requests
7
7
  constructor(options) {
@@ -8243,7 +8243,7 @@ const _AnimationPlayer = class _AnimationPlayer {
8243
8243
  if (this.streamingPlayer) {
8244
8244
  return;
8245
8245
  }
8246
- const { StreamingAudioPlayer } = await import("./StreamingAudioPlayer-BDIgU70Y.js");
8246
+ const { StreamingAudioPlayer } = await import("./StreamingAudioPlayer-8jk86K8D.js");
8247
8247
  const { AvatarSDK: AvatarSDK2 } = await Promise.resolve().then(() => AvatarSDK$1);
8248
8248
  const audioFormat = AvatarSDK2.getAudioFormat();
8249
8249
  this.streamingPlayer = new StreamingAudioPlayer({
@@ -9936,7 +9936,7 @@ class AvatarSDK {
9936
9936
  }
9937
9937
  __publicField(AvatarSDK, "_isInitialized", false);
9938
9938
  __publicField(AvatarSDK, "_configuration", null);
9939
- __publicField(AvatarSDK, "_version", "1.0.0-beta.74");
9939
+ __publicField(AvatarSDK, "_version", "1.0.0-beta.75");
9940
9940
  __publicField(AvatarSDK, "_avatarCore", null);
9941
9941
  __publicField(AvatarSDK, "_dynamicSdkConfig", null);
9942
9942
  const AvatarSDK$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -16703,8 +16703,8 @@ class AvatarView {
16703
16703
  if (to2) {
16704
16704
  toFrame = this.avatarController.applyPostProcessingToFlame(to2);
16705
16705
  } else {
16706
- const idleFirstParams = await avatarCore.getCurrentFrameParams(0, this.characterId);
16707
- toFrame = convertWasmParamsToProtoFlame(idleFirstParams);
16706
+ const idleParams = await avatarCore.getCurrentFrameParams(this.idleCurrentFrameIndex, this.characterId);
16707
+ toFrame = convertWasmParamsToProtoFlame(idleParams);
16708
16708
  }
16709
16709
  const aligned = this.alignFlamePair(fromFrame, toFrame);
16710
16710
  const alignedFrom = aligned.from;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b, c, m, f, d, j, g, C, i, D, E, k, h, L, R, n } from "./index-CXzGTmFB.js";
1
+ import { b, c, m, f, d, j, g, C, i, D, E, k, h, L, R, n } from "./index-DktjmkwV.js";
2
2
  export {
3
3
  b as Avatar,
4
4
  c as AvatarController,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spatialwalk/avatarkit",
3
3
  "type": "module",
4
- "version": "1.0.0-beta.74",
4
+ "version": "1.0.0-beta.75",
5
5
  "description": "AvatarKit SDK - 3D Gaussian Splatting Avatar Rendering SDK",
6
6
  "author": "AvatarKit Team",
7
7
  "license": "MIT",