diff --git a/README.md b/README.md index 472cf0d..d05fd73 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Add to `pubspec.yaml`: ```yaml dependencies: - oauth1: ^1.0.1 + oauth1: ^1.0.4 ``` Please use like below. @@ -27,7 +27,7 @@ void main() { 'https://api.twitter.com/oauth/request_token', // temporary credentials request 'https://api.twitter.com/oauth/authorize', // resource owner authorization 'https://api.twitter.com/oauth/access_token', // token credentials request - oauth1.SignatureMethods.HMAC_SHA1 // signature method + oauth1.SignatureMethods.hmacSha1 // signature method ); // define client credentials (consumer keys)