sdk-javascript/src
Lance Ball 15f6505a58
BREAKING CHANGE: use string instead of enum for `Version` (#561)
TypeScript does not consider enum values equivalent, even if the string
representation is the same. So, when a module imports `cloudevents` and
also has a dependency on `cloudevents` this can cause conflicts where
the `CloudEvent.version` attribute is not considered equal when, in
fact, it is.

Changing the `enum` to a string is pretty straightforward, but should be
considered a breaking change since TypeScript dependents will
potentially fail the build with a change like this.

Signed-off-by: Lance Ball <lball@redhat.com>
2023-07-19 10:53:03 -04:00
..
event BREAKING CHANGE: use string instead of enum for `Version` (#561) 2023-07-19 10:53:03 -04:00
message BREAKING CHANGE: use string instead of enum for `Version` (#561) 2023-07-19 10:53:03 -04:00
schema feat: precompile cloudevent schema (#471) 2022-02-15 14:06:42 -05:00
transport feat!: add http transport and remove axios (#481) 2022-03-18 13:36:12 -04:00
constants.ts fix: handle big integers in incoming events (#495) 2023-05-10 12:45:43 -04:00
index.ts BREAKING CHANGE: use string instead of enum for `Version` (#561) 2023-07-19 10:53:03 -04:00
parsers.ts fix: handle big integers in incoming events (#495) 2023-05-10 12:45:43 -04:00