uapp-communication-sdk 1.0.0-dev.67 → 1.0.0-dev.72

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 (59) hide show
  1. package/README.md +5 -2
  2. package/communication-sdk.cjs +16 -14
  3. package/communication-sdk.js +7900 -7651
  4. package/communication-sdk.standalone.js +162 -160
  5. package/package.json +1 -1
  6. package/types/core/time/viewer-timezone.d.ts +17 -0
  7. package/types/core/time/viewer-timezone.d.ts.map +1 -1
  8. package/types/features/calls/presentation/CallOverlay.d.ts.map +1 -1
  9. package/types/features/calls/presentation/call-pip.d.ts +62 -0
  10. package/types/features/calls/presentation/call-pip.d.ts.map +1 -0
  11. package/types/features/calls/presentation/use-call-pip.d.ts +30 -0
  12. package/types/features/calls/presentation/use-call-pip.d.ts.map +1 -0
  13. package/types/features/chat/presentation/ConversationHeader.d.ts.map +1 -1
  14. package/types/features/chat/presentation/MemberRow.d.ts.map +1 -1
  15. package/types/features/chat/presentation/dm-presence.d.ts +1 -2
  16. package/types/features/chat/presentation/dm-presence.d.ts.map +1 -1
  17. package/types/features/presence/application/index.d.ts +1 -0
  18. package/types/features/presence/application/index.d.ts.map +1 -1
  19. package/types/features/presence/application/use-cases/get-presence-of.d.ts +14 -0
  20. package/types/features/presence/application/use-cases/get-presence-of.d.ts.map +1 -0
  21. package/types/features/presence/domain/index.d.ts +1 -0
  22. package/types/features/presence/domain/index.d.ts.map +1 -1
  23. package/types/features/presence/domain/others-presence.d.ts +18 -0
  24. package/types/features/presence/domain/others-presence.d.ts.map +1 -0
  25. package/types/features/presence/domain/ports/presence-gateway.d.ts +7 -0
  26. package/types/features/presence/domain/ports/presence-gateway.d.ts.map +1 -1
  27. package/types/features/presence/infrastructure/dto/presence-dtos.d.ts +34 -0
  28. package/types/features/presence/infrastructure/dto/presence-dtos.d.ts.map +1 -1
  29. package/types/features/presence/infrastructure/http-presence-gateway.d.ts +2 -1
  30. package/types/features/presence/infrastructure/http-presence-gateway.d.ts.map +1 -1
  31. package/types/features/presence/infrastructure/http-presence-routes.d.ts +2 -0
  32. package/types/features/presence/infrastructure/http-presence-routes.d.ts.map +1 -1
  33. package/types/features/presence/infrastructure/presence-mappers.d.ts +3 -2
  34. package/types/features/presence/infrastructure/presence-mappers.d.ts.map +1 -1
  35. package/types/features/presence/presence-module.d.ts +2 -1
  36. package/types/features/presence/presence-module.d.ts.map +1 -1
  37. package/types/features/presence/presentation/MyPresenceMenu.d.ts.map +1 -1
  38. package/types/features/presence/presentation/PresenceModuleProvider.d.ts.map +1 -1
  39. package/types/features/presence/presentation/ViewerPresenceBadge.d.ts +22 -0
  40. package/types/features/presence/presentation/ViewerPresenceBadge.d.ts.map +1 -0
  41. package/types/features/presence/presentation/index.d.ts +2 -0
  42. package/types/features/presence/presentation/index.d.ts.map +1 -1
  43. package/types/features/presence/presentation/use-live-presence-poll.d.ts +18 -0
  44. package/types/features/presence/presentation/use-live-presence-poll.d.ts.map +1 -0
  45. package/types/features/users/presentation/UserPresenceCell.d.ts.map +1 -1
  46. package/types/sdk/index.d.ts +1 -1
  47. package/types/sdk/index.d.ts.map +1 -1
  48. package/types/sdk/presence/presence-client.d.ts +24 -0
  49. package/types/sdk/presence/presence-client.d.ts.map +1 -1
  50. package/types/shared/presence/PresenceBadge.d.ts +14 -3
  51. package/types/shared/presence/PresenceBadge.d.ts.map +1 -1
  52. package/types/shared/presence/index.d.ts +0 -1
  53. package/types/shared/presence/index.d.ts.map +1 -1
  54. package/types/shared/presence/live-presence-store.d.ts +24 -4
  55. package/types/shared/presence/live-presence-store.d.ts.map +1 -1
  56. package/types/shared/presence/presence-status.d.ts +1 -1
  57. package/types/shared/presence/presence-status.d.ts.map +1 -1
  58. package/types/shared/presence/format-presence-time.d.ts +0 -13
  59. package/types/shared/presence/format-presence-time.d.ts.map +0 -1
package/README.md CHANGED
@@ -644,8 +644,11 @@ Three things to build against:
644
644
  Every call answers `null` rather than throwing — on a failed exchange, an unreachable API, or a
645
645
  response that does not match the contract. A half-parsed status in your header is worse than none.
646
646
 
647
- This client reads and writes; it opens no socket. It will not tell you when somebody **else's** status
648
- changes — mount a widget for that.
647
+ This client reads and writes; it opens no socket. It will not tell you when somebody **else's**
648
+ status changes — mount a widget for that: every widget polls `presence/of` for the people it is
649
+ actually showing (every 30 seconds, visible ids only), so badges inside widgets stay fresh with no
650
+ work on your side. If you render your own people-list OUTSIDE the widgets, poll
651
+ `GET /api/app/presence/of?Ids=…` the same way — at most 100 ids, only the ones on screen.
649
652
 
650
653
  ### Notifications
651
654