@globus/sdk 6.0.0-rc.13 → 6.0.0-rc.14

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/cjs/index.js CHANGED
@@ -2489,9 +2489,14 @@ function readableBytes(bytes, truncate = 2) {
2489
2489
  }
2490
2490
  return `${rendered} ${unit}`;
2491
2491
  }
2492
- var GLOBUS_DNS_DOMAINS = ["dnsteam.globuscs.info", "data.globus.org", "dn.glob.us"];
2492
+ var GLOBUS_DNS_DOMAINS = [
2493
+ "dnsteam.globuscs.info",
2494
+ "data.globus.org",
2495
+ "dn.glob.us",
2496
+ "gaccess.io"
2497
+ ];
2493
2498
  function isGlobusHostname(hostname) {
2494
- return Boolean(GLOBUS_DNS_DOMAINS.find((d) => hostname.endsWith(d)));
2499
+ return Boolean(GLOBUS_DNS_DOMAINS.find((d) => hostname.endsWith(`.${d}`)));
2495
2500
  }
2496
2501
  function getDomainFromEndpoint(endpoint) {
2497
2502
  const { tlsftp_server: tls } = endpoint;