text: import state from "../../state";
  
  const getInfo = async (message, sender) => {
    const connector = state.getState().getConnector();
    const info = await connector.getInfo();
  
    return {
      data: {
        node: {
          alias: info.data.alias,
          pubkey: info.data.identity_pubkey,
          color: info.data.color,
        },
      },
    };
  };
  
  export default getInfo;
  