'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var api = require('./api.js');
var subscription = require('./subscription.js');

/**
 * Returns the setting values defined by the merchant for the extension.
 */
function useSettings() {
  const settings = subscription.useSubscription(api.useApi().settings);
  return settings;
}

exports.useSettings = useSettings;
