Release v17.0.0
Summary
Renames the embeddings compare and remove builder methods and decorators to resolveUpdateToEvents and resolveDeletionToEvents, so that the API is consistent with the C# SDK. The new names also are more descriptive of their new function.
Also updated the JS sample code to match the new embeddings tutorial.
Added
- A new exception
CouldNotResolveUpdateToEvents, which can be used as the default exception for when theresolveUpdateToEventscouldn't resolve into any events - A new exception
CouldNotResolveDeletionToEvents, which can be used as the default exception for when theresolveUpdateToEventscouldn't resolve into any events
Changed
comparemethod and decorator becameresolveUpdateToEventsremovemethod and decorator becameresolveDeletionToEventsresolveUpdateToEventsandresolveDeletionToEventsnow has to return anObject | Object[]instead ofany | any[]. This is to enforce the methods always returning one or many events