@event-driven-io/emmett-postgresql 0.26.0 → 0.28.0

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/dist/index.cjs CHANGED
@@ -618,7 +618,7 @@ var pongoMultiStreamProjection = (options) => {
618
618
  var pongoSingleStreamProjection = (options) => {
619
619
  return pongoMultiStreamProjection({
620
620
  ...options,
621
- getDocumentId: (event) => event.metadata.streamName
621
+ getDocumentId: _nullishCoalesce(options.getDocumentId, () => ( ((event) => event.metadata.streamName)))
622
622
  });
623
623
  };
624
624