uapp-communication-sdk 1.0.0-dev.68 → 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.
- package/README.md +5 -2
- package/communication-sdk.cjs +16 -14
- package/communication-sdk.js +7900 -7650
- package/communication-sdk.standalone.js +162 -160
- package/package.json +1 -1
- package/types/core/time/viewer-timezone.d.ts +17 -0
- package/types/core/time/viewer-timezone.d.ts.map +1 -1
- package/types/features/calls/presentation/CallOverlay.d.ts.map +1 -1
- package/types/features/calls/presentation/call-pip.d.ts +62 -0
- package/types/features/calls/presentation/call-pip.d.ts.map +1 -0
- package/types/features/calls/presentation/use-call-pip.d.ts +30 -0
- package/types/features/calls/presentation/use-call-pip.d.ts.map +1 -0
- package/types/features/chat/presentation/ConversationHeader.d.ts.map +1 -1
- package/types/features/chat/presentation/MemberRow.d.ts.map +1 -1
- package/types/features/chat/presentation/dm-presence.d.ts.map +1 -1
- package/types/features/presence/application/index.d.ts +1 -0
- package/types/features/presence/application/index.d.ts.map +1 -1
- package/types/features/presence/application/use-cases/get-presence-of.d.ts +14 -0
- package/types/features/presence/application/use-cases/get-presence-of.d.ts.map +1 -0
- package/types/features/presence/domain/index.d.ts +1 -0
- package/types/features/presence/domain/index.d.ts.map +1 -1
- package/types/features/presence/domain/others-presence.d.ts +18 -0
- package/types/features/presence/domain/others-presence.d.ts.map +1 -0
- package/types/features/presence/domain/ports/presence-gateway.d.ts +7 -0
- package/types/features/presence/domain/ports/presence-gateway.d.ts.map +1 -1
- package/types/features/presence/infrastructure/dto/presence-dtos.d.ts +34 -0
- package/types/features/presence/infrastructure/dto/presence-dtos.d.ts.map +1 -1
- package/types/features/presence/infrastructure/http-presence-gateway.d.ts +2 -1
- package/types/features/presence/infrastructure/http-presence-gateway.d.ts.map +1 -1
- package/types/features/presence/infrastructure/http-presence-routes.d.ts +2 -0
- package/types/features/presence/infrastructure/http-presence-routes.d.ts.map +1 -1
- package/types/features/presence/infrastructure/presence-mappers.d.ts +3 -2
- package/types/features/presence/infrastructure/presence-mappers.d.ts.map +1 -1
- package/types/features/presence/presence-module.d.ts +2 -1
- package/types/features/presence/presence-module.d.ts.map +1 -1
- package/types/features/presence/presentation/MyPresenceMenu.d.ts.map +1 -1
- package/types/features/presence/presentation/PresenceModuleProvider.d.ts.map +1 -1
- package/types/features/presence/presentation/ViewerPresenceBadge.d.ts +22 -0
- package/types/features/presence/presentation/ViewerPresenceBadge.d.ts.map +1 -0
- package/types/features/presence/presentation/index.d.ts +2 -0
- package/types/features/presence/presentation/index.d.ts.map +1 -1
- package/types/features/presence/presentation/use-live-presence-poll.d.ts +18 -0
- package/types/features/presence/presentation/use-live-presence-poll.d.ts.map +1 -0
- package/types/features/users/presentation/UserPresenceCell.d.ts.map +1 -1
- package/types/sdk/index.d.ts +1 -1
- package/types/sdk/index.d.ts.map +1 -1
- package/types/sdk/presence/presence-client.d.ts +24 -0
- package/types/sdk/presence/presence-client.d.ts.map +1 -1
- package/types/shared/presence/PresenceBadge.d.ts +14 -3
- package/types/shared/presence/PresenceBadge.d.ts.map +1 -1
- package/types/shared/presence/index.d.ts +0 -1
- package/types/shared/presence/index.d.ts.map +1 -1
- package/types/shared/presence/live-presence-store.d.ts +24 -4
- package/types/shared/presence/live-presence-store.d.ts.map +1 -1
- package/types/shared/presence/presence-status.d.ts +1 -1
- package/types/shared/presence/presence-status.d.ts.map +1 -1
- package/types/shared/presence/format-presence-time.d.ts +0 -13
- 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**
|
|
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
|
|