@equinor/fusion-framework-vite-plugin-spa 4.1.0 → 4.1.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 = '4.1.0';
2
+ export const version = '4.1.2';
3
3
  //# sourceMappingURL=version.js.map
@@ -1,4 +1,4 @@
1
- import { c as createErrorClass, _ as __extends, e as errorContext, E as EMPTY_SUBSCRIPTION, S as Subscription, a as arrRemove, O as Observable, b as __values, d as __spreadArray, f as __read, i as isFunction$1, g as SafeSubscriber, h as EmptyError, o as operate, j as executeSchedule, k as innerFrom, l as createOperatorSubscriber, m as map, n as mergeMap, p as identity, q as isArrayLike, r as isScheduler, s as popScheduler, t as popNumber, u as EMPTY, v as from, w as mergeInternals, x as scanInternals, y as noop, z as popResultSelector, A as reduce, B as lastValueFrom, M as ModuleEventLevel, C as filter, D as BaseModuleProvider, F as catchError, G as of, H as object, I as _instanceof, J as _enum, K as string, L as boolean, N as record, P as union, Q as __rest, R as __assign, T as switchMap, U as observeOn, V as deepmerge, W as BaseConfigBuilder, X as TelemetryExceptionSchema, Y as TelemetryItemNames, Z as TelemetryType, $ as TelemetryEventSchema, a0 as TelemetryMetricSchema, a1 as TelemetryCustomEventSchema, a2 as z, a3 as TelemetryLevel, a4 as enableMSAL } from '../module-w44_1T9j.js';
1
+ import { c as createErrorClass, _ as __extends, e as errorContext, E as EMPTY_SUBSCRIPTION, S as Subscription, a as arrRemove, O as Observable, b as __values, d as __spreadArray, f as __read, i as isFunction$1, g as SafeSubscriber, h as EmptyError, o as operate, j as executeSchedule, k as innerFrom, l as createOperatorSubscriber, m as map, n as mergeMap, p as identity, q as isArrayLike, r as isScheduler, s as popScheduler, t as popNumber, u as EMPTY, v as from, w as mergeInternals, x as scanInternals, y as noop, z as popResultSelector, A as reduce, B as lastValueFrom, M as ModuleEventLevel, C as filter, D as BaseModuleProvider, F as catchError, G as of, H as object, I as _instanceof, J as _enum, K as string, L as boolean, N as record, P as union, Q as __rest, R as __assign, T as switchMap, U as observeOn, V as deepmerge, W as BaseConfigBuilder, X as TelemetryExceptionSchema, Y as TelemetryItemNames, Z as TelemetryType, $ as TelemetryEventSchema, a0 as TelemetryMetricSchema, a1 as TelemetryCustomEventSchema, a2 as array, a3 as TelemetryLevel, a4 as enableMSAL } from '../module-DK5kAoXA.js';
2
2
 
