Sila SDK Version 0.2.17 - Python and C#

Summary
In this release we added new features including support for Instant ACH as well as a new debug feature that allows you to see the request and response objects in the console.
This release also includes some breaking changes for C# that were made to improve the developer experience and provide some consistency in several areas.

C# SDK 0.2.17-rc

In this release we added new features including support for Instant ACH as well as a new debug feature that allows you to see the request and response objects in the console. This release also includes some breaking changes that were made to improve the developer experience and provide some consistency in several areas.  See details below.

New Features:

Instant ACH

  • Added support for instant_ach in /issue_sila
  • Added support for device_fingerprint in /register
  • Added support for sms_opt_in in /register, /add/phone, and /update/phone
  • Added support for device registration in /add/device and /register

Added debug feature to SilaApi

  • The debug feature is an optional parameter on the creation of the SilaApi client that logs to the console the body of the requests sent to the API and the JSON response.  See https://docs.silamoney.com/docs/netc-sdk-beta for details.

Breaking changes:

Renaming KYC class names to caps where needed

  • CheckKycResponse -> CheckKYCResponse
  • CheckKycResponse.ValidKycLevels -> CheckKYCResponse.ValidKYCLevels
  • VerificationResultBase.KycLevel -> VerificationResultBase.KYCLevel

Merged SingleWallet into WalletResponse object

  • SingleWallet was removed from the code base and replaced all references with WalletResponse

New GetAccountsResponse object

  • /get_accounts previously returned an Account list object, and now returns a GetAccountsResponse object that contains an Account list object.

Changes to GetEntityResponse object

  • GetEntityResponse.Entity previously returned an Entity object, and now returns a EntityData object.
  • GetEntityResponse.Identities previously returned an Identity list object, and now returns an EntityIdentity list object

Changed sila amounts to integers on /issue_sila, /transfer_sila and /redeem_sila requests.
Changed sila amounts to integers on /get_sila_balance, /get_transactions and /get_wallet responses.

  • GetSilaBalanceResponse.SilaBalance changed from decimal to int
  • SingleWalletResponse.SilaBalance changed from decimal to int
  • Transaction.SilaAmount changed from float to int
  • SearchFilters.MaxSilaAmount changed from decimal? to int?
  • SearchFilters.MinSilaAmount changed from decimal? to int?
  • SilaApi.IssueSila - amount parameter now expects an int instead of a float
  • SilaApi.RedeemSila - amount parameter now expects an int instead of a float
  • SilaApi.TransferSila - amount parameter now expects an int instead of a float

Python SDK 0.2.17-rc1

In this release we upgraded eth-account.  See details below.

  • Upgraded eth-account to 0.5.4

Python SDK 0.2.17-rc

In this release we added support for Instant ACH as well as some bug fixes.  See details below.

New Features:

Instant ACH

  • Added support for instant_ach in /issue_sila
  • Added support for device_fingerprint in /register
  • Added support for sms_opt_in in /register, /add/phone, and /update/phone
  • Added support for device registration in /add/device and /register

Other Features

  • Added support for pretty_dates in /get_entity
  • Added support for python 3.8 and 3.9
  • Added debug feature that allows you to see the request and response details that flow through the API

Bug Fixes

  • Removed uuid package to use python 3 built in module
  • Blank private keys don't generate an exception. Instead they resolve to an API response message with the specific error message.
  • Updated eth dependency to be python 3.9 compliant
  • If you send an empty value in the request it is kept and sent that way to the API.