'use strict'; const { Client, fsKeysStorage } = require('../index'); const loadConfig = require('./loadConfig'); module.exports = ({ url, partnerId, userId, hostId, passphrase, keyStoragePath, } = loadConfig()) => new Client({ url, partnerId, userId, hostId, passphrase, keyStorage: fsKeysStorage(keyStoragePath), });