Skip to content

Commit ff95ea1

Browse files
committed
Readme update
1 parent 8ef7a9d commit ff95ea1

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [0.1.2] - 2020-05-01
2+
3+
* Readme update
4+
15
## [0.1.1] - 2020-04-30
26

37
* Readme update

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ In your flutter project add the dependency:
2525
``` dart
2626
dependencies:
2727
...
28-
wp_json_api: ^0.1.1
28+
wp_json_api: ^0.1.2
2929
```
3030

3131
### Usage example #
@@ -93,7 +93,7 @@ WPUserLoginResponse wpUserLoginResponse = await WPJsonAPI.instance
9393
``` dart
9494
WPUserLoginResponse wpUserLoginResponse = await WPJsonAPI.instance
9595
.api((request) => request.wpLogin(
96-
email: email,
96+
username: username,
9797
password: password,
9898
authType: WPAuthType.WpUsername
9999
));
@@ -198,7 +198,7 @@ WCCustomerUpdatedResponse wcCustomerUpdatedResponse = await WPJsonAPI.instance
198198
```
199199

200200
For help getting started with WooSignal, view our
201-
[online documentation](https://woosignal.com/docs/wordpress-json-api-flutter/1.0/overview), which offers a more detailed guide.
201+
[online documentation](https://woosignal.com/docs/flutter/wp-json-api), which offers a more detailed guide.
202202

203203
## Usage
204204
To use this plugin, add `wp_json_api` as a [dependency in your pubspec.yaml file](https://flutter.io/platform-plugins/).

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: wp_json_api
22
description: WordPress and WooCommerce JSON API for Flutter Mobile. API allows you to login, register new users, get users info and more.
3-
version: 0.1.1
3+
version: 0.1.2
44
homepage: https://woosignal.com
55
repository: https://github.com/woosignal/wp-json-api-flutter
66

0 commit comments

Comments
 (0)