Export the structured emitter for v0.3
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
c63b63dbea
commit
084d0c1a0b
|
@ -42,7 +42,10 @@ describe("The SDK Requirements", () => {
|
||||||
expect(v03).to.have.property("Spec");
|
expect(v03).to.have.property("Spec");
|
||||||
});
|
});
|
||||||
|
|
||||||
// StructuredHTTPEmitter
|
|
||||||
|
it("should exports 'StructuredHTTPEmitter'", () => {
|
||||||
|
expect(v03).to.have.property("StructuredHTTPEmitter");
|
||||||
|
});
|
||||||
|
|
||||||
// StructuredHTTPReceiver
|
// StructuredHTTPReceiver
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
const Cloudevent = require("../lib/cloudevent.js");
|
const Cloudevent = require("../lib/cloudevent.js");
|
||||||
const Spec = require("../lib/specs/spec_0_3.js");
|
const Spec = require("../lib/specs/spec_0_3.js");
|
||||||
|
const StructuredHTTPEmitter = require("../lib/bindings/http/emitter_binary.js");
|
||||||
const BinaryHTTPEmitter = require("../lib/bindings/http/emitter_binary_0_3.js");
|
const BinaryHTTPEmitter = require("../lib/bindings/http/emitter_binary_0_3.js");
|
||||||
|
|
||||||
function event() {
|
function event() {
|
||||||
|
@ -8,6 +9,7 @@ function event() {
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
Spec,
|
Spec,
|
||||||
|
StructuredHTTPEmitter,
|
||||||
BinaryHTTPEmitter,
|
BinaryHTTPEmitter,
|
||||||
event
|
event
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue