@securitydept/client 0.3.0-beta.6 → 0.3.0-beta.8

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/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { A as RxEventSubject, B as withDisposableStack, E as RxComputedSignal, F as SYMBOL_DISPOSE, G as UserRecovery, H as ClientErrorKind, I as SimpleDisposableStack, L as StdDisposableStack, M as isInteropObservableTrait, N as SYMBOL_ASYNC_DISPOSE, O as RxEventReplaySubject, P as SYMBOL_DISPOSABLE_STACK, R as createDisposableStack, U as ClientErrorSource, V as ClientError, W as ErrorPresentationTone, a as ResourceSnapshotUpdateKind, c as whenResourceSnapshotValue, d as ResourceErrorCode, f as CancellationToken, i as rxResource, j as SYMBOL_OBSERVABLE, k as RxEventStream, l as ResourceStatus, m as isCancellationTokenTrait, n as mapResource, o as flattenResourceSnapshot, p as createCancellationTokenSource, r as resourceFromSnapshots, s as reduceResourceSnapshot, u as ResourceError, z as injectDisposableStackFrom } from "./rx-B3OU17wu.mjs";
2
- import { a as createJsonRpcServerAndClient, c as createSignal, i as createJsonRpcServer, l as readonlySignal, n as PopupServerWindowHandle, o as PopupErrorCode, r as createJsonRpcClient, s as readPopupErrorPresentationDescriptor, t as PopupClientWindowHandle, u as readErrorPresentationDescriptor } from "./handle-TnxwtQ4T.mjs";
3
- import { A as appendOrReplaceCompatFragment, B as validateWithSchemaSync, C as IDLE_CALLBACK_TRAIT_TOKEN, D as RouterNavigationMode, E as RouterNavigationIntent, F as PopupAttachFailureReason, G as PARENT_INJECTOR_TOKEN, H as EventSourceKind, I as formatValidationFailure, J as SecurityDeptOptional, K as SecuritydeptInjector, L as throwValidationClientError, M as parseCompatFragment, N as takeCompatFragment, O as takeCompatFragmentFromRouter, P as POPUP_TRAIT_TOKEN, Q as notMissingProvider, R as validateTraitInput, S as SPAN_TRAIT_TOKEN, T as ROUTER_TRAIT_TOKEN, U as isEventStreamTrait, V as PAGE_LIFECYCLE_TRAIT_TOKEN, W as INJECTOR_TOKEN, X as createProviderIfTokenMissing, Y as SecuritydeptInjectionToken, Z as getSecuritydeptProviderToken, _ as abortSignalToCancellationToken, a as TracingLevel, b as abortSignalToEventStream, c as PERSISTENT_STORAGE_TRAIT_TOKEN, d as StorageChangeEventOrigin, f as FetchTransportRedirectKind, g as createTimeForStd, h as TransportErrorCode, i as TRACING_TRAIT_TOKEN, j as isCompatFragmentBlock, k as SECURITYDEPT_COMPAT_FRAGMENT_VERSION, l as REALM_STORAGE_TRAIT_TOKEN, m as TRANSPORT_TRAIT_TOKEN, n as ENVIRONMENT_TOKEN, o as createTracing, p as createBaseTransportForStdFetch, q as toRuntimeInjector, r as OperationTraceEventType, s as createInMemoryRecordStore, t as createFoundationEnvironment, u as SESSION_STORAGE_TRAIT_TOKEN, v as cancellationTokenToAbortSignal, w as TIME_TRAIT_TOKEN, x as createRootSpan, y as normalizeAbortError, z as validateWithSchema } from "./create-99Ksgl_O.mjs";
1
+ import { A as RxEventSubject, B as withDisposableStack, E as RxComputedSignal, F as SYMBOL_DISPOSE, G as ErrorPresentationTone, H as ClientError, I as SimpleDisposableStack, K as UserRecovery, L as StdDisposableStack, M as isInteropObservableTrait, N as SYMBOL_ASYNC_DISPOSE, O as RxEventReplaySubject, P as SYMBOL_DISPOSABLE_STACK, R as createDisposableStack, U as ClientErrorKind, V as CLIENT_ERROR_SPAN_ATTRIBUTE_PROVIDER_ID, W as ClientErrorSource, a as ResourceSnapshotUpdateKind, c as whenResourceSnapshotValue, d as ResourceErrorCode, f as CancellationToken, i as rxResource, j as SYMBOL_OBSERVABLE, k as RxEventStream, l as ResourceStatus, m as isCancellationTokenTrait, n as mapResource, o as flattenResourceSnapshot, p as createCancellationTokenSource, r as resourceFromSnapshots, s as reduceResourceSnapshot, u as ResourceError, z as injectDisposableStackFrom } from "./rx-DM6Ouv-m.mjs";
2
+ import { a as createJsonRpcServerAndClient, c as createSignal, d as readErrorPresentationDescriptor, f as SpanSharedAttributeName, i as createJsonRpcServer, l as readonlySignal, n as PopupServerWindowHandle, o as PopupErrorCode, r as createJsonRpcClient, s as readPopupErrorPresentationDescriptor, t as PopupClientWindowHandle, u as formatClientErrorContext } from "./handle-DwMgqe7R.mjs";
3
+ import { $ as notMissingProvider, A as SECURITYDEPT_COMPAT_FRAGMENT_VERSION, B as validateWithSchema, C as SPAN_TRAIT_TOKEN, D as RouterNavigationIntent, E as ROUTER_TRAIT_TOKEN, F as POPUP_TRAIT_TOKEN, G as INJECTOR_TOKEN, H as PAGE_LIFECYCLE_TRAIT_TOKEN, I as PopupAttachFailureReason, J as toRuntimeInjector, K as PARENT_INJECTOR_TOKEN, L as formatValidationFailure, M as isCompatFragmentBlock, N as parseCompatFragment, O as RouterNavigationMode, P as takeCompatFragment, Q as getSecuritydeptProviderToken, R as throwValidationClientError, S as createRootSpan, T as TIME_TRAIT_TOKEN, U as EventSourceKind, V as validateWithSchemaSync, W as isEventStreamTrait, X as SecuritydeptInjectionToken, Y as SecurityDeptOptional, Z as createProviderIfTokenMissing, _ as createTimeForStd, a as TRACING_TRAIT_TOKEN, b as normalizeAbortError, c as createInMemoryRecordStore, d as SESSION_STORAGE_TRAIT_TOKEN, f as StorageChangeEventOrigin, g as TransportErrorCode, h as TRANSPORT_TRAIT_TOKEN, i as TRACING_SPAN_ATTRIBUTE_PROVIDER_ID, j as appendOrReplaceCompatFragment, k as takeCompatFragmentFromRouter, l as PERSISTENT_STORAGE_TRAIT_TOKEN, m as createBaseTransportForStdFetch, n as ENVIRONMENT_TOKEN, o as TracingLevel, p as FetchTransportRedirectKind, q as SecuritydeptInjector, r as OperationTraceEventType, s as createTracing, t as createFoundationEnvironment, u as REALM_STORAGE_TRAIT_TOKEN, v as abortSignalToCancellationToken, w as IDLE_CALLBACK_TRAIT_TOKEN, x as abortSignalToEventStream, y as cancellationTokenToAbortSignal, z as validateTraitInput } from "./create-i5VyYgN6.mjs";
4
4
  import { i as UriString, n as UriReferenceString, r as UriRelativeString, t as UriParseError } from "./uri-string-BPNbIMgv.mjs";
