message: Rename BidPosition to BidderPosition
diff: @@ -61,7 +61,7 @@ interface ConfirmBidState {
  const MAX_POLL_ATTEMPTS = 20
  -const queryForBidPosition = (bidderPositionID: string) => {
  +const queryForBidderPosition = (bidderPositionID: string) => {
  return metaphysics({
  query: `
  query ConfirmBidBidderPositionQuery($bidderPositionID: String!) {
  @@ -259,7 +259,7 @@ export class ConfirmBid extends React.Component<ConfirmBidProps, ConfirmBidState
  createBidderPosition() {
  commitMutation<ConfirmBidCreateBidderPositionMutation>(this.props.relay.environment, {
  onCompleted: (results, errors) =>
  - isEmpty(errors) ? this.verifyBidPosition(results) : this.presentErrorResult(errors),
  + isEmpty(errors) ? this.verifyBidderPosition(results) : this.presentErrorResult(errors),
  onError: this.presentErrorResult.bind(this),
  mutation: graphql`
  mutation ConfirmBidCreateBidderPositionMutation($input: BidderPositionInput!) {
  @@ -290,7 +290,7 @@ export class ConfirmBid extends React.Component<ConfirmBidProps, ConfirmBidState
  })
  }
  - verifyBidPosition(results) {
  + verifyBidderPosition(results) {
  const { result } = results.createBidderPosition
  if (result.status === "SUCCESS") {
  @@ -305,16 +305,16 @@ export class ConfirmBid extends React.Component<ConfirmBidProps, ConfirmBidState
  action_name: Schema.ActionNames.BidFlowPlaceBid,
  })
  bidPlacedSuccessfully(positionId) {
  - queryForBidPosition(positionId).then(this.checkBidPosition.bind(this))
  + queryForBidderPosition(positionId).then(this.checkBidderPosition.bind(this))
  }
  - checkBidPosition(result) {
  + checkBidderPosition(result) {
  const { bidder_position } = result.data.me
  if (bidder_position.status === "PENDING" && this.pollCount < MAX_POLL_ATTEMPTS) {
  // initiating new request here (vs setInterval) to make sure we wait for the previous call to return before making a new one
  setTimeout(
  - () => queryForBidPosition(bidder_position.position.internalID).then(this.checkBidPosition.bind(this)),
  + () => queryForBidderPosition(bidder_position.position.internalID).then(this.checkBidderPosition.bind(this)),
  1000
  )
  