src/create.js
function (uuids) {
    var guid = uuids[0]
    var sharedKey = uuids[1]

    if (!guid || !sharedKey || guid.length !== 36 || sharedKey.length !== 36) {
      throw 'Error generating wallet identifier'
    }

    return { guid: guid, sharedKey: sharedKey }
  }
function (uuids) {
    var guid = uuids[0]
    var sharedKey = uuids[1]

    if (!guid || !sharedKey || guid.length !== 36 || sharedKey.length !== 36) {
      throw 'Error generating wallet identifier'
    }

    return { guid: guid, sharedKey: sharedKey }
  }
function ( uuids ) { var guid = uuids [ 0 ] var sharedKey = uuids [ 1 ] if ( ! guid || ! sharedKey || guid . length !== 36 || sharedKey . length !== 36 ) { throw 'Error generating wallet identifier' } return { guid : guid , sharedKey : sharedKey } }
Handle response from WalletNetwork
Handle response from WalletNetwork