UNPKG

intopays

Version:

Intopays - Gateway de integração bancária

12 lines (11 loc) 458 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WebhookFactory = void 0; const WebhookService_1 = require("../../core/services/WebhookService"); const WebhookRemote_1 = require("../../infra/http/WebhookRemote"); class WebhookFactory { static createWebhookService(config) { return new WebhookService_1.WebhookService(new WebhookRemote_1.WebhookRemote(config)); } } exports.WebhookFactory = WebhookFactory;