@esri/telemetry-amazon 6.0.0-beta.11 → 6.0.0-beta.12

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.
@@ -2057,7 +2057,7 @@
2057
2057
  qa: 'teqa',
2058
2058
  dev: 'tedev',
2059
2059
  };
2060
- const ESRI_ENDPOINT_URL = (appId, env = 'production') => `https://${ESRI_ENDPOINT_SUBDOMAINS[env || 'production']}.arcgis.com/v1/apps/${appId}/events`;
2060
+ const ESRI_ENDPOINT_URL = (appId, env = 'dev') => `https://${ESRI_ENDPOINT_SUBDOMAINS[env || 'dev']}.arcgis.com/v1/apps/${appId}/events`;
2061
2061
  const SESSION_START_EVENT = '_session.start';
2062
2062
  const SESSION_STOP_EVENT = '_session.stop';
2063
2063
  const DEFAULT_IDLE_TIMEOUT_MS = 30 * 60 * 1000;
@@ -2170,9 +2170,9 @@
2170
2170
  },
2171
2171
  };
2172
2172
  }
2173
- function createEsriPlugin({ trackerName, appName, appId, appVersion, userPoolID, fips, debounceMs = DEFAULT_DEBOUNCE_MS, env = 'production', }) {
2173
+ function createEsriPlugin({ trackerName, appName, appId, appVersion, userPoolID, fips, debounceMs = DEFAULT_DEBOUNCE_MS, env = 'dev', }) {
2174
2174
  const url = ESRI_ENDPOINT_URL(appId, env);
2175
- console.log("url set", url);
2175
+ console.log('url set', url);
2176
2176
  let isDisabled = false;
2177
2177
  let hasWarned = false;
2178
2178
  let hasSessionStarted = false;