const { BaiduDH } = require("./supplier/baidu/BaiduDH");
const { TencenNewtDH } = require("./supplier/tencent/TencentNewDH");
const { WarpDH } = require("./supplier/warp/WarpDH");


class DHFactory {
  static getInstance(supplier, options) {
    switch (supplier) {
      case "baidu":
        return new BaiduDH(options);
      case "tencentNew":
        return new TencenNewtDH(options);
      case "warp":
        return new WarpDH(options);
      default:
        return new TencenNewtDH(options);
    }
  }

}


exports.DHFactory = DHFactory;