unionpay/index.js

'use strict';
/** @module braintree-web/unionpay */

var create = require('./external/create');
var packageVersion = require('package.version');

module.exports = {
  /**
   * @static
   * @function
   * @param {object} options Object containing configuration options for this module
   * @param {Client} options.client A {@link Client} instance
   * @returns {@link UnionPay}
   */
  create: create,
  /**
   * @description The current version of the SDK, i.e. `{@pkg version}`.
   * @type {string}
   */
  VERSION: packageVersion
};