polfan-server-js-client 0.2.3 → 0.2.7

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 (93) hide show
  1. package/.idea/copilot.data.migration.agent.xml +6 -0
  2. package/.idea/copilot.data.migration.ask.xml +6 -0
  3. package/.idea/copilot.data.migration.ask2agent.xml +6 -0
  4. package/.idea/copilot.data.migration.edit.xml +6 -0
  5. package/.idea/workspace.xml +401 -177
  6. package/README.md +22 -2
  7. package/babel.config.js +4 -5
  8. package/build/index.cjs.js +4595 -1816
  9. package/build/index.cjs.js.map +1 -1
  10. package/build/index.umd.js +1 -1
  11. package/build/index.umd.js.map +1 -1
  12. package/build/types/AbstractChatClient.d.ts +14 -2
  13. package/build/types/FilesClient.d.ts +7 -6
  14. package/build/types/IndexedObjectCollection.d.ts +4 -3
  15. package/build/types/Permissions.d.ts +4 -0
  16. package/build/types/WebSocketChatClient.d.ts +23 -0
  17. package/build/types/state-tracker/ChatStateTracker.d.ts +5 -0
  18. package/build/types/state-tracker/RelationshipsManager.d.ts +15 -0
  19. package/build/types/state-tracker/RoomMessagesHistory.d.ts +2 -0
  20. package/build/types/state-tracker/SpacesManager.d.ts +1 -0
  21. package/build/types/state-tracker/TopicHistoryWindow.d.ts +23 -6
  22. package/build/types/state-tracker/UsersManager.d.ts +3 -1
  23. package/build/types/types/src/index.d.ts +14 -3
  24. package/build/types/types/src/schemes/Emoticon.d.ts +1 -0
  25. package/build/types/types/src/schemes/Message.d.ts +1 -1
  26. package/build/types/types/src/schemes/Room.d.ts +2 -0
  27. package/build/types/types/src/schemes/RoomHistory.d.ts +5 -0
  28. package/build/types/types/src/schemes/RoomMember.d.ts +3 -0
  29. package/build/types/types/src/schemes/RoomSummary.d.ts +1 -0
  30. package/build/types/types/src/schemes/SpaceSummary.d.ts +1 -0
  31. package/build/types/types/src/schemes/User.d.ts +2 -2
  32. package/build/types/types/src/schemes/UserRelationship.d.ts +6 -0
  33. package/build/types/types/src/schemes/commands/CreateMessage.d.ts +2 -0
  34. package/build/types/types/src/schemes/commands/CreateRelationship.d.ts +5 -0
  35. package/build/types/types/src/schemes/commands/CreateTopic.d.ts +5 -2
  36. package/build/types/types/src/schemes/commands/DeleteRelationship.d.ts +5 -0
  37. package/build/types/types/src/schemes/commands/GetRelationships.d.ts +2 -0
  38. package/build/types/types/src/schemes/commands/Ping.d.ts +2 -0
  39. package/build/types/types/src/schemes/commands/UpdateRoom.d.ts +2 -0
  40. package/build/types/types/src/schemes/commands/UpdateRoomMember.d.ts +7 -0
  41. package/build/types/types/src/schemes/commands/UpdateSpaceMember.d.ts +5 -0
  42. package/build/types/types/src/schemes/events/NewRelationship.d.ts +4 -0
  43. package/build/types/types/src/schemes/events/Pong.d.ts +2 -0
  44. package/build/types/types/src/schemes/events/RelationshipDeleted.d.ts +4 -0
  45. package/build/types/types/src/schemes/events/Relationships.d.ts +4 -0
  46. package/build/types/types/src/schemes/events/RoomSummaryUpdated.d.ts +7 -0
  47. package/build/types/types/src/schemes/events/Session.d.ts +1 -0
  48. package/package.json +15 -28
  49. package/src/AbstractChatClient.ts +30 -4
  50. package/src/FilesClient.ts +26 -13
  51. package/src/IndexedObjectCollection.ts +26 -10
  52. package/src/Permissions.ts +1 -0
  53. package/src/WebSocketChatClient.ts +92 -14
  54. package/src/state-tracker/ChatStateTracker.ts +22 -6
  55. package/src/state-tracker/EmoticonsManager.ts +6 -4
  56. package/src/state-tracker/MessagesManager.ts +3 -4
  57. package/src/state-tracker/RelationshipsManager.ts +68 -0
  58. package/src/state-tracker/RoomMessagesHistory.ts +20 -3
  59. package/src/state-tracker/RoomsManager.ts +38 -8
  60. package/src/state-tracker/SpacesManager.ts +28 -1
  61. package/src/state-tracker/TopicHistoryWindow.ts +92 -32
  62. package/src/state-tracker/UsersManager.ts +16 -6
  63. package/src/types/src/index.ts +30 -5
  64. package/src/types/src/schemes/Emoticon.ts +1 -0
  65. package/src/types/src/schemes/Message.ts +1 -1
  66. package/src/types/src/schemes/Room.ts +2 -0
  67. package/src/types/src/schemes/RoomHistory.ts +6 -0
  68. package/src/types/src/schemes/RoomMember.ts +3 -0
  69. package/src/types/src/schemes/RoomSummary.ts +1 -0
  70. package/src/types/src/schemes/SpaceSummary.ts +1 -0
  71. package/src/types/src/schemes/User.ts +2 -2
  72. package/src/types/src/schemes/UserRelationship.ts +8 -0
  73. package/src/types/src/schemes/commands/CreateMessage.ts +2 -0
  74. package/src/types/src/schemes/commands/CreateRelationship.ts +6 -0
  75. package/src/types/src/schemes/commands/CreateTopic.ts +6 -2
  76. package/src/types/src/schemes/commands/DeleteRelationship.ts +6 -0
  77. package/src/types/src/schemes/commands/GetRelationships.ts +3 -0
  78. package/src/types/src/schemes/commands/Ping.ts +3 -0
  79. package/src/types/src/schemes/commands/UpdateRoom.ts +2 -0
  80. package/src/types/src/schemes/commands/UpdateRoomMember.ts +7 -0
  81. package/src/types/src/schemes/commands/UpdateSpaceMember.ts +5 -0
  82. package/src/types/src/schemes/events/NewRelationship.ts +5 -0
  83. package/src/types/src/schemes/events/Pong.ts +3 -0
  84. package/src/types/src/schemes/events/RelationshipDeleted.ts +5 -0
  85. package/src/types/src/schemes/events/Relationships.ts +5 -0
  86. package/src/types/src/schemes/events/RoomSummaryUpdated.ts +8 -0
  87. package/src/types/src/schemes/events/Session.ts +1 -0
  88. package/tests/history-window.test.ts +6 -1
  89. package/webpack.config.browser.js +2 -24
  90. package/webpack.config.node.js +2 -14
  91. package/.eslintignore +0 -0
  92. package/.eslintrc.json +0 -0
  93. package/src/types/src/schemes/commands/SetCustomNick.ts +0 -5
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="AgentMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="AskMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Ask2AgentMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="EditMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>