js-stellar-sdk icon indicating copy to clipboard operation
js-stellar-sdk copied to clipboard

Added Toml types from SEP1

Open tobinbc opened this issue 2 years ago • 0 comments

https://github.com/stellar/js-stellar-sdk/issues/371

Added all the fields I could find in SEP1; and other sources when building my Anchor.

They are not readonly because if going in the other direction it can be desired to assemble the object first before it is tomlified.

Is there any desire to bring in the reverse? e.g.

const TOML = require("@iarna/toml");
const body = TOML.stringify(config);

tobinbc avatar Sep 27 '22 19:09 tobinbc