Releases: intuit/oauth-jsclient
Support for HTTP methods for API calls other than GET
New Release Candidate: 2.0.0 🎉
Features :
1.) Supports Minimum Node version >=7.0.0 ( not backward compatible )
2.) Support for HTTP methods for API calls other than GET
3.) Enhanced Code Coverage
4.) ES Lint issues fixed.
Issues Fixed :
ES Standard Adoption
New Release Candidate: 1.5.0 🎉
Problem :
- The
csrf
tokens created did not follow thesingleton
pattern. - Occasional use of strict mode keywords made the package usage difficult in
ES6
compliant environments
Solution :
csrf
token instance created at the time of instantiating OAuthClient.Singleton
JS design pattern adopted.- Adopted
ES6
standardization ESLint
enabled
Issues Fixed :
Clear Token Object on invoking revoke() functionality
New Release Candidate: 1.4.0 🎉
Problem:
The access-tokens are valid post the revoke() functionality.
Solution:
Clearing the token object is essential once the revoke() is invoked. A helper method to handle this feature is created : clearToken
Issues:
#28 : Fixed
TokenValidation for Revoke functionality Fixed
Highly Improved Implementation : setToken functionality
1.) the setToken()
and the constructor for passing the tokens are handled efficiently now.
2.) #20 and #7 - Fixed
3.) #19 - HTTP 4XX Errors handled with more information.
cc: Shout out to @ryan-sandy
Setting the Token methodology fixed
Supports Token Setting Functionality + New Scopes added
1.) Getting and Setting Tokens are easily implemented using the client library without instantiating a new instance :
https://github.com/intuit/oauth-jsclient#getter--setter-for-token
3.) New scopes added :
Payroll: com.intuit.quickbooks.payroll
,
TimeTracking: com.intuit.quickbooks.payroll.timetracking
,
Benefits: com.intuit.quickbooks.payroll.benefits
,
Rolling Back changes to realmId field on createToken()
Merge pull request #10 from intuit/develop Rolling back the changes on `realmId` field
Support for passing realmId and id_token using setToken()
Support for RefreshUsingToken method
Recap of the changes incorporated:
1.) If you want to use the client to Authorize for multiple Companies, you can just create one instance of the client.
However, to refresh tokens for multiple companies, you could use the helper method refreshUsingToken
method as shown below:
https://github.com/intuit/oauth-jsclient/blob/master/src/OAuthClient.js#L235