@spatialwalk/avatarkit 1.0.0-beta.38 → 1.0.0-beta.39
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
|
@@ -5,6 +5,11 @@ 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.0.0-beta.39] - 2025-12-27
|
|
9
|
+
|
|
10
|
+
### 🔧 Improvements
|
|
11
|
+
- Filter localhost domain from telemetry reporting to avoid test data pollution
|
|
12
|
+
|
|
8
13
|
## [1.0.0-beta.38] - 2025-12-27
|
|
9
14
|
|
|
10
15
|
### 🔄 Breaking Changes
|
|
@@ -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, e as errorToMessage, l as logEvent, a as logger } from "./index-
|
|
4
|
+
import { A as APP_CONFIG, e as errorToMessage, l as logEvent, a as logger } from "./index-BJ9Cdos-.js";
|
|
5
5
|
class StreamingAudioPlayer {
|
|
6
6
|
constructor(options) {
|
|
7
7
|
__publicField(this, "audioContext", null);
|
|
@@ -7372,6 +7372,7 @@ const idManager = new IdManager();
|
|
|
7372
7372
|
let sdkVersion = "1.0.0";
|
|
7373
7373
|
let currentEnvironment = null;
|
|
7374
7374
|
let isInitialized = false;
|
|
7375
|
+
const FILTERED_HOSTNAMES = ["localhost", "127.0.0.1", "0.0.0.0"];
|
|
7375
7376
|
function initializePostHog(environment, version) {
|
|
7376
7377
|
if (isInitialized) {
|
|
7377
7378
|
logger.log("[PostHog] Already initialized, skipping");
|
|
@@ -7414,6 +7415,12 @@ function initializePostHog(environment, version) {
|
|
|
7414
7415
|
}
|
|
7415
7416
|
}
|
|
7416
7417
|
function trackEvent(event, level = "info", contents = {}) {
|
|
7418
|
+
if (typeof window !== "undefined") {
|
|
7419
|
+
const hostname = window.location.hostname;
|
|
7420
|
+
if (FILTERED_HOSTNAMES.includes(hostname)) {
|
|
7421
|
+
return;
|
|
7422
|
+
}
|
|
7423
|
+
}
|
|
7417
7424
|
if (typeof Vo === "undefined") {
|
|
7418
7425
|
return;
|
|
7419
7426
|
}
|
|
@@ -7533,7 +7540,7 @@ const _AnimationPlayer = class _AnimationPlayer {
|
|
|
7533
7540
|
if (this.streamingPlayer) {
|
|
7534
7541
|
return;
|
|
7535
7542
|
}
|
|
7536
|
-
const { StreamingAudioPlayer } = await import("./StreamingAudioPlayer-
|
|
7543
|
+
const { StreamingAudioPlayer } = await import("./StreamingAudioPlayer-BD-LSSrW.js");
|
|
7537
7544
|
const { AvatarSDK: AvatarSDK2 } = await Promise.resolve().then(() => AvatarSDK$1);
|
|
7538
7545
|
const audioFormat = AvatarSDK2.getAudioFormat();
|
|
7539
7546
|
this.streamingPlayer = new StreamingAudioPlayer({
|
|
@@ -8947,7 +8954,7 @@ class AvatarSDK {
|
|
|
8947
8954
|
}
|
|
8948
8955
|
__publicField(AvatarSDK, "_isInitialized", false);
|
|
8949
8956
|
__publicField(AvatarSDK, "_configuration", null);
|
|
8950
|
-
__publicField(AvatarSDK, "_version", "1.0.0-beta.
|
|
8957
|
+
__publicField(AvatarSDK, "_version", "1.0.0-beta.39");
|
|
8951
8958
|
__publicField(AvatarSDK, "_avatarCore", null);
|
|
8952
8959
|
__publicField(AvatarSDK, "_dynamicSdkConfig", null);
|
|
8953
8960
|
const AvatarSDK$1 = Object.freeze(Object.defineProperty({
|
package/dist/index.js
CHANGED
package/package.json
CHANGED