Skip to content

Releases: intuit/oauth-jsclient

Release 4.2.2

10 Nov 03:50

Choose a tag to compare

What's Changed

Full Changelog: 4.2.1...4.2.2

Release 4.2.1

08 Oct 04:40

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.2.0...4.2.1

Release 4.2.0

04 Feb 04:42

Choose a tag to compare

Release 4.2.0 Latest

New Release Candidate: 4.2.0

Features

  • None (includes all minor releases and fixes since 4.1.0)

Issues Fixed

Release 4.1.3

06 Nov 05:22
caf8831

Choose a tag to compare

Release 4.1.3 Latest

New Release Candidate: 4.1.3

Features

Notes on Migration documentation (Moving from 4.1.2 to 4.1.3):

Issues Fixed
#171

Releae 4.1.2

28 Mar 00:05
7f7a3a3

Choose a tag to compare

Release 4.1.2 Latest

New Release Candidate: 4.1.2

Features

Notes on Migration documentation (Moving from 4.0 to 4.1.2):

Stop using Popsicle and start using Axios
• Axios is not a drop-in replacement for Popsicle. Here are a few of the API differences:

Request config:
Axios uses data instead of body.
Axios.get() will override the the method option.
There is no transport option.

Response schema:
Headers are turned into an object with lower cased names.
Response data is atomically parsed and can be accessed with res.data.
The response can't be stringified using JSON.stringify() because of res.request.

Breaking Changes:
• getJson() function is now not available, while making the makeApiCall() function. Instead response.json is used.
• JSON.stringify(authResponse.getJson()) ==> should now been changed to JSON.stringify(authResponse.json)
• getting the error message/code. Before, it was under this path: authResponse.json.Fault.Error
Now it's under this path: response.data.Fault.Error

• Given the transport changes, please note that transport needs to be replaced with responseType:
e.g. Users that receive a PDF will have to change their code from this:

oauthClient.makeApiCall({
url: ${url}v3/company/${companyID}/invoice/${invoiceNumber}/pdf?minorversion=59,
headers:{'Content-Type': 'application/pdf','Accept':'application/pdf'},
transport: popsicle.createTransport({type: 'buffer'})
})

To this:
oauthClient.makeApiCall({
url: ${url}v3/company/${companyID}/invoice/${invoiceNumber}/pdf?minorversion=59,
headers:{'Content-Type': 'application/pdf','Accept':'application/pdf'},
responseType: 'arraybuffer'

})

Issues Fixed
#168

Release 4.1.1

13 Mar 18:08
3698874

Choose a tag to compare

Release 4.1.1 Latest
New Release Candidate: 4.1.1
Features

Stop using Popsicle and start using Axios

Issues Fixed
#160

Release 4.1.0

08 Mar 22:06

Choose a tag to compare

Release 4.1.0 Latest

New Release Candidate: 4.1.0
Features

Stop using Popsicle and start using Axios

Issues Fixed

#157

Release 4.0.0 : Node version support 10 and higher

27 May 20:25
02e940b

Choose a tag to compare

New Release Candidate: 4.0.0

Breaking Changes

  • Minimum Node Version >= 10

Features

  • Supports Minimum Node version 10 and newer ( not backward compatible )
  • Moved lower node versions ( node 8,9, node 7, node 6 to 3.x.x. , 2.x.x and 1.x.x release respectively )
    • node version 8,9 and higher refer to 3.x.x
    • node version 7 and higher refer to 2.x.x
    • node version 6 and higher refer to 1.x.x

Issues Fixed

References

Adding support for custom authorize Endpoints

10 Jul 01:04
43a597b

Choose a tag to compare

New Release Candidate: 3.0.2 🎉

Features :

Added support for passing custom authorize URL's: #92

Dependency Fix : Remove unwanted packages

13 May 21:10
c959ed5

Choose a tag to compare

New Release Candidate: 3.0.1 🎉

Features :

  • Same as 3.0.0

Issues Fixed :

  • Move snyk package as devDependency . Ref #88