version 1.2.0 added swapCode, keepAlive, angXSRF