🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@frinkly/utils

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frinkly/utils - npm Package Compare versions

Comparing version
0.36.3
to
0.37.0
+841
CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 0.37.0 (2023-02-26)
### Bug Fixes
- min priority fee ([#998](https://github.com/RequestNetwork/requestNetwork/issues/998)) ([21e1bbd](https://github.com/RequestNetwork/requestNetwork/commit/21e1bbdfd7cafe593a938462cffd0360108ef4b7))
- **smart-contracts:** deploy and verify batch contract ([#868](https://github.com/RequestNetwork/requestNetwork/issues/868)) ([a71eb58](https://github.com/RequestNetwork/requestNetwork/commit/a71eb581de2199892ee44fcb8b162a9ae0c44a10))
- invoice total types + upgrade ethers ([#514](https://github.com/RequestNetwork/requestNetwork/issues/514)) ([c2b98b2](https://github.com/RequestNetwork/requestNetwork/commit/c2b98b2bd3c93f063f340d58c6b95ad026fd9519))
- private key without trailing 0x ([#479](https://github.com/RequestNetwork/requestNetwork/issues/479)) ([4d71cae](https://github.com/RequestNetwork/requestNetwork/commit/4d71caec912e3adbab99cf029b07ee007d7c39bb))
- swap to conversion ([#826](https://github.com/RequestNetwork/requestNetwork/issues/826)) ([cdb4b99](https://github.com/RequestNetwork/requestNetwork/commit/cdb4b999a059c86e5b9ff59d144fb7236060460a))
- typescript lint for test files ([#778](https://github.com/RequestNetwork/requestNetwork/issues/778)) ([048e876](https://github.com/RequestNetwork/requestNetwork/commit/048e876a905516be0de8a31d446e4572eb74eccb))
- upgrade ethers to 5.2.0 ([#532](https://github.com/RequestNetwork/requestNetwork/issues/532)) ([6c7cf35](https://github.com/RequestNetwork/requestNetwork/commit/6c7cf350a04e280b77ce6fd758b6f065f28fd1cc))
### Features
- tombchain ([#1024](https://github.com/RequestNetwork/requestNetwork/issues/1024)) ([7ba9b80](https://github.com/RequestNetwork/requestNetwork/commit/7ba9b803160cf8b5a80a7db817142a1999bd385a))
- **smart-contracts:** xdeployer gas fee eip1559 ([#1014](https://github.com/RequestNetwork/requestNetwork/issues/1014)) ([054fc63](https://github.com/RequestNetwork/requestNetwork/commit/054fc6307177d9dd56f690e37fdaf4a965bbfbfe))
- create2 deployer ([#806](https://github.com/RequestNetwork/requestNetwork/issues/806)) ([453f5b5](https://github.com/RequestNetwork/requestNetwork/commit/453f5b5ec74cdd216fd6b872e3cf105113447dde))
- implementation of delegation in declarative pn ([#535](https://github.com/RequestNetwork/requestNetwork/issues/535)) ([cf4eac7](https://github.com/RequestNetwork/requestNetwork/commit/cf4eac7665f5d797e2768c888fc87f470fe4f8cf))
- moonbeam ([#1002](https://github.com/RequestNetwork/requestNetwork/issues/1002)) ([a9fe889](https://github.com/RequestNetwork/requestNetwork/commit/a9fe889ab1730ce62fa15e0bffbb5d66ac8e822a))
- optimism deployment ([#983](https://github.com/RequestNetwork/requestNetwork/issues/983)) ([6f5b6ec](https://github.com/RequestNetwork/requestNetwork/commit/6f5b6eca81cdaa3778b5324a939825190c04ef10))
- payment network any to erc20 smartcontracts ([#408](https://github.com/RequestNetwork/requestNetwork/issues/408)) ([a2f30a8](https://github.com/RequestNetwork/requestNetwork/commit/a2f30a84689eaea0994e72944c417718c7aad20e))
# 0.26.0 (2020-10-14)
### Features
- add the identity ethereumSmartContract to the request logic ([#218](https://github.com/RequestNetwork/requestNetwork/issues/218)) ([66d97e0](https://github.com/RequestNetwork/requestNetwork/commit/66d97e00dee7305088cb94a0edf542fe4d0bbd56))
- amount are only number or string ([#223](https://github.com/RequestNetwork/requestNetwork/issues/223)) ([7a35bde](https://github.com/RequestNetwork/requestNetwork/commit/7a35bde63f78b9305819a80e97022fca7e9494d2))
- replace symmetric encryption algorithm by aes-256-gcm ([#233](https://github.com/RequestNetwork/requestNetwork/issues/233)) ([969bebe](https://github.com/RequestNetwork/requestNetwork/commit/969bebeb99b4bc2fdd31405a162934cfdff6db05))
# 0.16.0 (2020-04-21)
# 0.15.0 (2020-04-06)
### Bug Fixes
- check payee and payer identity format at the creation ([#187](https://github.com/RequestNetwork/requestNetwork/issues/187)) ([4a19b24](https://github.com/RequestNetwork/requestNetwork/commit/4a19b241fb057d153ac7693e85a7e1d3bb6cb9e0))
# 0.13.0 (2020-02-20)
### Bug Fixes
- ts-node configuration ([#138](https://github.com/RequestNetwork/requestNetwork/issues/138)) ([e2180d5](https://github.com/RequestNetwork/requestNetwork/commit/e2180d507bd87116fdeb3466690b6df0c5187976))
# 0.12.0 (2020-01-16)
# 0.10.0 (2019-12-04)
### Bug Fixes
- Encryption channel use multi-format for identity instead of hash ([#501](https://github.com/RequestNetwork/requestNetwork/issues/501)) ([500a724](https://github.com/RequestNetwork/requestNetwork/commit/500a724010e6fefa26ec3e6c445df95fe32c6ebe))
- guard from replay attack in request logic ([#255](https://github.com/RequestNetwork/requestNetwork/issues/255)) ([2dc1fd2](https://github.com/RequestNetwork/requestNetwork/commit/2dc1fd24f90f99a21dc599031a4e06dfae38f62c))
- publish dist folder instead of src ([#254](https://github.com/RequestNetwork/requestNetwork/issues/254)) ([d6b5bd4](https://github.com/RequestNetwork/requestNetwork/commit/d6b5bd4899550ece7e182ee937aaacaea5413842))
- Storage Infura 1000 results error ([#320](https://github.com/RequestNetwork/requestNetwork/issues/320)) ([289a7f2](https://github.com/RequestNetwork/requestNetwork/commit/289a7f23a19005bd489210309c44b1013dd5993c))
- update eth-crypto dependency ([#592](https://github.com/RequestNetwork/requestNetwork/issues/592)) ([4d5abac](https://github.com/RequestNetwork/requestNetwork/commit/4d5abac935cf01b1f9c3f4a8242ba671135f2133))
### Features
- add ETH paymentNetwork to request-client ([#617](https://github.com/RequestNetwork/requestNetwork/issues/617)) ([84ed64e](https://github.com/RequestNetwork/requestNetwork/commit/84ed64ebf96a296155dc2d4d5e6c538344fb881b))
- ETH payement network in advanced-logic ([#589](https://github.com/RequestNetwork/requestNetwork/issues/589)) ([7b32ce8](https://github.com/RequestNetwork/requestNetwork/commit/7b32ce84c23ee723a143d752fb93786a6c5cc813))
- **transaction-manager:** decrypt channels ([#516](https://github.com/RequestNetwork/requestNetwork/issues/516)) ([8142c3d](https://github.com/RequestNetwork/requestNetwork/commit/8142c3dda149ad00513dae8c6d9f15a74aebf7b7))
- add AES256 encryption and decryption to the utils package ([#494](https://github.com/RequestNetwork/requestNetwork/issues/494)) ([a01c1a0](https://github.com/RequestNetwork/requestNetwork/commit/a01c1a0928f5ed541b6995d26b5ea3f83d8d09f1))
- add ECIES Encryption in types and utils packages ([#488](https://github.com/RequestNetwork/requestNetwork/issues/488)) ([0252903](https://github.com/RequestNetwork/requestNetwork/commit/0252903e31eb6426e80109ed067a511eb5403717))
- add logging interfaces and default logger ([#397](https://github.com/RequestNetwork/requestNetwork/issues/397)) ([f83a716](https://github.com/RequestNetwork/requestNetwork/commit/f83a71699ef6c934b9c3c23469a255ea98f058d1))
- add request node logger ([#416](https://github.com/RequestNetwork/requestNetwork/issues/416)) ([8d56ade](https://github.com/RequestNetwork/requestNetwork/commit/8d56ade8bf141a62cf7c56b4b3e1e6be13324d3d))
- asynchronously pin IPFS files in batches ([#403](https://github.com/RequestNetwork/requestNetwork/issues/403)) ([926c22b](https://github.com/RequestNetwork/requestNetwork/commit/926c22b326e7cd7dc800fc89302bc19cf1105c4f))
- BREAKING CHANGE store the multiformat hash of the topics ([#452](https://github.com/RequestNetwork/requestNetwork/issues/452)) ([3173333](https://github.com/RequestNetwork/requestNetwork/commit/3173333577d48ad472162fc11a5b0bcbefc359e8))
- Data access interface ([#161](https://github.com/RequestNetwork/requestNetwork/issues/161)) ([ccb4481](https://github.com/RequestNetwork/requestNetwork/commit/ccb448161607867f64929ae89e9189b1427067cd))
- Ethereum Private key (Epk) decryption provider implementation ([#499](https://github.com/RequestNetwork/requestNetwork/issues/499)) ([207b762](https://github.com/RequestNetwork/requestNetwork/commit/207b76213628570d346decd4ec5a7912ddb2bf09))
- generate a cryptographically strong pseudo-random key ([#493](https://github.com/RequestNetwork/requestNetwork/issues/493)) ([cd49f81](https://github.com/RequestNetwork/requestNetwork/commit/cd49f81f14ffe5f420ff286490a34c330e43db48))
- implements cached-throttle utility ([#348](https://github.com/RequestNetwork/requestNetwork/issues/348)) ([01c9885](https://github.com/RequestNetwork/requestNetwork/commit/01c988579c5ba15248b781b0069a4d1d0a35c20b))
- IPFS retry on error ([#421](https://github.com/RequestNetwork/requestNetwork/issues/421)) ([18d6e6e](https://github.com/RequestNetwork/requestNetwork/commit/18d6e6ea1596db91147dc94881458995a6ab5c6d))
- payment network declarative for any currency ([#315](https://github.com/RequestNetwork/requestNetwork/issues/315)) ([06fb561](https://github.com/RequestNetwork/requestNetwork/commit/06fb561e93ba2f496157b97eb58a25b9550d8f35))
- persist encrypted transaction in transaction manager ([#495](https://github.com/RequestNetwork/requestNetwork/issues/495)) ([7523f93](https://github.com/RequestNetwork/requestNetwork/commit/7523f930a66b9ba0fa8d71a6238c908e09369ab6))
- request-client.js: adding more Bitcoin providers ([#419](https://github.com/RequestNetwork/requestNetwork/issues/419)) ([6379c6f](https://github.com/RequestNetwork/requestNetwork/commit/6379c6fcf8b0ff6f8e388045b460e797d50ad09b))
- Timestamp from storage to client ([#309](https://github.com/RequestNetwork/requestNetwork/issues/309)) ([bb0ac19](https://github.com/RequestNetwork/requestNetwork/commit/bb0ac195077aa59b1547fb5b16169267a4173c3a))
### Performance Improvements
- faster initialization by factoring stat and read IPFS calls in one call ([#401](https://github.com/RequestNetwork/requestNetwork/issues/401)) ([184c14e](https://github.com/RequestNetwork/requestNetwork/commit/184c14e555484b3c33b1e3b0d970e701338c74ff))
### 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](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.28.0...@frinkly/utils@0.36.0) (2022-11-04)
### Bug Fixes
- **smart-contracts:** deploy and verify batch contract ([#868](https://github.com/RequestNetwork/requestNetwork/issues/868)) ([a71eb58](https://github.com/RequestNetwork/requestNetwork/commit/a71eb581de2199892ee44fcb8b162a9ae0c44a10))
- invoice total types + upgrade ethers ([#514](https://github.com/RequestNetwork/requestNetwork/issues/514)) ([c2b98b2](https://github.com/RequestNetwork/requestNetwork/commit/c2b98b2bd3c93f063f340d58c6b95ad026fd9519))
- private key without trailing 0x ([#479](https://github.com/RequestNetwork/requestNetwork/issues/479)) ([4d71cae](https://github.com/RequestNetwork/requestNetwork/commit/4d71caec912e3adbab99cf029b07ee007d7c39bb))
- swap to conversion ([#826](https://github.com/RequestNetwork/requestNetwork/issues/826)) ([cdb4b99](https://github.com/RequestNetwork/requestNetwork/commit/cdb4b999a059c86e5b9ff59d144fb7236060460a))
- typescript lint for test files ([#778](https://github.com/RequestNetwork/requestNetwork/issues/778)) ([048e876](https://github.com/RequestNetwork/requestNetwork/commit/048e876a905516be0de8a31d446e4572eb74eccb))
- upgrade ethers to 5.2.0 ([#532](https://github.com/RequestNetwork/requestNetwork/issues/532)) ([6c7cf35](https://github.com/RequestNetwork/requestNetwork/commit/6c7cf350a04e280b77ce6fd758b6f065f28fd1cc))
### Features
- create2 deployer ([#806](https://github.com/RequestNetwork/requestNetwork/issues/806)) ([453f5b5](https://github.com/RequestNetwork/requestNetwork/commit/453f5b5ec74cdd216fd6b872e3cf105113447dde))
- implementation of delegation in declarative pn ([#535](https://github.com/RequestNetwork/requestNetwork/issues/535)) ([cf4eac7](https://github.com/RequestNetwork/requestNetwork/commit/cf4eac7665f5d797e2768c888fc87f470fe4f8cf))
- payment network any to erc20 smartcontracts ([#408](https://github.com/RequestNetwork/requestNetwork/issues/408)) ([a2f30a8](https://github.com/RequestNetwork/requestNetwork/commit/a2f30a84689eaea0994e72944c417718c7aad20e))
# [0.35.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.28.0...@frinkly/utils@0.35.0) (2021-06-22)
### Bug Fixes
- invoice total types + upgrade ethers ([#514](https://github.com/RequestNetwork/requestNetwork/issues/514)) ([c2b98b2](https://github.com/RequestNetwork/requestNetwork/commit/c2b98b2bd3c93f063f340d58c6b95ad026fd9519))
- private key without trailing 0x ([#479](https://github.com/RequestNetwork/requestNetwork/issues/479)) ([4d71cae](https://github.com/RequestNetwork/requestNetwork/commit/4d71caec912e3adbab99cf029b07ee007d7c39bb))
### Features
- payment network any to erc20 smartcontracts ([#408](https://github.com/RequestNetwork/requestNetwork/issues/408)) ([a2f30a8](https://github.com/RequestNetwork/requestNetwork/commit/a2f30a84689eaea0994e72944c417718c7aad20e))
# [0.34.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.28.0...@frinkly/utils@0.34.0) (2021-05-12)
### Bug Fixes
- private key without trailing 0x ([#479](https://github.com/RequestNetwork/requestNetwork/issues/479)) ([4d71cae](https://github.com/RequestNetwork/requestNetwork/commit/4d71caec912e3adbab99cf029b07ee007d7c39bb))
### Features
- payment network any to erc20 smartcontracts ([#408](https://github.com/RequestNetwork/requestNetwork/issues/408)) ([a2f30a8](https://github.com/RequestNetwork/requestNetwork/commit/a2f30a84689eaea0994e72944c417718c7aad20e))
# [0.33.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.28.0...@frinkly/utils@0.33.0) (2021-04-19)
### Bug Fixes
- private key without trailing 0x ([#479](https://github.com/RequestNetwork/requestNetwork/issues/479)) ([4d71cae](https://github.com/RequestNetwork/requestNetwork/commit/4d71caec912e3adbab99cf029b07ee007d7c39bb))
### Features
- payment network any to erc20 smartcontracts ([#408](https://github.com/RequestNetwork/requestNetwork/issues/408)) ([a2f30a8](https://github.com/RequestNetwork/requestNetwork/commit/a2f30a84689eaea0994e72944c417718c7aad20e))
# [0.32.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.28.0...@frinkly/utils@0.32.0) (2021-03-25)
### Features
- payment network any to erc20 smartcontracts ([#408](https://github.com/RequestNetwork/requestNetwork/issues/408)) ([a2f30a8](https://github.com/RequestNetwork/requestNetwork/commit/a2f30a84689eaea0994e72944c417718c7aad20e))
# [0.31.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.28.0...@frinkly/utils@0.31.0) (2021-03-15)
### Features
- payment network any to erc20 smartcontracts ([#408](https://github.com/RequestNetwork/requestNetwork/issues/408)) ([a2f30a8](https://github.com/RequestNetwork/requestNetwork/commit/a2f30a84689eaea0994e72944c417718c7aad20e))
# [0.30.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.28.0...@frinkly/utils@0.30.0) (2021-03-03)
### Features
- payment network any to erc20 smartcontracts ([#408](https://github.com/RequestNetwork/requestNetwork/issues/408)) ([a2f30a8](https://github.com/RequestNetwork/requestNetwork/commit/a2f30a84689eaea0994e72944c417718c7aad20e))
# [0.29.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.28.0...@frinkly/utils@0.29.0) (2021-02-22)
### Features
- payment network any to erc20 smartcontracts ([#408](https://github.com/RequestNetwork/requestNetwork/issues/408)) ([a2f30a8](https://github.com/RequestNetwork/requestNetwork/commit/a2f30a84689eaea0994e72944c417718c7aad20e))
## [0.28.2](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.28.0...@frinkly/utils@0.28.2) (2020-12-22)
**Note:** Version bump only for package @frinkly/utils
## [0.28.1](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.28.0...@frinkly/utils@0.28.1) (2020-12-21)
**Note:** Version bump only for package @frinkly/utils
# [0.28.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.7.0...@frinkly/utils@0.28.0) (2020-12-02)
# 0.26.0 (2020-10-14)
### Features
- add the identity ethereumSmartContract to the request logic ([#218](https://github.com/RequestNetwork/requestNetwork/issues/218)) ([66d97e0](https://github.com/RequestNetwork/requestNetwork/commit/66d97e00dee7305088cb94a0edf542fe4d0bbd56))
- amount are only number or string ([#223](https://github.com/RequestNetwork/requestNetwork/issues/223)) ([7a35bde](https://github.com/RequestNetwork/requestNetwork/commit/7a35bde63f78b9305819a80e97022fca7e9494d2))
- replace symmetric encryption algorithm by aes-256-gcm ([#233](https://github.com/RequestNetwork/requestNetwork/issues/233)) ([969bebe](https://github.com/RequestNetwork/requestNetwork/commit/969bebeb99b4bc2fdd31405a162934cfdff6db05))
# 0.16.0 (2020-04-21)
# 0.15.0 (2020-04-06)
### Bug Fixes
- check payee and payer identity format at the creation ([#187](https://github.com/RequestNetwork/requestNetwork/issues/187)) ([4a19b24](https://github.com/RequestNetwork/requestNetwork/commit/4a19b241fb057d153ac7693e85a7e1d3bb6cb9e0))
# 0.13.0 (2020-02-20)
### Bug Fixes
- ts-node configuration ([#138](https://github.com/RequestNetwork/requestNetwork/issues/138)) ([e2180d5](https://github.com/RequestNetwork/requestNetwork/commit/e2180d507bd87116fdeb3466690b6df0c5187976))
# 0.12.0 (2020-01-16)
# 0.10.0 (2019-12-04)
### Features
- add ETH paymentNetwork to request-client ([#617](https://github.com/RequestNetwork/requestNetwork/issues/617)) ([84ed64e](https://github.com/RequestNetwork/requestNetwork/commit/84ed64ebf96a296155dc2d4d5e6c538344fb881b))
# [0.27.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.7.0...@frinkly/utils@0.27.0) (2020-11-12)
# 0.26.0 (2020-10-14)
### Features
- add the identity ethereumSmartContract to the request logic ([#218](https://github.com/RequestNetwork/requestNetwork/issues/218)) ([66d97e0](https://github.com/RequestNetwork/requestNetwork/commit/66d97e00dee7305088cb94a0edf542fe4d0bbd56))
- amount are only number or string ([#223](https://github.com/RequestNetwork/requestNetwork/issues/223)) ([7a35bde](https://github.com/RequestNetwork/requestNetwork/commit/7a35bde63f78b9305819a80e97022fca7e9494d2))
- replace symmetric encryption algorithm by aes-256-gcm ([#233](https://github.com/RequestNetwork/requestNetwork/issues/233)) ([969bebe](https://github.com/RequestNetwork/requestNetwork/commit/969bebeb99b4bc2fdd31405a162934cfdff6db05))
# 0.16.0 (2020-04-21)
# 0.15.0 (2020-04-06)
### Bug Fixes
- check payee and payer identity format at the creation ([#187](https://github.com/RequestNetwork/requestNetwork/issues/187)) ([4a19b24](https://github.com/RequestNetwork/requestNetwork/commit/4a19b241fb057d153ac7693e85a7e1d3bb6cb9e0))
# 0.13.0 (2020-02-20)
### Bug Fixes
- ts-node configuration ([#138](https://github.com/RequestNetwork/requestNetwork/issues/138)) ([e2180d5](https://github.com/RequestNetwork/requestNetwork/commit/e2180d507bd87116fdeb3466690b6df0c5187976))
# 0.12.0 (2020-01-16)
# 0.10.0 (2019-12-04)
### Features
- add ETH paymentNetwork to request-client ([#617](https://github.com/RequestNetwork/requestNetwork/issues/617)) ([84ed64e](https://github.com/RequestNetwork/requestNetwork/commit/84ed64ebf96a296155dc2d4d5e6c538344fb881b))
# [0.26.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.7.0...@frinkly/utils@0.26.0) (2020-11-05)
# 0.26.0 (2020-10-14)
### Features
- add the identity ethereumSmartContract to the request logic ([#218](https://github.com/RequestNetwork/requestNetwork/issues/218)) ([66d97e0](https://github.com/RequestNetwork/requestNetwork/commit/66d97e00dee7305088cb94a0edf542fe4d0bbd56))
- amount are only number or string ([#223](https://github.com/RequestNetwork/requestNetwork/issues/223)) ([7a35bde](https://github.com/RequestNetwork/requestNetwork/commit/7a35bde63f78b9305819a80e97022fca7e9494d2))
- replace symmetric encryption algorithm by aes-256-gcm ([#233](https://github.com/RequestNetwork/requestNetwork/issues/233)) ([969bebe](https://github.com/RequestNetwork/requestNetwork/commit/969bebeb99b4bc2fdd31405a162934cfdff6db05))
# 0.16.0 (2020-04-21)
# 0.15.0 (2020-04-06)
### Bug Fixes
- check payee and payer identity format at the creation ([#187](https://github.com/RequestNetwork/requestNetwork/issues/187)) ([4a19b24](https://github.com/RequestNetwork/requestNetwork/commit/4a19b241fb057d153ac7693e85a7e1d3bb6cb9e0))
# 0.13.0 (2020-02-20)
### Bug Fixes
- ts-node configuration ([#138](https://github.com/RequestNetwork/requestNetwork/issues/138)) ([e2180d5](https://github.com/RequestNetwork/requestNetwork/commit/e2180d507bd87116fdeb3466690b6df0c5187976))
# 0.12.0 (2020-01-16)
# 0.10.0 (2019-12-04)
### Features
- add ETH paymentNetwork to request-client ([#617](https://github.com/RequestNetwork/requestNetwork/issues/617)) ([84ed64e](https://github.com/RequestNetwork/requestNetwork/commit/84ed64ebf96a296155dc2d4d5e6c538344fb881b))
# [0.25.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.7.0...@frinkly/utils@0.25.0) (2020-10-21)
# 0.26.0 (2020-10-14)
### Features
- add the identity ethereumSmartContract to the request logic ([#218](https://github.com/RequestNetwork/requestNetwork/issues/218)) ([66d97e0](https://github.com/RequestNetwork/requestNetwork/commit/66d97e00dee7305088cb94a0edf542fe4d0bbd56))
- amount are only number or string ([#223](https://github.com/RequestNetwork/requestNetwork/issues/223)) ([7a35bde](https://github.com/RequestNetwork/requestNetwork/commit/7a35bde63f78b9305819a80e97022fca7e9494d2))
- replace symmetric encryption algorithm by aes-256-gcm ([#233](https://github.com/RequestNetwork/requestNetwork/issues/233)) ([969bebe](https://github.com/RequestNetwork/requestNetwork/commit/969bebeb99b4bc2fdd31405a162934cfdff6db05))
# 0.16.0 (2020-04-21)
# 0.15.0 (2020-04-06)
### Bug Fixes
- check payee and payer identity format at the creation ([#187](https://github.com/RequestNetwork/requestNetwork/issues/187)) ([4a19b24](https://github.com/RequestNetwork/requestNetwork/commit/4a19b241fb057d153ac7693e85a7e1d3bb6cb9e0))
# 0.13.0 (2020-02-20)
### Bug Fixes
- ts-node configuration ([#138](https://github.com/RequestNetwork/requestNetwork/issues/138)) ([e2180d5](https://github.com/RequestNetwork/requestNetwork/commit/e2180d507bd87116fdeb3466690b6df0c5187976))
# 0.12.0 (2020-01-16)
# 0.10.0 (2019-12-04)
### Features
- add ETH paymentNetwork to request-client ([#617](https://github.com/RequestNetwork/requestNetwork/issues/617)) ([84ed64e](https://github.com/RequestNetwork/requestNetwork/commit/84ed64ebf96a296155dc2d4d5e6c538344fb881b))
# [0.24.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.7.0...@frinkly/utils@0.24.0) (2020-10-14)
### Features
- add the identity ethereumSmartContract to the request logic ([#218](https://github.com/RequestNetwork/requestNetwork/issues/218)) ([66d97e0](https://github.com/RequestNetwork/requestNetwork/commit/66d97e00dee7305088cb94a0edf542fe4d0bbd56))
- amount are only number or string ([#223](https://github.com/RequestNetwork/requestNetwork/issues/223)) ([7a35bde](https://github.com/RequestNetwork/requestNetwork/commit/7a35bde63f78b9305819a80e97022fca7e9494d2))
- replace symmetric encryption algorithm by aes-256-gcm ([#233](https://github.com/RequestNetwork/requestNetwork/issues/233)) ([969bebe](https://github.com/RequestNetwork/requestNetwork/commit/969bebeb99b4bc2fdd31405a162934cfdff6db05))
# 0.16.0 (2020-04-21)
# 0.15.0 (2020-04-06)
### Bug Fixes
- check payee and payer identity format at the creation ([#187](https://github.com/RequestNetwork/requestNetwork/issues/187)) ([4a19b24](https://github.com/RequestNetwork/requestNetwork/commit/4a19b241fb057d153ac7693e85a7e1d3bb6cb9e0))
# 0.13.0 (2020-02-20)
### Bug Fixes
- ts-node configuration ([#138](https://github.com/RequestNetwork/requestNetwork/issues/138)) ([e2180d5](https://github.com/RequestNetwork/requestNetwork/commit/e2180d507bd87116fdeb3466690b6df0c5187976))
# 0.12.0 (2020-01-16)
# 0.10.0 (2019-12-04)
### Features
- add ETH paymentNetwork to request-client ([#617](https://github.com/RequestNetwork/requestNetwork/issues/617)) ([84ed64e](https://github.com/RequestNetwork/requestNetwork/commit/84ed64ebf96a296155dc2d4d5e6c538344fb881b))
# [0.23.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.7.0...@frinkly/utils@0.23.0) (2020-10-13)
### Features
- add the identity ethereumSmartContract to the request logic ([#218](https://github.com/RequestNetwork/requestNetwork/issues/218)) ([66d97e0](https://github.com/RequestNetwork/requestNetwork/commit/66d97e00dee7305088cb94a0edf542fe4d0bbd56))
- amount are only number or string ([#223](https://github.com/RequestNetwork/requestNetwork/issues/223)) ([7a35bde](https://github.com/RequestNetwork/requestNetwork/commit/7a35bde63f78b9305819a80e97022fca7e9494d2))
- replace symmetric encryption algorithm by aes-256-gcm ([#233](https://github.com/RequestNetwork/requestNetwork/issues/233)) ([969bebe](https://github.com/RequestNetwork/requestNetwork/commit/969bebeb99b4bc2fdd31405a162934cfdff6db05))
# 0.16.0 (2020-04-21)
# 0.15.0 (2020-04-06)
### Bug Fixes
- check payee and payer identity format at the creation ([#187](https://github.com/RequestNetwork/requestNetwork/issues/187)) ([4a19b24](https://github.com/RequestNetwork/requestNetwork/commit/4a19b241fb057d153ac7693e85a7e1d3bb6cb9e0))
# 0.13.0 (2020-02-20)
### Bug Fixes
- ts-node configuration ([#138](https://github.com/RequestNetwork/requestNetwork/issues/138)) ([e2180d5](https://github.com/RequestNetwork/requestNetwork/commit/e2180d507bd87116fdeb3466690b6df0c5187976))
# 0.12.0 (2020-01-16)
# 0.10.0 (2019-12-04)
### Features
- add ETH paymentNetwork to request-client ([#617](https://github.com/RequestNetwork/requestNetwork/issues/617)) ([84ed64e](https://github.com/RequestNetwork/requestNetwork/commit/84ed64ebf96a296155dc2d4d5e6c538344fb881b))
# [0.22.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.7.0...@frinkly/utils@0.22.0) (2020-10-09)
### Features
- add the identity ethereumSmartContract to the request logic ([#218](https://github.com/RequestNetwork/requestNetwork/issues/218)) ([66d97e0](https://github.com/RequestNetwork/requestNetwork/commit/66d97e00dee7305088cb94a0edf542fe4d0bbd56))
- amount are only number or string ([#223](https://github.com/RequestNetwork/requestNetwork/issues/223)) ([7a35bde](https://github.com/RequestNetwork/requestNetwork/commit/7a35bde63f78b9305819a80e97022fca7e9494d2))
- replace symmetric encryption algorithm by aes-256-gcm ([#233](https://github.com/RequestNetwork/requestNetwork/issues/233)) ([969bebe](https://github.com/RequestNetwork/requestNetwork/commit/969bebeb99b4bc2fdd31405a162934cfdff6db05))
# 0.16.0 (2020-04-21)
# 0.15.0 (2020-04-06)
### Bug Fixes
- check payee and payer identity format at the creation ([#187](https://github.com/RequestNetwork/requestNetwork/issues/187)) ([4a19b24](https://github.com/RequestNetwork/requestNetwork/commit/4a19b241fb057d153ac7693e85a7e1d3bb6cb9e0))
# 0.13.0 (2020-02-20)
### Bug Fixes
- ts-node configuration ([#138](https://github.com/RequestNetwork/requestNetwork/issues/138)) ([e2180d5](https://github.com/RequestNetwork/requestNetwork/commit/e2180d507bd87116fdeb3466690b6df0c5187976))
# 0.12.0 (2020-01-16)
# 0.10.0 (2019-12-04)
### Features
- add ETH paymentNetwork to request-client ([#617](https://github.com/RequestNetwork/requestNetwork/issues/617)) ([84ed64e](https://github.com/RequestNetwork/requestNetwork/commit/84ed64ebf96a296155dc2d4d5e6c538344fb881b))
# [0.21.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.7.0...@frinkly/utils@0.21.0) (2020-09-28)
### Features
- add the identity ethereumSmartContract to the request logic ([#218](https://github.com/RequestNetwork/requestNetwork/issues/218)) ([66d97e0](https://github.com/RequestNetwork/requestNetwork/commit/66d97e00dee7305088cb94a0edf542fe4d0bbd56))
- amount are only number or string ([#223](https://github.com/RequestNetwork/requestNetwork/issues/223)) ([7a35bde](https://github.com/RequestNetwork/requestNetwork/commit/7a35bde63f78b9305819a80e97022fca7e9494d2))
- replace symmetric encryption algorithm by aes-256-gcm ([#233](https://github.com/RequestNetwork/requestNetwork/issues/233)) ([969bebe](https://github.com/RequestNetwork/requestNetwork/commit/969bebeb99b4bc2fdd31405a162934cfdff6db05))
# 0.16.0 (2020-04-21)
# 0.15.0 (2020-04-06)
### Bug Fixes
- check payee and payer identity format at the creation ([#187](https://github.com/RequestNetwork/requestNetwork/issues/187)) ([4a19b24](https://github.com/RequestNetwork/requestNetwork/commit/4a19b241fb057d153ac7693e85a7e1d3bb6cb9e0))
# 0.13.0 (2020-02-20)
### Bug Fixes
- ts-node configuration ([#138](https://github.com/RequestNetwork/requestNetwork/issues/138)) ([e2180d5](https://github.com/RequestNetwork/requestNetwork/commit/e2180d507bd87116fdeb3466690b6df0c5187976))
# 0.12.0 (2020-01-16)
# 0.10.0 (2019-12-04)
### Features
- add ETH paymentNetwork to request-client ([#617](https://github.com/RequestNetwork/requestNetwork/issues/617)) ([84ed64e](https://github.com/RequestNetwork/requestNetwork/commit/84ed64ebf96a296155dc2d4d5e6c538344fb881b))
# [0.20.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.7.0...@frinkly/utils@0.20.0) (2020-09-18)
### Features
- add the identity ethereumSmartContract to the request logic ([#218](https://github.com/RequestNetwork/requestNetwork/issues/218)) ([66d97e0](https://github.com/RequestNetwork/requestNetwork/commit/66d97e00dee7305088cb94a0edf542fe4d0bbd56))
- amount are only number or string ([#223](https://github.com/RequestNetwork/requestNetwork/issues/223)) ([7a35bde](https://github.com/RequestNetwork/requestNetwork/commit/7a35bde63f78b9305819a80e97022fca7e9494d2))
- replace symmetric encryption algorithm by aes-256-gcm ([#233](https://github.com/RequestNetwork/requestNetwork/issues/233)) ([969bebe](https://github.com/RequestNetwork/requestNetwork/commit/969bebeb99b4bc2fdd31405a162934cfdff6db05))
# 0.16.0 (2020-04-21)
# 0.15.0 (2020-04-06)
### Bug Fixes
- check payee and payer identity format at the creation ([#187](https://github.com/RequestNetwork/requestNetwork/issues/187)) ([4a19b24](https://github.com/RequestNetwork/requestNetwork/commit/4a19b241fb057d153ac7693e85a7e1d3bb6cb9e0))
# 0.13.0 (2020-02-20)
### Bug Fixes
- ts-node configuration ([#138](https://github.com/RequestNetwork/requestNetwork/issues/138)) ([e2180d5](https://github.com/RequestNetwork/requestNetwork/commit/e2180d507bd87116fdeb3466690b6df0c5187976))
# 0.12.0 (2020-01-16)
# 0.10.0 (2019-12-04)
### Features
- add ETH paymentNetwork to request-client ([#617](https://github.com/RequestNetwork/requestNetwork/issues/617)) ([84ed64e](https://github.com/RequestNetwork/requestNetwork/commit/84ed64ebf96a296155dc2d4d5e6c538344fb881b))
# [0.19.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.7.0...@frinkly/utils@0.19.0) (2020-09-01)
### Features
- add the identity ethereumSmartContract to the request logic ([#218](https://github.com/RequestNetwork/requestNetwork/issues/218)) ([66d97e0](https://github.com/RequestNetwork/requestNetwork/commit/66d97e00dee7305088cb94a0edf542fe4d0bbd56))
- amount are only number or string ([#223](https://github.com/RequestNetwork/requestNetwork/issues/223)) ([7a35bde](https://github.com/RequestNetwork/requestNetwork/commit/7a35bde63f78b9305819a80e97022fca7e9494d2))
- replace symmetric encryption algorithm by aes-256-gcm ([#233](https://github.com/RequestNetwork/requestNetwork/issues/233)) ([969bebe](https://github.com/RequestNetwork/requestNetwork/commit/969bebeb99b4bc2fdd31405a162934cfdff6db05))
# 0.16.0 (2020-04-21)
# 0.15.0 (2020-04-06)
### Bug Fixes
- check payee and payer identity format at the creation ([#187](https://github.com/RequestNetwork/requestNetwork/issues/187)) ([4a19b24](https://github.com/RequestNetwork/requestNetwork/commit/4a19b241fb057d153ac7693e85a7e1d3bb6cb9e0))
# 0.13.0 (2020-02-20)
### Bug Fixes
- ts-node configuration ([#138](https://github.com/RequestNetwork/requestNetwork/issues/138)) ([e2180d5](https://github.com/RequestNetwork/requestNetwork/commit/e2180d507bd87116fdeb3466690b6df0c5187976))
# 0.12.0 (2020-01-16)
# 0.10.0 (2019-12-04)
### Features
- add ETH paymentNetwork to request-client ([#617](https://github.com/RequestNetwork/requestNetwork/issues/617)) ([84ed64e](https://github.com/RequestNetwork/requestNetwork/commit/84ed64ebf96a296155dc2d4d5e6c538344fb881b))
# [0.18.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.7.0...@frinkly/utils@0.18.0) (2020-08-27)
### Features
- add the identity ethereumSmartContract to the request logic ([#218](https://github.com/RequestNetwork/requestNetwork/issues/218)) ([66d97e0](https://github.com/RequestNetwork/requestNetwork/commit/66d97e00dee7305088cb94a0edf542fe4d0bbd56))
- amount are only number or string ([#223](https://github.com/RequestNetwork/requestNetwork/issues/223)) ([7a35bde](https://github.com/RequestNetwork/requestNetwork/commit/7a35bde63f78b9305819a80e97022fca7e9494d2))
- replace symmetric encryption algorithm by aes-256-gcm ([#233](https://github.com/RequestNetwork/requestNetwork/issues/233)) ([969bebe](https://github.com/RequestNetwork/requestNetwork/commit/969bebeb99b4bc2fdd31405a162934cfdff6db05))
# 0.16.0 (2020-04-21)
# 0.15.0 (2020-04-06)
### Bug Fixes
- check payee and payer identity format at the creation ([#187](https://github.com/RequestNetwork/requestNetwork/issues/187)) ([4a19b24](https://github.com/RequestNetwork/requestNetwork/commit/4a19b241fb057d153ac7693e85a7e1d3bb6cb9e0))
# 0.13.0 (2020-02-20)
### Bug Fixes
- ts-node configuration ([#138](https://github.com/RequestNetwork/requestNetwork/issues/138)) ([e2180d5](https://github.com/RequestNetwork/requestNetwork/commit/e2180d507bd87116fdeb3466690b6df0c5187976))
# 0.12.0 (2020-01-16)
# 0.10.0 (2019-12-04)
### Features
- add ETH paymentNetwork to request-client ([#617](https://github.com/RequestNetwork/requestNetwork/issues/617)) ([84ed64e](https://github.com/RequestNetwork/requestNetwork/commit/84ed64ebf96a296155dc2d4d5e6c538344fb881b))
# [0.17.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.7.0...@frinkly/utils@0.17.0) (2020-08-13)
### Features
- add the identity ethereumSmartContract to the request logic ([#218](https://github.com/RequestNetwork/requestNetwork/issues/218)) ([66d97e0](https://github.com/RequestNetwork/requestNetwork/commit/66d97e00dee7305088cb94a0edf542fe4d0bbd56))
- amount are only number or string ([#223](https://github.com/RequestNetwork/requestNetwork/issues/223)) ([7a35bde](https://github.com/RequestNetwork/requestNetwork/commit/7a35bde63f78b9305819a80e97022fca7e9494d2))
- replace symmetric encryption algorithm by aes-256-gcm ([#233](https://github.com/RequestNetwork/requestNetwork/issues/233)) ([969bebe](https://github.com/RequestNetwork/requestNetwork/commit/969bebeb99b4bc2fdd31405a162934cfdff6db05))
# 0.16.0 (2020-04-21)
# 0.15.0 (2020-04-06)
### Bug Fixes
- check payee and payer identity format at the creation ([#187](https://github.com/RequestNetwork/requestNetwork/issues/187)) ([4a19b24](https://github.com/RequestNetwork/requestNetwork/commit/4a19b241fb057d153ac7693e85a7e1d3bb6cb9e0))
# 0.13.0 (2020-02-20)
### Bug Fixes
- ts-node configuration ([#138](https://github.com/RequestNetwork/requestNetwork/issues/138)) ([e2180d5](https://github.com/RequestNetwork/requestNetwork/commit/e2180d507bd87116fdeb3466690b6df0c5187976))
# 0.12.0 (2020-01-16)
# 0.10.0 (2019-12-04)
### Features
- add ETH paymentNetwork to request-client ([#617](https://github.com/RequestNetwork/requestNetwork/issues/617)) ([84ed64e](https://github.com/RequestNetwork/requestNetwork/commit/84ed64ebf96a296155dc2d4d5e6c538344fb881b))
# [0.16.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.7.0...@frinkly/utils@0.16.0) (2020-06-29)
### Features
- add the identity ethereumSmartContract to the request logic ([#218](https://github.com/RequestNetwork/requestNetwork/issues/218)) ([66d97e0](https://github.com/RequestNetwork/requestNetwork/commit/66d97e00dee7305088cb94a0edf542fe4d0bbd56))
- amount are only number or string ([#223](https://github.com/RequestNetwork/requestNetwork/issues/223)) ([7a35bde](https://github.com/RequestNetwork/requestNetwork/commit/7a35bde63f78b9305819a80e97022fca7e9494d2))
- replace symmetric encryption algorithm by aes-256-gcm ([#233](https://github.com/RequestNetwork/requestNetwork/issues/233)) ([969bebe](https://github.com/RequestNetwork/requestNetwork/commit/969bebeb99b4bc2fdd31405a162934cfdff6db05))
# 0.16.0 (2020-04-21)
# 0.15.0 (2020-04-06)
### Bug Fixes
- check payee and payer identity format at the creation ([#187](https://github.com/RequestNetwork/requestNetwork/issues/187)) ([4a19b24](https://github.com/RequestNetwork/requestNetwork/commit/4a19b241fb057d153ac7693e85a7e1d3bb6cb9e0))
# 0.13.0 (2020-02-20)
### Bug Fixes
- ts-node configuration ([#138](https://github.com/RequestNetwork/requestNetwork/issues/138)) ([e2180d5](https://github.com/RequestNetwork/requestNetwork/commit/e2180d507bd87116fdeb3466690b6df0c5187976))
# 0.12.0 (2020-01-16)
# 0.10.0 (2019-12-04)
### Features
- add ETH paymentNetwork to request-client ([#617](https://github.com/RequestNetwork/requestNetwork/issues/617)) ([84ed64e](https://github.com/RequestNetwork/requestNetwork/commit/84ed64ebf96a296155dc2d4d5e6c538344fb881b))
# [0.15.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.7.0...@frinkly/utils@0.15.0) (2020-05-04)
# 0.16.0 (2020-04-21)
# 0.15.0 (2020-04-06)
### Bug Fixes
- check payee and payer identity format at the creation ([#187](https://github.com/RequestNetwork/requestNetwork/issues/187)) ([4a19b24](https://github.com/RequestNetwork/requestNetwork/commit/4a19b241fb057d153ac7693e85a7e1d3bb6cb9e0))
# 0.13.0 (2020-02-20)
### Bug Fixes
- ts-node configuration ([#138](https://github.com/RequestNetwork/requestNetwork/issues/138)) ([e2180d5](https://github.com/RequestNetwork/requestNetwork/commit/e2180d507bd87116fdeb3466690b6df0c5187976))
# 0.12.0 (2020-01-16)
# 0.10.0 (2019-12-04)
### Features
- add ETH paymentNetwork to request-client ([#617](https://github.com/RequestNetwork/requestNetwork/issues/617)) ([84ed64e](https://github.com/RequestNetwork/requestNetwork/commit/84ed64ebf96a296155dc2d4d5e6c538344fb881b))
# [0.14.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.7.0...@frinkly/utils@0.14.0) (2020-04-21)
# 0.15.0 (2020-04-06)
### Bug Fixes
- check payee and payer identity format at the creation ([#187](https://github.com/RequestNetwork/requestNetwork/issues/187)) ([4a19b24](https://github.com/RequestNetwork/requestNetwork/commit/4a19b241fb057d153ac7693e85a7e1d3bb6cb9e0))
# 0.13.0 (2020-02-20)
### Bug Fixes
- ts-node configuration ([#138](https://github.com/RequestNetwork/requestNetwork/issues/138)) ([e2180d5](https://github.com/RequestNetwork/requestNetwork/commit/e2180d507bd87116fdeb3466690b6df0c5187976))
# 0.12.0 (2020-01-16)
# 0.10.0 (2019-12-04)
### Features
- add ETH paymentNetwork to request-client ([#617](https://github.com/RequestNetwork/requestNetwork/issues/617)) ([84ed64e](https://github.com/RequestNetwork/requestNetwork/commit/84ed64ebf96a296155dc2d4d5e6c538344fb881b))
# [0.13.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.7.0...@frinkly/utils@0.13.0) (2020-04-06)
### Bug Fixes
- check payee and payer identity format at the creation ([#187](https://github.com/RequestNetwork/requestNetwork/issues/187)) ([4a19b24](https://github.com/RequestNetwork/requestNetwork/commit/4a19b241fb057d153ac7693e85a7e1d3bb6cb9e0))
# 0.13.0 (2020-02-20)
### Bug Fixes
- ts-node configuration ([#138](https://github.com/RequestNetwork/requestNetwork/issues/138)) ([e2180d5](https://github.com/RequestNetwork/requestNetwork/commit/e2180d507bd87116fdeb3466690b6df0c5187976))
# 0.12.0 (2020-01-16)
# 0.10.0 (2019-12-04)
### Features
- add ETH paymentNetwork to request-client ([#617](https://github.com/RequestNetwork/requestNetwork/issues/617)) ([84ed64e](https://github.com/RequestNetwork/requestNetwork/commit/84ed64ebf96a296155dc2d4d5e6c538344fb881b))
# [0.12.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.7.0...@frinkly/utils@0.12.0) (2020-03-23)
# 0.13.0 (2020-02-20)
### Bug Fixes
- ts-node configuration ([#138](https://github.com/RequestNetwork/requestNetwork/issues/138)) ([e2180d5](https://github.com/RequestNetwork/requestNetwork/commit/e2180d507bd87116fdeb3466690b6df0c5187976))
# 0.12.0 (2020-01-16)
# 0.10.0 (2019-12-04)
### Features
- add ETH paymentNetwork to request-client ([#617](https://github.com/RequestNetwork/requestNetwork/issues/617)) ([84ed64e](https://github.com/RequestNetwork/requestNetwork/commit/84ed64ebf96a296155dc2d4d5e6c538344fb881b))
# [0.11.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.7.0...@frinkly/utils@0.11.0) (2020-02-20)
### Bug Fixes
- ts-node configuration ([#138](https://github.com/RequestNetwork/requestNetwork/issues/138)) ([e2180d5](https://github.com/RequestNetwork/requestNetwork/commit/e2180d507bd87116fdeb3466690b6df0c5187976))
# 0.12.0 (2020-01-16)
# 0.10.0 (2019-12-04)
### Features
- add ETH paymentNetwork to request-client ([#617](https://github.com/RequestNetwork/requestNetwork/issues/617)) ([84ed64e](https://github.com/RequestNetwork/requestNetwork/commit/84ed64ebf96a296155dc2d4d5e6c538344fb881b))
# [0.10.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.7.0...@frinkly/utils@0.10.0) (2020-01-16)
# 0.10.0 (2019-12-04)
### Features
- add ETH paymentNetwork to request-client ([#617](https://github.com/RequestNetwork/requestNetwork/issues/617)) ([84ed64e](https://github.com/RequestNetwork/requestNetwork/commit/84ed64ebf96a296155dc2d4d5e6c538344fb881b))
# [0.9.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.7.0...@frinkly/utils@0.9.0) (2019-12-18)
# 0.10.0 (2019-12-04)
### Features
- add ETH paymentNetwork to request-client ([#617](https://github.com/RequestNetwork/requestNetwork/issues/617)) ([84ed64e](https://github.com/RequestNetwork/requestNetwork/commit/84ed64ebf96a296155dc2d4d5e6c538344fb881b))
# [0.8.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.7.0...@frinkly/utils@0.8.0) (2019-12-04)
### Features
- add ETH paymentNetwork to request-client ([#617](https://github.com/RequestNetwork/requestNetwork/issues/617)) ([84ed64e](https://github.com/RequestNetwork/requestNetwork/commit/84ed64ebf96a296155dc2d4d5e6c538344fb881b))
# [0.7.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.6.2...@frinkly/utils@0.7.0) (2019-11-20)
### Bug Fixes
- update eth-crypto dependency ([#592](https://github.com/RequestNetwork/requestNetwork/issues/592)) ([4d5abac](https://github.com/RequestNetwork/requestNetwork/commit/4d5abac935cf01b1f9c3f4a8242ba671135f2133))
### Features
- ETH payement network in advanced-logic ([#589](https://github.com/RequestNetwork/requestNetwork/issues/589)) ([7b32ce8](https://github.com/RequestNetwork/requestNetwork/commit/7b32ce84c23ee723a143d752fb93786a6c5cc813))
## [0.6.2](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.6.1...@frinkly/utils@0.6.2) (2019-10-21)
**Note:** Version bump only for package @frinkly/utils
## [0.6.1](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.6.0...@frinkly/utils@0.6.1) (2019-09-16)
**Note:** Version bump only for package @frinkly/utils
# [0.6.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.5.0...@frinkly/utils@0.6.0) (2019-09-05)
### Bug Fixes
- Encryption channel use multi-format for identity instead of hash ([#501](https://github.com/RequestNetwork/requestNetwork/issues/501)) ([500a724](https://github.com/RequestNetwork/requestNetwork/commit/500a724))
### Features
- **transaction-manager:** decrypt channels ([#516](https://github.com/RequestNetwork/requestNetwork/issues/516)) ([8142c3d](https://github.com/RequestNetwork/requestNetwork/commit/8142c3d))
# [0.5.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.4.0...@frinkly/utils@0.5.0) (2019-08-19)
### Features
- add AES256 encryption and decryption to the utils package ([#494](https://github.com/RequestNetwork/requestNetwork/issues/494)) ([a01c1a0](https://github.com/RequestNetwork/requestNetwork/commit/a01c1a0))
- add ECIES Encryption in types and utils packages ([#488](https://github.com/RequestNetwork/requestNetwork/issues/488)) ([0252903](https://github.com/RequestNetwork/requestNetwork/commit/0252903))
- Ethereum Private key (Epk) decryption provider implementation ([#499](https://github.com/RequestNetwork/requestNetwork/issues/499)) ([207b762](https://github.com/RequestNetwork/requestNetwork/commit/207b762))
- generate a cryptographically strong pseudo-random key ([#493](https://github.com/RequestNetwork/requestNetwork/issues/493)) ([cd49f81](https://github.com/RequestNetwork/requestNetwork/commit/cd49f81))
- persist encrypted transaction in transaction manager ([#495](https://github.com/RequestNetwork/requestNetwork/issues/495)) ([7523f93](https://github.com/RequestNetwork/requestNetwork/commit/7523f93))
# [0.3.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.1.1-alpha.4...@frinkly/utils@0.3.0) (2019-07-24)
### Bug Fixes
- Storage Infura 1000 results error ([#320](https://github.com/RequestNetwork/requestNetwork/issues/320)) ([289a7f2](https://github.com/RequestNetwork/requestNetwork/commit/289a7f2))
### Features
- add logging interfaces and default logger ([#397](https://github.com/RequestNetwork/requestNetwork/issues/397)) ([f83a716](https://github.com/RequestNetwork/requestNetwork/commit/f83a716))
- add request node logger ([#416](https://github.com/RequestNetwork/requestNetwork/issues/416)) ([8d56ade](https://github.com/RequestNetwork/requestNetwork/commit/8d56ade))
- asynchronously pin IPFS files in batches ([#403](https://github.com/RequestNetwork/requestNetwork/issues/403)) ([926c22b](https://github.com/RequestNetwork/requestNetwork/commit/926c22b))
- implements cached-throttle utility ([#348](https://github.com/RequestNetwork/requestNetwork/issues/348)) ([01c9885](https://github.com/RequestNetwork/requestNetwork/commit/01c9885))
- IPFS retry on error ([#421](https://github.com/RequestNetwork/requestNetwork/issues/421)) ([18d6e6e](https://github.com/RequestNetwork/requestNetwork/commit/18d6e6e))
- payment network declarative for any currency ([#315](https://github.com/RequestNetwork/requestNetwork/issues/315)) ([06fb561](https://github.com/RequestNetwork/requestNetwork/commit/06fb561))
- request-client.js: adding more Bitcoin providers ([#419](https://github.com/RequestNetwork/requestNetwork/issues/419)) ([6379c6f](https://github.com/RequestNetwork/requestNetwork/commit/6379c6f))
- Timestamp from storage to client ([#309](https://github.com/RequestNetwork/requestNetwork/issues/309)) ([bb0ac19](https://github.com/RequestNetwork/requestNetwork/commit/bb0ac19))
### Performance Improvements
- faster initialization by factoring stat and read IPFS calls in one call ([#401](https://github.com/RequestNetwork/requestNetwork/issues/401)) ([184c14e](https://github.com/RequestNetwork/requestNetwork/commit/184c14e))
## [0.2.1-alpha.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.1.1-alpha.4...@frinkly/utils@0.2.1-alpha.0) (2019-07-22)
### Bug Fixes
- Storage Infura 1000 results error ([#320](https://github.com/RequestNetwork/requestNetwork/issues/320)) ([289a7f2](https://github.com/RequestNetwork/requestNetwork/commit/289a7f2))
### Features
- add logging interfaces and default logger ([#397](https://github.com/RequestNetwork/requestNetwork/issues/397)) ([f83a716](https://github.com/RequestNetwork/requestNetwork/commit/f83a716))
- add request node logger ([#416](https://github.com/RequestNetwork/requestNetwork/issues/416)) ([8d56ade](https://github.com/RequestNetwork/requestNetwork/commit/8d56ade))
- asynchronously pin IPFS files in batches ([#403](https://github.com/RequestNetwork/requestNetwork/issues/403)) ([926c22b](https://github.com/RequestNetwork/requestNetwork/commit/926c22b))
- implements cached-throttle utility ([#348](https://github.com/RequestNetwork/requestNetwork/issues/348)) ([01c9885](https://github.com/RequestNetwork/requestNetwork/commit/01c9885))
- IPFS retry on error ([#421](https://github.com/RequestNetwork/requestNetwork/issues/421)) ([18d6e6e](https://github.com/RequestNetwork/requestNetwork/commit/18d6e6e))
- payment network declarative for any currency ([#315](https://github.com/RequestNetwork/requestNetwork/issues/315)) ([06fb561](https://github.com/RequestNetwork/requestNetwork/commit/06fb561))
- request-client.js: adding more Bitcoin providers ([#419](https://github.com/RequestNetwork/requestNetwork/issues/419)) ([6379c6f](https://github.com/RequestNetwork/requestNetwork/commit/6379c6f))
- Timestamp from storage to client ([#309](https://github.com/RequestNetwork/requestNetwork/issues/309)) ([bb0ac19](https://github.com/RequestNetwork/requestNetwork/commit/bb0ac19))
### Performance Improvements
- faster initialization by factoring stat and read IPFS calls in one call ([#401](https://github.com/RequestNetwork/requestNetwork/issues/401)) ([184c14e](https://github.com/RequestNetwork/requestNetwork/commit/184c14e))
# [0.2.0](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.1.1-alpha.4...@frinkly/utils@0.2.0) (2019-06-06)
### Bug Fixes
- Storage Infura 1000 results error ([#320](https://github.com/RequestNetwork/requestNetwork/issues/320)) ([289a7f2](https://github.com/RequestNetwork/requestNetwork/commit/289a7f2))
### Features
- add logging interfaces and default logger ([#397](https://github.com/RequestNetwork/requestNetwork/issues/397)) ([f83a716](https://github.com/RequestNetwork/requestNetwork/commit/f83a716))
- asynchronously pin IPFS files in batches ([#403](https://github.com/RequestNetwork/requestNetwork/issues/403)) ([926c22b](https://github.com/RequestNetwork/requestNetwork/commit/926c22b))
- implements cached-throttle utility ([#348](https://github.com/RequestNetwork/requestNetwork/issues/348)) ([01c9885](https://github.com/RequestNetwork/requestNetwork/commit/01c9885))
- payment network declarative for any currency ([#315](https://github.com/RequestNetwork/requestNetwork/issues/315)) ([06fb561](https://github.com/RequestNetwork/requestNetwork/commit/06fb561))
- Timestamp from storage to client ([#309](https://github.com/RequestNetwork/requestNetwork/issues/309)) ([bb0ac19](https://github.com/RequestNetwork/requestNetwork/commit/bb0ac19))
### Performance Improvements
- faster initialization by factoring stat and read IPFS calls in one call ([#401](https://github.com/RequestNetwork/requestNetwork/issues/401)) ([184c14e](https://github.com/RequestNetwork/requestNetwork/commit/184c14e))
## [0.1.1-alpha.12](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.1.1-alpha.4...@frinkly/utils@0.1.1-alpha.12) (2019-05-21)
### Bug Fixes
- Storage Infura 1000 results error ([#320](https://github.com/RequestNetwork/requestNetwork/issues/320)) ([289a7f2](https://github.com/RequestNetwork/requestNetwork/commit/289a7f2))
### Features
- implements cached-throttle utility ([#348](https://github.com/RequestNetwork/requestNetwork/issues/348)) ([01c9885](https://github.com/RequestNetwork/requestNetwork/commit/01c9885))
- payment network declarative for any currency ([#315](https://github.com/RequestNetwork/requestNetwork/issues/315)) ([06fb561](https://github.com/RequestNetwork/requestNetwork/commit/06fb561))
- Timestamp from storage to client ([#309](https://github.com/RequestNetwork/requestNetwork/issues/309)) ([bb0ac19](https://github.com/RequestNetwork/requestNetwork/commit/bb0ac19))
## [0.1.1-alpha.11](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.1.1-alpha.4...@frinkly/utils@0.1.1-alpha.11) (2019-05-17)
### Bug Fixes
- Storage Infura 1000 results error ([#320](https://github.com/RequestNetwork/requestNetwork/issues/320)) ([289a7f2](https://github.com/RequestNetwork/requestNetwork/commit/289a7f2))
### Features
- implements cached-throttle utility ([#348](https://github.com/RequestNetwork/requestNetwork/issues/348)) ([01c9885](https://github.com/RequestNetwork/requestNetwork/commit/01c9885))
- payment network declarative for any currency ([#315](https://github.com/RequestNetwork/requestNetwork/issues/315)) ([06fb561](https://github.com/RequestNetwork/requestNetwork/commit/06fb561))
- Timestamp from storage to client ([#309](https://github.com/RequestNetwork/requestNetwork/issues/309)) ([bb0ac19](https://github.com/RequestNetwork/requestNetwork/commit/bb0ac19))
## [0.1.1-alpha.10](https://github.com/RequestNetwork/requestNetwork/compare/@frinkly/utils@0.1.1-alpha.4...@frinkly/utils@0.1.1-alpha.10) (2019-05-10)
### Bug Fixes
- Storage Infura 1000 results error ([#320](https://github.com/RequestNetwork/requestNetwork/issues/320)) ([289a7f2](https://github.com/RequestNetwork/requestNetwork/commit/289a7f2))
### Features
- payment network declarative for any currency ([#315](https://github.com/RequestNetwork/requestNetwork/issues/315)) ([06fb561](https://github.com/RequestNetwork/requestNetwork/commit/06fb561))
- Timestamp from storage to client ([#309](https://github.com/RequestNetwork/requestNetwork/issues/309)) ([bb0ac19](https://github.com/RequestNetwork/requestNetwork/commit/bb0ac19))
MIT License
Copyright (c) 2018 requestnetwork
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+2
-2

@@ -82,3 +82,3 @@ "use strict";

function generate32BufferKey() {
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
return (yield (0, crypto_wrapper_1.random32Bytes)()).toString('base64');

@@ -96,3 +96,3 @@ });

function generate8randomBytes() {
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
const random32BytesHex = yield (0, crypto_wrapper_1.random32Bytes)();

@@ -99,0 +99,0 @@ return random32BytesHex.slice(0, 8).toString('hex');

@@ -19,3 +19,3 @@ "use strict";

function random32Bytes() {
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
// eslint-disable-next-line no-magic-numbers

@@ -35,3 +35,3 @@ return randomBytes(32);

function encryptWithAes256cbc(data, key) {
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
// Generate randomly the Initialization Vector

@@ -57,3 +57,3 @@ const iv = yield randomBytes(INITIALIZATION_VECTOR_LENGTH);

function encryptWithAes256gcm(data, key) {
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
// Generate randomly the Initialization Vector

@@ -80,3 +80,3 @@ const iv = yield randomBytes(INITIALIZATION_VECTOR_LENGTH);

function decryptWithAes256cbc(encryptedAndIv, key) {
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
// Get the IV

@@ -103,3 +103,3 @@ const iv = encryptedAndIv.slice(0, INITIALIZATION_VECTOR_LENGTH);

function decryptWithAes256gcm(encryptedAndIv, key) {
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
// Get the IV

@@ -127,3 +127,3 @@ const iv = encryptedAndIv.slice(0, INITIALIZATION_VECTOR_LENGTH);

function randomBytes(n) {
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
return new Promise((resolve, reject) => {

@@ -130,0 +130,0 @@ (0, crypto_1.randomBytes)(n, (error, buffer) => {

@@ -112,3 +112,3 @@ "use strict";

function ecEncrypt(publicKey, data) {
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
try {

@@ -145,3 +145,3 @@ // encrypts the data with the publicKey, returns the encrypted data with encryption parameters (such as IV..)

function ecDecrypt(privateKey, data) {
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
try {

@@ -148,0 +148,0 @@ const buf = yield EcCrypto.decrypt(Buffer.from(privateKey.replace(/^0x/, ''), 'hex'), eciesSplit(data));

@@ -32,3 +32,3 @@ "use strict";

function encrypt(data, encryptionParams) {
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
if (encryptionParams.method === types_1.EncryptionTypes.METHOD.ECIES) {

@@ -69,3 +69,3 @@ const encryptedData = yield (0, index_1.ecEncrypt)(encryptionParams.key, data);

function decrypt(encryptedData, decryptionParams) {
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
if (encryptedData.type === types_1.EncryptionTypes.METHOD.ECIES) {

@@ -72,0 +72,0 @@ if (decryptionParams.method !== types_1.EncryptionTypes.METHOD.ECIES) {

@@ -20,3 +20,3 @@ "use strict";

function estimateGasFees({ provider, gasPriceMin, }) {
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
const suggestedFee = yield (0, eip1559_fee_suggestions_ethers_1.suggestFees)(provider);

@@ -23,0 +23,0 @@ const baseFee = (0, index_1.maxBigNumber)(suggestedFee.baseFeeSuggestion, gasPriceMin || ethers_1.constants.Zero);

import { LogTypes } from '@frinkly/types';
import { providers } from 'ethers';
declare type ProviderFactory = (network: string | undefined) => providers.Provider | string;
type ProviderFactory = (network: string | undefined) => providers.Provider | string;
/**

@@ -8,6 +8,10 @@ * @param network the network to connect to

*/
declare type CurrentProviderFactory = (network: string | undefined, defaultFactory: ProviderFactory) => providers.Provider | string;
type CurrentProviderFactory = (network: string | undefined, defaultFactory: ProviderFactory) => providers.Provider | string;
/**
* Default API_KEYS configuration, can be overriden using initPaymentDetectionApiKeys
*/
declare let providersApiKeys: Record<string, string | (() => string)>;
/**
* @param defaultProviderOptions Default Provider Options as specified in https://docs.ethers.io/v5/api/providers/#providers-getDefaultProvider */
declare const initPaymentDetectionApiKeys: (defaultProviderOptions?: Record<string, string | (() => string)> | undefined) => void;
declare const initPaymentDetectionApiKeys: (defaultProviderOptions?: typeof providersApiKeys) => void;
/**

@@ -21,3 +25,3 @@ * Define default URLs for networks supported by Request payment detection but not by ethers' Infura Provider

*/
declare const setProviderFactory: (providerFactory?: CurrentProviderFactory | undefined) => void;
declare const setProviderFactory: (providerFactory?: CurrentProviderFactory) => void;
/**

@@ -34,6 +38,6 @@ * Returns a Web3 Provider for the given `network`.

*/
declare const getDefaultProvider: (network?: string | undefined) => providers.Provider;
declare const getDefaultProvider: (network?: string) => providers.Provider;
declare const getCeloProvider: () => providers.Provider;
declare const isEip1559Supported: (provider: providers.Provider | providers.JsonRpcProvider, logger?: LogTypes.ILogger | undefined) => Promise<boolean>;
declare const isEip1559Supported: (provider: providers.Provider | providers.JsonRpcProvider, logger?: LogTypes.ILogger) => Promise<boolean>;
export { setProviderFactory, initPaymentDetectionApiKeys, isEip1559Supported, getDefaultProvider, getCeloProvider, networkRpcs, };
//# sourceMappingURL=providers.d.ts.map

@@ -1,1 +0,1 @@

{"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["../src/providers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAa,MAAM,QAAQ,CAAC;AAE9C,aAAK,eAAe,GAAG,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,KAAK,SAAS,CAAC,QAAQ,GAAG,MAAM,CAAC;AAGpF;;;GAGG;AACH,aAAK,sBAAsB,GAAG,CAC5B,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,cAAc,EAAE,eAAe,KAC5B,SAAS,CAAC,QAAQ,GAAG,MAAM,CAAC;AAUjC;mJACmJ;AACnJ,QAAA,MAAM,2BAA2B,2DAPoB,MAAM,mBAO6B,IAEvF,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAevC,CAAC;AA6DF;;;GAGG;AACH,QAAA,MAAM,kBAAkB,4DAA+C,IAEtE,CAAC;AAEF;;;;;;;;;;GAUG;AACH,QAAA,MAAM,kBAAkB,oCAAuB,UAAU,QAMxD,CAAC;AAEF,QAAA,MAAM,eAAe,QAAO,UAAU,QAarC,CAAC;AAEF,QAAA,MAAM,kBAAkB,aACZ,UAAU,QAAQ,GAAG,UAAU,eAAe,4CAEvD,QAAQ,OAAO,CAWjB,CAAC;AAEF,OAAO,EACL,kBAAkB,EAClB,2BAA2B,EAC3B,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,WAAW,GACZ,CAAC"}
{"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["../src/providers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAa,MAAM,QAAQ,CAAC;AAE9C,KAAK,eAAe,GAAG,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,KAAK,SAAS,CAAC,QAAQ,GAAG,MAAM,CAAC;AAGpF;;;GAGG;AACH,KAAK,sBAAsB,GAAG,CAC5B,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,cAAc,EAAE,eAAe,KAC5B,SAAS,CAAC,QAAQ,GAAG,MAAM,CAAC;AAEjC;;GAEG;AACH,QAAA,IAAI,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,CAG3D,CAAC;AAEF;mJACmJ;AACnJ,QAAA,MAAM,2BAA2B,4BAA6B,uBAAuB,KAAG,IAEvF,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAevC,CAAC;AA6DF;;;GAGG;AACH,QAAA,MAAM,kBAAkB,qBAAsB,sBAAsB,KAAG,IAEtE,CAAC;AAEF;;;;;;;;;;GAUG;AACH,QAAA,MAAM,kBAAkB,aAAc,MAAM,KAAG,UAAU,QAMxD,CAAC;AAEF,QAAA,MAAM,eAAe,QAAO,UAAU,QAarC,CAAC;AAEF,QAAA,MAAM,kBAAkB,aACZ,UAAU,QAAQ,GAAG,UAAU,eAAe,WAC/C,SAAS,OAAO,KACxB,QAAQ,OAAO,CAWjB,CAAC;AAEF,OAAO,EACL,kBAAkB,EAClB,2BAA2B,EAC3B,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,WAAW,GACZ,CAAC"}

@@ -126,3 +126,3 @@ "use strict";

exports.getCeloProvider = getCeloProvider;
const isEip1559Supported = (provider, logger) => (0, tslib_1.__awaiter)(void 0, void 0, void 0, function* () {
const isEip1559Supported = (provider, logger) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
try {

@@ -129,0 +129,0 @@ yield provider.send('eth_feeHistory', [1, 'latest', []]);

@@ -10,8 +10,10 @@ /**

*/
declare const retry: <TParams extends unknown[], TReturn>(target: (...params: TParams) => TReturn | Promise<TReturn>, { context, maxRetries, retryDelay, }?: {
context?: ThisParameterType<(...params: TParams) => Promise<TReturn>> | undefined;
declare const retry: <TParams extends unknown[], TReturn>(target: (...params: TParams) => TReturn | Promise<TReturn>, { context, maxRetries, retryDelay, exponentialBackoff, exponentialBackoffDelay, }?: {
context?: unknown;
maxRetries?: number | undefined;
retryDelay?: number | undefined;
exponentialBackoff?: boolean | undefined;
exponentialBackoffDelay?: number | undefined;
}) => (...params: TParams) => Promise<TReturn>;
export { retry };
//# sourceMappingURL=retry.d.ts.map

@@ -1,1 +0,1 @@

{"version":3,"file":"retry.d.ts","sourceRoot":"","sources":["../src/retry.ts"],"names":[],"mappings":"AAMA;;;;;;;;GAQG;AACH,QAAA,MAAM,KAAK;;;;8CA0CV,CAAC;AAEF,OAAO,EAAE,KAAK,EAAE,CAAC"}
{"version":3,"file":"retry.d.ts","sourceRoot":"","sources":["../src/retry.ts"],"names":[],"mappings":"AASA;;;;;;;;GAQG;AACH,QAAA,MAAM,KAAK;;;;;;8CAmDV,CAAC;AAEF,OAAO,EAAE,KAAK,EAAE,CAAC"}

@@ -9,2 +9,4 @@ "use strict";

const DEFAULT_RETRY_DELAY = 100;
// Default exponential backoff delay increment
const DEFAULT_EXPONENTIAL_BACKOFF_DELAY = 1000;
/**

@@ -19,3 +21,3 @@ * A method that retries a function a defined amount of times if it fails.

*/
const retry = (target, { context, maxRetries = DEFAULT_MAX_RETRIES, retryDelay = DEFAULT_RETRY_DELAY, } = {}) => {
const retry = (target, { context, maxRetries = DEFAULT_MAX_RETRIES, retryDelay = DEFAULT_RETRY_DELAY, exponentialBackoff = false, exponentialBackoffDelay = DEFAULT_EXPONENTIAL_BACKOFF_DELAY, } = {}) => {
// If a context was passed in, bind it to to the target function

@@ -26,3 +28,3 @@ if (context) {

// Returns an external function that will contain the retry counter
return (...args) => (0, tslib_1.__awaiter)(void 0, void 0, void 0, function* () {
return (...args) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
// The current amount of retries

@@ -32,3 +34,3 @@ let retry = 0;

return (function retryFunction(...innerArgs) {
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
try {

@@ -43,3 +45,3 @@ // Call the target function with the target object as context

// Wait for the delay before retrying
yield new Promise((resolve) => setTimeout(resolve, retryDelay));
yield new Promise((resolve) => setTimeout(resolve, retryDelay + (exponentialBackoff ? Math.pow(exponentialBackoffDelay, retry) : 0)));
return retryFunction(...innerArgs);

@@ -46,0 +48,0 @@ }

@@ -1,1 +0,1 @@

{"version":3,"file":"retry.js","sourceRoot":"","sources":["../src/retry.ts"],"names":[],"mappings":";;;;AAAA,4BAA4B;AAC5B,MAAM,mBAAmB,GAAG,CAAC,CAAC;AAE9B,gCAAgC;AAChC,MAAM,mBAAmB,GAAG,GAAG,CAAC;AAEhC;;;;;;;;GAQG;AACH,MAAM,KAAK,GAAG,CACZ,MAA0D,EAC1D,EACE,OAAO,EACP,UAAU,GAAG,mBAAmB,EAChC,UAAU,GAAG,mBAAmB,MAK9B,EAAE,EACsC,EAAE;IAC9C,gEAAgE;IAChE,IAAI,OAAO,EAAE;QACX,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KAC/B;IAED,mEAAmE;IACnE,OAAO,CAAO,GAAG,IAAa,EAAoB,EAAE;QAClD,gCAAgC;QAChC,IAAI,KAAK,GAAG,CAAC,CAAC;QAEd,mDAAmD;QACnD,OAAO,CAAC,SAAe,aAAa,CAAC,GAAG,SAAkB;;gBACxD,IAAI;oBACF,6DAA6D;oBAC7D,OAAO,MAAM,MAAM,CAAC,GAAG,SAAS,CAAC,CAAC;iBACnC;gBAAC,OAAO,CAAC,EAAE;oBACV,4DAA4D;oBAC5D,IAAI,KAAK,GAAG,UAAU,EAAE;wBACtB,KAAK,EAAE,CAAC;wBACR,qCAAqC;wBACrC,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC;wBAEhE,OAAO,aAAa,CAAC,GAAG,SAAS,CAAC,CAAC;qBACpC;yBAAM;wBACL,0CAA0C;wBAC1C,MAAM,CAAC,CAAC;qBACT;iBACF;YACH,CAAC;SAAA,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;IACd,CAAC,CAAA,CAAC;AACJ,CAAC,CAAC;AAEO,sBAAK"}
{"version":3,"file":"retry.js","sourceRoot":"","sources":["../src/retry.ts"],"names":[],"mappings":";;;;AAAA,4BAA4B;AAC5B,MAAM,mBAAmB,GAAG,CAAC,CAAC;AAE9B,gCAAgC;AAChC,MAAM,mBAAmB,GAAG,GAAG,CAAC;AAEhC,8CAA8C;AAC9C,MAAM,iCAAiC,GAAG,IAAI,CAAC;AAE/C;;;;;;;;GAQG;AACH,MAAM,KAAK,GAAG,CACZ,MAA0D,EAC1D,EACE,OAAO,EACP,UAAU,GAAG,mBAAmB,EAChC,UAAU,GAAG,mBAAmB,EAChC,kBAAkB,GAAG,KAAK,EAC1B,uBAAuB,GAAG,iCAAiC,MAOzD,EAAE,EACsC,EAAE;IAC9C,gEAAgE;IAChE,IAAI,OAAO,EAAE;QACX,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KAC/B;IAED,mEAAmE;IACnE,OAAO,CAAO,GAAG,IAAa,EAAoB,EAAE;QAClD,gCAAgC;QAChC,IAAI,KAAK,GAAG,CAAC,CAAC;QAEd,mDAAmD;QACnD,OAAO,CAAC,SAAe,aAAa,CAAC,GAAG,SAAkB;;gBACxD,IAAI;oBACF,6DAA6D;oBAC7D,OAAO,MAAM,MAAM,CAAC,GAAG,SAAS,CAAC,CAAC;iBACnC;gBAAC,OAAO,CAAC,EAAE;oBACV,4DAA4D;oBAC5D,IAAI,KAAK,GAAG,UAAU,EAAE;wBACtB,KAAK,EAAE,CAAC;wBACR,qCAAqC;wBACrC,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAC5B,UAAU,CACR,OAAO,EACP,UAAU,GAAG,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAA,uBAAuB,EAAI,KAAK,CAAA,CAAC,CAAC,CAAC,CAAC,CAAC,CACzE,CACF,CAAC;wBAEF,OAAO,aAAa,CAAC,GAAG,SAAS,CAAC,CAAC;qBACpC;yBAAM;wBACL,0CAA0C;wBAC1C,MAAM,CAAC,CAAC;qBACT;iBACF;YACH,CAAC;SAAA,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;IACd,CAAC,CAAA,CAAC;AACJ,CAAC,CAAC;AAEO,sBAAK"}
{
"name": "@frinkly/utils",
"version": "0.36.3",
"version": "0.37.0",
"publishConfig": {

@@ -43,3 +43,3 @@ "access": "public"

"dependencies": {
"@frinkly/types": "0.36.0",
"@frinkly/types": "0.37.0",
"eccrypto": "1.1.6",

@@ -49,3 +49,3 @@ "eip1559-fee-suggestions-ethers": "1.3.3",

"secp256k1": "4.0.2",
"tslib": "2.3.1"
"tslib": "2.5.0"
},

@@ -59,6 +59,6 @@ "devDependencies": {

"ts-jest": "26.3.0",
"ts-node": "9.0.0",
"typescript": "4.4.4"
"ts-node": "10.9.1",
"typescript": "4.9.5"
},
"gitHead": "6155223cfce769e48ccae480c510b35b4f54b4d0"
"gitHead": "23b44e8acb2d4dcdf76ffbd1812f675382be9db1"
}

@@ -1,5 +0,5 @@

# @requestnetwork/utils
# @frinkly/utils
`@requestnetwork/utils` is a typescript library part of the [Request Network protocol](https://github.com/RequestNetwork/requestNetwork).
It is a collection of tools shared between the @requestnetwork packages.
`@frinkly/utils` is a typescript library part of the [Request Network protocol](https://github.com/RequestNetwork/requestNetwork).
It is a collection of tools shared between the @frinkly packages.

@@ -9,3 +9,3 @@ ## Installation

```bash
npm install @requestnetwork/utils
npm install @frinkly/utils
```

@@ -16,3 +16,3 @@

```javascript
import { normalizeKeccak256Hash } from '@requestnetwork/utils';
import { normalizeKeccak256Hash } from '@frinkly/utils';

@@ -19,0 +19,0 @@ const hash = normalizeKeccak256Hash({ exampleData: true });