SmartThingsCommunity / smartapp-sdk-nodejs

Javascript/NodeJS SDK to create SmartThings SmartApps
https://smartthings.developer.samsung.com/
Apache License 2.0
146 stars 80 forks source link

fix: Construct proper authenticator type #157

Closed bflorian closed 4 years ago

bflorian commented 4 years ago

Construct proper authenticator type depending on whether a context store and mutex for sequential refreshes is defined. Previously a sequential refresh authenticator was being constructed with potentially undefined values for the context store, which resulted in unexpected exceptions from the core API in some cases

Types of changes