"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.URL = void 0;

var _validator = _interopRequireDefault(require("validator"));

var _validators = require("./validators");

/* * *  *  * *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * */

/* Copyright (c) 2018 Mobify Research & Development Inc. All rights reserved. */

/* * *  *  * *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * */
const URL = (0, _validators.makeValidator)(_validator.default.isURL, 'Not a valid URL.');
/**
 * @memberOf module:@mobify/commerce-integrations/dist/types
 * @typedef {String} URL
 */

exports.URL = URL;