@rqmii_immersive/agent-react-sdk 1.0.12 → 2.0.0
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/{rqmii-react-agent-sdk.js → RqmiiCloudAvatarPlayer-BnsY8xIR.js} +5619 -5656
- package/dist/RqmiiCloudAvatarPlayer-BnsY8xIR.js.map +1 -0
- package/dist/RqmiiCloudAvatarPlayer-lqCz2xlU.cjs +2938 -0
- package/dist/RqmiiCloudAvatarPlayer-lqCz2xlU.cjs.map +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.js +23 -0
- package/dist/index.js.map +1 -0
- package/dist/ui.cjs +2 -0
- package/dist/ui.cjs.map +1 -0
- package/dist/ui.d.ts +10 -0
- package/dist/ui.js +7 -0
- package/dist/ui.js.map +1 -0
- package/package.json +18 -10
- package/dist/rqmii-react-agent-sdk.cjs +0 -2938
- package/dist/rqmii-react-agent-sdk.cjs.map +0 -1
- package/dist/rqmii-react-agent-sdk.js.map +0 -1
- /package/dist/{rqmii-react-agent-sdk.css → agent-react-sdk.css} +0 -0
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./RqmiiCloudAvatarPlayer-lqCz2xlU.cjs");exports.AGENT_TYPES=i.AGENT_TYPES;exports.CLOUD_STREAM_STATE=i.CLOUD_STREAM_STATE;exports.CONNECTION_STATE=i.CONNECTION_STATE;exports.EpicPixelStreamingPlayer=i.EpicPixelStreamingPlayer;exports.RqmiiAgentProvider=i.RqmiiAgentProvider;exports.RqmiiAgentRoom=i.RqmiiAgentRoom;exports.RqmiiCloudAvatarPlayer=i.RqmiiCloudAvatarPlayer;exports.SESSION_STATE=i.SESSION_STATE;exports.SOCKET_EVENTS=i.SOCKET_EVENTS;exports.useRqmiiAgent=i.useRqmiiAgent;exports.useRqmiiAgentContext=i.useRqmiiAgentContext;exports.useRqmiiAudioElement=i.useRqmiiAudioElement;exports.useRqmiiAvatar=i.useRqmiiAvatar;exports.useRqmiiConnection=i.useRqmiiConnection;exports.useRqmiiMessages=i.useRqmiiMessages;exports.useRqmiiPressToTalk=i.useRqmiiPressToTalk;exports.useRqmiiSessionState=i.useRqmiiSessionState;exports.useRqmiiVAD=i.useRqmiiVAD;exports.useRqmiiVoice=i.useRqmiiVoice;
|
|
2
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { A as e, C as a, a as m, E as R, R as t, b as A, c as E, S, d as T, u as o, e as q, f as u, g as n, h as r, i as C, j as g, k as l, l as N, m as P } from "./RqmiiCloudAvatarPlayer-BnsY8xIR.js";
|
|
2
|
+
export {
|
|
3
|
+
e as AGENT_TYPES,
|
|
4
|
+
a as CLOUD_STREAM_STATE,
|
|
5
|
+
m as CONNECTION_STATE,
|
|
6
|
+
R as EpicPixelStreamingPlayer,
|
|
7
|
+
t as RqmiiAgentProvider,
|
|
8
|
+
A as RqmiiAgentRoom,
|
|
9
|
+
E as RqmiiCloudAvatarPlayer,
|
|
10
|
+
S as SESSION_STATE,
|
|
11
|
+
T as SOCKET_EVENTS,
|
|
12
|
+
o as useRqmiiAgent,
|
|
13
|
+
q as useRqmiiAgentContext,
|
|
14
|
+
u as useRqmiiAudioElement,
|
|
15
|
+
n as useRqmiiAvatar,
|
|
16
|
+
r as useRqmiiConnection,
|
|
17
|
+
C as useRqmiiMessages,
|
|
18
|
+
g as useRqmiiPressToTalk,
|
|
19
|
+
l as useRqmiiSessionState,
|
|
20
|
+
N as useRqmiiVAD,
|
|
21
|
+
P as useRqmiiVoice
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/ui.cjs
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./RqmiiCloudAvatarPlayer-lqCz2xlU.cjs");exports.EpicPixelStreamingPlayer=e.EpicPixelStreamingPlayer;exports.RqmiiAgentRoom=e.RqmiiAgentRoom;exports.RqmiiCloudAvatarPlayer=e.RqmiiCloudAvatarPlayer;
|
|
2
|
+
//# sourceMappingURL=ui.cjs.map
|
package/dist/ui.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/ui.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type {
|
|
3
|
+
RqmiiAgentRoomProps,
|
|
4
|
+
RqmiiCloudAvatarPlayerProps,
|
|
5
|
+
EpicPixelStreamingPlayerProps,
|
|
6
|
+
} from './index';
|
|
7
|
+
|
|
8
|
+
export function RqmiiAgentRoom(props: RqmiiAgentRoomProps): React.JSX.Element;
|
|
9
|
+
export function RqmiiCloudAvatarPlayer(props: RqmiiCloudAvatarPlayerProps): React.JSX.Element | null;
|
|
10
|
+
export const EpicPixelStreamingPlayer: React.ComponentType<EpicPixelStreamingPlayerProps>;
|
package/dist/ui.js
ADDED
package/dist/ui.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/package.json
CHANGED
|
@@ -1,41 +1,49 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rqmii_immersive/agent-react-sdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Standalone React SDK for Rqmii Agent realtime sessions",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./dist/
|
|
7
|
-
"module": "./dist/
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
11
|
"types": "./dist/index.d.ts",
|
|
12
|
-
"import": "./dist/
|
|
13
|
-
"require": "./dist/
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
14
|
},
|
|
15
|
-
"./
|
|
15
|
+
"./ui": {
|
|
16
|
+
"types": "./dist/ui.d.ts",
|
|
17
|
+
"import": "./dist/ui.js",
|
|
18
|
+
"require": "./dist/ui.cjs"
|
|
19
|
+
},
|
|
20
|
+
"./style.css": "./dist/agent-react-sdk.css"
|
|
16
21
|
},
|
|
17
22
|
"files": [
|
|
18
23
|
"dist"
|
|
19
24
|
],
|
|
20
25
|
"scripts": {
|
|
21
26
|
"build": "vite build && npm run build:types",
|
|
22
|
-
"build:types": "mkdir -p dist && cp src/types/index.d.ts dist/index.d.ts",
|
|
27
|
+
"build:types": "mkdir -p dist && cp src/types/index.d.ts dist/index.d.ts && cp src/types/ui.d.ts dist/ui.d.ts",
|
|
23
28
|
"dev": "vite build --watch",
|
|
24
|
-
"prepublishOnly": "npm run build"
|
|
29
|
+
"prepublishOnly": "npm run build",
|
|
30
|
+
"test": "vitest --run"
|
|
25
31
|
},
|
|
26
32
|
"peerDependencies": {
|
|
27
33
|
"react": ">=18",
|
|
28
34
|
"react-dom": ">=18"
|
|
29
35
|
},
|
|
30
36
|
"dependencies": {
|
|
31
|
-
"@ricky0123/vad-react": "^0.0.36",
|
|
32
37
|
"@epicgames-ps/lib-pixelstreamingfrontend-ue5.4": "^1.1.6",
|
|
38
|
+
"@ricky0123/vad-react": "^0.0.36",
|
|
33
39
|
"pcm-stream-player": "^1.0.1",
|
|
34
40
|
"socket.io-client": "^4.8.1"
|
|
35
41
|
},
|
|
36
42
|
"devDependencies": {
|
|
37
43
|
"@vitejs/plugin-react": "^4.4.1",
|
|
38
|
-
"
|
|
44
|
+
"fast-check": "^4.7.0",
|
|
45
|
+
"vite": "^6.4.1",
|
|
46
|
+
"vitest": "^4.1.4"
|
|
39
47
|
},
|
|
40
48
|
"publishConfig": {
|
|
41
49
|
"access": "public"
|