@pipecat-ai/react-native-daily-transport 0.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/README.md +95 -0
- package/lib/commonjs/index.js +21 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/transport.js +282 -0
- package/lib/commonjs/transport.js.map +1 -0
- package/lib/commonjs/types/@pipecat-ai/client-js/typeOverrides.d.js +132 -0
- package/lib/commonjs/types/@pipecat-ai/client-js/typeOverrides.d.js.map +1 -0
- package/lib/commonjs/view/VoiceClientVideoView.js +10 -0
- package/lib/commonjs/view/VoiceClientVideoView.js.map +1 -0
- package/lib/module/index.js +6 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/transport.js +276 -0
- package/lib/module/transport.js.map +1 -0
- package/lib/module/types/@pipecat-ai/client-js/typeOverrides.d.js +115 -0
- package/lib/module/types/@pipecat-ai/client-js/typeOverrides.d.js.map +1 -0
- package/lib/module/view/VoiceClientVideoView.js +6 -0
- package/lib/module/view/VoiceClientVideoView.js.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/src/__tests__/index.test.d.ts +1 -0
- package/lib/typescript/commonjs/src/__tests__/index.test.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts +4 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/transport.d.ts +49 -0
- package/lib/typescript/commonjs/src/transport.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/view/VoiceClientVideoView.d.ts +4 -0
- package/lib/typescript/commonjs/src/view/VoiceClientVideoView.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/src/__tests__/index.test.d.ts +1 -0
- package/lib/typescript/module/src/__tests__/index.test.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +4 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -0
- package/lib/typescript/module/src/transport.d.ts +49 -0
- package/lib/typescript/module/src/transport.d.ts.map +1 -0
- package/lib/typescript/module/src/view/VoiceClientVideoView.d.ts +4 -0
- package/lib/typescript/module/src/view/VoiceClientVideoView.d.ts.map +1 -0
- package/package.json +136 -0
package/package.json
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pipecat-ai/react-native-daily-transport",
|
|
3
|
+
"version": "0.3.1",
|
|
4
|
+
"license": "BSD-2-Clause",
|
|
5
|
+
"description": "React Native library for connecting to RTVI client using Daily",
|
|
6
|
+
"source": "./src/index.tsx",
|
|
7
|
+
"main": "./lib/commonjs/index.js",
|
|
8
|
+
"module": "./lib/module/index.js",
|
|
9
|
+
"types": "./lib/typescript/module/src/index.d.ts",
|
|
10
|
+
"files": [
|
|
11
|
+
"lib",
|
|
12
|
+
"package.json",
|
|
13
|
+
"README.md"
|
|
14
|
+
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"test": "jest",
|
|
17
|
+
"typecheck": "tsc",
|
|
18
|
+
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
19
|
+
"clean": "del-cli lib",
|
|
20
|
+
"prepare": "bob build",
|
|
21
|
+
"build": "bob build",
|
|
22
|
+
"tag": "scripts/tag",
|
|
23
|
+
"prepublishOnly": "npm run tag"
|
|
24
|
+
},
|
|
25
|
+
"keywords": [
|
|
26
|
+
"react-native",
|
|
27
|
+
"ios",
|
|
28
|
+
"android"
|
|
29
|
+
],
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "git+https://github.com/rtvi-ai/rtvi-client-react-native-daily.git"
|
|
33
|
+
},
|
|
34
|
+
"bugs": {
|
|
35
|
+
"url": "https://github.com/rtvi-ai/rtvi-client-react-native-daily/issues"
|
|
36
|
+
},
|
|
37
|
+
"homepage": "https://github.com/rtvi-ai/rtvi-client-react-native-daily#readme",
|
|
38
|
+
"publishConfig": {
|
|
39
|
+
"registry": "https://registry.npmjs.org/"
|
|
40
|
+
},
|
|
41
|
+
"resolutions": {
|
|
42
|
+
"@types/react": "18.0.38"
|
|
43
|
+
},
|
|
44
|
+
"jest": {
|
|
45
|
+
"preset": "react-native",
|
|
46
|
+
"modulePathIgnorePatterns": [
|
|
47
|
+
"<rootDir>/example/node_modules",
|
|
48
|
+
"<rootDir>/lib/"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"eslintConfig": {
|
|
52
|
+
"root": true,
|
|
53
|
+
"extends": [
|
|
54
|
+
"@react-native",
|
|
55
|
+
"prettier"
|
|
56
|
+
],
|
|
57
|
+
"rules": {
|
|
58
|
+
"react/react-in-jsx-scope": "off",
|
|
59
|
+
"prettier/prettier": [
|
|
60
|
+
"error",
|
|
61
|
+
{
|
|
62
|
+
"quoteProps": "consistent",
|
|
63
|
+
"singleQuote": true,
|
|
64
|
+
"tabWidth": 2,
|
|
65
|
+
"trailingComma": "es5",
|
|
66
|
+
"useTabs": false
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"eslintIgnore": [
|
|
72
|
+
"node_modules/",
|
|
73
|
+
"lib/"
|
|
74
|
+
],
|
|
75
|
+
"prettier": {
|
|
76
|
+
"quoteProps": "consistent",
|
|
77
|
+
"singleQuote": true,
|
|
78
|
+
"tabWidth": 2,
|
|
79
|
+
"trailingComma": "es5",
|
|
80
|
+
"useTabs": false
|
|
81
|
+
},
|
|
82
|
+
"react-native-builder-bob": {
|
|
83
|
+
"source": "src",
|
|
84
|
+
"output": "lib",
|
|
85
|
+
"targets": [
|
|
86
|
+
[
|
|
87
|
+
"commonjs",
|
|
88
|
+
{
|
|
89
|
+
"esm": true
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
[
|
|
93
|
+
"module",
|
|
94
|
+
{
|
|
95
|
+
"esm": true
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
[
|
|
99
|
+
"typescript",
|
|
100
|
+
{
|
|
101
|
+
"project": "tsconfig.build.json",
|
|
102
|
+
"esm": true
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
"dependencies": {
|
|
108
|
+
"@pipecat-ai/client-js": "^0.3.1"
|
|
109
|
+
},
|
|
110
|
+
"peerDependencies": {
|
|
111
|
+
"@daily-co/react-native-webrtc": "^118.0.3-daily.2",
|
|
112
|
+
"@daily-co/react-native-daily-js": "^0.70.0",
|
|
113
|
+
"@react-native-async-storage/async-storage": "^1.15.7",
|
|
114
|
+
"react-native-get-random-values": "^1.11.0",
|
|
115
|
+
"react-native-background-timer": "^2.3.1"
|
|
116
|
+
},
|
|
117
|
+
"devDependencies": {
|
|
118
|
+
"@daily-co/react-native-webrtc": "^118.0.3-daily.2",
|
|
119
|
+
"@daily-co/react-native-daily-js": "^0.68.0",
|
|
120
|
+
"@react-native-async-storage/async-storage": "^1.15.7",
|
|
121
|
+
"react-native-get-random-values": "^1.11.0",
|
|
122
|
+
"@types/base-64": "^1.0.2",
|
|
123
|
+
"react-native-background-timer": "^2.3.1",
|
|
124
|
+
"@react-native/eslint-config": "^0.73.1",
|
|
125
|
+
"@types/jest": "^29.5.5",
|
|
126
|
+
"@types/react": "18.0.38",
|
|
127
|
+
"del-cli": "^5.1.0",
|
|
128
|
+
"eslint": "^8.51.0",
|
|
129
|
+
"eslint-config-prettier": "^9.0.0",
|
|
130
|
+
"eslint-plugin-prettier": "^5.0.1",
|
|
131
|
+
"jest": "^29.7.0",
|
|
132
|
+
"prettier": "^3.0.3",
|
|
133
|
+
"react-native-builder-bob": "^0.30.2",
|
|
134
|
+
"typescript": "^5.3.3"
|
|
135
|
+
}
|
|
136
|
+
}
|