Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

Commit

Permalink
fix: startIpfs no longer deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
aphelionz committed May 11, 2020
1 parent ffbb87b commit bdf3560
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
exports.MemStore = require('./mem-store')
exports.swarm = require('./swarm')
exports.config = require('./config')
exports.connectPeers = require('./connect-peers')
exports.getIpfsPeerId = require('./get-ipfs-peer-id')
exports.startIpfs = require('./start-ipfs')
exports.stopIpfs = require('./stop-ipfs')
exports.testApis = require('./test-apis.js')
exports.waitForPeers = require('./wait-for-peers')

// Different abstract-leveldown implementations
const implementations = require('./implementations')
Expand All @@ -9,13 +16,3 @@ const properLevelModule = implementations
const defaultStorage = require('orbit-db-storage-adapter')(properLevelModule)
exports.defaultStorage = defaultStorage
exports.implementations = implementations

// Deprecated APIs
// startIpfs and stopIpfs will throw console.warn-ings
exports.config = require('./config')
exports.connectPeers = require('./connect-peers')
exports.getIpfsPeerId = require('./get-ipfs-peer-id')
exports.startIpfs = require('./start-ipfs')
exports.stopIpfs = require('./stop-ipfs')
exports.testApis = require('./test-apis.js')
exports.waitForPeers = require('./wait-for-peers')

0 comments on commit bdf3560

Please sign in to comment.