'use strict';

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

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

/**
 * Returns the current customer privacy settings and metadata and
 * re-renders your component if the customer privacy settings change.
 */
function useCustomerPrivacy() {
  return subscription.useSubscription(api.useApi().customerPrivacy);
}

exports.useCustomerPrivacy = useCustomerPrivacy;
