@equinor/fusion-framework-vite-plugin-spa 4.1.1 → 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.1';
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-CCQVD18S.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() {
@@ -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. */
@@ -9364,7 +9362,7 @@ async function registerServiceWorker(framework) {
9364
9362
  }
9365
9363
 
9366
9364
  // Generated by genversion.
9367
- const version = '4.1.1';
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-BuLE84Ql.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.