jsxc-react-hook 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -20,8 +20,17 @@
20
20
  marginRight?: string; (defalut is 40px)
21
21
  fullscreen?: boolean; (defalut is false)
22
22
  jqueryUrl?: string;
23
+ showMenu: "yes"|"no" (use boolean has bug in create-react-app)
23
24
 
24
25
  ```
26
+ ## api
27
+ ### origin api
28
+ can use jsxc native api in (windows as any).XX
29
+ ### new api
30
+ expose JID class.
31
+ add new ap method
32
+ ``` directOpenChatWindow(string jid) ```
33
+ it can open a chat window even the contact is not in roster list.
25
34
 
26
35
  ## script
27
36
  - npm run dev: it will run a demo.
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.1",
7
+ "version": "0.0.3",
8
8
  "respository": "https://github.com/narutogo/jsxc-react-hook",
9
9
  "type": "module",
10
10
  "types": "./dist/Jsxc.d.ts",