From 41d9328ac88e57a8582d0306af5604b1ee33d5dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabio=20Jos=C3=A9?= Date: Sat, 2 Nov 2019 07:05:42 -0300 Subject: [PATCH] Exporting the structured receiver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabio José --- v1/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/v1/index.js b/v1/index.js index 06f95db..4e3c08e 100644 --- a/v1/index.js +++ b/v1/index.js @@ -4,6 +4,9 @@ const StructuredHTTPEmitter = require("../lib/bindings/http/emitter_structured.js"); const BinaryHTTPEmitter = require("../lib/bindings/http/emitter_binary_1.js"); +const StructuredHTTPReceiver = + require("../lib/bindings/http/receiver_structured_1.js"); + function event() { return new Cloudevent(Spec); } @@ -12,5 +15,6 @@ module.exports = { Spec, StructuredHTTPEmitter, BinaryHTTPEmitter, + StructuredHTTPReceiver, event };