jsxc-react-hook 0.0.5 → 0.0.7

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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "main": "./dist/jsxc-react-hook.js",
5
5
  "description": " This is a react function version for JSXC. So you can use it in react application.",
6
6
  "keywords": "jsxc xmpp react-hooks ",
7
- "version": "0.0.5",
7
+ "version": "0.0.7",
8
8
  "respository": "https://github.com/narutogo/jsxc-react-hook",
9
9
  "type": "module",
10
10
  "types": "./dist/Jsxc.d.ts",
@@ -15,9 +15,9 @@
15
15
  "preview": "vite preview"
16
16
  },
17
17
  "dependencies": {
18
- "react": "^18.2.0",
18
+ "react": "^19.1.0",
19
19
  "react-activation": "^0.12.4",
20
- "react-dom": "^18.2.0",
20
+ "react-dom": "^19.1.0",
21
21
  "vite-plugin-libcss": "^1.1.1"
22
22
  },
23
23
  "devDependencies": {
package/src/Sel.tsx CHANGED
@@ -11,8 +11,8 @@ export default function Sel() {
11
11
  }
12
12
  }>
13
13
  {sel &&
14
- <Jsxc boshUrl = 'https://localhost:5443/bosh' fullscreen={true}
15
- id= 'user1@localhost' pw='987654'
14
+ <Jsxc boshUrl = 'http://localhost:3001/api/xmpp/bosh' fullscreen={true}
15
+ id="81205653@miwang.net.cn" pw="d5dc8d0e28"
16
16
  showMenu={'yes'} showAudioButton={'no'} showVideoButton={'yes'}
17
17
  showOfflineButton='yes'
18
18
  />