uhc-sdk-node-ts
v0.4.1
Published
UHC/UNID Node SDK extension built on top of gdc-sdk-node-ts and uhc-sdk-core-ts
Readme
uhc-sdk-node-ts
Development and releases follow the mandatory
local-first TDD and release contract.
Node runtime extension for UHC/UNID applications.
This package extends:
uhc-sdk-core-tsgdc-sdk-node-ts
Use it when a backend service needs:
- all standard GDC node runtime functionality
- UHC extension examples/contracts
- UHC-specific backend helpers without importing
gdc-sdk-node-tsanduhc-sdk-core-tsseparately
Current design rule:
- CORE/shared behavior stays in
gdc-common-utils-tsandgdc-sdk-core-ts - generic node runtime stays in
gdc-sdk-node-ts - UHC/UNID-only backend concerns sit here
Current exports
- everything from
gdc-sdk-node-ts - explicit UHC extension exports bridged from
uhc-sdk-core-ts createUhcNodeSdkDescriptor(...)
The bridge layer intentionally re-exports only the additive UHC symbols. It
does not re-export the full uhc-sdk-core-ts barrel because that would also
re-export gdc-sdk-core-ts and collide with symbols already surfaced by
gdc-sdk-node-ts.
This package owns the trusted write side: a browser/mobile UI keeps an
optimistic Bundle in memory and sends it to an authenticated BFF; the BFF uses
ingestCommunicationAndUpdateIndex(...), obtains authoritative $summary
readback and returns that replacement Bundle to the UI.
Pending
- move chat/GW extension facades here from
uhc-unid-chat-node - expose controller notification and permission-request client helpers
- expose phone-first onboarding/runtime helpers
Current UHC bridge exports
UhcConsentTargetKindscreateUhcConsentTargetDescriptor(...)createUhcMissingPermissionRequest(...)createUhcPhoneVerifyStartInput(...)createUhcPhoneVerifyConfirmInput(...)createUhcFamilyContactRegistrationInput(...)buildUhcPermissionRequestNotificationExample(...)buildUhcMissingPermissionRequestExample(...)buildUhcPhoneVerifyStartInputExample(...)buildUhcPhoneVerifyConfirmInputExample(...)buildUhcFamilyMultiEmailRegistrationInputExample(...)buildUhcFamilyMultiPhoneRegistrationInputExample(...)
See also:
