fix: allow `TypedArray` for binary data by lance · Pull Request #494 · cloudevents/sdk-javascript

@lance

Previously we only considered `Uint32Array` binary data. This was an
oversight. This fixes that issue.

Fixes: cloudevents#491

Signed-off-by: Lance Ball <lball@redhat.com>

@lance added the type/fix

A change that fixes something that is broken

label

Jun 14, 2022

@lance lance requested a review from a team

June 14, 2022 19:32

@lance lance mentioned this pull request

Jun 14, 2022

@lance

Signed-off-by: Lance Ball <lball@redhat.com>

@lance lance changed the title fix: allow Uint16|8Array for binary data fix: allow TypedArray for binary data

Jun 14, 2022

@lance lance deleted the lance-491-is-binary branch

June 15, 2022 04:51

@lance lance restored the lance-491-is-binary branch

May 8, 2023 20:04

This was referenced

Mar 21, 2026