* fix: do not alter an event's data attribute When setting an event's data attribute we were trying to be really clever and this is problematic. Instead, keep the data attribute unchanged. Per the 1.0 specification, the data attribute is still inspected to determine if it is binary, and if so, a data_base64 attribute is added with the contents of the data property encoded as base64. Fixes: https://github.com/cloudevents/sdk-javascript/issues/343 Signed-off-by: Lance Ball <lball@redhat.com> |
||
---|---|---|
.. | ||
ce.png | ||
cloud_event_test.ts | ||
constants_test.ts | ||
emitter_factory_test.ts | ||
http_emitter_test.ts | ||
http_receiver_test.ts | ||
message_test.ts | ||
parser_test.ts | ||
sdk_test.ts | ||
spec_1_tests.ts | ||
spec_03_tests.ts | ||
utilities_test.ts |