message: Update api.md
  Adding await to example
diff: @@ -389,7 +389,7 @@ ___
  ```typescript
  async performAutomaticUpdate() {
  try {
  - const currentVersion = Deploy.getCurrentVersion();
  + const currentVersion = await Deploy.getCurrentVersion();
  const resp = await Deploy.sync({updateMethod: 'auto'}, percentDone => {
  console.log(`Update is ${percentDone}% done!`);
  });
  