'use strict';

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

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

/**
 * Returns the `checkoutSettings` applied to the checkout.
 */
function useCheckoutSettings() {
  return subscription.useSubscription(api.useApi().checkoutSettings);
}

exports.useCheckoutSettings = useCheckoutSettings;