3
3
  var ObjectUnsubscribedError = createErrorClass(function (_super) {
4
4
  return function ObjectUnsubscribedErrorImpl() {
@@ -1830,7 +1830,7 @@ async function runDisposePhase(ctx, instance, ref) {
1830
1830
  }
1831
1831
 
1832
1832
  // Generated by genversion.
1833
- const version$4 = '6.1.3';
1833
+ const version$4 = '6.1.4';
1834
1834
 
1835
1835
  // biome-ignore-all lint/suspicious/noExplicitAny: internal type-erased dispatch arrays — callbacks are registered with concrete module types but stored erased; the orchestrator never inspects these shapes itself
1836
1836
  /* eslint-disable @typescript-eslint/no-explicit-any */
@@ -2993,7 +2993,7 @@ class HttpClientConfigurator {
2993
2993
  }
2994
2994
 
2995
2995
  // Generated by genversion.
2996
- const version$3 = '8.1.0';
2996
+ const version$3 = '8.1.1';
2997
2997
 
2998
2998
  /** URL protocols accepted as valid ad-hoc base URIs. */
2999
2999
  const SUPPORTED_PROTOCOLS = ['http:', 'https:', 'ws:', 'wss:'];
@@ -5354,7 +5354,7 @@ class TelemetryConfigurator extends BaseConfigBuilder {
5354
5354
  }
5355
5355
 
5356
5356
  // Generated by genversion.
5357
- const version$2 = '7.1.0';
5357
+ const version$2 = '7.1.1';
5358
5358
 
5359
5359
  /**
5360
5360
  * Represents a framework event with customizable details and behavior.
@@ -8417,15 +8417,14 @@ class Query {
8417
8417
  * transforms the result to include a backward-compatible `defaultScopes`
8418
8418
  * accessor.
8419
8419
  */
8420
- const ApiService = z
8421
- .object({
8422
- key: z.string().describe('The key used to identify the service'),
8423
- uri: z.string().describe('The URI of the service'),
8424
- id: z.string().optional().describe('The ID of the service'),
8425
- environment: z.string().optional().describe('The environment of the service'),
8426
- name: z.string().optional().describe('The name of the service'),
8427
- scopes: z.array(z.string()).optional().default([]).describe('Endpoint authentication scopes'),
8428
- tags: z.array(z.string()).optional().describe('Tags for the service'),
8420
+ const ApiService = object({
8421
+ key: string().describe('The key used to identify the service'),
8422
+ uri: string().describe('The URI of the service'),
8423
+ id: string().optional().describe('The ID of the service'),
8424
+ environment: string().optional().describe('The environment of the service'),
8425
+ name: string().optional().describe('The name of the service'),
8426
+ scopes: array(string()).optional().default([]).describe('Endpoint authentication scopes'),
8427
+ tags: array(string()).optional().describe('Tags for the service'),
8429
8428
  })
8430
8429
  .describe('A service from the service discovery API')
8431
8430
  .transform((value) => ({
@@ -8442,8 +8441,7 @@ const ApiService = z
8442
8441
  * `ApiService` schema above. Used internally by
8443
8442
  * {@link ServiceDiscoveryClient} to validate API responses.
8444
8443
  */
8445
- const ApiServices = z
8446
- .array(ApiService)
8444
+ const ApiServices = array(ApiService)
8447
8445
  .describe('A list of services from the service discovery API');
8448
8446
 
8449
8447
  /** Cache key used by the internal {@link Query} instance. */
@@ -8715,7 +8713,7 @@ class ServiceDiscoveryConfigurator extends BaseConfigBuilder {
8715
8713
  }
8716
8714
 
8717
8715
  // Generated by genversion.
8718
- const version$1 = '10.1.0';
8716
+ const version$1 = '10.1.1';
8719
8717
 
8720
8718
  /**
8721
8719
  * Default implementation of {@link IServiceDiscoveryProvider}.
@@ -9364,7 +9362,7 @@ async function registerServiceWorker(framework) {
9364
9362
  }
9365
9363
 
9366
9364
  // Generated by genversion.
9367
- const version = '4.1.0';
9365
+ const version = '4.1.2';
9368
9366
 
9369
9367
  // Allow dynamic import without vite
9370
9368
  const importWithoutVite = (path) => import(/* @vite-ignore */ path);
@@ -9384,7 +9382,7 @@ enableServiceDiscovery(configurator, async (builder) => {
9384
9382
  });
9385
9383
  // Avoid interactive Entra ID authentication when the SPA runs in CI or Playwright.
9386
9384
  if (isEnabledEnvValue(import.meta.env.FUSION_SPA_MSAL_MOCK)) {
9387
- const { enableMsalMock } = await import('../index-B_3FYBBq.js');
9385
+ const { enableMsalMock } = await import('../index-DYAtJv_q.js');
9388
9386
  const mockToken = import.meta.env.FUSION_SPA_MSAL_MOCK_TOKEN;
9389
9387
  enableMsalMock(configurator, (builder) => {
9390
9388
  // Preserve the mock client's default identity when no backend-specific token is configured.