Commit Graph

8 Commits

Author SHA1 Message Date
Grant Timmerman 05ecbdea4f
feat: use CloudEvents not cloudevents everywhere (#101)
Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>
2020-04-30 16:14:13 -07:00
Lance Ball 5110ad4c67 src,fix: drop support for v0.2 and clean up contenttype
This commit removes support for the v0.2 specification. It also removes the
`contenttype` attribute from the `CloudEvent` object. While the HTTP protocol
binding specifies that in binary mode, the `datacontenttype` attribute should
map to the HTTP Content-Type header, that doesn't mean that the `CloudEvent`
object should have a `contenttype` property.

Fixes: https://github.com/cloudevents/sdk-javascript/issues/61
Fixes: https://github.com/cloudevents/sdk-javascript/issues/66

Signed-off-by: Lance Ball <lball@redhat.com>
2020-04-28 17:37:49 -03:00
Fabio José d399e5abc3 Exporting the HTTPUnmarshaller
Signed-off-by: Fabio José <fabiojose@gmail.com>
2019-08-05 09:22:15 -03:00
Fabio José fd119040fc Exporting the receiver and emitter for binary 0.3
Signed-off-by: Fabio José <fabiojose@gmail.com>
2019-08-04 13:26:14 -03:00
Fabio José 35949719fb Fix the import of structured emitter
Signed-off-by: Fabio José <fabiojose@gmail.com>
2019-08-02 10:15:30 -03:00
Fabio José 084d0c1a0b Export the structured emitter for v0.3
Signed-off-by: Fabio José <fabiojose@gmail.com>
2019-08-02 09:57:59 -03:00
Fabio José e7b5c833c6 Exporting the v0.3 stuff
Signed-off-by: Fabio José <fabiojose@gmail.com>
2019-08-01 17:43:48 -03:00
Fabio José 4adde60995 SDK Requirements for v0.3
Signed-off-by: Fabio José <fabiojose@gmail.com>
2019-07-29 13:25:13 -03:00