@equinor/fusion-framework-vite-plugin-spa 5.2.4-next.0 → 5.2.4-next.2

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.
@@ -1,3 +1,3 @@
1
1
  // Generated by genversion.
2
- export const version = '5.2.4-next.0';
2
+ export const version = '5.2.4-next.2';
3
3
  //# sourceMappingURL=version.js.map
@@ -5597,7 +5597,7 @@ class TelemetryConfigurator extends BaseConfigBuilder {
5597
5597
  }
5598
5598
 
5599
5599
  // Generated by genversion.
5600
- const version$2 = '8.0.0-next.0';
5600
+ const version$2 = '8.0.0-next.3';
5601
5601
 
5602
5602
  /**
5603
5603
  * Represents a telemetry measurement that tracks elapsed time and reports measurement data
@@ -9943,7 +9943,7 @@ class ServiceDiscoveryConfigurator extends BaseConfigBuilder {
9943
9943
  }
9944
9944
 
9945
9945
  // Generated by genversion.
9946
- const version$1 = '10.3.0-next.0';
9946
+ const version$1 = '10.3.0-next.1';
9947
9947
 
9948
9948
  /**
9949
9949
  * Default implementation of {@link IServiceDiscoveryProvider}.
@@ -9976,8 +9976,10 @@ class ServiceDiscoveryProvider extends BaseModuleProvider {
9976
9976
  /**
9977
9977
  * Connects optional operational telemetry for the client this provider owns.
9978
9978
  *
9979
- * Records one `fusion.service-discovery.resolve.duration` per resolution, plus
9980
- * `cache-hit`, `fallback`, `cooldown` and `unknown-service` notifications. No keys,
9979
+ * Records one `fusion.service-discovery.resolve.duration` per network, fallback or cooldown
9980
+ * resolution, plus `fallback`, `cooldown` and `unknown-service` notifications. Cached
9981
+ * resolutions record only a Debug-level `cache-hit` notification, so hosts filtering at
9982
+ * Information or above export nothing for them. No keys,
9981
9983
  * URIs, scopes or errors are recorded, and HTTP attempts are left to HTTP telemetry.
9982
9984
  * Calling it again replaces the provider; `undefined` records nothing until reconnected.
9983
9985
  *
@@ -10003,17 +10005,20 @@ class ServiceDiscoveryProvider extends BaseModuleProvider {
10003
10005
  return;
10004
10006
  }
10005
10007
  const { outcome, origin, duration } = diagnostic;
10006
- report({ operation: 'resolve', outcome, duration });
10007
- // Network resolutions are fully described by the measurement and the HTTP attempt.
10008
+ // Cache hits dominate lookup volume and carry no diagnostic value at default levels,
10009
+ // so they are a single Debug notification rather than a measured resolution.
10008
10010
  if (origin === 'cache') {
10009
10011
  report({
10010
10012
  notification: true,
10011
10013
  operation: 'cache-hit',
10012
10014
  outcome,
10013
- level: TelemetryLevel.Information,
10015
+ level: TelemetryLevel.Debug,
10014
10016
  });
10017
+ return;
10015
10018
  }
10016
- else if (origin !== 'network') {
10019
+ report({ operation: 'resolve', outcome, duration });
10020
+ // Network resolutions are fully described by the measurement and the HTTP attempt.
10021
+ if (origin !== 'network') {
10017
10022
  report({
10018
10023
  notification: true,
10019
10024
  operation: origin,
@@ -10617,7 +10622,7 @@ async function registerServiceWorker(framework) {
10617
10622
  }
10618
10623
 
10619
10624
  // Generated by genversion.
10620
- const version = '5.2.4-next.0';
10625
+ const version = '5.2.4-next.2';
10621
10626
 
10622
10627
  // Allow dynamic import without vite
10623
10628
  const importWithoutVite = (path) => import(/* @vite-ignore */ path);