@meetelise/chat 1.77.2 → 1.77.3

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.
@@ -5,10 +5,7 @@ export declare const onMobileChange: (callback: (isMobile: boolean) => void) =>
5
5
  export declare const isTimestampExpired: (timestamp: Date, ttlHours: number) => boolean;
6
6
  export declare const getCookieValue: (name: string) => string | null;
7
7
  export declare const isValidPhoneNumber: (phoneNumber: string) => boolean;
8
- /**
9
- * Something@domain.tld, where the top-level domain is two or more letters
10
- * (any script) or an IDN's punycode form, so a typo such as "x@y.c" is caught.
11
- */
8
+ /** An email input can return an internationalized TLD in its ASCII (xn--) form. */
12
9
  export declare const isValidEmail: (email: string) => boolean;
13
10
  export declare const isContainingEmail: (message: string) => boolean;
14
11
  export declare const sentenceTitleCase: (str: string) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meetelise/chat",
3
- "version": "1.77.2",
3
+ "version": "1.77.3",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/MeetElise/chat-ui#readme",
@@ -55,12 +55,14 @@
55
55
  "lit": "^2.2.4",
56
56
  "lodash": "^4.17.21",
57
57
  "pubnub": "^7.2.2",
58
+ "punycode": "2.3.1",
58
59
  "talkjs": "^0.14.5",
59
60
  "uuid": "^8.3.2"
60
61
  },
61
62
  "devDependencies": {
62
63
  "@esm-bundle/chai": "^4.3.4-fix.0",
63
64
  "@types/lodash": "^4.14.178",
65
+ "@types/punycode": "2.1.4",
64
66
  "@types/uuid": "^8.3.1",
65
67
  "@typescript-eslint/eslint-plugin": "^4.5.0",
66
68
  "@typescript-eslint/parser": "^4.5.0",