l-min-components 1.6.1256 → 1.6.1259

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "l-min-components",
3
- "version": "1.6.1256",
3
+ "version": "1.6.1259",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -143,7 +143,8 @@ const VideoPlayer = ({
143
143
  });
144
144
 
145
145
  hls.on(Hls.Events.ERROR, (event, data) => {
146
- setError(true);
146
+ console.log(data, "errorr....", event);
147
+ // setError(true);
147
148
  });
148
149
  } else if (
149
150
  videoRef.current.canPlayType("application/vnd.apple.mpegurl") &&
@@ -911,7 +911,7 @@ const useMessageKit = (/*affiliatesActive*/) => {
911
911
 
912
912
  if (selectedAccount.type.toLowerCase() === "personal") {
913
913
  response = await request({
914
- url: `/notify/v1/chats/${roomId}/change_pin_status/`,
914
+ url: `/notify/v1/rooms/${roomId}/change_pin_status/`,
915
915
  method: "patch",
916
916
  });
917
917
  }
@@ -970,9 +970,9 @@ const useMessageKit = (/*affiliatesActive*/) => {
970
970
  });
971
971
 
972
972
  try {
973
- let response;
973
+ // let response;
974
974
  if (selectedAccount.type.toLowerCase() === "enterprise") {
975
- response = await request({
975
+ await request({
976
976
  url: `/notify/v1/enterprise/rooms/${roomId}/`,
977
977
  method: "delete",
978
978
  });
@@ -983,14 +983,14 @@ const useMessageKit = (/*affiliatesActive*/) => {
983
983
  // &&
984
984
  // affiliatesActive
985
985
  ) {
986
- response = await request({
986
+ await request({
987
987
  url: `/notify/v1/instructor/${affiliateAccount}/rooms/${roomId}/`,
988
988
  method: "delete",
989
989
  });
990
990
  } // incomplete
991
991
  if (selectedAccount.type.toLowerCase() === "personal") {
992
- response = await request({
993
- url: `/notify/v1/chats/${roomId}/`,
992
+ await request({
993
+ url: `/notify/v1/rooms/${roomId}/`,
994
994
  method: "delete",
995
995
  });
996
996
  }
@@ -1053,7 +1053,7 @@ const useMessageKit = (/*affiliatesActive*/) => {
1053
1053
  // await deleteRoom("5be9b48281ac4c2885d3b719654ed59d");
1054
1054
  // await pinRoom("5be9b48281ac4c2885d3b719654ed59d");
1055
1055
  // Example: Fetch initial chat for a specific room if needed on load
1056
- // await getIndividualChats(null, "5be9b48281ac4c2885d3b719654ed59d");
1056
+ // await getIndividualChats(null, "c7e334452b974576aa8250aafb73b7d4");
1057
1057
  // await readRoomMessages({
1058
1058
  // latestMessageId: "57e31128214a4269be8b9e3bb18495c4",
1059
1059
  // roomId: "5be9b48281ac4c2885d3b719654ed59d",