@togohq/sdk-node 1.2.0
This version introduces event ID returns and updates terminology for event definitions
- Node.js SDK
Breaking
- Terminology updated: "declare" and "contract" are now "define" and "definition" across the SDK, aligning with internal naming conventions.
New
track(),identify(), andsetPersonProperties()now return theeventIdof the event they queued, orundefinedwhen no event is sent.
Migration
Update code to use the new terminology for event definitions.
declareEvent(); // uses 'declare' terminologydefineEvent(); // uses 'define' terminology