Widget のユーザー意識

以下のコードを使用できます:

const user = api.getCurrentUser()

if(user) {
  return user.username;
}

詳細はこちらをご覧ください:

「いいね!」 5