sdk-javascript/src
Calum Murray 6977113d7b
fix: creating an event does not error when the event attribute name is too long (#593)
* fix: creating an event does not error when the event attribute name is too long

* From the spec, the requirement for the length of attribute names is only a SHOULD, not a MUST. Currently, if the length is over 20 then the sdk throws an error, which I believe is incorrect because the length requirement is not a MUST.

Signed-off-by: Calum Murray <cmurray@redhat.com>

* fix(test): test expects not to throw

Signed-off-by: Calum Murray <cmurray@redhat.com>

---------

Signed-off-by: Calum Murray <cmurray@redhat.com>
2024-07-22 13:22:43 -04:00
..
event fix: creating an event does not error when the event attribute name is too long (#593) 2024-07-22 13:22:43 -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