es/ae/aens.js
async function update (nameId, target, options = {}) {
  const opt = R.merge(this.Ae.defaults, options)
  const nameUpdateTx = await this.nameUpdateTx(R.merge(opt, {
    nameId: nameId,
    accountId: await this.address(),
    pointers: [R.fromPairs([['id', target], ['key', classify(target)]])]
  }))

  return this.send(nameUpdateTx, opt)
}
async function update (nameId, target, options = {}) {
  const opt = R.merge(this.Ae.defaults, options)
  const nameUpdateTx = await this.nameUpdateTx(R.merge(opt, {
    nameId: nameId,
    accountId: await this.address(),
    pointers: [R.fromPairs([['id', target], ['key', classify(target)]])]
  }))

  return this.send(nameUpdateTx, opt)
}
async function update ( nameId , target , options = { } ) { const opt = R . merge ( this . Ae . defaults , options ) const nameUpdateTx = await this . nameUpdateTx ( R . merge ( opt , { nameId : nameId , accountId : await this . address ( ) , pointers : [ R . fromPairs ( [ [ 'id' , target ] , [ 'key' , classify ( target ) ] ] ) ] } ) ) return this . send ( nameUpdateTx , opt ) }
Update an aens entry
@instance
@function
@alias module:@aeternity/aepp-sdk/es/ae/aens
@param nameId domain hash
@param target new target
@param options
@return {Object}
Update an aens entry