@telecrypt-io/storage 0.6.1 → 0.7.0

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.
@@ -34,9 +34,6 @@ export type OidcTokenEndpointMetadata = Pick<OidcClientConfig, "issuer" | "token
34
34
  * identifiers, or control characters from an untrusted response to cross the
35
35
  * SDK boundary. */
36
36
  export declare function sanitizeDiagnosticText(value: string): string;
37
- /** Copy a transport error's useful details across the SDK boundary after the
38
- * same secret/control-character sanitization used for provider responses. */
39
- export declare function diagnosticCause(error: unknown, seen?: WeakSet<object>): Error;
40
37
  /**
41
38
  * Discovers the OIDC/MAS issuer and endpoints for a homeserver via the
42
39
  * Matrix client's stable `/auth_metadata` endpoint. Matrix 42 performs this
@@ -44,9 +41,8 @@ export declare function diagnosticCause(error: unknown, seen?: WeakSet<object>):
44
41
  */
45
42
  export declare function discoverOidcIssuer(homeserverBaseUrl: string, signal?: AbortSignal): Promise<OidcClientConfig>;
46
43
  /**
47
- * Dynamic client registration (DCR). `clientUri`/`redirectUris` must share a
48
- * host unless the issuer's policy allows a mismatch (our local dev/test MAS
49
- * does; a production issuer may not).
44
+ * Dynamic client registration (DCR). The issuer validates the supplied
45
+ * metadata; the PKCE flow separately binds its callback to the current app.
50
46
  */
51
47
  export declare function registerClient(authMetadata: OidcClientConfig, metadata: OidcRegistrationClientMetadata, signal?: AbortSignal): Promise<string>;
52
48
  /**