podchat-browser 12.9.15-snapshot.7 → 12.9.15

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 (70) hide show
  1. package/changelog.md +25 -0
  2. package/dist/node/buildConfig.json +1 -1
  3. package/dist/node/call.module.js +666 -339
  4. package/dist/node/chat.js +5850 -4867
  5. package/dist/node/deprecateMethods.js +1 -0
  6. package/dist/node/events.module.js +14 -3
  7. package/dist/node/lib/app.js +17 -0
  8. package/dist/node/lib/call/call.js +4 -0
  9. package/dist/node/lib/call/callManager.js +219 -84
  10. package/dist/node/lib/call/callServerManager.js +2 -0
  11. package/dist/node/lib/call/callTopicManager.js +113 -62
  12. package/dist/node/lib/call/callUser.js +101 -32
  13. package/dist/node/lib/call/callUsers.js +32 -5
  14. package/dist/node/lib/call/callsList.js +21 -0
  15. package/dist/node/lib/call/deviceManager.js +95 -54
  16. package/dist/node/lib/call/deviceStartStopManager.js +9 -9
  17. package/dist/node/lib/call/multitrack/callManager.js +331 -164
  18. package/dist/node/lib/call/multitrack/callUser.js +156 -66
  19. package/dist/node/lib/call/multitrack/callUsers.js +61 -13
  20. package/dist/node/lib/call/multitrack/peerConnectionManager.js +184 -47
  21. package/dist/node/lib/call/multitrack/webrtcPeer.js +67 -14
  22. package/dist/node/lib/call/preferredMediaDeviceManager.js +7 -2
  23. package/dist/node/lib/call/screenShareStateManager.js +2 -0
  24. package/dist/node/lib/call/sharedData.js +49 -30
  25. package/dist/node/lib/call/topicMetaDataManager.js +1 -0
  26. package/dist/node/lib/call/webrtcPeer.js +58 -26
  27. package/dist/node/lib/chat/call/inquiryCallParticipants.js +19 -9
  28. package/dist/node/lib/chat/contactsMethods.js +46 -14
  29. package/dist/node/lib/chat/reactionsMethods.js +57 -28
  30. package/dist/node/lib/chat/threadHistoryMethods.js +70 -30
  31. package/dist/node/lib/chat/threadMethods.js +30 -11
  32. package/dist/node/lib/chat/threadParticipantsMethods.js +47 -15
  33. package/dist/node/lib/chat/uploadMethods.js +31 -14
  34. package/dist/node/lib/constants.js +27 -2
  35. package/dist/node/lib/errorHandler.js +24 -6
  36. package/dist/node/lib/files/podspaceMethods.js +202 -52
  37. package/dist/node/lib/helpers/dataFormatters.js +90 -62
  38. package/dist/node/lib/helpers/httpRequest.js +52 -11
  39. package/dist/node/lib/logManager.js +2 -0
  40. package/dist/node/lib/requestBlocker.js +22 -10
  41. package/dist/node/lib/sdkParams.js +3 -0
  42. package/dist/node/lib/social/typeCodes.js +37 -18
  43. package/dist/node/lib/store/contactsList.js +54 -9
  44. package/dist/node/lib/store/eventEmitter.js +4 -0
  45. package/dist/node/lib/store/history/historyItem.js +26 -9
  46. package/dist/node/lib/store/history/historyList.js +14 -3
  47. package/dist/node/lib/store/history/index.js +8 -0
  48. package/dist/node/lib/store/history/requestParams.js +4 -2
  49. package/dist/node/lib/store/index.js +8 -0
  50. package/dist/node/lib/store/messageQueues.js +50 -15
  51. package/dist/node/lib/store/reactionsList.js +19 -14
  52. package/dist/node/lib/store/reactionsSummaries.js +30 -6
  53. package/dist/node/lib/store/threads.js +85 -66
  54. package/dist/node/lib/store/typecodes.js +17 -7
  55. package/dist/node/lib/store/user.js +6 -0
  56. package/dist/node/messaging.module.js +52 -15
  57. package/dist/node/utility/utility.js +101 -29
  58. package/dist/podchat-browser-bundle.js +6454 -3734
  59. package/examples/index.html +9 -0
  60. package/package.json +4 -5
  61. package/src/buildConfig.json +1 -1
  62. package/src/chat.js +252 -189
  63. package/src/lib/call/deviceManager.js +0 -17
  64. package/src/lib/call/multitrack/callManager.js +20 -16
  65. package/src/lib/call/multitrack/callUsers.js +4 -4
  66. package/src/lib/constants.js +27 -1
  67. package/src/lib/files/podspaceMethods.js +181 -43
  68. package/src/lib/sdkParams.js +1 -0
  69. package/src/lib/store/messageQueues.js +1 -1
  70. package/src/messaging.module.js +4 -1
package/changelog.md CHANGED
@@ -5,6 +5,31 @@ to see complete list of changelog please visit [ChangeLog](http://gp.fanapsoft.i
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [12.9.15] 04-12-2024
9
+
10
+ ### Added
11
+ - Added threadId to reaction events
12
+ - Added configurable logger module in run-time
13
+ - Added retry and addUserToUserGroup on error 403 when downloading image
14
+ - Cache for threads history
15
+ - Added typeCode to all thread events
16
+
17
+ ### Fixed
18
+ - Added check to prevent console errors on peer destroy
19
+ - Removed console log error in fireEvent method
20
+ - Prevent unnecessary request in type 244 (Reaction summaries) cache, after new message
21
+
22
+ ### Changed
23
+ - Changed permission functionality on getDevicesList
24
+ - Changed hardcoded neshan map api key in neshan map link
25
+ - Refactored callDiv events
26
+ - Disabled deprecated callTurnIp in sdk config
27
+ - Removed unused package dexie
28
+ - Improvement on multitrack call reconnect
29
+ - Update PodSpace download image links
30
+ - Improved failure handler in janus calls
31
+
32
+
8
33
  ## [12.9.14] 10-09-2024
9
34
 
10
35
  ### Added
@@ -1 +1 @@
1
- {"version":"12.9.15-snapshot.7","date":"۱۴۰۳/۸/۱۶","VersionInfo":"Release: false, Snapshot: true, Is For Test: true"}
1
+ {"version":"12.9.15","date":"۱۴۰۳/۹/۱۴","VersionInfo":"Release: true, Snapshot: false, Is For Test: false"}