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>
This commit is contained in:
Lucas Holmquist 2020-06-08 15:47:30 -04:00 committed by GitHub
parent b3d9dd2d2a
commit ed1d3286fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -54,9 +54,9 @@ binary or structured format, and determine what version of the CloudEvents
specification you want to send the event as.
By default, the `HTTPEmitter` will emit events over HTTP POST using the
1.0 specification, in binary mode. You can emit 0.3 events by providing
latest supported specification version, in binary mode. You can emit version specific events by providing
the specication version in the constructor to `HTTPEmitter`. To send
structured events, add that string as a parameter to `emitter.sent()`.
structured events, add that string as a parameter to `emitter.send()`.
```js
const { CloudEvent, HTTPEmitter } = require("cloudevents-sdk");

View File

@ -6,7 +6,7 @@
npm start
```
## Spec v1.0
## Latest Supported Spec (v1.0)
__A Structured One__