expresspayments
Version:
ExpressPayments API wrapper
12 lines (11 loc) • 788 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const WebPlatformFunctions_js_1 = require("./platform/WebPlatformFunctions.js");
const expresspayments_core_js_1 = require("./expresspayments.core.js");
const ExpressPayments = (0, expresspayments_core_js_1.createExpressPayments)(new WebPlatformFunctions_js_1.WebPlatformFunctions());
module.exports = ExpressPayments;
// expose constructor as a named property to enable mocking with Sinon.JS
module.exports.ExpressPayments = ExpressPayments;
// Allow use with the TypeScript compiler without `esModuleInterop`.
// We may also want to add `Object.defineProperty(exports, "__esModule", {value: true});` in the future, so that Babel users will use the `default` version.
module.exports.default = ExpressPayments;