Skip to content

Commit ed1d328

Browse files
authored
docs: Update references of specific versions to use Latest Supported. (#211)
* docs: Update references of specific versions to use Latest Supported. fixes #160 Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
1 parent b3d9dd2 commit ed1d328

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ binary or structured format, and determine what version of the CloudEvents
5454
specification you want to send the event as.
5555

5656
By default, the `HTTPEmitter` will emit events over HTTP POST using the
57-
1.0 specification, in binary mode. You can emit 0.3 events by providing
57+
latest supported specification version, in binary mode. You can emit version specific events by providing
5858
the specication version in the constructor to `HTTPEmitter`. To send
59-
structured events, add that string as a parameter to `emitter.sent()`.
59+
structured events, add that string as a parameter to `emitter.send()`.
6060

6161
```js
6262
const { CloudEvent, HTTPEmitter } = require("cloudevents-sdk");

Diff for: examples/express-ex/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
npm start
77
```
88

9-
## Spec v1.0
9+
## Latest Supported Spec (v1.0)
1010

1111

1212
__A Structured One__

0 commit comments

Comments
 (0)