interview-widget 1.0.4 → 1.0.6

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.
@@ -2,5 +2,8 @@ interface Props {
2
2
  children: React.ReactNode;
3
3
  onDisqualify?: (() => void) | undefined;
4
4
  }
5
- export declare const InterviewProctoring: ({ children, onDisqualify }: Props) => import("react/jsx-runtime").JSX.Element;
5
+ export interface InterviewProctoringHandle {
6
+ exitFullScreenIntentionally: () => Promise<void>;
7
+ }
8
+ export declare const InterviewProctoring: import('react').ForwardRefExoticComponent<Props & import('react').RefAttributes<InterviewProctoringHandle>>;
6
9
  export {};
@@ -5,17 +5,5 @@
5
5
  * @returns Base64 encoded encrypted data (IV + ciphertext + tag)
6
6
  */
7
7
  export declare function encrypt(data: unknown, seed?: string): Promise<string>;
8
- /**
9
- * Encrypt and serialize data for storage
10
- * @param data - Data to encrypt
11
- * @param seed - Seed for key derivation
12
- * @returns Promise resolving to encrypted base64 string
13
- */
14
8
  export declare function encryptForStorage(data: unknown, seed?: string): Promise<string>;
15
- /**
16
- * Decrypt and parse stored data
17
- * @param encryptedData - Encrypted base64 string from storage
18
- * @param seed - Seed for key derivation
19
- * @returns Promise resolving to decrypted data (parsed as JSON if possible)
20
- */
21
9
  export declare function decryptFromStorage<T = unknown>(encryptedData: string, seed?: string): Promise<T>;