"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = getFramepayApi;
/**
 * Just simple wrapper of remote FramePay api
 */
var remoteApi = function () {
    // @ts-expect-error todo setup typescript config correctly
    return typeof window !== 'undefined' ? window.Framepay : undefined;
};
function getFramepayApi() {
    return remoteApi();
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWZyYW1lcGF5LWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9saWIvZ2V0LWZyYW1lcGF5LWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQVVBLGlDQUVDO0FBVkQ7O0dBRUc7QUFDSCxJQUFNLFNBQVMsR0FBRztJQUNkLDBEQUEwRDtJQUMxRCxPQUFPLE9BQU8sTUFBTSxLQUFLLFdBQVcsQ0FBQyxDQUFDLENBQUMsTUFBTSxDQUFDLFFBQVEsQ0FBQyxDQUFDLENBQUMsU0FBUyxDQUFDO0FBQ3ZFLENBQUMsQ0FBQztBQUVGLFNBQXdCLGNBQWM7SUFDbEMsT0FBTyxTQUFTLEVBQUUsQ0FBQztBQUN2QixDQUFDIn0=