Update ipfs-http-client (for node >= 14)

Updates the client library and API usage to work with the latest
version, and more importantly, with current node.js LTS.
This commit is contained in:
2022-04-28 19:19:58 +02:00
parent 16d5704173
commit 53fafc1c78
5 changed files with 19954 additions and 5600 deletions

View File

@@ -44,6 +44,7 @@
"@openzeppelin/hardhat-upgrades": "^1.10.0",
"async-each-series": "^1.1.0",
"cli-table": "^0.3.1",
"colors": "^1.0.3",
"eslint": "^8.14.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^11.1.0",
@@ -64,7 +65,7 @@
"dependencies": {
"@kosmos/schemas": "^3.1.0",
"ethers": "^5.4.7",
"ipfs-http-client": "^41.0.1",
"ipfs-http-client": "^56.0.3",
"multihashes": "^4.0.3",
"node-fetch": "^2.6.0",
"tv4": "^1.3.0"