@eloquentai/chat-sdk 0.37.0-dev.3 → 0.37.0-dev.5

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.
@@ -12,5 +12,5 @@ interface ErrorContextType {
12
12
  }
13
13
  export declare const ErrorContext: import('react').Context<ErrorContextType>;
14
14
  export declare const useErrorContext: () => ErrorContextType;
15
- export declare const createPublishApiError: (setError: (error: SdkError | null) => void) => (error: unknown) => void;
15
+ export declare const toSdkError: (error: unknown) => SdkError;
16
16
  export {};
@@ -1,4 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- export declare const ErrorProvider: ({ children }: {
2
+ export declare const ErrorProvider: ({ appId, children, }: {
3
+ appId: string;
3
4
  children: ReactNode;
4
5
  }) => import("react").JSX.Element;