'use strict';

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

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

/**
 * Returns authentication state of Order status page.
 */
function useAuthenticationState() {
  return subscription.useSubscription(api.useApi().authenticationState);
}

exports.useAuthenticationState = useAuthenticationState;
