@realitydefender/realitydefender
Version:
SDK for the Reality Defender API for deepfake detection
25 lines (24 loc) • 625 B
TypeScript
/**
* Constants used throughout the SDK
*/
/**
* Default base URL for the Reality Defender API
*/
export declare const DEFAULT_BASE_URL = "https://api.prd.realitydefender.xyz";
/**
* Default interval (in milliseconds) between polling attempts
*/
export declare const DEFAULT_POLLING_INTERVAL = 5000;
/**
* Default timeout (in milliseconds) for polling operations
*/
export declare const DEFAULT_TIMEOUT = 300000;
/**
* API paths
*/
export declare const API_PATHS: {
/** Path for requesting a signed upload URL */
SIGNED_URL: string;
/** Path for retrieving media results */
MEDIA_RESULT: string;
};