- Remove Stellar (Kin 2 & Kin 3) support
- Only Kin 4 and v4 Agora APIs are supported
Client.__init__
no longer acceptskin_version
,whitelist_key
anddesired_kin_version
AccountInfo
no longer hassequence_number
- Removed
channel
fromPayment
andEarnBatch
- Removed
envelope
,kin_version
andget_tx_hash()
fromSignTransactionRequest
- Removed
envelope
fromSignTransactionResponse
- Removed
kin_version
andstellar_event
fromTransactionEvent
- Add sender create support for
Client.submit_payment
- Add
merge_token_accounts
toClient
- Add create account webhook support
- Add creation parsing to
SigntransactionRequest
SignTransactionResponse.sign
now signs Solana transactions
- Bump agora-api and grpcio version
- Expose
request_airdrop
onClient
for Kin 4
- Add
dedupe_id
support on payments (Client.submit_payment
) and earn batches (Client.submit_earn_batch
) Client.submit_earn_batch
now supports submitting only a single transaction and up to 15 earnsBatchEarnResult
has been replaced withEarnBatchResult
, whichcontainsTxID
,TxError
andEarnErrors
due to the above changesClient.submit_earn_batch
now takes in anearn_batch
argument instead of separatesender
,earns
,channel
,memo
, andsubsidizer
args- Add
payment_errors
toTransactionErrors
- Add
AccountNotFoundError
to the default non-retriable error list. This should the decrease latencies in situations where a Resolve() is required by about 8 seconds (with the default retry configuration)
- Fix invoice list parsing in events webhook handler
- Add optional
account_resolution
parameter toClient.get_balance
- Create new accounts with different token account address
- Reduce token account cache size
- Do not throw exception for setting channel on Kin 4 payments
- Check for duplicate signers for Stellar transactions
- Include read-only signers in Solana transaction
num_signatures
header
- Fix uploaded wheel to remove
agora/model/keys.py
- Call v3
GetTransaction
API for Kin 2 & 3
- Bugfix: fix production Kin 3 envelope parsing in
SignTransactionRequest.from_json
- Add Kin 4 support
- Move
agora.model.keys
toagora.keys
- Rename
tx_hash
totx_id
inClient.get_transaction
,TransactionData
,EarnResult
, and 'TransactionEvent' - Add
default_commitment
parameter toClient
constructor - Add optional
commitment
parameter toClient
methods (create_account
,get_balance
,get_transaction
,submit_payment
,submit_earn_batch
) - Add optional
subsidizer
parameter toPayment
,Client.create_account
andClient.submit_earn_batch
- Add optional
sender_resolution
anddest_resolution
parameters toClient.submit_payment
andClient.submit_earn_batch
- Rename
StellarData
toStellarEvent
,TransactionEvent.stellar_data
toTransactionEvent.stellar_event
, and fixTransactionEvent.from_json
to match production - Deprecate
SignTransactionRequest.get_tx_hash()
and replace withSignTransactionRequest.get_tx_id()
.
- Add Kin 2 support
- Bugfix: fix metadata format
- Add user-agent metadata to Agora requests
- Rename
source
inPayment
andClient.submit_earn_batch
tochannel
for clarity - Adjust
BadNonceError
handling
- Add
close()
method toClient
for cleaning up connection-related resources - Add
__repr__
methods to models - Add a
NONE
transaction type
- Initial release with Kin 3 support