Skip to content

Commit

Permalink
Updated NodeJS client version to 0.0.0-alpha.11
Browse files Browse the repository at this point in the history
Fixed typo and missing image in appending-events/README.md
  • Loading branch information
oskardudycz committed Dec 23, 2020
1 parent 9a6287d commit 075e013
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/clients/grpc/appending-events/README.md
Expand Up @@ -31,7 +31,7 @@ When appending events to EventStoreDB they must first all be wrapped in an `Even

### eventId

This takes the format of of a `Uuid` and is used to uniquely identify the event you are trying to append. If two events with the same `Uuid` are appended to the same stream in quick succession EventStoreDB will only append one copy of the event to the stream.
This takes the format of a `Uuid` and is used to uniquely identify the event you are trying to append. If two events with the same `Uuid` are appended to the same stream in quick succession EventStoreDB will only append one copy of the event to the stream.

For example:

Expand All @@ -48,7 +48,7 @@ For example:

will result in only a single event being written

![Duplicate Event](/docs/appending-events/images/duplicate-event.png)
![Duplicate Event](/docs/clients/grpc/appending-events/images/duplicate-event.png)

For most scenarios you can just provide `Uuid.NewUuid()` although there are methods for generating a `Uuid` from other types if you need to change how this `Uuid` is generated

Expand Down
2 changes: 1 addition & 1 deletion samples/grpc/nodejs/package.json
Expand Up @@ -11,7 +11,7 @@
"prettier:fix": "prettier --write \"**/**/!(*.d).{js,json}\""
},
"dependencies": {
"@eventstore/db-client": "0.0.0-alpha.10",
"@eventstore/db-client": "0.0.0-alpha.11",
"cookie-parser": "~1.4.4",
"debug": "~2.6.9",
"eslint": "^7.5.0",
Expand Down
9 changes: 5 additions & 4 deletions samples/grpc/nodejs/yarn.lock
Expand Up @@ -39,13 +39,14 @@
minimatch "^3.0.4"
strip-json-comments "^3.1.1"

"@eventstore/db-client@0.0.0-alpha.10":
version "0.0.0-alpha.10"
resolved "https://registry.yarnpkg.com/@eventstore/db-client/-/db-client-0.0.0-alpha.10.tgz#334b82d2de93e9a6301a6e8fc49799c310fb010e"
integrity sha512-4LXFB+jQ/Efy2/R/w1uiUYGFuozUWWeKXtI4ap88BiWu5EoKgPrJqeV0WcIC4xnxW0BdUjB1JxJsB6/qK9qFfA==
"@eventstore/db-client@0.0.0-alpha.11":
version "0.0.0-alpha.11"
resolved "https://registry.yarnpkg.com/@eventstore/db-client/-/db-client-0.0.0-alpha.11.tgz#ff8e4f234d8222de4bf145e86f71f5aa8484b2b1"
integrity sha512-lv+PpwymZN+zAxqjVcTDc519o9kepF7+f+1kiZeKF1/HbPuxwlD+tQLyX/tukOC+feG6ZOnLOG5q1vKP3RaRug==
dependencies:
"@grpc/grpc-js" "^1.1.5"
"@types/debug" "^4.1.5"
"@types/node" "^12.12.47"
debug "^4.2.0"
google-protobuf "^3.13.0"
uuid "^8.2.0"
Expand Down

0 comments on commit 075e013

Please sign in to comment.