expresspayments
Version:
ExpressPayments API wrapper
12 lines (11 loc) • 792 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const NodePlatformFunctions_js_1 = require("./platform/NodePlatformFunctions.js");
const expresspayments_core_js_1 = require("./expresspayments.core.js");
const ExpressPayments = (0, expresspayments_core_js_1.createExpressPayments)(new NodePlatformFunctions_js_1.NodePlatformFunctions());
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;