od-support-chat 1.0.2 → 1.0.4

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.
@@ -1,6 +1,10 @@
1
1
  import { FC } from "react";
2
2
 
3
3
  //#region src/components/lib/chat.d.ts
4
- declare const Chat: FC<Object>;
4
+ interface ChatProps {
5
+ meetingLinkKey: string;
6
+ customerSupportKey: string;
7
+ }
8
+ declare const Chat: FC<ChatProps>;
5
9
  //#endregion
6
10
  export { Chat };
@@ -1,6 +1,10 @@
1
1
  import { FC } from "react";
2
2
 
3
3
  //#region src/components/lib/chatMobile.d.ts
4
- declare const ChatMobile: FC<Object>;
4
+ interface ChatProps {
5
+ meetingLinkKey: string;
6
+ customerSupportKey: string;
7
+ }
8
+ declare const ChatMobile: FC<ChatProps>;
5
9
  //#endregion
6
10
  export { ChatMobile };
package/package.json CHANGED
@@ -1,22 +1,25 @@
1
1
  {
2
2
  "name": "od-support-chat",
3
3
  "private": false,
4
- "version": "1.0.2",
4
+ "version": "1.0.4",
5
5
  "type": "module",
6
- "main": "./dist/od-support-chat.umd.js",
7
- "module": "./dist/od-support-chat.es.js",
6
+ "main": "./dist/index.umd.js",
7
+ "module": "./dist/index.es.js",
8
8
  "types": "./dist/main.d.ts",
9
9
  "scripts": {
10
10
  "build": "tsdown"
11
11
  },
12
12
  "exports": {
13
13
  ".": {
14
- "import": "./dist/od-support-chat.es.js",
15
- "require": "./dist/od-support-chat.umd.js",
14
+ "import": "./dist/index.es.js",
15
+ "require": "./dist/index.umd.js",
16
16
  "types": "./dist/index.d.ts"
17
17
  }
18
18
  },
19
- "dependencies": {
19
+ "peerDependencies": {
20
+ "@types/react": "^18.0.17",
21
+ "@types/react-dom": "^18.0.6",
22
+ "@vitejs/plugin-react": "^2.1.0",
20
23
  "@hookform/resolvers": "^2.9.10",
21
24
  "prop-types": "^15.8.1",
22
25
  "react": "^18.2.0",
@@ -27,12 +30,7 @@
27
30
  "styled-components": "^6.1.6",
28
31
  "tailwind-merge": "^1.7.0",
29
32
  "tw-elements-react": "^1.0.0-alpha2",
30
- "zod": "^3.19.1"
31
- },
32
- "devDependencies": {
33
- "@types/react": "^18.0.17",
34
- "@types/react-dom": "^18.0.6",
35
- "@vitejs/plugin-react": "^2.1.0",
33
+ "zod": "^3.19.1",
36
34
  "tailwindcss": "^3.2.1",
37
35
  "tsdown": "^0.21.7",
38
36
  "typescript": "^6.0.2",