UNPKG
@gateway.fm/gtw-dvf-client-js
Version:
latest (3.1.7)
3.1.7
3.1.6
3.1.5
DVF client js lib with gateway.fm rpc endpoints
github.com/gateway-fm/gtw-dvf-client-js
@gateway.fm/gtw-dvf-client-js
/
src
/
api
/
getUserConfig.js
8 lines
(5 loc)
•
207 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
module
.
exports
=
async
(dvf, nonce, signature) => {
const
exchangeUserConf =
await
dvf.
getUserConfigFromServer
(nonce, signature)
Object
.
assign
(dvf.
config
, exchangeUserConf)
return
exchangeUserConf }