api/lib/tx-to-rest-converter.js
function renameCounterpartyToIssuerInOrderChanges(orderChanges) {
  return _.mapValues(orderChanges, function(changes) {
    return _.map(changes, function(change) {
      return utils.renameCounterpartyToIssuerInOrder(change);
    });
  });
}
function renameCounterpartyToIssuerInOrderChanges(orderChanges) {
  return _.mapValues(orderChanges, function(changes) {
    return _.map(changes, function(change) {
      return utils.renameCounterpartyToIssuerInOrder(change);
    });
  });
}
function renameCounterpartyToIssuerInOrderChanges ( orderChanges ) { return _ . mapValues ( orderChanges , function ( changes ) { return _ . map ( changes , function ( change ) { return utils . renameCounterpartyToIssuerInOrder ( change ) ; } ) ; } ) ; }
This is just to support the legacy naming of "counterparty", this function should be removed when "issuer" is eliminated
This is just to support the legacy naming of counterparty this function should be removed when issuer is eliminated