@event-driven-io/emmett-postgresql 0.29.0 → 0.30.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 +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -1843,7 +1843,10 @@ var getPostgreSQLEventStore = (connectionString, options = defaultPostgreSQLOpti
|
|
|
1843
1843
|
createdNewStream: appendResult.nextStreamPosition >= BigInt(events.length)
|
|
1844
1844
|
};
|
|
1845
1845
|
},
|
|
1846
|
-
consumer: (options2) => postgreSQLEventStoreConsumer({
|
|
1846
|
+
consumer: (options2) => postgreSQLEventStoreConsumer({
|
|
1847
|
+
..._nullishCoalesce(options2, () => ( {})),
|
|
1848
|
+
pool
|
|
1849
|
+
}),
|
|
1847
1850
|
close: () => pool.close(),
|
|
1848
1851
|
async withSession(callback) {
|
|
1849
1852
|
return await pool.withConnection(async (connection) => {
|