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

3.0.0: Sync changes to develop #884

Merged
merged 45 commits into from
Aug 20, 2024
Merged

3.0.0: Sync changes to develop #884

merged 45 commits into from
Aug 20, 2024

Conversation

jasonpaulos
Copy link
Contributor

Development on v3 of the JS SDK has so far been isolated to the 3.0.0 branch. This PR merges the new changes back into the develop branch.

algochoi and others added 30 commits July 18, 2023 09:26
* Remove buffer usage in favor or Uint8Array and Dataview

* Add byteoffset when creating DataView

* Increase Indexer sleep time

* Add polyfill for base64 decoding and update examples

* Update examples to use utility function for Buffer functionality

* Revert smoke test

* Add a roundtrip test for sanity check

* Fix base64 encoding test

* Remove unnecessary casting

* Unify return type to Uint8Array

* Standardize tests and add more utf-8 strings

* Add hex encoding and string encoding tests

* Update tests for edge bytes

* Export byte conversion utilities

* Fix imports to prefix algosdk

* Fix remaining imports in examples

* Add test case for non UTF8 characters
* Update Chromedriver link 115>=

* Use puppeteer to download latest stable chromedriver

* Update circle ci browser tools orb

* Don't manually install chromedriver

* Pin chromedriver version

* Remove comment

* Revert to 114

* Update selenium

* Test

* Update chromedriver 114
* Remove buffer usage in favor or Uint8Array and Dataview

* Add byteoffset when creating DataView

* Increase Indexer sleep time

* Add polyfill for base64 decoding and update examples

* Update examples to use utility function for Buffer functionality

* Revert smoke test

* Add a roundtrip test for sanity check

* Fix base64 encoding test

* Remove buffer in transaction

* Remove unnecessary casting

* Unify return type to Uint8Array

* Remove buffer usage in source code except client

* Standardize tests and add more utf-8 strings

* Add hex encoding and string encoding tests

* Fix some code broken by existing tests

* Update tests for edge bytes

* Export byte conversion utilities

* Fix imports to prefix algosdk

* Resolving merge conflicts

* Remove some generated types from stable release

* Fix node tests

* Try loadResource in browser

* Update buffer usage in client files

* Revert cucumber browser loadResource

* Fix browser tests

* Fix node tests

* Add alternative path for decoding composer responses

* Remove browser buffer dependency, fix cucumber tests

* Revert cucumber node index.js file to use buffer again

* Fix some conversion methods in err messages

* Update src/encoding/binarydata.ts

Co-authored-by: Eric Warehime <eric.warehime@gmail.com>

* Run prettier on commit suggestion

* Add toString conversion for buffers

* Update tests/cucumber/browser/test.js

Co-authored-by: Jason Paulos <jasonpaulos@users.noreply.github.com>

---------

Co-authored-by: Eric Warehime <eric.warehime@gmail.com>
Co-authored-by: Jason Paulos <jasonpaulos@users.noreply.github.com>
* Add address bytes length check in encodeAddress

* Fix example where address is invalid

* Add unit test for incorrect length encoding
Co-authored-by: Jason Paulos <jasonpaulos@users.noreply.github.com>
@jasonpaulos jasonpaulos merged commit da8f2e6 into develop Aug 20, 2024
3 checks passed
@jasonpaulos jasonpaulos deleted the 3.0.0 branch August 20, 2024 15:49
@jasonpaulos jasonpaulos restored the 3.0.0 branch August 21, 2024 16:43
@jasonpaulos jasonpaulos deleted the 3.0.0 branch August 21, 2024 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants