"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GVLFactory = void 0;
var core_1 = require("@iabtechlabtcf/core");
var GVLFactory = /** @class */ (function () {
    function GVLFactory() {
    }
    GVLFactory.getVersion = function (version, schema) {
        if (schema === void 0) { schema = "v2"; }
        return new core_1.GVL(require("./vendorlist/".concat(schema, "/vendor-list-v").concat(version, ".json")));
    };
    GVLFactory.getLatest = function (schema) {
        if (schema === void 0) { schema = "v2"; }
        return new core_1.GVL(require("./vendorlist/".concat(schema, "/vendor-list.json")));
    };
    return GVLFactory;
}());
exports.GVLFactory = GVLFactory;
