@securitydept/client 0.3.0-beta.5 → 0.3.0-beta.7
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/{create-Bm-XRA3G.mjs → create-i5VyYgN6.mjs} +68 -652
- package/dist/create-i5VyYgN6.mjs.map +1 -0
- package/dist/handle-DwMgqe7R.mjs +638 -0
- package/dist/handle-DwMgqe7R.mjs.map +1 -0
- package/dist/{index-D5mW18cM.d.mts → index-B9SEJGU2.d.mts} +108 -89
- package/dist/{index-BT-u3qNI.d.mts → index-BjCFWcmV.d.mts} +3 -4
- package/dist/{index-Ch8lrE44.d.mts → index-CFAJ969E.d.mts} +81 -32
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +99 -99
- package/dist/index.mjs.map +1 -1
- package/dist/{router-BJ8LqNJ1.mjs → router-at5bTdJQ.mjs} +4 -4
- package/dist/{router-BJ8LqNJ1.mjs.map → router-at5bTdJQ.mjs.map} +1 -1
- package/dist/rx/index.d.mts +1 -2
- package/dist/rx/index.mjs +1 -1
- package/dist/{rx-BoB32Dzg.mjs → rx-DM6Ouv-m.mjs} +21 -8
- package/dist/rx-DM6Ouv-m.mjs.map +1 -0
- package/dist/server/index.d.mts +1 -2
- package/dist/server/index.mjs +1 -1
- package/dist/server/index.mjs.map +1 -1
- package/dist/test/index.d.mts +2 -3
- package/dist/test/index.mjs +3 -3
- package/dist/test/index.mjs.map +1 -1
- package/dist/{uri-string-BfnIT4gJ.mjs → uri-string-BPNbIMgv.mjs} +5 -3
- package/dist/{uri-string-BfnIT4gJ.mjs.map → uri-string-BPNbIMgv.mjs.map} +1 -1
- package/dist/web/index.d.mts +3 -4
- package/dist/web/index.mjs +27 -21
- package/dist/web/index.mjs.map +1 -1
- package/dist/webext/index.d.mts +2 -3
- package/dist/webext/index.mjs +12 -10
- package/dist/webext/index.mjs.map +1 -1
- package/package.json +14 -5
- package/dist/create-Bm-XRA3G.mjs.map +0 -1
- package/dist/rx-BoB32Dzg.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { A as RxEventSubject, B as withDisposableStack, E as RxComputedSignal, F as SYMBOL_DISPOSE, G as
|
|
2
|
-
import {
|
|
3
|
-
import { i as
|
|
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
|
+
import { i as UriString, n as UriReferenceString, r as UriRelativeString, t as UriParseError } from "./uri-string-BPNbIMgv.mjs";
|
|
4
5
|
import { v7 } from "uuid";
|
|
5
6
|
import { inject as inject$1, runInInjectionContext as runInInjectionContext$1 } from "injection-js";
|
|
6
7
|
import { EMPTY, NEVER, ReplaySubject, filter, from, merge, take, takeUntil } from "rxjs";
|
|
7
8
|
import { type } from "arktype";
|
|
8
9
|
import { isPromise } from "es-toolkit/predicate";
|
|
10
|
+
import { Queue } from "mnemonist";
|
|
9
11
|
//#region src/auth-coordination/contract.ts
|
|
10
12
|
var StaticAttrsAuthRequirement = class StaticAttrsAuthRequirement {
|
|
11
13
|
id;
|
|
@@ -316,8 +318,9 @@ function readSecuritydeptRouteMetadata(data) {
|
|
|
316
318
|
/** Merge SecurityDept route metadata into a route `data` bag. */
|
|
317
319
|
function writeSecuritydeptRouteMetadata(base, patch) {
|
|
318
320
|
const data = { ...base ?? {} };
|
|
321
|
+
const previous = data["__securitydept__"] ?? {};
|
|
319
322
|
data[SECURITYDEPT_ROUTE_METADATA_KEY] = {
|
|
320
|
-
...
|
|
323
|
+
...previous,
|
|
321
324
|
...patch
|
|
322
325
|
};
|
|
323
326
|
return data;
|
|
@@ -343,39 +346,27 @@ function createAuthorizationInterceptedFetch(fetchImpl, options) {
|
|
|
343
346
|
//#endregion
|
|
344
347
|
//#region src/tracing/operation-runner.ts
|
|
345
348
|
var OperationSpan = class OperationSpan {
|
|
346
|
-
|
|
349
|
+
span;
|
|
347
350
|
_environment;
|
|
348
|
-
_name;
|
|
349
351
|
_target;
|
|
350
|
-
constructor(
|
|
351
|
-
this.
|
|
352
|
+
constructor(span, _environment, _target) {
|
|
353
|
+
this.span = span;
|
|
352
354
|
this._environment = _environment;
|
|
353
|
-
this._name = _name;
|
|
354
355
|
this._target = _target;
|
|
355
356
|
}
|
|
356
357
|
static start(options) {
|
|
357
|
-
const
|
|
358
|
+
const span = options.span.fork({
|
|
358
359
|
mutable: true,
|
|
359
360
|
idFactory: options.idFactory,
|
|
360
|
-
attributes: options.
|
|
361
|
-
})
|
|
361
|
+
attributes: { [SpanSharedAttributeName.OperationName]: options.name }
|
|
362
|
+
});
|
|
363
|
+
if (options.traceAttributes) span.setAttributes(options.traceAttributes, { providerId: TRACING_SPAN_ATTRIBUTE_PROVIDER_ID });
|
|
364
|
+
const operationSpan = new OperationSpan(span, options.environment, options.target);
|
|
362
365
|
operationSpan.recordStarted();
|
|
363
366
|
return operationSpan;
|
|
364
367
|
}
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
}
|
|
368
|
-
get parent() {
|
|
369
|
-
return this._span.parent;
|
|
370
|
-
}
|
|
371
|
-
get attributes() {
|
|
372
|
-
return this._span.attributes;
|
|
373
|
-
}
|
|
374
|
-
fork(options = {}) {
|
|
375
|
-
return this._span.fork(options);
|
|
376
|
-
}
|
|
377
|
-
setAttributes(attributes) {
|
|
378
|
-
this._span.setAttributes(attributes);
|
|
368
|
+
setTraceAttributes(attributes) {
|
|
369
|
+
this.span.setAttributes(attributes, { providerId: TRACING_SPAN_ATTRIBUTE_PROVIDER_ID });
|
|
379
370
|
}
|
|
380
371
|
addEvent(name, fields) {
|
|
381
372
|
this._record(OperationTraceEventType.Event, TracingLevel.Info, {
|
|
@@ -399,38 +390,34 @@ var OperationSpan = class OperationSpan {
|
|
|
399
390
|
this._environment.tracing.record({
|
|
400
391
|
name,
|
|
401
392
|
at: this._environment.time.now(),
|
|
402
|
-
span: this,
|
|
393
|
+
span: this.span,
|
|
403
394
|
level,
|
|
404
395
|
target: this._target,
|
|
405
|
-
fields
|
|
406
|
-
operationName: this._name,
|
|
407
|
-
...this.attributes,
|
|
408
|
-
...fields ?? {}
|
|
409
|
-
}
|
|
396
|
+
fields
|
|
410
397
|
});
|
|
411
398
|
}
|
|
412
399
|
};
|
|
413
400
|
function runOperation(options) {
|
|
414
401
|
const operationSpan = OperationSpan.start(options);
|
|
415
|
-
const complete = (result) => {
|
|
416
|
-
operationSpan.recordEnded("succeeded");
|
|
417
|
-
return result;
|
|
418
|
-
};
|
|
419
|
-
const fail = (error) => {
|
|
420
|
-
const normalizedError = options.normalizeError?.(error) ?? error;
|
|
421
|
-
operationSpan.recordError(normalizedError);
|
|
422
|
-
operationSpan.recordEnded("failed");
|
|
423
|
-
throw normalizedError;
|
|
424
|
-
};
|
|
425
|
-
const invoke = () => options.execute(operationSpan);
|
|
426
402
|
try {
|
|
427
|
-
const result =
|
|
428
|
-
if (isPromise(result)) return result.then(
|
|
429
|
-
return
|
|
403
|
+
const result = options.execute(operationSpan);
|
|
404
|
+
if (isPromise(result)) return result.then((value) => completeOperation(operationSpan, value), (error) => failOperation(operationSpan, error, options.clientErrorFromUnknown));
|
|
405
|
+
return completeOperation(operationSpan, result);
|
|
430
406
|
} catch (error) {
|
|
431
|
-
return
|
|
407
|
+
return failOperation(operationSpan, error, options.clientErrorFromUnknown);
|
|
432
408
|
}
|
|
433
409
|
}
|
|
410
|
+
function completeOperation(operationSpan, result) {
|
|
411
|
+
operationSpan.recordEnded("succeeded");
|
|
412
|
+
return result;
|
|
413
|
+
}
|
|
414
|
+
function failOperation(operationSpan, error, clientErrorFromUnknown) {
|
|
415
|
+
const clientError = clientErrorFromUnknown ? clientErrorFromUnknown(error, { span: operationSpan.span }) : error;
|
|
416
|
+
if (clientError instanceof ClientError) clientError.captureSpanContext(operationSpan.span);
|
|
417
|
+
operationSpan.recordError(clientError);
|
|
418
|
+
operationSpan.recordEnded("failed");
|
|
419
|
+
throw clientError;
|
|
420
|
+
}
|
|
434
421
|
//#endregion
|
|
435
422
|
//#region src/tracing/operation-method.ts
|
|
436
423
|
function defineInstrumentMethodDecorator(factory) {
|
|
@@ -450,9 +437,9 @@ function defineInstrumentMethodDecorator(factory) {
|
|
|
450
437
|
span: resolvedOptions.span,
|
|
451
438
|
name: resolvedOptions.name ?? methodName,
|
|
452
439
|
target: resolvedOptions.target,
|
|
453
|
-
|
|
440
|
+
traceAttributes: resolvedOptions.traceAttributes,
|
|
454
441
|
idFactory: resolvedOptions.idFactory,
|
|
455
|
-
|
|
442
|
+
clientErrorFromUnknown: resolvedOptions.clientErrorFromUnknown,
|
|
456
443
|
execute: (span) => target.call(this, ...args, span)
|
|
457
444
|
});
|
|
458
445
|
};
|
|
@@ -460,73 +447,78 @@ function defineInstrumentMethodDecorator(factory) {
|
|
|
460
447
|
}
|
|
461
448
|
//#endregion
|
|
462
449
|
//#region src/tracing/subscriber/console.ts
|
|
463
|
-
|
|
464
|
-
|
|
450
|
+
var ConsoleTracingSubscriber = class {
|
|
451
|
+
record(event) {
|
|
465
452
|
const label = `[${event.target}] ${event.name}`;
|
|
453
|
+
const details = {
|
|
454
|
+
...event.fields ?? {},
|
|
455
|
+
spanAttributes: event.span.getRootToNodeAttributes({ providerId: TRACING_SPAN_ATTRIBUTE_PROVIDER_ID })
|
|
456
|
+
};
|
|
466
457
|
switch (event.level) {
|
|
467
458
|
case "debug":
|
|
468
|
-
console.debug(label,
|
|
459
|
+
console.debug(label, details);
|
|
469
460
|
break;
|
|
470
461
|
case "info":
|
|
471
|
-
console.info(label,
|
|
462
|
+
console.info(label, details);
|
|
472
463
|
break;
|
|
473
464
|
case "warn":
|
|
474
|
-
console.warn(label,
|
|
475
|
-
break;
|
|
476
|
-
case "error":
|
|
477
|
-
console.error(label, event.fields ?? {});
|
|
465
|
+
console.warn(label, details);
|
|
478
466
|
break;
|
|
467
|
+
case "error": console.error(label, details);
|
|
479
468
|
}
|
|
480
|
-
}
|
|
469
|
+
}
|
|
470
|
+
};
|
|
471
|
+
function createConsoleTracingSubscriber() {
|
|
472
|
+
return new ConsoleTracingSubscriber();
|
|
481
473
|
}
|
|
482
474
|
//#endregion
|
|
483
475
|
//#region src/tracing/subscriber/timeline-store.ts
|
|
484
476
|
/**
|
|
485
|
-
*
|
|
477
|
+
* Bounded subscriber-side trace timeline.
|
|
486
478
|
*
|
|
487
479
|
* This store consumes tracing events through `record(event)` and keeps a
|
|
488
480
|
* bounded local timeline for tests and UI surfaces. It is not the tracing
|
|
489
481
|
* runtime itself.
|
|
490
482
|
*/
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
return
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
if (entries.length === 0) return;
|
|
526
|
-
entries = [];
|
|
527
|
-
notify();
|
|
483
|
+
var TraceTimelineStore = class {
|
|
484
|
+
limit;
|
|
485
|
+
nextId = 1;
|
|
486
|
+
timeline = new Queue();
|
|
487
|
+
latestEntrySubject = new RxEventSubject();
|
|
488
|
+
constructor(limit = 200) {
|
|
489
|
+
this.limit = limit;
|
|
490
|
+
}
|
|
491
|
+
get latestEntry() {
|
|
492
|
+
return this.latestEntrySubject;
|
|
493
|
+
}
|
|
494
|
+
get entries() {
|
|
495
|
+
return this.timeline.toArray();
|
|
496
|
+
}
|
|
497
|
+
record(event) {
|
|
498
|
+
const { span, ...eventWithoutSpan } = event;
|
|
499
|
+
const entry = {
|
|
500
|
+
...eventWithoutSpan,
|
|
501
|
+
id: this.nextId++,
|
|
502
|
+
recordedAtIso: new Date(event.at).toISOString(),
|
|
503
|
+
span: {
|
|
504
|
+
id: span.id,
|
|
505
|
+
...span.parent ? { parentId: span.parent.id } : {}
|
|
506
|
+
},
|
|
507
|
+
spanAttributes: span.getRootToNodeAttributes({ providerId: TRACING_SPAN_ATTRIBUTE_PROVIDER_ID })
|
|
508
|
+
};
|
|
509
|
+
this.timeline.enqueue(entry);
|
|
510
|
+
if (this.timeline.size > this.limit) this.timeline.dequeue();
|
|
511
|
+
this.latestEntrySubject.next(entry);
|
|
512
|
+
}
|
|
513
|
+
clear() {
|
|
514
|
+
if (this.timeline.size > 0) {
|
|
515
|
+
this.timeline.clear();
|
|
516
|
+
this.latestEntrySubject.next(null);
|
|
528
517
|
}
|
|
529
|
-
}
|
|
518
|
+
}
|
|
519
|
+
};
|
|
520
|
+
function createTraceTimelineStore(limit = 200) {
|
|
521
|
+
return new TraceTimelineStore(limit);
|
|
530
522
|
}
|
|
531
523
|
//#endregion
|
|
532
524
|
//#region src/auth-coordination/planner-host.ts
|
|
@@ -817,7 +809,8 @@ var RouteCompositionRequirementPlanner = class RouteCompositionRequirementPlanne
|
|
|
817
809
|
const nextEffective = foldSegments(currentSegments);
|
|
818
810
|
const shared = sharedPrefixLength(previousPlanner.effectiveRequirements, nextEffective);
|
|
819
811
|
const sharedIds = new Set(nextEffective.slice(0, shared).map((requirement) => requirement.id));
|
|
820
|
-
|
|
812
|
+
const preserved = previousPlan.resolutionList.filter((resolution) => sharedIds.has(resolution.requirementId));
|
|
813
|
+
return new RouteCompositionRequirementPlanner(host, currentSegments, routeState, preserved);
|
|
821
814
|
}
|
|
822
815
|
get planContext() {
|
|
823
816
|
return this._planContext;
|
|
@@ -894,6 +887,13 @@ function createNeverEventStream() {
|
|
|
894
887
|
return RxEventStream.fromObservableInput(NEVER);
|
|
895
888
|
}
|
|
896
889
|
//#endregion
|
|
890
|
+
//#region src/events/error.ts
|
|
891
|
+
function isClientErrorEvent(event) {
|
|
892
|
+
if (typeof event !== "object" || event === null) return false;
|
|
893
|
+
if ("error" in event && event.error instanceof ClientError) return true;
|
|
894
|
+
return "payload" in event && typeof event.payload === "object" && event.payload !== null && "error" in event.payload && event.payload.error instanceof ClientError;
|
|
895
|
+
}
|
|
896
|
+
//#endregion
|
|
897
897
|
//#region src/events/interop.ts
|
|
898
898
|
function toEventStream(input) {
|
|
899
899
|
if (isEventStreamTrait(input)) return input;
|
|
@@ -1253,6 +1253,6 @@ function isLoopbackHttpUrl(url) {
|
|
|
1253
1253
|
return url.protocol === "http:" && (url.hostname === "localhost" || url.hostname === "127.0.0.1" || url.hostname === "::1" || url.hostname === "[::1]");
|
|
1254
1254
|
}
|
|
1255
1255
|
//#endregion
|
|
1256
|
-
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 };
|
|
1256
|
+
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 };
|
|
1257
1257
|
|
|
1258
1258
|
//# sourceMappingURL=index.mjs.map
|