@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.
Files changed (36) hide show
  1. package/README.md +95 -0
  2. package/lib/commonjs/index.js +21 -0
  3. package/lib/commonjs/index.js.map +1 -0
  4. package/lib/commonjs/transport.js +282 -0
  5. package/lib/commonjs/transport.js.map +1 -0
  6. package/lib/commonjs/types/@pipecat-ai/client-js/typeOverrides.d.js +132 -0
  7. package/lib/commonjs/types/@pipecat-ai/client-js/typeOverrides.d.js.map +1 -0
  8. package/lib/commonjs/view/VoiceClientVideoView.js +10 -0
  9. package/lib/commonjs/view/VoiceClientVideoView.js.map +1 -0
  10. package/lib/module/index.js +6 -0
  11. package/lib/module/index.js.map +1 -0
  12. package/lib/module/transport.js +276 -0
  13. package/lib/module/transport.js.map +1 -0
  14. package/lib/module/types/@pipecat-ai/client-js/typeOverrides.d.js +115 -0
  15. package/lib/module/types/@pipecat-ai/client-js/typeOverrides.d.js.map +1 -0
  16. package/lib/module/view/VoiceClientVideoView.js +6 -0
  17. package/lib/module/view/VoiceClientVideoView.js.map +1 -0
  18. package/lib/typescript/commonjs/package.json +1 -0
  19. package/lib/typescript/commonjs/src/__tests__/index.test.d.ts +1 -0
  20. package/lib/typescript/commonjs/src/__tests__/index.test.d.ts.map +1 -0
  21. package/lib/typescript/commonjs/src/index.d.ts +4 -0
  22. package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
  23. package/lib/typescript/commonjs/src/transport.d.ts +49 -0
  24. package/lib/typescript/commonjs/src/transport.d.ts.map +1 -0
  25. package/lib/typescript/commonjs/src/view/VoiceClientVideoView.d.ts +4 -0
  26. package/lib/typescript/commonjs/src/view/VoiceClientVideoView.d.ts.map +1 -0
  27. package/lib/typescript/module/package.json +1 -0
  28. package/lib/typescript/module/src/__tests__/index.test.d.ts +1 -0
  29. package/lib/typescript/module/src/__tests__/index.test.d.ts.map +1 -0
  30. package/lib/typescript/module/src/index.d.ts +4 -0
  31. package/lib/typescript/module/src/index.d.ts.map +1 -0
  32. package/lib/typescript/module/src/transport.d.ts +49 -0
  33. package/lib/typescript/module/src/transport.d.ts.map +1 -0
  34. package/lib/typescript/module/src/view/VoiceClientVideoView.d.ts +4 -0
  35. package/lib/typescript/module/src/view/VoiceClientVideoView.d.ts.map +1 -0
  36. 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
+ }