Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@huma-shan/types

RequestNetwork5MIT0.40.0TypeScript support: included

Types for Request Network packages.

requestnetwork, types

readme

@huma-shan/types

@huma-shan/types is a typescript library part of the Request Network protocol. It is the collection of typescript types shared across @requestnetwork packages.

Installation

npm install @huma-shan/types --save-dev

Usage

import { IdentityTypes, SignatureTypes } from '@huma-shan/types';

const signatureMethod = SignatureTypes.REQUEST_SIGNATURE_METHOD.ECDSA;
const identityType = IdentityTypes.REQUEST_IDENTITY_TYPE.ETHEREUM_ADDRESS;

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Read the contributing guide

License

MIT

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.40.0 (2023-02-12)

Bug Fixes

  • add txHash to balance (#664) (95bc076)
  • balance of detected payments for declared extensions (#646) (f0d5492)
  • change note type to string (#622) (4cc80d7)
  • Encryption channel use multi-format for identity instead of hash (#501) (500a724)
  • enhance node synchronization and storing of ignored data (#205) (fb6add2)
  • guard from replay attack in request logic (#255) (2dc1fd2)
  • invoice total types + upgrade ethers (#514) (c2b98b2)
  • IPaymentNetworkState better typing (#967) (4d26fe8)
  • publish dist folder instead of src (#254) (d6b5bd4)
  • topic can be any not only string (#219) (8d8b601)
  • ts-node configuration (#138) (e2180d5)
  • type error in the return of getRequestById() (#185) (979751e)
  • typescript lint for test files (#778) (048e876)
  • update currency validation (#1018) (0e7778f)
  • upgrade ethers to 5.2.0 (#532) (6c7cf35)
  • use last synched block timestamp as the sync timestamp instead of now (#481) (81c8cd6)

Features

  • add an option to disable payment detection in the request client (#201) (035302f)
  • add declarative payment network for erc20 (#635) (ecf4a9d), closes #631 #633 #636 #637 #638 #550
  • add delegate in request client (#541) (253b308)
  • add ECIES Encryption in types and utils packages (#488) (0252903)
  • add entry point to request node to get monitoring status (#191) (1d9c239)
  • add ERC20 fee proxy contract PN payment detection (#254) (bec5fac)
  • add ERC20 payment network (#568) (8d820d4)
  • add extension data at request creation (#897) (1ca2363)
  • add getChannelByTopic in data-access (#305) (b345df8)
  • add getIgnoredData() to the ethereum storage (#206) (255d2dc)
  • add IPFS peer for faster IPFS retrieval, and check IPFS and Ethereum nodes connections (#353) (47358c2)
  • add logging interfaces and default logger (#397) (f83a716)
  • add multi-format package to serialize and deserialize data (#546) (2b03cd1)
  • add proxy contract to eth input data in payment detection (#140) (0c36de1)
  • add streamEventName to streaming event parameters (#908) (e870f03)
  • add the confirmed events in the highest layers (#141) (7f9b756)
  • add the identity ethereumSmartContract to the request logic (#218) (66d97e0)
  • amount are only number or string (#223) (7a35bde)
  • any to near advanced logic (#842) (ac79133)
  • asynchronously pin IPFS files in batches (#403) (926c22b)
  • BREAKING CHANGE store the multiformat hash of the topics (#452) (3173333)
  • buffered ethereum storage (#113) (fe4ece6)
  • class to get Ethereum block information in storage (#283) (1454981)
  • compute the requestId before creation with computeRequestId (#407) (c88c6f6)
  • confirmed & pending state in the highest layers (#119) (9424dc0)
  • Data access interface (#161) (ccb4481)
  • declarative requests on request-client.js (#318) (c4a4cb5)
  • determines gas price automatically on mainnet (#429) (3d42c75)
  • ERC20 fees payment network extension (#251) (95af529)
  • erc777 superfluid get balance of subsequent requests (#900) (fd491d0)
  • ETH payement network in advanced-logic (#589) (7b32ce8)
  • goerli storage (#890) (6aa9849)
  • implement the client-side library with mocked http calls (#186) (de883ff)
  • near conversion payment detector (#920) (8b851e7)
  • near conversion payment processor (#921) (af836c2)
  • declarative: payment reference (#901) (2679368)
  • smart-contracts: batch conversion (#877) (2000058)
  • add network as declarative params (#665) (e3a4515)
  • address based pn inherits from declarative (#620) (cb9695e)
  • emits "error" event when the confirmation fails (#179) (73bfcfb)
  • escrow detector class (#773) (c4c2276)
  • Escrow payment detection library (#712) (5b2bd70)
  • implementation of delegation in declarative pn (#535) (cf4eac7)
  • native tokens payment extension (#574) (0d2bb4f)
  • Near detection with autobahn (#576) (86e0145)
  • optionally disable events (#469) (e16a926)
  • payment detection error does not throw (#163) (f49640b)
  • payment detection for ethereum fee proxy (#585) (c78803f)
  • Payment detection for the any to erc20 payment network (#419) (6f7338f)
  • payment network any to erc20 in advanced logic (#414) (45f09f9)
  • Payment network any-to-eth in the advanced logic (#599) (4f113c9)
  • Payment network any-to-eth in the payment detection (#605) (b830d46)
  • Payment network any-to-eth in the payment processor (#610) (a7c12ac)
  • payment network ethereum fee proxy in advanced logic (#582) (b32c85d)
  • payment processing for ethereum fee proxy (#587) (2b1c04c)
  • persist transaction with custom ethereum provider (#106) (61b215f)
  • reference calculator command (#802) (7e9b380)
  • remove hash in encrypted transaction (#232) (d58f101)
  • replace symmetric encryption algorithm by aes-256-gcm (#233) (969bebe)
  • retrieve active escrow data (#818) (0bcf58c)
  • sf advanced logic subsequent request (#899) (43adccf)
  • split data-access read and write for TheGraph (#875) (8fdf34d)
  • SuperFluid advanced logic (#797) (de5ef06)
  • request-node: TheGraph as data access (#717) (651e77f)
  • xdai gas price (#457) (8f0822d)
  • advanced-logic: add ERC20 proxy contract payment network (#74) (031a374)
  • get requests by multiple topics or multiple identities (#530) (8fe7d30)
  • getRequestsByIdentity include timestamp boundaries in request-clients (#308) (1fd2df5)
  • Migrate the synchronization from storage to data-access (#292) (3d04d0d)
  • validate role for increase & decrease (#590) (4793782)
  • Validation of accept, cancel and add extension data (#599) (8f7798e)
  • data-access: get channels from multiple topics (#527) (bdebab7)
  • transaction-manager: add transaction to an existing encrypted channel (#524) (027a0f5)
  • transaction-manager: decrypt channels (#516) (8142c3d)
  • add concurrent readMany to storage layer (#363) (db3f484)
  • add request node logger (#416) (8d56ade)
  • additional node logs to show progress and logLevel option (#338) (38559f4)
  • Ethereum Private key (Epk) decryption provider implementation (#499) (207b762)
  • getTransactionByTopic with timestamp boundaries (#294) (be4ec56)
  • introduce channelIds to enhance the topics mechanism (#297) (6072905)
  • IPFS retry on error (#421) (18d6e6e)
  • mock storage for dev mode (#192) (af0d580)
  • payment network declarative for any currency (#315) (06fb561)
  • persist encrypted transaction in transaction manager (#495) (7523f93)
  • Request logic: create encrypted request (#496) (9f1ebe6)
  • Storage module (#157) (bea2b50)
  • Transaction-manager: ignore the wrong transactions of channels (#514) (4ec82c6)
  • data-access: transaction index persisted for faster initialization (#406) (d820036)
  • Storage get data from timestamp boundaries (#291) (e9554cd)
  • Timestamp from storage to client (#309) (bb0ac19)
  • upgradable smart contracts (#337) (c8cf724)

Performance Improvements

  • faster initialization by factoring stat and read IPFS calls in one call (#401) (184c14e)

Reverts

  • Revert "Simplify the types of request-logic" (f7e0857)

BREAKING CHANGES

  • Topics are stored as multiformat hashes. Old formats of topics (raw strings) are not compatible.

Request-client.js:

  • Topics are hashed and follow the multiformat
  • The hashes follow the multiformat

Utils:

  • Add multiformat to the utils library

Ethereum-storage:

  • Artifacts are updated to link to new contracts on Rinkeby
  • The hashes follow the multiformat

Data-access:

  • The hashes follow the multiformat
  • Topics must be hashed and multi-formatted

Request-logic:

  • The hashes follow the multiformat

0.36.0 (2022-11-04)

Bug Fixes

Features

0.35.0 (2021-06-22)

Bug Fixes

  • invoice total types + upgrade ethers (#514) (c2b98b2)

Features

0.34.0 (2021-05-12)

Features

0.33.0 (2021-04-19)

Features

0.32.0 (2021-03-25)

Features

  • Payment detection for the any to erc20 payment network (#419) (6f7338f)
  • payment network any to erc20 in advanced logic (#414) (45f09f9)
  • xdai gas price (#457) (8f0822d)

0.31.0 (2021-03-15)

Features

  • Payment detection for the any to erc20 payment network (#419) (6f7338f)
  • payment network any to erc20 in advanced logic (#414) (45f09f9)

0.30.0 (2021-03-03)

Features

  • payment network any to erc20 in advanced logic (#414) (45f09f9)

0.29.3 (2021-02-22)

Note: Version bump only for package @huma-shan/types

0.29.2 (2020-12-22)

Note: Version bump only for package @huma-shan/types

0.29.1 (2020-12-21)

Note: Version bump only for package @huma-shan/types

0.29.0 (2020-12-02)

0.26.0 (2020-10-14)

Bug Fixes

  • enhance node synchronization and storing of ignored data (#205) (fb6add2)
  • topic can be any not only string (#219) (8d8b601)

Features

  • add ERC20 fee proxy contract PN payment detection (#254) (bec5fac)
  • add getIgnoredData() to the ethereum storage (#206) (255d2dc)
  • add the identity ethereumSmartContract to the request logic (#218) (66d97e0)
  • amount are only number or string (#223) (7a35bde)
  • ERC20 fees payment network extension (#251) (95af529)
  • remove hash in encrypted transaction (#232) (d58f101)
  • replace symmetric encryption algorithm by aes-256-gcm (#233) (969bebe)

0.16.0 (2020-04-21)

Features

  • add an option to disable payment detection in the request client (#201) (035302f)
  • add entry point to request node to get monitoring status (#191) (1d9c239)

0.15.0 (2020-04-06)

Features

  • add the confirmed events in the highest layers (#141) (7f9b756)
  • emits "error" event when the confirmation fails (#179) (73bfcfb)
  • payment detection error does not throw (#163) (f49640b)

0.13.0 (2020-02-20)

Bug Fixes

Features

  • add proxy contract to eth input data in payment detection (#140) (0c36de1)
  • buffered ethereum storage (#113) (fe4ece6)
  • confirmed & pending state in the highest layers (#119) (9424dc0)
  • persist transaction with custom ethereum provider (#106) (61b215f)

0.12.0 (2020-01-16)

Features

  • advanced-logic: add ERC20 proxy contract payment network (#74) (031a374)

0.10.0 (2019-12-04)

0.28.0 (2020-11-12)

0.26.0 (2020-10-14)

Bug Fixes

  • enhance node synchronization and storing of ignored data (#205) (fb6add2)
  • topic can be any not only string (#219) (8d8b601)

Features

  • add ERC20 fee proxy contract PN payment detection (#254) (bec5fac)
  • add getIgnoredData() to the ethereum storage (#206) (255d2dc)
  • add the identity ethereumSmartContract to the request logic (#218) (66d97e0)
  • amount are only number or string (#223) (7a35bde)
  • ERC20 fees payment network extension (#251) (95af529)
  • remove hash in encrypted transaction (#232) (d58f101)
  • replace symmetric encryption algorithm by aes-256-gcm (#233) (969bebe)

0.16.0 (2020-04-21)

Features

  • add an option to disable payment detection in the request client (#201) (035302f)
  • add entry point to request node to get monitoring status (#191) (1d9c239)

0.15.0 (2020-04-06)

Features

  • add the confirmed events in the highest layers (#141) (7f9b756)
  • emits "error" event when the confirmation fails (#179) (73bfcfb)
  • payment detection error does not throw (#163) (f49640b)

0.13.0 (2020-02-20)

Bug Fixes

Features

  • add proxy contract to eth input data in payment detection (#140) (0c36de1)
  • buffered ethereum storage (#113) (fe4ece6)
  • confirmed & pending state in the highest layers (#119) (9424dc0)
  • persist transaction with custom ethereum provider (#106) (61b215f)

0.12.0 (2020-01-16)

Features

  • advanced-logic: add ERC20 proxy contract payment network (#74) (031a374)

0.10.0 (2019-12-04)

0.27.0 (2020-11-05)

0.26.0 (2020-10-14)

Bug Fixes

  • enhance node synchronization and storing of ignored data (#205) (fb6add2)
  • topic can be any not only string (#219) (8d8b601)

Features

  • add ERC20 fee proxy contract PN payment detection (#254) (bec5fac)
  • add getIgnoredData() to the ethereum storage (#206) (255d2dc)
  • add the identity ethereumSmartContract to the request logic (#218) (66d97e0)
  • amount are only number or string (#223) (7a35bde)
  • ERC20 fees payment network extension (#251) (95af529)
  • remove hash in encrypted transaction (#232) (d58f101)
  • replace symmetric encryption algorithm by aes-256-gcm (#233) (969bebe)

0.16.0 (2020-04-21)

Features

  • add an option to disable payment detection in the request client (#201) (035302f)
  • add entry point to request node to get monitoring status (#191) (1d9c239)

0.15.0 (2020-04-06)

Features

  • add the confirmed events in the highest layers (#141) (7f9b756)
  • emits "error" event when the confirmation fails (#179) (73bfcfb)
  • payment detection error does not throw (#163) (f49640b)

0.13.0 (2020-02-20)

Bug Fixes

Features

  • add proxy contract to eth input data in payment detection (#140) (0c36de1)
  • buffered ethereum storage (#113) (fe4ece6)
  • confirmed & pending state in the highest layers (#119) (9424dc0)
  • persist transaction with custom ethereum provider (#106) (61b215f)

0.12.0 (2020-01-16)

Features

  • advanced-logic: add ERC20 proxy contract payment network (#74) (031a374)

0.10.0 (2019-12-04)

0.26.0 (2020-10-21)

0.26.0 (2020-10-14)

Bug Fixes

  • enhance node synchronization and storing of ignored data (#205) (fb6add2)
  • topic can be any not only string (#219) (8d8b601)

Features

  • add ERC20 fee proxy contract PN payment detection (#254) (bec5fac)
  • add getIgnoredData() to the ethereum storage (#206) (255d2dc)
  • add the identity ethereumSmartContract to the request logic (#218) (66d97e0)
  • amount are only number or string (#223) (7a35bde)
  • ERC20 fees payment network extension (#251) (95af529)
  • remove hash in encrypted transaction (#232) (d58f101)
  • replace symmetric encryption algorithm by aes-256-gcm (#233) (969bebe)

0.16.0 (2020-04-21)

Features

  • add an option to disable payment detection in the request client (#201) (035302f)
  • add entry point to request node to get monitoring status (#191) (1d9c239)

0.15.0 (2020-04-06)

Features

  • add the confirmed events in the highest layers (#141) (7f9b756)
  • emits "error" event when the confirmation fails (#179) (73bfcfb)
  • payment detection error does not throw (#163) (f49640b)

0.13.0 (2020-02-20)

Bug Fixes

Features

  • add proxy contract to eth input data in payment detection (#140) (0c36de1)
  • buffered ethereum storage (#113) (fe4ece6)
  • confirmed & pending state in the highest layers (#119) (9424dc0)
  • persist transaction with custom ethereum provider (#106) (61b215f)

0.12.0 (2020-01-16)

Features

  • advanced-logic: add ERC20 proxy contract payment network (#74) (031a374)

0.10.0 (2019-12-04)

0.25.0 (2020-10-14)

Bug Fixes

  • enhance node synchronization and storing of ignored data (#205) (fb6add2)
  • topic can be any not only string (#219) (8d8b601)

Features

  • add ERC20 fee proxy contract PN payment detection (#254) (bec5fac)
  • add getIgnoredData() to the ethereum storage (#206) (255d2dc)
  • add the identity ethereumSmartContract to the request logic (#218) (66d97e0)
  • amount are only number or string (#223) (7a35bde)
  • ERC20 fees payment network extension (#251) (95af529)
  • remove hash in encrypted transaction (#232) (d58f101)
  • replace symmetric encryption algorithm by aes-256-gcm (#233) (969bebe)

0.16.0 (2020-04-21)

Features

  • add an option to disable payment detection in the request client (#201) (035302f)
  • add entry point to request node to get monitoring status (#191) (1d9c239)

0.15.0 (2020-04-06)

Features

  • add the confirmed events in the highest layers (#141) (7f9b756)
  • emits "error" event when the confirmation fails (#179) (73bfcfb)
  • payment detection error does not throw (#163) (f49640b)

0.13.0 (2020-02-20)

Bug Fixes

Features

  • add proxy contract to eth input data in payment detection (#140) (0c36de1)
  • buffered ethereum storage (#113) (fe4ece6)
  • confirmed & pending state in the highest layers (#119) (9424dc0)
  • persist transaction with custom ethereum provider (#106) (61b215f)

0.12.0 (2020-01-16)

Features

  • advanced-logic: add ERC20 proxy contract payment network (#74) (031a374)

0.10.0 (2019-12-04)

0.24.0 (2020-10-13)

Bug Fixes

  • enhance node synchronization and storing of ignored data (#205) (fb6add2)
  • topic can be any not only string (#219) (8d8b601)

Features

  • add ERC20 fee proxy contract PN payment detection (#254) (bec5fac)
  • add getIgnoredData() to the ethereum storage (#206) (255d2dc)
  • add the identity ethereumSmartContract to the request logic (#218) (66d97e0)
  • amount are only number or string (#223) (7a35bde)
  • ERC20 fees payment network extension (#251) (95af529)
  • remove hash in encrypted transaction (#232) (d58f101)
  • replace symmetric encryption algorithm by aes-256-gcm (#233) (969bebe)

0.16.0 (2020-04-21)

Features

  • add an option to disable payment detection in the request client (#201) (035302f)
  • add entry point to request node to get monitoring status (#191) (1d9c239)

0.15.0 (2020-04-06)

Features

  • add the confirmed events in the highest layers (#141) (7f9b756)
  • emits "error" event when the confirmation fails (#179) (73bfcfb)
  • payment detection error does not throw (#163) (f49640b)

0.13.0 (2020-02-20)

Bug Fixes

Features

  • add proxy contract to eth input data in payment detection (#140) (0c36de1)
  • buffered ethereum storage (#113) (fe4ece6)
  • confirmed & pending state in the highest layers (#119) (9424dc0)
  • persist transaction with custom ethereum provider (#106) (61b215f)

0.12.0 (2020-01-16)

Features

  • advanced-logic: add ERC20 proxy contract payment network (#74) (031a374)

0.10.0 (2019-12-04)

0.23.0 (2020-10-09)

Bug Fixes

  • enhance node synchronization and storing of ignored data (#205) (fb6add2)
  • topic can be any not only string (#219) (8d8b601)

Features

  • add ERC20 fee proxy contract PN payment detection (#254) (bec5fac)
  • add getIgnoredData() to the ethereum storage (#206) (255d2dc)
  • add the identity ethereumSmartContract to the request logic (#218) (66d97e0)
  • amount are only number or string (#223) (7a35bde)
  • ERC20 fees payment network extension (#251) (95af529)
  • remove hash in encrypted transaction (#232) (d58f101)
  • replace symmetric encryption algorithm by aes-256-gcm (#233) (969bebe)

0.16.0 (2020-04-21)

Features

  • add an option to disable payment detection in the request client (#201) (035302f)
  • add entry point to request node to get monitoring status (#191) (1d9c239)

0.15.0 (2020-04-06)

Features

  • add the confirmed events in the highest layers (#141) (7f9b756)
  • emits "error" event when the confirmation fails (#179) (73bfcfb)
  • payment detection error does not throw (#163) (f49640b)

0.13.0 (2020-02-20)

Bug Fixes

Features

  • add proxy contract to eth input data in payment detection (#140) (0c36de1)
  • buffered ethereum storage (#113) (fe4ece6)
  • confirmed & pending state in the highest layers (#119) (9424dc0)
  • persist transaction with custom ethereum provider (#106) (61b215f)

0.12.0 (2020-01-16)

Features

  • advanced-logic: add ERC20 proxy contract payment network (#74) (031a374)

0.10.0 (2019-12-04)

0.22.0 (2020-09-28)

Bug Fixes

  • enhance node synchronization and storing of ignored data (#205) (fb6add2)
  • topic can be any not only string (#219) (8d8b601)

Features

  • add ERC20 fee proxy contract PN payment detection (#254) (bec5fac)
  • add getIgnoredData() to the ethereum storage (#206) (255d2dc)
  • add the identity ethereumSmartContract to the request logic (#218) (66d97e0)
  • amount are only number or string (#223) (7a35bde)
  • ERC20 fees payment network extension (#251) (95af529)
  • remove hash in encrypted transaction (#232) (d58f101)
  • replace symmetric encryption algorithm by aes-256-gcm (#233) (969bebe)

0.16.0 (2020-04-21)

Features

  • add an option to disable payment detection in the request client (#201) (035302f)
  • add entry point to request node to get monitoring status (#191) (1d9c239)

0.15.0 (2020-04-06)

Features

  • add the confirmed events in the highest layers (#141) (7f9b756)
  • emits "error" event when the confirmation fails (#179) (73bfcfb)
  • payment detection error does not throw (#163) (f49640b)

0.13.0 (2020-02-20)

Bug Fixes

Features

  • add proxy contract to eth input data in payment detection (#140) (0c36de1)
  • buffered ethereum storage (#113) (fe4ece6)
  • confirmed & pending state in the highest layers (#119) (9424dc0)
  • persist transaction with custom ethereum provider (#106) (61b215f)

0.12.0 (2020-01-16)

Features

  • advanced-logic: add ERC20 proxy contract payment network (#74) (031a374)

0.10.0 (2019-12-04)

0.21.0 (2020-09-18)

Bug Fixes

  • enhance node synchronization and storing of ignored data (#205) (fb6add2)
  • topic can be any not only string (#219) (8d8b601)

Features

  • add ERC20 fee proxy contract PN payment detection (#254) (bec5fac)
  • add getIgnoredData() to the ethereum storage (#206) (255d2dc)
  • add the identity ethereumSmartContract to the request logic (#218) (66d97e0)
  • amount are only number or string (#223) (7a35bde)
  • ERC20 fees payment network extension (#251) (95af529)
  • remove hash in encrypted transaction (#232) (d58f101)
  • replace symmetric encryption algorithm by aes-256-gcm (#233) (969bebe)

0.16.0 (2020-04-21)

Features

  • add an option to disable payment detection in the request client (#201) (035302f)
  • add entry point to request node to get monitoring status (#191) (1d9c239)

0.15.0 (2020-04-06)

Features

  • add the confirmed events in the highest layers (#141) (7f9b756)
  • emits "error" event when the confirmation fails (#179) (73bfcfb)
  • payment detection error does not throw (#163) (f49640b)

0.13.0 (2020-02-20)

Bug Fixes

Features

  • add proxy contract to eth input data in payment detection (#140) (0c36de1)
  • buffered ethereum storage (#113) (fe4ece6)
  • confirmed & pending state in the highest layers (#119) (9424dc0)
  • persist transaction with custom ethereum provider (#106) (61b215f)

0.12.0 (2020-01-16)

Features

  • advanced-logic: add ERC20 proxy contract payment network (#74) (031a374)

0.10.0 (2019-12-04)

0.20.0 (2020-09-01)

Bug Fixes

  • enhance node synchronization and storing of ignored data (#205) (fb6add2)
  • topic can be any not only string (#219) (8d8b601)

Features

  • add ERC20 fee proxy contract PN payment detection (#254) (bec5fac)
  • add getIgnoredData() to the ethereum storage (#206) (255d2dc)
  • add the identity ethereumSmartContract to the request logic (#218) (66d97e0)
  • amount are only number or string (#223) (7a35bde)
  • ERC20 fees payment network extension (#251) (95af529)
  • remove hash in encrypted transaction (#232) (d58f101)
  • replace symmetric encryption algorithm by aes-256-gcm (#233) (969bebe)

0.16.0 (2020-04-21)

Features

  • add an option to disable payment detection in the request client (#201) (035302f)
  • add entry point to request node to get monitoring status (#191) (1d9c239)

0.15.0 (2020-04-06)

Features

  • add the confirmed events in the highest layers (#141) (7f9b756)
  • emits "error" event when the confirmation fails (#179) (73bfcfb)
  • payment detection error does not throw (#163) (f49640b)

0.13.0 (2020-02-20)

Bug Fixes

Features

  • add proxy contract to eth input data in payment detection (#140) (0c36de1)
  • buffered ethereum storage (#113) (fe4ece6)
  • confirmed & pending state in the highest layers (#119) (9424dc0)
  • persist transaction with custom ethereum provider (#106) (61b215f)

0.12.0 (2020-01-16)

Features

  • advanced-logic: add ERC20 proxy contract payment network (#74) (031a374)

0.10.0 (2019-12-04)

0.19.0 (2020-08-27)

Bug Fixes

  • enhance node synchronization and storing of ignored data (#205) (fb6add2)
  • topic can be any not only string (#219) (8d8b601)

Features

  • add ERC20 fee proxy contract PN payment detection (#254) (bec5fac)
  • add getIgnoredData() to the ethereum storage (#206) (255d2dc)
  • add the identity ethereumSmartContract to the request logic (#218) (66d97e0)
  • amount are only number or string (#223) (7a35bde)
  • ERC20 fees payment network extension (#251) (95af529)
  • remove hash in encrypted transaction (#232) (d58f101)
  • replace symmetric encryption algorithm by aes-256-gcm (#233) (969bebe)

0.16.0 (2020-04-21)

Features

  • add an option to disable payment detection in the request client (#201) (035302f)
  • add entry point to request node to get monitoring status (#191) (1d9c239)

0.15.0 (2020-04-06)

Features

  • add the confirmed events in the highest layers (#141) (7f9b756)
  • emits "error" event when the confirmation fails (#179) (73bfcfb)
  • payment detection error does not throw (#163) (f49640b)

0.13.0 (2020-02-20)

Bug Fixes

Features

  • add proxy contract to eth input data in payment detection (#140) (0c36de1)
  • buffered ethereum storage (#113) (fe4ece6)
  • confirmed & pending state in the highest layers (#119) (9424dc0)
  • persist transaction with custom ethereum provider (#106) (61b215f)

0.12.0 (2020-01-16)

Features

  • advanced-logic: add ERC20 proxy contract payment network (#74) (031a374)

0.10.0 (2019-12-04)

0.18.0 (2020-08-13)

Bug Fixes

  • enhance node synchronization and storing of ignored data (#205) (fb6add2)
  • topic can be any not only string (#219) (8d8b601)

Features

  • add ERC20 fee proxy contract PN payment detection (#254) (bec5fac)
  • add getIgnoredData() to the ethereum storage (#206) (255d2dc)
  • add the identity ethereumSmartContract to the request logic (#218) (66d97e0)
  • amount are only number or string (#223) (7a35bde)
  • ERC20 fees payment network extension (#251) (95af529)
  • remove hash in encrypted transaction (#232) (d58f101)
  • replace symmetric encryption algorithm by aes-256-gcm (#233) (969bebe)

0.16.0 (2020-04-21)

Features

  • add an option to disable payment detection in the request client (#201) (035302f)
  • add entry point to request node to get monitoring status (#191) (1d9c239)

0.15.0 (2020-04-06)

Features

  • add the confirmed events in the highest layers (#141) (7f9b756)
  • emits "error" event when the confirmation fails (#179) (73bfcfb)
  • payment detection error does not throw (#163) (f49640b)

0.13.0 (2020-02-20)

Bug Fixes

Features

  • add proxy contract to eth input data in payment detection (#140) (0c36de1)
  • buffered ethereum storage (#113) (fe4ece6)
  • confirmed & pending state in the highest layers (#119) (9424dc0)
  • persist transaction with custom ethereum provider (#106) (61b215f)

0.12.0 (2020-01-16)

Features

  • advanced-logic: add ERC20 proxy contract payment network (#74) (031a374)

0.10.0 (2019-12-04)

0.17.0 (2020-06-29)

Bug Fixes

  • enhance node synchronization and storing of ignored data (#205) (fb6add2)
  • topic can be any not only string (#219) (8d8b601)

Features

  • add getIgnoredData() to the ethereum storage (#206) (255d2dc)
  • add the identity ethereumSmartContract to the request logic (#218) (66d97e0)
  • amount are only number or string (#223) (7a35bde)
  • remove hash in encrypted transaction (#232) (d58f101)
  • replace symmetric encryption algorithm by aes-256-gcm (#233) (969bebe)

0.16.0 (2020-04-21)

Features

  • add an option to disable payment detection in the request client (#201) (035302f)
  • add entry point to request node to get monitoring status (#191) (1d9c239)

0.15.0 (2020-04-06)

Features

  • add the confirmed events in the highest layers (#141) (7f9b756)
  • emits "error" event when the confirmation fails (#179) (73bfcfb)
  • payment detection error does not throw (#163) (f49640b)

0.13.0 (2020-02-20)

Bug Fixes

Features

  • add proxy contract to eth input data in payment detection (#140) (0c36de1)
  • buffered ethereum storage (#113) (fe4ece6)
  • confirmed & pending state in the highest layers (#119) (9424dc0)
  • persist transaction with custom ethereum provider (#106) (61b215f)

0.12.0 (2020-01-16)

Features

  • advanced-logic: add ERC20 proxy contract payment network (#74) (031a374)

0.10.0 (2019-12-04)

0.16.0 (2020-05-04)

Bug Fixes

  • enhance node synchronization and storing of ignored data (#205) (fb6add2)

Features

  • add getIgnoredData() to the ethereum storage (#206) (255d2dc)

0.16.0 (2020-04-21)

Features

  • add an option to disable payment detection in the request client (#201) (035302f)
  • add entry point to request node to get monitoring status (#191) (1d9c239)

0.15.0 (2020-04-06)

Features

  • add the confirmed events in the highest layers (#141) (7f9b756)
  • emits "error" event when the confirmation fails (#179) (73bfcfb)
  • payment detection error does not throw (#163) (f49640b)

0.13.0 (2020-02-20)

Bug Fixes

Features

  • add proxy contract to eth input data in payment detection (#140) (0c36de1)
  • buffered ethereum storage (#113) (fe4ece6)
  • confirmed & pending state in the highest layers (#119) (9424dc0)
  • persist transaction with custom ethereum provider (#106) (61b215f)

0.12.0 (2020-01-16)

Features

  • advanced-logic: add ERC20 proxy contract payment network (#74) (031a374)

0.10.0 (2019-12-04)

0.15.0 (2020-04-21)

Features

  • add an option to disable payment detection in the request client (#201) (035302f)
  • add entry point to request node to get monitoring status (#191) (1d9c239)

0.15.0 (2020-04-06)

Features

  • add the confirmed events in the highest layers (#141) (7f9b756)
  • emits "error" event when the confirmation fails (#179) (73bfcfb)
  • payment detection error does not throw (#163) (f49640b)

0.13.0 (2020-02-20)

Bug Fixes

Features

  • add proxy contract to eth input data in payment detection (#140) (0c36de1)
  • buffered ethereum storage (#113) (fe4ece6)
  • confirmed & pending state in the highest layers (#119) (9424dc0)
  • persist transaction with custom ethereum provider (#106) (61b215f)

0.12.0 (2020-01-16)

Features

  • advanced-logic: add ERC20 proxy contract payment network (#74) (031a374)

0.10.0 (2019-12-04)

0.14.0 (2020-04-06)

Features

  • add the confirmed events in the highest layers (#141) (7f9b756)
  • emits "error" event when the confirmation fails (#179) (73bfcfb)
  • payment detection error does not throw (#163) (f49640b)

0.13.0 (2020-02-20)

Bug Fixes

Features

  • add proxy contract to eth input data in payment detection (#140) (0c36de1)
  • buffered ethereum storage (#113) (fe4ece6)
  • confirmed & pending state in the highest layers (#119) (9424dc0)
  • persist transaction with custom ethereum provider (#106) (61b215f)

0.12.0 (2020-01-16)

Features

  • advanced-logic: add ERC20 proxy contract payment network (#74) (031a374)

0.10.0 (2019-12-04)

0.13.0 (2020-03-23)

Features

  • add the confirmed events in the highest layers (#141) (7f9b756)
  • payment detection error does not throw (#163) (f49640b)

0.13.0 (2020-02-20)

Bug Fixes

Features

  • add proxy contract to eth input data in payment detection (#140) (0c36de1)
  • buffered ethereum storage (#113) (fe4ece6)
  • confirmed & pending state in the highest layers (#119) (9424dc0)
  • persist transaction with custom ethereum provider (#106) (61b215f)

0.12.0 (2020-01-16)

Features

  • advanced-logic: add ERC20 proxy contract payment network (#74) (031a374)

0.10.0 (2019-12-04)

0.12.0 (2020-02-20)

Bug Fixes

Features

  • add proxy contract to eth input data in payment detection (#140) (0c36de1)
  • buffered ethereum storage (#113) (fe4ece6)
  • confirmed & pending state in the highest layers (#119) (9424dc0)
  • persist transaction with custom ethereum provider (#106) (61b215f)

0.12.0 (2020-01-16)

Features

  • advanced-logic: add ERC20 proxy contract payment network (#74) (031a374)

0.10.0 (2019-12-04)

0.11.0 (2020-01-16)

Features

  • advanced-logic: add ERC20 proxy contract payment network (#74) (031a374)

0.10.0 (2019-12-04)

0.10.0 (2019-12-18)

Features

  • advanced-logic: add ERC20 proxy contract payment network (#74) (031a374)

0.10.0 (2019-12-04)

0.9.1 (2019-12-04)

Note: Version bump only for package @huma-shan/types

0.9.0 (2019-11-20)

Features

  • ETH payement network in advanced-logic (#589) (7b32ce8)
  • validate role for increase & decrease (#590) (4793782)
  • Validation of accept, cancel and add extension data (#599) (8f7798e)

0.8.0 (2019-10-21)

Features

  • add ERC20 payment network (#568) (8d820d4)
  • add multi-format package to serialize and deserialize data (#546) (2b03cd1)

0.7.0 (2019-09-16)

Features

  • data-access: get channels from multiple topics (#527) (bdebab7)
  • transaction-manager: add transaction to an existing encrypted channel (#524) (027a0f5)
  • get requests by multiple topics or multiple identities (#530) (8fe7d30)

0.6.0 (2019-09-05)

Bug Fixes

  • Encryption channel use multi-format for identity instead of hash (#501) (500a724)

Features

  • Transaction-manager: ignore the wrong transactions of channels (#514) (4ec82c6)
  • transaction-manager: decrypt channels (#516) (8142c3d)

0.5.0 (2019-08-19)

Features

  • add ECIES Encryption in types and utils packages (#488) (0252903)
  • Ethereum Private key (Epk) decryption provider implementation (#499) (207b762)
  • persist encrypted transaction in transaction manager (#495) (7523f93)
  • Request logic: create encrypted request (#496) (9f1ebe6)

0.3.0 (2019-07-24)

Features

  • add concurrent readMany to storage layer (#363) (db3f484)
  • add getChannelByTopic in data-access (#305) (b345df8)
  • add IPFS peer for faster IPFS retrieval, and check IPFS and Ethereum nodes connections (#353) (47358c2)
  • add logging interfaces and default logger (#397) (f83a716)
  • add request node logger (#416) (8d56ade)
  • additional node logs to show progress and logLevel option (#338) (38559f4)
  • asynchronously pin IPFS files in batches (#403) (926c22b)
  • class to get Ethereum block information in storage (#283) (1454981)
  • compute the requestId before creation with computeRequestId (#407) (c88c6f6)
  • declarative requests on request-client.js (#318) (c4a4cb5)
  • data-access: transaction index persisted for faster initialization (#406) (d820036)
  • determines gas price automatically on mainnet (#429) (3d42c75)
  • getRequestsByIdentity include timestamp boundaries in request-clients (#308) (1fd2df5)
  • getTransactionByTopic with timestamp boundaries (#294) (be4ec56)
  • introduce channelIds to enhance the topics mechanism (#297) (6072905)
  • IPFS retry on error (#421) (18d6e6e)
  • Migrate the synchronization from storage to data-access (#292) (3d04d0d)
  • payment network declarative for any currency (#315) (06fb561)
  • Storage get data from timestamp boundaries (#291) (e9554cd)
  • Timestamp from storage to client (#309) (bb0ac19)
  • upgradable smart contracts (#337) (c8cf724)

Performance Improvements

  • faster initialization by factoring stat and read IPFS calls in one call (#401) (184c14e)

0.2.1-alpha.0 (2019-07-22)

Features

  • add concurrent readMany to storage layer (#363) (db3f484)
  • add getChannelByTopic in data-access (#305) (b345df8)
  • add IPFS peer for faster IPFS retrieval, and check IPFS and Ethereum nodes connections (#353) (47358c2)
  • add logging interfaces and default logger (#397) (f83a716)
  • add request node logger (#416) (8d56ade)
  • additional node logs to show progress and logLevel option (#338) (38559f4)
  • asynchronously pin IPFS files in batches (#403) (926c22b)
  • class to get Ethereum block information in storage (#283) (1454981)
  • compute the requestId before creation with computeRequestId (#407) (c88c6f6)
  • declarative requests on request-client.js (#318) (c4a4cb5)
  • data-access: transaction index persisted for faster initialization (#406) (d820036)
  • determines gas price automatically on mainnet (#429) (3d42c75)
  • getRequestsByIdentity include timestamp boundaries in request-clients (#308) (1fd2df5)
  • getTransactionByTopic with timestamp boundaries (#294) (be4ec56)
  • introduce channelIds to enhance the topics mechanism (#297) (6072905)
  • IPFS retry on error (#421) (18d6e6e)
  • Migrate the synchronization from storage to data-access (#292) (3d04d0d)
  • payment network declarative for any currency (#315) (06fb561)
  • Storage get data from timestamp boundaries (#291) (e9554cd)
  • Timestamp from storage to client (#309) (bb0ac19)
  • upgradable smart contracts (#337) (c8cf724)

Performance Improvements

  • faster initialization by factoring stat and read IPFS calls in one call (#401) (184c14e)

0.2.0 (2019-06-06)

Features

  • add concurrent readMany to storage layer (#363) (db3f484)
  • add getChannelByTopic in data-access (#305) (b345df8)
  • add IPFS peer for faster IPFS retrieval, and check IPFS and Ethereum nodes connections (#353) (47358c2)
  • add logging interfaces and default logger (#397) (f83a716)
  • additional node logs to show progress and logLevel option (#338) (38559f4)
  • asynchronously pin IPFS files in batches (#403) (926c22b)
  • class to get Ethereum block information in storage (#283) (1454981)
  • declarative requests on request-client.js (#318) (c4a4cb5)
  • getRequestsByIdentity include timestamp boundaries in request-clients (#308) (1fd2df5)
  • getTransactionByTopic with timestamp boundaries (#294) (be4ec56)
  • introduce channelIds to enhance the topics mechanism (#297) (6072905)
  • Migrate the synchronization from storage to data-access (#292) (3d04d0d)
  • payment network declarative for any currency (#315) (06fb561)
  • Storage get data from timestamp boundaries (#291) (e9554cd)
  • Timestamp from storage to client (#309) (bb0ac19)
  • upgradable smart contracts (#337) (c8cf724)

Performance Improvements

  • faster initialization by factoring stat and read IPFS calls in one call (#401) (184c14e)

0.1.1-alpha.11 (2019-05-21)

Features

  • add getChannelByTopic in data-access (#305) (b345df8)
  • additional node logs to show progress and logLevel option (#338) (38559f4)
  • class to get Ethereum block information in storage (#283) (1454981)
  • declarative requests on request-client.js (#318) (c4a4cb5)
  • getRequestsByIdentity include timestamp boundaries in request-clients (#308) (1fd2df5)
  • getTransactionByTopic with timestamp boundaries (#294) (be4ec56)
  • introduce channelIds to enhance the topics mechanism (#297) (6072905)
  • Migrate the synchronization from storage to data-access (#292) (3d04d0d)
  • payment network declarative for any currency (#315) (06fb561)
  • Storage get data from timestamp boundaries (#291) (e9554cd)
  • Timestamp from storage to client (#309) (bb0ac19)
  • upgradable smart contracts (#337) (c8cf724)

0.1.1-alpha.10 (2019-05-17)

Features

  • add getChannelByTopic in data-access (#305) (b345df8)
  • additional node logs to show progress and logLevel option (#338) (38559f4)
  • class to get Ethereum block information in storage (#283) (1454981)
  • declarative requests on request-client.js (#318) (c4a4cb5)
  • getRequestsByIdentity include timestamp boundaries in request-clients (#308) (1fd2df5)
  • getTransactionByTopic with timestamp boundaries (#294) (be4ec56)
  • introduce channelIds to enhance the topics mechanism (#297) (6072905)
  • Migrate the synchronization from storage to data-access (#292) (3d04d0d)
  • payment network declarative for any currency (#315) (06fb561)
  • Storage get data from timestamp boundaries (#291) (e9554cd)
  • Timestamp from storage to client (#309) (bb0ac19)

0.1.1-alpha.9 (2019-05-10)

Features

  • add getChannelByTopic in data-access (#305) (b345df8)
  • class to get Ethereum block information in storage (#283) (1454981)
  • getRequestsByIdentity include timestamp boundaries in request-clients (#308) (1fd2df5)
  • getTransactionByTopic with timestamp boundaries (#294) (be4ec56)
  • introduce channelIds to enhance the topics mechanism (#297) (6072905)
  • Migrate the synchronization from storage to data-access (#292) (3d04d0d)
  • payment network declarative for any currency (#315) (06fb561)
  • Storage get data from timestamp boundaries (#291) (e9554cd)
  • Timestamp from storage to client (#309) (bb0ac19)