From d4187897644b32b4ce8f121f5107ce51d90c9f38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabio=20Jos=C3=A9?= Date: Thu, 20 Jun 2019 21:21:44 -0300 Subject: [PATCH] Fixing formats MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabio José --- README.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0f552cf..c20c92d 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ These are the supported specifications by this version. | Emit Structured events over HTTP | yes | yes | | Emit Binary events over HTTP | yes | yes | | JSON Event Format | yes | yes | -| Receice Structure events over HTTP | no | yes | +| Receice Structured events over HTTP| no | yes | | Receice Binary events over HTTP | no | yes | ## How to use @@ -95,7 +95,7 @@ cloudevent01 * to Cloudevent */ cloudevent01 - .eventTypeVersion("1.0"); + .eventTypeVersion("1.0"); /* * Constructs an instance with: @@ -130,8 +130,6 @@ var cloudevent = * Format the payload and return it */ var formatted = cloudevent.format(); - -var ce = ``` #### Emitting @@ -140,9 +138,10 @@ var ce = var Cloudevent = require("cloudevents-sdk"); // The event -var cloudevent = new Cloudevent() - .type("com.github.pull.create") - .source("urn:event:from:myapi/resourse/123"); +var cloudevent = + new Cloudevent() + .type("com.github.pull.create") + .source("urn:event:from:myapi/resourse/123"); // The binding configuration using POST var config = {