8000 fix: allow `TypedArray` for binary data by lance · Pull Request #494 · cloudevents/sdk-javascript · GitHub
[go: up one dir, main page]

Skip to content

fix: allow TypedArray for binary data #494

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 15, 2022

Conversation

lance
Copy link
Member
@lance lance commented Jun 14, 2022

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

Fixes: #491

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

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 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 self-assigned this Jun 14, 2022
Signed-off-by: Lance Ball <lball@redhat.com>
@lance
Copy link
Member Author
lance commented Jun 14, 2022

Closing and reopening to pick up changes to package.json in CI and hopefully resolve CI errors.

@lance lance closed this Jun 14, 2022
@lance lance reopened this Jun 14, 2022
@lance
Copy link
Member Author
lance commented Jun 14, 2022

Updated with your suggestions @grant and CI is passing. PTAL

@lance lance changed the title fix: allow Uint16|8Array for binary data fix: allow TypedArray for binary data Jun 14, 2022
Copy link
Member
@grant grant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lance lance merged commit 921e273 into cloudevents:main Jun 15, 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/fix A change that fixes something that is broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Non Uint32Array binary data does not set the CloudEvent's data_base64 value
2 participants
0