Skip to content
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.

Latest commit

 

History

History
91 lines (70 loc) · 4.35 KB

CHANGELOG.md

File metadata and controls

91 lines (70 loc) · 4.35 KB

Changelog

  • Remove Stellar (Kin 2 & Kin 3) support
    • Only Kin 4 and v4 Agora APIs are supported
    • Removed accountClient, txClient, kinVersion, whitelistKey, and desiredKinVersion from ClientConfig
    • Removed channel from Payment and EarnBatch
    • Removed envelope and txHash() from SignTransactionRequest
    • Removed envelope, signedEnvelope, and networkPassphrase from SignTransactionResponse
    • Removed kin_version, tx_hash, and stellar_event from Event.transaction_event
  • Add sender create support for Client.submitPayment
  • Add mergeTokenAccounts to Client
  • Add create account webhook support
  • Add creation parsing to SignTransactionRequest
  • SignTransactionResponse.sign now signs Solana transactions
  • Rename SignTransactionRequest.solanaTransaction to SignTransactionRequest.transaction
  • Expose requestAirdrop on Client for Kin 4
  • Add AccountExists 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 Solana create account error crash
  • Add dedupeId support on payments (Client.submitPayment) and earn batches (Client.submitEarnBatch)
  • Client.submitEarnBatch now supports submitting only a single transaction and up to 15 earns
  • EarnBatchResult is now an interface with txId, txError and earnErrors
  • Add PaymentErrors on TransactionErrors
  • Fix parsing transaction error in Client.submitPayment
  • Set operation errors on TransactionErrors
  • Fix client error handling
  • Add optional accountResolution parameter to Client.getBalance
  • Create new accounts with different token account address
  • Do not reject Kin 4 payments with channel set
  • Check for duplicate signers for Stellar transactions
  • Call v3 GetTransaction API for Kin 2 & 3
  • Fixed invoice count check bug
  • Fixed uploaded package
  • Add Kin 4 support
  • Rename txHash to txId in Client.getTransaction, TransactionData and EarnResult
  • Add defaultCommitment to ClientConfig
  • Add optional commitment parameter to Client methods (createAccount, getBalance, getTransaction, submitPayment, submitEarnBatch)
  • Add optional subsidizer parameter to Client.createAcount, Payment, and EarnBatch
  • Add optional senderResolution and destinationResolution parameters to Client.submitPayment and Client.submitEarnBatch
  • Mark tx_hash property in Event as deprecated.
  • Mark SignTransactionRequest.txHash() as deprecated in favour of SignTransactionRequest.txId().
  • Add Kin 2 support
  • Update API version
  • Add user-agent metadata to Agora requests
  • Rename source in Payment and EarnBatch to channel for clarity
  • Adjust BadNonceError handling
  • Add a NONE transaction type
  • Update installation commands
  • Initial release with Kin 3 support