Releases: dhleong/pepper-mint
Releases · dhleong/pepper-mint
2.0.0
Enhancements:
- Updated to support new Mint auth flow! See notes below
- Use 'txnedit' task instead of 'simpleEdit' for updating transactions (#14)
Notes:
- We still attempt to use the old "v1" auth method, since when it works (and it does, occasionally) it's much faster, and doesn't need to always open a Chrome window. This means we should technically be compatible with old
cookies
data and PepperMint instance construction. However,sessionCookies
is now an array for the new "v2" auth instead of a map, to distinguish from the oldsessionCookies
. - Please be aware that the cookies in the
sessionCookies
array have a much shorter lifespan than the oldius_session
/thx_guid
ones, so be wary of trying to persist and reuse them. I recommend keeping theius_session
/thx_guid
cookies if you have them, and just discard any new ones; PepperMint should fallback to opening the browser for "v2" auth correctly if needed. - Contributors: I've refactored the style to be a bit more modern, using trailing comma syntax instead of the old school comma prefixing. I've also updated the eslint config to reflect this and other style preferences, so you should be able to trust eslint now.