Closed gurpreetatwal closed 5 years ago
One suggestion for the changelog comment:
The new 'mode' flag on the other
- hand, puts the entire authorization flow into a test mode meaning every
+ hand, runs the entire authorization flow in test mode.
+ This means you can log in with test credentials (any email and any password)
+ for any brand.
- meaning every brand now behaves in a manner similar to the special 'Mock' brand.
^ Feel free to ignore if not as clear
BREAKING CHANGE: The constructor no longer takes the
development
flag, but instead takes thetestMode
flag. For most purposes the switch from thedevelopment
flag to thetestMode
flag will be a drop in replacement.The development flag (now depcreated) instructs the Smartcar authorization flow (https://smartcar.com/docs#authentication) to display the special 'Mock' brand. The new 'mode' flag on the other hand, puts the entire authorization flow into a test mode meaning every brand now behaves in a manner similar to the special 'Mock' brand.
See https://smartcar.com/docs#testing for more information
@esonmez can you review the description above, that will go into the changelog