xcore-casino
Version:
Casino Core module
26 lines • 773 B
TypeScript
/**
* Check if WebAssembly is supported in the current browser environment
* @returns An object with support information
*/
export declare function checkWasmSupport(): {
supported: boolean;
streaming: boolean;
message: string;
threads: boolean;
};
/**
* Detect if running in a secure context (needed for some WebAssembly features)
* @returns True if in a secure context
*/
export declare function isSecureContext(): boolean;
/**
* Get information about the current environment
* @returns Object with environment information
*/
export declare function getEnvironmentInfo(): {
wasmSupport: ReturnType<typeof checkWasmSupport>;
secureContext: boolean;
userAgent: string;
isMobile: boolean;
};
//# sourceMappingURL=wasm-support.d.ts.map