function setCurrentClient(client) {
  // eslint-disable-next-line deprecation/deprecation
  const hub$1 = hub.getCurrentHub();
  // eslint-disable-next-line deprecation/deprecation
  const top = hub$1.getStackTop();
  top.client = client;
  top.scope.setClient(client);
}
Make the given client the current client.