polfan-server-js-client 0.3.3 → 0.4.1

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 (69) hide show
  1. package/.gitmodules +3 -3
  2. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_05_08_2026_17_28_[Changes]/shelved.patch +447 -0
  3. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_05_08_2026_17_28_[Changes]1/shelved.patch +0 -0
  4. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_05_08_2026_17_28__Changes_.xml +4 -0
  5. package/.idea/workspace.xml +61 -52
  6. package/CODE_OF_CONDUCT.md +76 -76
  7. package/README.md +44 -44
  8. package/babel.config.js +5 -5
  9. package/build/index.cjs.js +398 -427
  10. package/build/index.cjs.js.map +1 -1
  11. package/build/index.umd.js +1 -1
  12. package/build/index.umd.js.map +1 -1
  13. package/build/types/index.d.ts +2 -1
  14. package/build/types/state-tracker/RoomMessagesHistory.d.ts +4 -15
  15. package/build/types/state-tracker/TopicHistoryWindow.d.ts +0 -48
  16. package/build/types/types/src/index.d.ts +11 -3
  17. package/build/types/types/src/schemes/Message.d.ts +5 -1
  18. package/build/types/types/src/schemes/MessagePoll.d.ts +10 -0
  19. package/build/types/types/src/schemes/Reaction.d.ts +13 -0
  20. package/build/types/types/src/schemes/SessionData.d.ts +6 -0
  21. package/build/types/types/src/schemes/User.d.ts +15 -0
  22. package/build/types/types/src/schemes/UserData.d.ts +5 -0
  23. package/build/types/types/src/schemes/commands/CreateMessage.d.ts +3 -0
  24. package/build/types/types/src/schemes/commands/GetMessages.d.ts +5 -0
  25. package/build/types/types/src/schemes/commands/GetReactionDetails.d.ts +8 -0
  26. package/build/types/types/src/schemes/commands/React.d.ts +6 -0
  27. package/build/types/types/src/schemes/commands/SetSessionData.d.ts +9 -1
  28. package/build/types/types/src/schemes/commands/SetUserData.d.ts +1 -0
  29. package/build/types/types/src/schemes/commands/Unreact.d.ts +6 -0
  30. package/build/types/types/src/schemes/events/Messages.d.ts +3 -0
  31. package/build/types/types/src/schemes/events/Reacted.d.ts +9 -0
  32. package/build/types/types/src/schemes/events/ReactionDetails.d.ts +11 -0
  33. package/build/types/types/src/schemes/events/ReactionUpdated.d.ts +8 -0
  34. package/jest.config.ts +199 -199
  35. package/package.json +1 -1
  36. package/scripts/getPackageJson.js +24 -24
  37. package/src/FilesClient.ts +42 -42
  38. package/src/index.ts +2 -0
  39. package/src/state-tracker/ChatStateTracker.ts +71 -71
  40. package/src/state-tracker/RoomMessagesHistory.ts +9 -27
  41. package/src/state-tracker/TopicHistoryWindow.ts +1 -133
  42. package/src/state-tracker/UsersManager.ts +1 -1
  43. package/src/state-tracker/functions.ts +28 -28
  44. package/src/types/src/index.ts +24 -2
  45. package/src/types/src/schemes/Message.ts +5 -1
  46. package/src/types/src/schemes/MessagePoll.ts +12 -0
  47. package/src/types/src/schemes/Reaction.ts +16 -0
  48. package/src/types/src/schemes/SessionData.ts +8 -1
  49. package/src/types/src/schemes/User.ts +17 -1
  50. package/src/types/src/schemes/UserData.ts +5 -0
  51. package/src/types/src/schemes/commands/CreateMessage.ts +3 -0
  52. package/src/types/src/schemes/commands/GetMessages.ts +5 -0
  53. package/src/types/src/schemes/commands/GetReactionDetails.ts +9 -0
  54. package/src/types/src/schemes/commands/React.ts +7 -0
  55. package/src/types/src/schemes/commands/SetSessionData.ts +11 -2
  56. package/src/types/src/schemes/commands/SetUserData.ts +1 -0
  57. package/src/types/src/schemes/commands/Unreact.ts +7 -0
  58. package/src/types/src/schemes/events/Messages.ts +3 -0
  59. package/src/types/src/schemes/events/Reacted.ts +10 -0
  60. package/src/types/src/schemes/events/ReactionDetails.ts +12 -0
  61. package/src/types/src/schemes/events/ReactionUpdated.ts +9 -0
  62. package/tests/async-utils.test.ts +29 -29
  63. package/tests/history-window.test.ts +0 -131
  64. package/tests/space-roles.test.ts +42 -42
  65. package/tests/state-reconnect.test.ts +0 -260
  66. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_26_07_2026_21_26_[Changes]/shelved.patch +0 -174
  67. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_26_07_2026_21_26__Changes_.xml +0 -4
  68. package/.idea/shelf/Uncommitted_changes_before_rebase_[Changes]/shelved.patch +0 -18
  69. package/.idea/shelf/Uncommitted_changes_before_rebase__Changes_.xml +0 -4
package/.gitmodules CHANGED
@@ -1,3 +1,3 @@
1
- [submodule "src/types"]
2
- path = src/types
3
- url = https://github.com/szado/pserv-ts-types
1
+ [submodule "src/types"]
2
+ path = src/types
3
+ url = https://github.com/szado/pserv-ts-types