stellar / js-stellar-base

The lowest-level stellar helper library. It consists of classes to read, write, hash, and sign Stellar xdr
https://stellar.github.io/js-stellar-base/
Apache License 2.0
108 stars 137 forks source link

Add support to convert strings to large integer and address `ScVal`s #690

Closed Shaptic closed 1 year ago

Shaptic commented 1 year ago

In summary, this adds the following conversions:

For details, you can refer to the changes in test/unit/scval_test.js for new usage examples.

Closes #683.


An unrelated change is to tests.yml which actually does prettier formatting before checking the diff :facepalm:. This is the cause of a handful of formatting changes (yarn fmt wasn't run in a previous PR).

github-actions[bot] commented 1 year ago

Size Change: +7.17 kB (0%)

Total Size: 3.13 MB

Filename Size Change
dist/stellar-base.js 2.3 MB +5.3 kB (0%)
dist/stellar-base.min.js 835 kB +1.87 kB (0%)

compressed-size-action