diff --git a/test/sdk_test.js b/test/sdk_test.js index ac00741..b61f7fd 100644 --- a/test/sdk_test.js +++ b/test/sdk_test.js @@ -97,9 +97,9 @@ describe("The SDK Requirements", () => { expect(v1).to.have.property("BinaryHTTPReceiver"); }); - // it("should exports 'HTTPUnmarshaller'", () => { - // expect(v1).to.have.property("HTTPUnmarshaller"); - // }); + it("should exports 'HTTPUnmarshaller'", () => { + expect(v1).to.have.property("HTTPUnmarshaller"); + }); it("should exports 'event'", () => { expect(v1).to.have.property("event"); diff --git a/v1/index.js b/v1/index.js index a2c7c9a..b7cce2e 100644 --- a/v1/index.js +++ b/v1/index.js @@ -12,6 +12,8 @@ const StructuredHTTPReceiver = const BinaryHTTPReceiver = require("../lib/bindings/http/receiver_binary_1.js"); +const HTTPUnmarshaller = require("../lib/bindings/http/unmarshaller_1.js"); + function event() { return new Cloudevent(Spec); } @@ -22,5 +24,6 @@ module.exports = { BinaryHTTPEmitter, StructuredHTTPReceiver, BinaryHTTPReceiver, + HTTPUnmarshaller, event };