mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00

Use immutable ipfs-log. Simplify internals. Remove obsolete dependencies. Update dependencies. Use @dignifiedquire's mapSeries for Promises. Split tests to individual stores. Improve tests. Fix build process. Build size down to 121kb. Fix benchmarks and examples. Move Cache to Stores (and to its own module).
19 lines
484 B
JavaScript
19 lines
484 B
JavaScript
'use strict'
|
|
|
|
const IpfsNodeDaemon = require('ipfs-daemon/src/ipfs-node-daemon')
|
|
const IpfsNativeDaemon = require('ipfs-daemon/src/ipfs-native-daemon')
|
|
const testDaemons = require('./test-daemons')
|
|
|
|
// Set logplease logging level if in the browser
|
|
if (typeof window !== 'undefined')
|
|
window.LOG = 'ERROR'
|
|
|
|
// Config
|
|
module.exports = {
|
|
daemons: testDaemons,
|
|
timeout: 60000,
|
|
defaultIpfsDirectory: './ipfs',
|
|
defaultOrbitDBDirectory: './orbit-db',
|
|
dbname: 'abcdefghijklmn',
|
|
}
|