New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

chatux

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chatux - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

dist/chatux.min.js

8

package.json
{
"name": "chatux",
"version": "1.0.0",
"version": "1.0.1",
"description": "",

@@ -17,8 +17,8 @@ "main": "index.js",

"type": "git",
"url": "git+https://github.com/riversun/chat-kit.git"
"url": "git+https://github.com/riversun/chatux.git"
},
"bugs": {
"url": "https://github.com/riversun/chat-kit/issues"
"url": "https://github.com/riversun/chatux/issues"
},
"homepage": "https://github.com/riversun/chat-kit#readme",
"homepage": "https://github.com/riversun/chatux#readme",
"devDependencies": {

@@ -25,0 +25,0 @@ "@babel/core": "^7.1.5",

# Overview
'chat-kit' is a library that allows you to easily create chat windows on your PC or mobile
'chatux' is a library that allows you to easily create chat windows on your PC or mobile
It is licensed under [MIT](https://opensource.org/licenses/MIT) license.
### What is '**chat-kit**' like?
### What is '**chatux**' like?
It is an independent and lightweight chat user interface (chat UI) library for javascript.

@@ -14,3 +14,3 @@

# DEMO
https://riversun.github.io/chatkit/
https://riversun.github.io/chatux/

@@ -24,3 +24,3 @@ # How to use

<head>
<title>chat-kit example</title>
<title>chatux example</title>
<meta charset="utf-8">

@@ -31,10 +31,9 @@ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

<div style="padding:40px">
<h1>chat-kit example</h1>
<h1>chatux example</h1>
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
<script src="chat-kit.min.js"></script>
<script src="https://riversun.github.io/chatux/chatux.min.js"></script>
<script>
const chatkit = new ChatKit();
const chatux = new ChatUx();

@@ -52,3 +51,3 @@ const opt = {

title: 'My chat',
infoUrl: 'https://github.com/riversun/chat-kit'
infoUrl: 'https://github.com/riversun/chatux'
}

@@ -58,12 +57,10 @@ };

//initialize
chatkit.init(opt);
chatkit.start(true);
chatux.init(opt);
chatux.start(true);
</script>
</body>
</html>
```

@@ -73,6 +70,7 @@

## install
### using npm
```
npm install chat-kit --save
npm install chatux --save
```

@@ -83,3 +81,3 @@

```
<script src="https://riversun.github.io/chatkit/chat-kit.min.js"></script>
<script src="https://riversun.github.io/chatux/chatux.min.js"></script>
```
import {JSFrame} from 'jsframe';
import {isMobileDevice} from './chat-kit-util.js';
import {isMobileDevice} from './chat-ux-util.js';

@@ -157,5 +157,5 @@ /**

if (this.renderMode === 'mobile') {
showChatBtn.className = 'chatkit-btn-chat';
showChatBtn.className = 'chatux-btn-chat';
} else {
showChatBtn.className = 'chatkit-btn-chat chatkit-btn-chat-pc';
showChatBtn.className = 'chatux-btn-chat chatux-btn-chat-pc';
}

@@ -243,3 +243,3 @@

if (this.chatAreaEle) {
this.chatAreaEle.classList.replace('chatkit-scrn-off', 'chatkit-scrn-on');
this.chatAreaEle.classList.replace('chatux-scrn-off', 'chatux-scrn-on');
}

@@ -282,3 +282,3 @@

if (this.chatAreaEle) {
this.chatAreaEle.classList.replace('chatkit-scrn-on', 'chatkit-scrn-off');
this.chatAreaEle.classList.replace('chatux-scrn-on', 'chatux-scrn-off');
}

@@ -321,5 +321,5 @@

if (isVisible) {
chatButton.classList.add('chatkit-btn-on');
chatButton.classList.add('chatux-btn-on');
} else {
chatButton.classList.remove('chatkit-btn-on');
chatButton.classList.remove('chatux-btn-on');

@@ -348,3 +348,3 @@ }

this.chatAreaEle.style.display = 'flex';
this.chatAreaEle.classList.add('chatkit-scrn-off');
this.chatAreaEle.classList.add('chatux-scrn-off');
this.chatAreaEle.innerHTML = this.getBotUiInnterHtml();

@@ -351,0 +351,0 @@

@@ -1,1 +0,1 @@

export { default as ChatKit } from './chat-kit.js';
export { default as ChatUx } from './chat-ux.js';

@@ -20,3 +20,3 @@ const packageJson = require('./package.json');

},
entry: {'chat-kit': './src/index.js'},
entry: {'chatux': './src/index.js'},
output: {

@@ -23,0 +23,0 @@ path: path.join(__dirname, "dist"),

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc