I fixed this by updating Line 156 and Line 158 to:
self.apiListingsEndpoint = "v1/cryptocurrency/map";
and
self.apiTickerEndpoint = "v2/cryptocurrency/quotes/latest";
I then removed references to 'self.apiVersion' on Line 498) so it reads:
var url = self.apiBaseURL + self.apiListingsEndpoint;
and from Line 520 so Line 519 to 521 now read:
self.apiBaseURL +self.apiTickerEndpoint +"?id=" +
apiTickerEndpoint is now on v2.
I fixed this by updating Line 156 and Line 158 to:
self.apiListingsEndpoint = "v1/cryptocurrency/map";
andself.apiTickerEndpoint = "v2/cryptocurrency/quotes/latest";
I then removed references to 'self.apiVersion' on Line 498) so it reads:
var url = self.apiBaseURL + self.apiListingsEndpoint;
and from Line 520 so Line 519 to 521 now read:
self.apiBaseURL +
self.apiTickerEndpoint +
"?id=" +