Skip to content

Commit 0f78aef

Browse files
committedJun 19, 2024
✨ feat : Added event-source-polyfill library
- Required for live chat functionality Related issue: YJU-OKURA#166
1 parent f929e46 commit 0f78aef

File tree

3 files changed

+23
-29
lines changed

3 files changed

+23
-29
lines changed
 

‎package.json

+3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@
2626
"dependencies": {
2727
"@tanstack/react-query": "^5.17.10",
2828
"@types/js-cookie": "^3.0.6",
29+
"@types/event-source-polyfill": "^1.0.5",
2930
"axios": "^1.6.5",
31+
"event-source-polyfill": "^1.0.31",
32+
3033
"date-fns": "^3.6.0",
3134
"ion-sdk-js": "^1.8.2",
3235
"js-cookie": "^3.0.5",

‎tsconfig.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@
3434
"@/store/*": ["store/*"]
3535
}
3636
},
37-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "__tests__/*.ts"],
37+
"include": [
38+
"next-env.d.ts",
39+
"**/*.ts",
40+
"**/*.tsx",
41+
".next/types/**/*.ts",
42+
"__tests__/*.ts"
43+
],
3844
"exclude": ["node_modules"]
3945
}

‎yarn.lock

+13-28
Original file line numberDiff line numberDiff line change
@@ -1170,6 +1170,11 @@
11701170
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.5.tgz#a6ce3e556e00fd9895dd872dd172ad0d4bd687f4"
11711171
integrity sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==
11721172

1173+
"@types/event-source-polyfill@^1.0.5":
1174+
version "1.0.5"
1175+
resolved "https://registry.yarnpkg.com/@types/event-source-polyfill/-/event-source-polyfill-1.0.5.tgz#7223387b99ff519b0fed6278961c84315ffc14b7"
1176+
integrity sha512-iaiDuDI2aIFft7XkcwMzDWLqo7LVDixd2sR6B4wxJut9xcp/Ev9bO4EFg4rm6S9QxATLBj5OPxdeocgmhjwKaw==
1177+
11731178
"@types/graceful-fs@^4.1.3":
11741179
version "4.1.9"
11751180
resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.9.tgz#2a06bc0f68a20ab37b3e36aa238be6abdf49e8b4"
@@ -3173,6 +3178,11 @@ esutils@^2.0.2:
31733178
resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"
31743179
integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==
31753180

3181+
event-source-polyfill@^1.0.31:
3182+
version "1.0.31"
3183+
resolved "https://registry.yarnpkg.com/event-source-polyfill/-/event-source-polyfill-1.0.31.tgz#45fb0a6fc1375b2ba597361ba4287ffec5bf2e0c"
3184+
integrity sha512-4IJSItgS/41IxN5UVAVuAyczwZF7ZIEsM1XAoUzIHA6A+xzusEZUutdXz2Nr+MQPLxfTiCvqE79/C8HT8fKFvA==
3185+
31763186
eventemitter3@^5.0.1:
31773187
version "5.0.1"
31783188
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.1.tgz#53f5ffd0a492ac800721bb42c66b841de96423c4"
@@ -6783,16 +6793,7 @@ string-length@^4.0.1:
67836793
char-regex "^1.0.2"
67846794
strip-ansi "^6.0.0"
67856795

6786-
"string-width-cjs@npm:string-width@^4.2.0":
6787-
version "4.2.3"
6788-
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
6789-
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
6790-
dependencies:
6791-
emoji-regex "^8.0.0"
6792-
is-fullwidth-code-point "^3.0.0"
6793-
strip-ansi "^6.0.1"
6794-
6795-
"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
6796+
"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
67966797
version "4.2.3"
67976798
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
67986799
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -6876,14 +6877,7 @@ stringify-entities@^4.0.0:
68766877
character-entities-html4 "^2.0.0"
68776878
character-entities-legacy "^3.0.0"
68786879

6879-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
6880-
version "6.0.1"
6881-
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
6882-
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
6883-
dependencies:
6884-
ansi-regex "^5.0.1"
6885-
6886-
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
6880+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
68876881
version "6.0.1"
68886882
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
68896883
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -7631,16 +7625,7 @@ wildcard@^2.0.0:
76317625
resolved "https://registry.yarnpkg.com/wildcard/-/wildcard-2.0.1.tgz#5ab10d02487198954836b6349f74fff961e10f67"
76327626
integrity sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ==
76337627

7634-
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
7635-
version "7.0.0"
7636-
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
7637-
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
7638-
dependencies:
7639-
ansi-styles "^4.0.0"
7640-
string-width "^4.1.0"
7641-
strip-ansi "^6.0.0"
7642-
7643-
wrap-ansi@^7.0.0:
7628+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
76447629
version "7.0.0"
76457630
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
76467631
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==

0 commit comments

Comments
 (0)
Please sign in to comment.