Skip to content
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

Fixes for community tickets #233

Merged
merged 6 commits into from
Oct 27, 2020
Merged

Fixes for community tickets #233

merged 6 commits into from
Oct 27, 2020

Conversation

EvanJRichard
Copy link
Contributor

@EvanJRichard EvanJRichard commented Oct 22, 2020

Closes #153, closes #220, closes #222

@EvanJRichard EvanJRichard self-assigned this Oct 27, 2020
@EvanJRichard EvanJRichard marked this pull request as ready for review October 27, 2020 14:38
@EvanJRichard EvanJRichard changed the title Draft: fixes for community tickets Fixes for community tickets Oct 27, 2020
Copy link
Contributor

@jasonpaulos jasonpaulos left a comment

Choose a reason for hiding this comment

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

Looks good, I'm glad to more errors on invalid input!

src/logicsig.js Outdated
assert(Array.isArray(args))
function checkType(arg) {
let theType = typeof arg;
return ((theType == "string") || (theType == "number") || (arg.constructor == Uint8Array) || (arg.constructor == Buffer));
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: can you use Buffer.isBuffer to check for Buffers? That will work slightly better in browsers.

@EvanJRichard EvanJRichard merged commit bc92606 into develop Oct 27, 2020
@jeapostrophe
Copy link

Thanks!

@jasonpaulos jasonpaulos mentioned this pull request Nov 3, 2020
@algorandskiy algorandskiy deleted the evan/community_tickets branch February 18, 2022 21:00
milafilip pushed a commit to milafilip/js-algorand-sdk that referenced this pull request Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants