@merit-systems/echo-react-sdk 1.0.24 → 1.0.25

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/advanced.cjs DELETED
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./EchoProvider-BcTF2ono.cjs");exports.EchoProviderRaw=e.EchoProviderRaw;
2
- //# sourceMappingURL=advanced.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"advanced.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,38 +0,0 @@
1
- import { EchoClient } from '@merit-systems/echo-typescript-sdk';
2
- import { EchoConfig } from '@merit-systems/echo-typescript-sdk';
3
- import { JSX } from 'react/jsx-runtime';
4
- import { ReactNode } from 'react';
5
- import { User } from 'oidc-client-ts';
6
-
7
- declare interface EchoAuthConfig extends EchoConfig {
8
- redirectUri?: string;
9
- scope?: string;
10
- }
11
-
12
- /**
13
- * Raw provider that manages Echo context without built-in authentication.
14
- *
15
- * Design: Single internal context with useEcho() hook for both SDK and client components.
16
- * Accepts auth state/methods from parent, enabling custom auth implementations (Next.js proxy, etc).
17
- *
18
- * @param rawUser - OIDC user object from parent auth provider
19
- * @param isLoggedIn - Auth state from parent
20
- * @param signIn/signOut/getToken - Auth methods from parent
21
- * @param echoClient - Configured Echo API client
22
- */
23
- export declare function EchoProviderRaw({ config, children, isAuthLoading, authError, rawUser, isLoggedIn, signIn, signOut, getToken, echoClient, }: EchoProviderRawProps): JSX.Element;
24
-
25
- export declare interface EchoProviderRawProps {
26
- children: ReactNode;
27
- config: EchoAuthConfig;
28
- isAuthLoading: boolean;
29
- authError: Error | null | undefined;
30
- rawUser: User | null | undefined;
31
- isLoggedIn: boolean;
32
- signIn: () => Promise<void>;
33
- signOut: () => Promise<void>;
34
- getToken: () => Promise<string | null>;
35
- echoClient: EchoClient | null;
36
- }
37
-
38
- export { }
package/dist/advanced.js DELETED
@@ -1,5 +0,0 @@
1
- import { E } from "./EchoProvider-vBCJ8CGx.js";
2
- export {
3
- E as EchoProviderRaw
4
- };
5
- //# sourceMappingURL=advanced.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"advanced.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}