move data param into each function
Merge branch 'invites' of github.com:stellar/stellar-client into invites