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

Proposal: Rename `extendFootprintTtl.extendTo` to `minimumTtl` for clarity

Open Shaptic opened this issue 1 year ago • 1 comments

There was a lengthy discussion on Discord about how the naming of extendTo seems to imply an absolute ledger sequence as the parameter (i.e. extend the lifetime to ledger N). In actuality, this sets the entries' time to live to at least N more ledgers (i.e. extend, but more accurately set the TTL to ledger N).

This PR proposes a breaking change to make it minimumTtl to clarify this.

Shaptic avatar May 07 '24 22:05 Shaptic

Size Change: +229 B (0%)

Total Size: 3.21 MB

Filename Size Change
dist/stellar-base.js 2.36 MB +221 B (0%)
dist/stellar-base.min.js 855 kB +8 B (0%)

compressed-size-action

github-actions[bot] avatar May 07 '24 22:05 github-actions[bot]