@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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
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
|
|