eventsourcingdb 0.12.0 → 0.12.2

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.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -201,6 +201,8 @@ for await (const row of client.runEventQlQuery(`
201
201
  }
202
202
  ```
203
203
 
204
+ *Note that each row returned by the iterator matches the projection specified in your query.*
205
+
204
206
  #### Aborting a Query
205
207
 
206
208
  If you need to abort a query use `break` or `return` within the `await for` loop. However, this only works if there is currently an iteration going on.
@@ -222,8 +224,6 @@ for await (const row of client.runEventQlQuery(`
222
224
  controller.abort();
223
225
  ```
224
226
 
225
- *Note that each row returned by the iterator matches the projection specified in your query.*
226
-
227
227
  ### Observing Events
228
228
 
229
229
  To observe all events of a subject, call the `observeEvents` function with the subject as the first argument and an options object as the second argument. Set the `recursive` option to `false`. This ensures that only events of the given subject are returned, not events of nested subjects.
@@ -439,7 +439,7 @@ const container = new EventSourcingDbContainer()
439
439
 
440
440
  In case you need to set up the client yourself, use the following functions to get details on the container:
441
441
 
442
- - `getHost()` returns the host name.
443
- - `getMappedPort()` returns the port.
444
- - `getBaseUrl()` returns the full URL of the container.
445
- - `getApiToken()` returns the API token.
442
+ - `getHost()` returns the host name
443
+ - `getMappedPort()` returns the port
444
+ - `getBaseUrl()` returns the full URL of the container
445
+ - `getApiToken()` returns the API token
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eventsourcingdb",
3
- "version": "0.12.0",
3
+ "version": "0.12.2",
4
4
  "description": "The official JavaScript client SDK for EventSourcingDB.",
5
5
  "author": {
6
6
  "name": "the native web GmbH",
@@ -15,7 +15,7 @@
15
15
  "types": "./dist/index.d.ts",
16
16
  "devDependencies": {
17
17
  "@biomejs/biome": "1.9.4",
18
- "@types/node": "22.14.0",
18
+ "@types/node": "22.14.1",
19
19
  "get-port": "7.1.0",
20
20
  "tsup": "8.4.0",
21
21
  "tsx": "4.19.3",