Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
[app-configuration] Fix issue with usages of 'crypto' package for browsers. #9648
When talking with @chradek he mentioned that we should consider if this is something that we should make usable across other parts of the SDK.
BTW, this it the first time I've needed to make a browser-specific change in AppConfig so please let me know if I've missed anything here.
- There was actually a "can't work in browser" function (util.isArray) that I replaced with the proper browser equivalent - A user agent test that I used to have to force to be node or browser now just "works" since it uses the core-http method for figuring out the environment. Also, got to remove some code for that.