diff --git a/samples/simple.js b/samples/simple.js index cc7381f..4a68699 100644 --- a/samples/simple.js +++ b/samples/simple.js @@ -1,3 +1,4 @@ +// const client = require('../src/client') const client = require("eventstore-node") const uuid = require("uuid") diff --git a/samples/store-event.js b/samples/store-event.js index 9373a93..07e9037 100644 --- a/samples/store-event.js +++ b/samples/store-event.js @@ -1,3 +1,4 @@ +// const client = require('../src/client') const client = require("eventstore-node") const uuid = require("uuid") diff --git a/samples/subscribe-all-events.js b/samples/subscribe-all-events.js index fb7c462..568f109 100644 --- a/samples/subscribe-all-events.js +++ b/samples/subscribe-all-events.js @@ -1,4 +1,6 @@ // Subscribe to all new events on the $all stream. Filter out any which aren"t about "user" aggregates. + +// const client = require('../src/client') const client = require("eventstore-node") const resolveLinkTos = false diff --git a/samples/subscribe-catchup-all-events.js b/samples/subscribe-catchup-all-events.js index 4e15079..38daa03 100644 --- a/samples/subscribe-catchup-all-events.js +++ b/samples/subscribe-catchup-all-events.js @@ -1,5 +1,7 @@ // Subscribe to all events on the $all stream. Catch up from the beginning, then listen for any new events as they occur. // This could be used for subscribers which populate read models. + +// const client = require('../src/client') const client = require("eventstore-node") const eventAppeared => (stream, event) =>