@minhnd1010/chat-widget 1.0.4 → 1.0.5

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 (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -840,7 +840,7 @@ class ChatWidget extends HTMLElement {
840
840
  // ================== USER INPUT ==================
841
841
  let token = this.getAttribute("token");
842
842
 
843
- let userId = this.getAttribute("ma_doi_tac_nsd");
843
+ let userId = this.getAttribute("ma-doi-tac-nsd");
844
844
 
845
845
  let fullName = this.getAttribute("ten");
846
846
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minhnd1010/chat-widget",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Chat widget hỗ trợ SignalR real-time cho website",
5
5
  "main": "index.js",
6
6
  "type": "module",