igv 2.15.9 → 2.15.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/igv.js CHANGED
@@ -18679,6 +18679,7 @@
18679
18679
  async _loadURL(url, options) {
18680
18680
 
18681
18681
  const self = this;
18682
+ const _url = url; // The unmodified URL, needed in case of an oAuth retry
18682
18683
 
18683
18684
  url = mapUrl$1(url);
18684
18685
 
@@ -18840,10 +18841,10 @@
18840
18841
 
18841
18842
  async function tryGoogleAuth() {
18842
18843
  try {
18843
- const accessToken = await fetchGoogleAccessToken(url);
18844
+ const accessToken = await fetchGoogleAccessToken(_url);
18844
18845
  options.retries = 1;
18845
18846
  options.oauthToken = accessToken;
18846
- const response = await self.load(url, options);
18847
+ const response = await self.load(_url, options);
18847
18848
  resolve(response);
18848
18849
  } catch (e) {
18849
18850
  if (e.error) {
@@ -23995,7 +23996,7 @@
23995
23996
  }
23996
23997
  };
23997
23998
 
23998
- const _version = "2.15.9";
23999
+ const _version = "2.15.10";
23999
24000
  function version() {
24000
24001
  return _version
24001
24002
  }