@square/web-payments-sdk-types
Version:
Types for Square's Web Payments SDK
15 lines (14 loc) • 385 B
TypeScript
import { SqError } from './types';
/**
* The hosting client browser is not supported by the Web Payments SDK
*/
declare class BrowserNotSupportedError extends SqError {
constructor();
}
/**
* The Web Payments SDK requires HTTPS and a secure context
*/
declare class WebSdkEmbedError extends SqError {
constructor();
}
export { BrowserNotSupportedError, WebSdkEmbedError };