@spatialwalk/avatarkit 1.0.0-beta.37 → 1.0.0-beta.38

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/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b, c, f, d, j, g, C, i, D, E, k, h, L, R, S, m } from "./index-DxIr4cus.js";
1
+ import { b, c, f, d, j, g, C, i, D, E, k, h, L, R, S, m } from "./index-CubTNa__.js";
2
2
  export {
3
3
  b as Avatar,
4
4
  c as AvatarController,
@@ -1,11 +1,11 @@
1
1
  import { Environment } from '../types';
2
2
 
3
- export declare function initializeCLS(environment: Environment, version: string): void;
4
-
5
- export declare function sendEventViaBeacon(event: string, level?: 'debug' | 'info' | 'warning' | 'error', contents?: Record<string, unknown>): boolean;
3
+ export declare function initializePostHog(environment: Environment, version: string): void;
6
4
 
7
5
  export declare function trackEvent(event: string, level?: 'debug' | 'info' | 'warning' | 'error', contents?: Record<string, unknown>): void;
8
6
 
9
- export declare function cleanupCLS(): void;
7
+ export declare function sendEventViaBeacon(event: string, level?: 'debug' | 'info' | 'warning' | 'error', contents?: Record<string, unknown>): boolean;
8
+
9
+ export declare function cleanupPostHog(): void;
10
10
 
11
11
  export declare function logEvent(event: string, level?: 'debug' | 'info' | 'warning' | 'error', contents?: Record<string, unknown>): void;
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.37",
4
+ "version": "1.0.0-beta.38",
5
5
  "packageManager": "pnpm@10.18.2",
6
6
  "description": "SPAvatar SDK - 3D Gaussian Splatting Avatar Rendering SDK",
7
7
  "author": "SPAvatar Team",
@@ -48,7 +48,8 @@
48
48
  "dependencies": {
49
49
  "@bufbuild/protobuf": "^2.10.0",
50
50
  "@guiiai/logg": "^1.2.4",
51
- "nanoid": "^5.1.6"
51
+ "nanoid": "^5.1.6",
52
+ "posthog-js": "^1.310.1"
52
53
  },
53
54
  "devDependencies": {
54
55
  "@types/node": "^20.11.30",