@adyen/adyen-web
Version:
[](https://www.npmjs.com/package/@adyen/adyen-web)
8 lines (7 loc) • 347 B
TypeScript
/**
* Returns true if the page is being run in an iframe with the same origin as the parent.
* In this scenario, if the merchant has set redirectFromTopWhenInIframe: true, then we can perform the redirect on the top level, parent, window;
* rather than on the iframe's window
*/
declare const _default: () => boolean;
export default _default;