@aether-stack-dev/client-sdk 1.3.0 → 1.3.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/dist/__tests__/mocks/EXRLoader.d.ts +3 -0
- package/dist/__tests__/mocks/HDRLoader.d.ts +3 -0
- package/dist/__tests__/mocks/KTX2Loader.d.ts +5 -0
- package/dist/__tests__/mocks/isows.d.ts +19 -0
- package/dist/__tests__/mocks/react-jsx-runtime.d.ts +9 -0
- package/dist/__tests__/mocks/react.d.ts +18 -0
- package/dist/__tests__/setup.d.ts +8 -8
- package/dist/avatar/VRMAvatar.d.ts +3 -1
- package/dist/react.esm.js +117 -3175
- package/dist/react.js +117 -3174
- package/package.json +26 -17
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
export { WebSocket };
|
|
3
|
+
}
|
|
4
|
+
export default _default;
|
|
5
|
+
export function WebSocket(url: any, protocols: any): void;
|
|
6
|
+
export class WebSocket {
|
|
7
|
+
constructor(url: any, protocols: any);
|
|
8
|
+
url: any;
|
|
9
|
+
protocols: any;
|
|
10
|
+
readyState: number;
|
|
11
|
+
CONNECTING: number;
|
|
12
|
+
OPEN: number;
|
|
13
|
+
CLOSING: number;
|
|
14
|
+
CLOSED: number;
|
|
15
|
+
send(): void;
|
|
16
|
+
close(): void;
|
|
17
|
+
addEventListener(): void;
|
|
18
|
+
removeEventListener(): void;
|
|
19
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export const useState: any;
|
|
2
|
+
export const useEffect: any;
|
|
3
|
+
export const useRef: any;
|
|
4
|
+
export const useCallback: any;
|
|
5
|
+
export const useMemo: any;
|
|
6
|
+
export const useContext: any;
|
|
7
|
+
export const createContext: any;
|
|
8
|
+
export declare let __esModule: boolean;
|
|
9
|
+
declare namespace _default {
|
|
10
|
+
export { useState };
|
|
11
|
+
export { useEffect };
|
|
12
|
+
export { useRef };
|
|
13
|
+
export { useCallback };
|
|
14
|
+
export { useMemo };
|
|
15
|
+
export { useContext };
|
|
16
|
+
export { createContext };
|
|
17
|
+
}
|
|
18
|
+
export { _default as default };
|
|
@@ -5,10 +5,10 @@ declare const createMockAudioTrack: () => {
|
|
|
5
5
|
enabled: boolean;
|
|
6
6
|
muted: boolean;
|
|
7
7
|
readyState: string;
|
|
8
|
-
stop:
|
|
9
|
-
clone:
|
|
10
|
-
addEventListener:
|
|
11
|
-
removeEventListener:
|
|
8
|
+
stop: any;
|
|
9
|
+
clone: any;
|
|
10
|
+
addEventListener: any;
|
|
11
|
+
removeEventListener: any;
|
|
12
12
|
};
|
|
13
13
|
declare class MockMediaStream {
|
|
14
14
|
id: string;
|
|
@@ -32,10 +32,10 @@ declare const mockMediaStreamTrack: {
|
|
|
32
32
|
enabled: boolean;
|
|
33
33
|
muted: boolean;
|
|
34
34
|
readyState: string;
|
|
35
|
-
stop:
|
|
36
|
-
clone:
|
|
37
|
-
addEventListener:
|
|
38
|
-
removeEventListener:
|
|
35
|
+
stop: any;
|
|
36
|
+
clone: any;
|
|
37
|
+
addEventListener: any;
|
|
38
|
+
removeEventListener: any;
|
|
39
39
|
};
|
|
40
40
|
declare const MockMediaRecorder: any;
|
|
41
41
|
declare const MockWebSocket: any;
|
|
@@ -38,6 +38,8 @@ export interface VRMAvatarProps {
|
|
|
38
38
|
orbitElevation?: number;
|
|
39
39
|
avatarRotation?: number;
|
|
40
40
|
onOrbitChange?: (angle: number, elevation: number) => void;
|
|
41
|
+
cursorFollow?: boolean;
|
|
42
|
+
preserveDrawingBuffer?: boolean;
|
|
41
43
|
}
|
|
42
|
-
export declare function VRMAvatar({ blendshapes, width, height, modelUrl, backgroundColor, blendshapeMap, expressionOverrides, onModelLoad, maxModelSize, cameraPosition, cameraTarget, cameraFov, lightIntensity, idleAnimationUrl, animationSpeed, animationWeight, animationCrossfade, postProcessing, environmentUrl, environmentIntensity, environmentBlur, environmentZoom, onEnvironmentLoad, features, orbitAngle, orbitElevation, avatarRotation, onOrbitChange, }: VRMAvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
export declare function VRMAvatar({ blendshapes, width, height, modelUrl, backgroundColor, blendshapeMap, expressionOverrides, onModelLoad, maxModelSize, cameraPosition, cameraTarget, cameraFov, lightIntensity, idleAnimationUrl, animationSpeed, animationWeight, animationCrossfade, postProcessing, environmentUrl, environmentIntensity, environmentBlur, environmentZoom, onEnvironmentLoad, features, orbitAngle, orbitElevation, avatarRotation, onOrbitChange, cursorFollow, preserveDrawingBuffer, }: VRMAvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
43
45
|
export default VRMAvatar;
|