5
5
  import { v7 } from "uuid";
6
6
  import { inject as inject$1, runInInjectionContext as runInInjectionContext$1 } from "injection-js";
@@ -345,39 +345,27 @@ function createAuthorizationInterceptedFetch(fetchImpl, options) {
345
345
  //#endregion
346
346
  //#region src/tracing/operation-runner.ts
347
347
  var OperationSpan = class OperationSpan {
348
- _span;
348
+ span;
349
349
  _environment;
350
- _name;
351
350
  _target;
352
- constructor(_span, _environment, _name, _target) {
353
- this._span = _span;
351
+ constructor(span, _environment, _target) {
352
+ this.span = span;
354
353
  this._environment = _environment;
355
- this._name = _name;
356
354
  this._target = _target;
357
355
  }
358
356
  static start(options) {
359
- const operationSpan = new OperationSpan(options.span.fork({
357
+ const span = options.span.fork({
360
358
  mutable: true,
361
359
  idFactory: options.idFactory,
362
- attributes: options.fields
363
- }), options.environment, options.name, options.target);
360
+ attributes: { [SpanSharedAttributeName.OperationName]: options.name }
361
+ });
362
+ if (options.traceAttributes) span.setAttributes(options.traceAttributes, { providerId: TRACING_SPAN_ATTRIBUTE_PROVIDER_ID });
363
+ const operationSpan = new OperationSpan(span, options.environment, options.target);
364
364
  operationSpan.recordStarted();
365
365
  return operationSpan;
366
366
  }
367
- get id() {
368
- return this._span.id;
369
- }
370
- get parent() {
371
- return this._span.parent;
372
- }
373
- get attributes() {
374
- return this._span.attributes;
375
- }
376
- fork(options = {}) {
377
- return this._span.fork(options);
378
- }
379
- setAttributes(attributes) {
380
- this._span.setAttributes(attributes);
367
+ setTraceAttributes(attributes) {
368
+ this.span.setAttributes(attributes, { providerId: TRACING_SPAN_ATTRIBUTE_PROVIDER_ID });
381
369
  }
382
370
  addEvent(name, fields) {
383
371
  this._record(OperationTraceEventType.Event, TracingLevel.Info, {
@@ -401,38 +389,34 @@ var OperationSpan = class OperationSpan {
401
389
  this._environment.tracing.record({
402
390
  name,
403
391
  at: this._environment.time.now(),
404
- span: this,
392
+ span: this.span,
405
393
  level,
406
394
  target: this._target,
407
- fields: {
408
- operationName: this._name,
409
- ...this.attributes,
410
- ...fields ?? {}
411
- }
395
+ fields
412
396
  });
413
397
  }
414
398
  };
415
399
  function runOperation(options) {
416
400
  const operationSpan = OperationSpan.start(options);
417
- const complete = (result) => {
418
- operationSpan.recordEnded("succeeded");
419
- return result;
420
- };
421
- const fail = (error) => {
422
- const normalizedError = options.normalizeError?.(error) ?? error;
423
- operationSpan.recordError(normalizedError);
424
- operationSpan.recordEnded("failed");
425
- throw normalizedError;
426
- };
427
- const invoke = () => options.execute(operationSpan);
428
401
  try {
429
- const result = invoke();
430
- if (isPromise(result)) return result.then(complete, fail);
431
- return complete(result);
402
+ const result = options.execute(operationSpan);
403
+ if (isPromise(result)) return result.then((value) => completeOperation(operationSpan, value), (error) => failOperation(operationSpan, error, options.clientErrorFromUnknown));
404
+ return completeOperation(operationSpan, result);
432
405
  } catch (error) {
433
- return fail(error);
406
+ return failOperation(operationSpan, error, options.clientErrorFromUnknown);
434
407
  }
435
408
  }
409
+ function completeOperation(operationSpan, result) {
410
+ operationSpan.recordEnded("succeeded");
411
+ return result;
412
+ }
413
+ function failOperation(operationSpan, error, clientErrorFromUnknown) {
414
+ const clientError = clientErrorFromUnknown ? clientErrorFromUnknown(error, { span: operationSpan.span }) : error;
415
+ if (clientError instanceof ClientError) clientError.captureSpanContext(operationSpan.span);
416
+ operationSpan.recordError(clientError);
417
+ operationSpan.recordEnded("failed");
418
+ throw clientError;
419
+ }
436
420
  //#endregion
437
421
  //#region src/tracing/operation-method.ts
438
422
  function defineInstrumentMethodDecorator(factory) {
@@ -452,9 +436,9 @@ function defineInstrumentMethodDecorator(factory) {
452
436
  span: resolvedOptions.span,
453
437
  name: resolvedOptions.name ?? methodName,
454
438
  target: resolvedOptions.target,
455
- fields: resolvedOptions.fields,
439
+ traceAttributes: resolvedOptions.traceAttributes,
456
440
  idFactory: resolvedOptions.idFactory,
457
- normalizeError: resolvedOptions.normalizeError,
441
+ clientErrorFromUnknown: resolvedOptions.clientErrorFromUnknown,
458
442
  execute: (span) => target.call(this, ...args, span)
459
443
  });
460
444
  };
@@ -462,71 +446,112 @@ function defineInstrumentMethodDecorator(factory) {
462
446
  }
463
447
  //#endregion
464
448
  //#region src/tracing/subscriber/console.ts
465
- function createConsoleTracingSubscriber() {
466
- return { record(event) {
449
+ var ConsoleTracingSubscriber = class {
450
+ record(event) {
467
451
  const label = `[${event.target}] ${event.name}`;
452
+ const details = {
453
+ ...event.fields ?? {},
454
+ spanAttributes: event.span.getRootToNodeAttributes({ providerId: TRACING_SPAN_ATTRIBUTE_PROVIDER_ID })
455
+ };
468
456
  switch (event.level) {
469
457
  case "debug":
470
- console.debug(label, event.fields ?? {});
458
+ console.debug(label, details);
471
459
  break;
472
460
  case "info":
473
- console.info(label, event.fields ?? {});
461
+ console.info(label, details);
474
462
  break;
475
463
  case "warn":
476
- console.warn(label, event.fields ?? {});
464
+ console.warn(label, details);
477
465
  break;
478
- case "error": console.error(label, event.fields ?? {});
466
+ case "error": console.error(label, details);
479
467
  }
480
- } };
468
+ }
469
+ };
470
+ function createConsoleTracingSubscriber() {
471
+ return new ConsoleTracingSubscriber();
481
472
  }
482
473
  //#endregion
474
+ //#region src/struct/ring-buffer.ts
475
+ var FixedCapacityRingBuffer = class {
476
+ capacity;
477
+ values;
478
+ head = 0;
479
+ tail = 0;
480
+ _size = 0;
481
+ constructor(capacity) {
482
+ this.capacity = capacity;
483
+ if (!Number.isInteger(capacity) || capacity <= 0) throw new RangeError("Ring buffer capacity must be a positive integer.");
484
+ this.values = new Array(capacity);
485
+ }
486
+ get size() {
487
+ return this._size;
488
+ }
489
+ append(value) {
490
+ this.values[this.tail] = value;
491
+ this.tail = (this.tail + 1) % this.capacity;
492
+ if (this._size === this.capacity) this.head = this.tail;
493
+ else this._size += 1;
494
+ }
495
+ toArray() {
496
+ const snapshot = new Array(this._size);
497
+ for (let index = 0; index < this._size; index += 1) snapshot[index] = this.values[(this.head + index) % this.capacity];
498
+ return snapshot;
499
+ }
500
+ clear() {
501
+ this.values.fill(void 0);
502
+ this.head = 0;
503
+ this.tail = 0;
504
+ this._size = 0;
505
+ }
506
+ };
507
+ //#endregion
483
508
  //#region src/tracing/subscriber/timeline-store.ts
484
509
  /**
485
- * Create a subscriber-side trace timeline store.
510
+ * Bounded subscriber-side trace timeline.
486
511
  *
487
512
  * This store consumes tracing events through `record(event)` and keeps a
488
513
  * bounded local timeline for tests and UI surfaces. It is not the tracing
489
514
  * runtime itself.
490
515
  */
491
- function createTraceTimelineStore(limit = 200) {
492
- let nextId = 1;
493
- let entries = [];
494
- const listeners = /* @__PURE__ */ new Set();
495
- function readRecordedAtIso(at) {
496
- if (!Number.isFinite(at)) return "invalid-timestamp";
497
- const date = new Date(at);
498
- const timestamp = date.getTime();
499
- if (!Number.isFinite(timestamp)) return "invalid-timestamp";
500
- return date.toISOString();
501
- }
502
- function notify() {
503
- for (const listener of listeners) listener();
516
+ var TraceTimelineStore = class {
517
+ limit;
518
+ nextId = 1;
519
+ timeline;
520
+ latestEntrySubject = new RxEventSubject();
521
+ constructor(limit = 200) {
522
+ this.limit = limit;
523
+ this.timeline = new FixedCapacityRingBuffer(limit);
524
+ }
525
+ get latestEntry() {
526
+ return this.latestEntrySubject;
527
+ }
528
+ get entries() {
529
+ return this.timeline.toArray();
530
+ }
531
+ record(event) {
532
+ const { span, ...eventWithoutSpan } = event;
533
+ const entry = {
534
+ ...eventWithoutSpan,
535
+ id: this.nextId++,
536
+ recordedAtIso: new Date(event.at).toISOString(),
537
+ span: {
538
+ id: span.id,
539
+ ...span.parent ? { parentId: span.parent.id } : {}
540
+ },
541
+ spanAttributes: span.getRootToNodeAttributes({ providerId: TRACING_SPAN_ATTRIBUTE_PROVIDER_ID })
542
+ };
543
+ this.timeline.append(entry);
544
+ this.latestEntrySubject.next(entry);
504
545
  }
505
- return {
506
- record(event) {
507
- const entry = {
508
- ...event,
509
- id: nextId++,
510
- recordedAtIso: readRecordedAtIso(event.at)
511
- };
512
- entries = [...entries, entry].slice(-limit);
513
- notify();
514
- },
515
- get() {
516
- return entries;
517
- },
518
- subscribe(listener) {
519
- listeners.add(listener);
520
- return () => {
521
- listeners.delete(listener);
522
- };
523
- },
524
- clear() {
525
- if (entries.length === 0) return;
526
- entries = [];
527
- notify();
546
+ clear() {
547
+ if (this.timeline.size > 0) {
548
+ this.timeline.clear();
549
+ this.latestEntrySubject.next(null);
528
550
  }
529
- };
551
+ }
552
+ };
553
+ function createTraceTimelineStore(limit = 200) {
554
+ return new TraceTimelineStore(limit);
530
555
  }
531
556
  //#endregion
532
557
  //#region src/auth-coordination/planner-host.ts
@@ -895,6 +920,13 @@ function createNeverEventStream() {
895
920
  return RxEventStream.fromObservableInput(NEVER);
896
921
  }
897
922
  //#endregion
923
+ //#region src/events/error.ts
924
+ function isClientErrorEvent(event) {
925
+ if (typeof event !== "object" || event === null) return false;
926
+ if ("error" in event && event.error instanceof ClientError) return true;
927
+ return "payload" in event && typeof event.payload === "object" && event.payload !== null && "error" in event.payload && event.payload.error instanceof ClientError;
928
+ }
929
+ //#endregion
898
930
  //#region src/events/interop.ts
899
931
  function toEventStream(input) {
900
932
  if (isEventStreamTrait(input)) return input;
@@ -1254,6 +1286,6 @@ function isLoopbackHttpUrl(url) {
1254
1286
  return url.protocol === "http:" && (url.hostname === "localhost" || url.hostname === "127.0.0.1" || url.hostname === "::1" || url.hostname === "[::1]");
1255
1287
  }
1256
1288
  //#endregion
1257
- export { Base64CompatErrorCode, BaseRequirementPlanner, BaseURIStringSchema, ClientError, ClientErrorKind, ClientErrorSource, ENVIRONMENT_TOKEN, ErrorPresentationTone, EventSourceKind, FetchTransportRedirectKind, IDLE_CALLBACK_TRAIT_TOKEN, INJECTOR_TOKEN, IdentityPrincipalSchema, IdentityPrincipalWireSchema, JwtDecodeError, JwtDecodeErrorCode, MergeRequirementPlanner, OnceAsyncLockState, OperationSpan, OperationTraceEventType, PAGE_LIFECYCLE_TRAIT_TOKEN, PERSISTENT_STORAGE_TRAIT_TOKEN, POPUP_TRAIT_TOKEN, PipelineOutcome, PlanStatus, PopupAttachFailureReason, PopupClientWindowHandle, PopupErrorCode, PopupServerWindowHandle, REALM_STORAGE_TRAIT_TOKEN, REQUIREMENT_PLANNER_HOST, ROUTER_TRAIT_TOKEN, RequirementPlannerError, RequirementPlannerHost, RequirementsComposition, ResolutionStatus, ResourceError, ResourceErrorCode, ResourceSnapshotUpdateKind, ResourceStatus, RouteCompositionRequirementPlanner, RouterNavigationIntent, RouterNavigationMode, SECURITYDEPT_COMPAT_FRAGMENT_VERSION, SECURITYDEPT_ROUTE_METADATA_KEY, SESSION_STORAGE_TRAIT_TOKEN, SPAN_TRAIT_TOKEN, SYMBOL_ASYNC_DISPOSE, SYMBOL_DISPOSABLE_STACK, SYMBOL_DISPOSE, SYMBOL_OBSERVABLE, SecurityDeptOptional, SecuritydeptDestroyRef, SecuritydeptInjectionToken, SecuritydeptInjector, SimpleDisposableStack, StaticAttrsAuthRequirement, StaticRequirementPlanner, StdDisposableStack, StorageChangeEventOrigin, TIME_TRAIT_TOKEN, TRACING_TRAIT_TOKEN, TRANSPORT_TRAIT_TOKEN, TracingLevel, TransportErrorCode, UriParseError, UriReferenceString, UriReferenceStringSchema, UriRelativeString, UriRelativeStringSchema, UriString, UriStringSchema, UserRecovery, abortSignalToCancellationToken, abortSignalToEventStream, appendOrReplaceCompatFragment, cancellationTokenToAbortSignal, createAuthorizationInterceptedFetch, createBaseTransportForStdFetch, createCancellationTokenSource, createComputed, createConsoleTracingSubscriber, createDisposableStack, createEmptyEventStream, createEphemeralFlowStore, createEventReplaySubject, createEventStream, createEventSubject, createFoundationEnvironment, createInMemoryRecordStore, createJsonCodec, createJsonRpcClient, createJsonRpcServer, createJsonRpcServerAndClient, createKeyedEphemeralFlowStore, createLinkedCancellationToken, createNeverEventStream, createOnceAsyncLockCallable, createProviderIfTokenMissing, createResource, createRootSpan, createSecuritydeptDestroyRef, createSignal, createTimeForStd, createTraceTimelineStore, createTracing, decodeBase64ToUint8Array, decodeJwtPayload, defaultSelectCandidate, defineInstrumentMethodDecorator, describeError, encodeUint8ArrayToBase64, flattenResourceSnapshot, formatValidationFailure, getSecuritydeptProviderToken, inject, injectDisposableStackFrom, injectRequirementPlannerHost, isCancellationTokenTrait, isCompatFragmentBlock, isInteropObservableTrait, isLoopbackHttpUrl, isRouteBehaviourContextExtra, isRouteStateSnapshotTrait, mapResource, normalizeAbortError, notMissingProvider, parseCompatFragment, parseDurationToMs, parseIdentityPrincipal, parseIdentityPrincipalWire, projectIdentityPrincipal, promisesToRacedAsyncGenerator, provideRequirementPlannerHost, readErrorPresentationDescriptor, readPopupErrorPresentationDescriptor, readSecuritydeptRouteMetadata, readonlySignal, reduceResourceSnapshot, resolveEffectiveRequirements, resourceFromSnapshots, runInInjectionContext, runOperation, takeCompatFragment, takeCompatFragmentFromRouter, throwValidationClientError, toEventStream, tryInjectInInjectionContext, validateTraitInput, validateWithSchema, validateWithSchemaSync, whenResourceSnapshotValue, withDisposableStack, writeSecuritydeptRouteMetadata };
1289
+ export { Base64CompatErrorCode, BaseRequirementPlanner, BaseURIStringSchema, CLIENT_ERROR_SPAN_ATTRIBUTE_PROVIDER_ID, ClientError, ClientErrorKind, ClientErrorSource, ConsoleTracingSubscriber, ENVIRONMENT_TOKEN, ErrorPresentationTone, EventSourceKind, FetchTransportRedirectKind, IDLE_CALLBACK_TRAIT_TOKEN, INJECTOR_TOKEN, IdentityPrincipalSchema, IdentityPrincipalWireSchema, JwtDecodeError, JwtDecodeErrorCode, MergeRequirementPlanner, OnceAsyncLockState, OperationSpan, OperationTraceEventType, PAGE_LIFECYCLE_TRAIT_TOKEN, PERSISTENT_STORAGE_TRAIT_TOKEN, POPUP_TRAIT_TOKEN, PipelineOutcome, PlanStatus, PopupAttachFailureReason, PopupClientWindowHandle, PopupErrorCode, PopupServerWindowHandle, REALM_STORAGE_TRAIT_TOKEN, REQUIREMENT_PLANNER_HOST, ROUTER_TRAIT_TOKEN, RequirementPlannerError, RequirementPlannerHost, RequirementsComposition, ResolutionStatus, ResourceError, ResourceErrorCode, ResourceSnapshotUpdateKind, ResourceStatus, RouteCompositionRequirementPlanner, RouterNavigationIntent, RouterNavigationMode, SECURITYDEPT_COMPAT_FRAGMENT_VERSION, SECURITYDEPT_ROUTE_METADATA_KEY, SESSION_STORAGE_TRAIT_TOKEN, SPAN_TRAIT_TOKEN, SYMBOL_ASYNC_DISPOSE, SYMBOL_DISPOSABLE_STACK, SYMBOL_DISPOSE, SYMBOL_OBSERVABLE, SecurityDeptOptional, SecuritydeptDestroyRef, SecuritydeptInjectionToken, SecuritydeptInjector, SimpleDisposableStack, SpanSharedAttributeName, StaticAttrsAuthRequirement, StaticRequirementPlanner, StdDisposableStack, StorageChangeEventOrigin, TIME_TRAIT_TOKEN, TRACING_SPAN_ATTRIBUTE_PROVIDER_ID, TRACING_TRAIT_TOKEN, TRANSPORT_TRAIT_TOKEN, TraceTimelineStore, TracingLevel, TransportErrorCode, UriParseError, UriReferenceString, UriReferenceStringSchema, UriRelativeString, UriRelativeStringSchema, UriString, UriStringSchema, UserRecovery, abortSignalToCancellationToken, abortSignalToEventStream, appendOrReplaceCompatFragment, cancellationTokenToAbortSignal, createAuthorizationInterceptedFetch, createBaseTransportForStdFetch, createCancellationTokenSource, createComputed, createConsoleTracingSubscriber, createDisposableStack, createEmptyEventStream, createEphemeralFlowStore, createEventReplaySubject, createEventStream, createEventSubject, createFoundationEnvironment, createInMemoryRecordStore, createJsonCodec, createJsonRpcClient, createJsonRpcServer, createJsonRpcServerAndClient, createKeyedEphemeralFlowStore, createLinkedCancellationToken, createNeverEventStream, createOnceAsyncLockCallable, createProviderIfTokenMissing, createResource, createRootSpan, createSecuritydeptDestroyRef, createSignal, createTimeForStd, createTraceTimelineStore, createTracing, decodeBase64ToUint8Array, decodeJwtPayload, defaultSelectCandidate, defineInstrumentMethodDecorator, describeError, encodeUint8ArrayToBase64, flattenResourceSnapshot, formatClientErrorContext, formatValidationFailure, getSecuritydeptProviderToken, inject, injectDisposableStackFrom, injectRequirementPlannerHost, isCancellationTokenTrait, isClientErrorEvent, isCompatFragmentBlock, isInteropObservableTrait, isLoopbackHttpUrl, isRouteBehaviourContextExtra, isRouteStateSnapshotTrait, mapResource, normalizeAbortError, notMissingProvider, parseCompatFragment, parseDurationToMs, parseIdentityPrincipal, parseIdentityPrincipalWire, projectIdentityPrincipal, promisesToRacedAsyncGenerator, provideRequirementPlannerHost, readErrorPresentationDescriptor, readPopupErrorPresentationDescriptor, readSecuritydeptRouteMetadata, readonlySignal, reduceResourceSnapshot, resolveEffectiveRequirements, resourceFromSnapshots, runInInjectionContext, runOperation, takeCompatFragment, takeCompatFragmentFromRouter, throwValidationClientError, toEventStream, tryInjectInInjectionContext, validateTraitInput, validateWithSchema, validateWithSchemaSync, whenResourceSnapshotValue, withDisposableStack, writeSecuritydeptRouteMetadata };
1258
1290
 
1259
1291
  //# sourceMappingURL=index.mjs.map