Changelog

Latest - v0.4.0 - 28 Nov, 2019

Changes:

  • Improves the dev experience by signing the transactions in the background. Devs do not need to provide the transactions in the UI.

v0.3.6

Fixed

  • Fixes API client bug in Angular projects

Changes

  • Removes the requirement for the form HTML element

0.3.5

  • Supports lower fees for EU Consumer VISA cards

0.3.4

  • Adds support for LimePay powered Wallets. For more information visit the docs

0.3.3

  • Fix the parsing of API errors and general error handling of the library

  • fix the sandbox url

0.3.0

  • The library is being refactored in a way that is more pleasant for developers to use. For more information visit the docs

0.2.4

  • Fixes bug regarding the API version in the Environment

  • Adds new error in the TransactionsBuilder:

// If invalid function name is provided when signing the transacitons the following error will be thrown
‚Äč
{
errorName: 'TRANSACTION_VALIDATION_ERROR',
code: 3220,
message: `Invalid function name. {functionName} cannot be found in the provided ABI`
}

0.2.3

  • Parsing of API Errors is fixed. The library is parsing the errors properly, retrieving the whole object, not the message string only as it was before. All errors from the API are parsed as error object or array of error objects. Example of error object:

    {
    errorName, // Some Error name
    code, // Number for error code
    message // Detailed description of the error
    }
  • LimePay Config Object is modified. The LimePay environment is not provided as URL (as it was before), but as environment. Example:

Before:

limePayConfig = {
URL: `limepay-URL`,
eventHandler: {
onSuccessfulSubmit: function () {
},
onFailedSubmit: function (err) {
}
}
}

Now:

``` limePayConfig = { environment: LimePayWeb.Environment.Sandbox, // or LimePayWeb.Environment.Production for Production Environment eventHandler: { onSuccessfulSubmit: function () { }, onFailedSubmit: function (err) { } } }