Skip to content

Releases: RequestNetwork/requestNetwork

Release 0.10.0

04 Dec 05:54
badae33
Compare
Choose a tag to compare

Changelog

Code Refactoring

Add rinkeby support to getERC20Decimals
Improve list of supported ERC20
Make getDecimalsForCurrency synchronous
Add a generic PN for PN using addresses and a reference to detect payments

Features

ETH payment detection in request-client.js
Exposes currency utilities and list of all supported currencies
Add ETH paymentNetwork to request-client
Add an explanation when request not found

Builds

Bump @stryker-mutator/core from 2.1.0 to 2.4.0
Bump webpack-cli from 3.3.6 to 3.3.10
Bump @stryker-mutator/typescript from 2.1.0 to 2.3.0
Bump tslib from 1.9.3 to 1.10.0
Bump axios from 0.18.1 to 0.19.0
Bump @types/sinon from 7.0.5 to 7.5.0

Bug Fixes

Use ERC20 default network
Rollback legacy request currency renaming from DAI to SAI

Chores

Automate canary package release

Documentation

Fix payment network specifications

Packages

@requestnetwork/advanced-logic
@requestnetwork/data-access
@requestnetwork/data-format
@requestnetwork/epk-decryption
@requestnetwork/epk-signature
@requestnetwork/ethereum-storage
@requestnetwork/multi-format
@requestnetwork/request-client.js
@requestnetwork/request-logic
@requestnetwork/request-node
@requestnetwork/transaction-manager
@requestnetwork/types
@requestnetwork/utils
@requestnetwork/web3-signature

Release 0.9.0

20 Nov 02:54
0a4e70a
Compare
Choose a tag to compare

Changelog

Features

check advanced logic when creating a request
Validation of accept, cancel and add extension data
request-client read currency as string
validate role for increase & decrease
custom bitcoin detection provider
ETH payement network in advanced-logic
add ERC20 currency list
translate currency string to object
add DAI payment detection

Chores

upgrade to typescript 3.7
configure codeclimate
change DAI to SAI on code
update internal dependencies on toolbox
cleanup PNBitcoinAddressBased

Builds

bump @types/cors from 2.8.4 to 2.8.6
bump npm-package-json-lint from 3.5.0 to 4.0.3

Bug Fixes

fix nightly tests
update eth-crypto dependency
throw when no encryption parameters is given to create an encrypted request

Tests

add ERC20 local and mainnet tests
add tests for ETH payment network
unskip ERC20 mainnet tests

Documentation

mistakes in variable name in request-client.js doc
ETH requests specifications
fix links for v2-docs-js-lib.request.network

Code Refactoring

simplify ERC20 payment network and make it generic
getBalance() of declarative read extension events instead of extension data to get timestamp
use ICurrency type for request currency

Packages

@requestnetwork/advanced-logic
@requestnetwork/data-access
@requestnetwork/data-format
@requestnetwork/epk-decryption
@requestnetwork/epk-signature
@requestnetwork/ethereum-storage
@requestnetwork/multi-format
@requestnetwork/request-client.js
@requestnetwork/request-logic
@requestnetwork/request-node
@requestnetwork/transaction-manager
@requestnetwork/types
@requestnetwork/utils
@requestnetwork/web3-signature

Images

Request Node 0.5.4

Smartcontracts, library js and BTC improvement

15 Oct 08:53
Compare
Choose a tag to compare
  • @requestnetwork/request-network.js@0.9.0

    • Introduce increaseExpectedAmounts() instead of addAdditionals(), reduceExpectedAmounts() instead of addSubtractions(), additions parameters instead of additionals. addAdditionals() and addSubtractions() are deprecated and will be removed at the next major version
    • getHistory() now return also the msg.sender of the actions
    • Allow signing request with metamask
    • Fix getRequest() to avoid uncaught exception in case of network issue
    • Fix getRequestEventsCurrencyContractInfo() in requestBitcoinNodesValidation-service
    • dependencies update
  • requestnetworkartifacts@1.6.0

    • Fix bug where webpack does not import format files
    • Fix webpack warning by making require more explicit
  • requestnetwork-data-format@0.1.4

    • Invoice unitPrice, discount and lateFeesFix are now Strings represented in the currency base unit.
  • request-network-smart-contracts@0.2.7

    • Full refactoring of smart contracts: improved modularity, readability, security and maintainability
    • Bitcoin smart contract improvements:
      • Payer refund addresses are now optional at the creation
      • Payer refund addresses can be added afterwards by the payer thanks to addPayerRefundAddressAction()
    • Burner smartcontract allows updating kyber address
    • Fix payment with OMG token

Add 5 ERC20 tokens

25 Sep 07:00
Compare
Choose a tag to compare

Adding the following ERC20:

  • KIN
  • BNB
  • LINK
  • ZRX
  • BAT