mirror of
https://github.com/fluencelabs/dweb-transports
synced 2025-03-15 10:30:48 +00:00
ipfs-api renamed ipfs-http-client
This commit is contained in:
parent
b369c1face
commit
ca303fdb06
@ -10,7 +10,7 @@ const debug = require('debug')('dweb-transports:ipfs');
|
||||
|
||||
// IPFS components
|
||||
const IPFS = require('ipfs');
|
||||
const ipfsAPI = require('ipfs-api');
|
||||
const ipfsAPI = require('ipfs-http-client');
|
||||
const CID = require('cids');
|
||||
//Removed next two as not needed if use "Kludge" flagged below.
|
||||
//const dagPB = require('ipld-dag-pb');
|
||||
|
@ -15,7 +15,7 @@
|
||||
"cids": "^0.5.7",
|
||||
"gun": "^0.9.999995",
|
||||
"ipfs": "^0.31.7",
|
||||
"ipfs-api": "^24.0.2",
|
||||
"ipfs-http-client": "^29.1.0",
|
||||
"ipfs-unixfs": "^0.1.15",
|
||||
"node-fetch": "^2.2.0",
|
||||
"readable-stream": "^2.3.6",
|
||||
|
@ -6,7 +6,7 @@ const CID = require('cids');
|
||||
const unixFs = require('ipfs-unixfs');
|
||||
const multihashes = require('multihashes');
|
||||
let tryexpectedfailures = true; // Set to false if want to check the things we expect to fail.
|
||||
const ipfsAPI = require('ipfs-api')
|
||||
const ipfsAPI = require('ipfs-http-client')
|
||||
// connect to ipfs daemon API server
|
||||
|
||||
const usehttpapi=false; // True uses local ipfs instance on machine where doing test, otherwise uses Javascript library
|
||||
|
Loading…
x
Reference in New Issue
Block a user