This commit is contained in:
Tobe O 2019-01-05 21:33:10 -05:00
parent fdb37660b2
commit 7ead5054d9
3 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,6 @@
# 2.0.1
* Change `BaseAngelClient` constructor to accept `dynamic` instead of `String` for `baseUrl.
# 2.0.0 # 2.0.0
* Deprecate `basePath` in favor of `baseUrl`. * Deprecate `basePath` in favor of `baseUrl`.
* `Angel` now extends `http.Client`. * `Angel` now extends `http.Client`.

View file

@ -57,7 +57,7 @@ abstract class BaseAngelClient extends Angel {
@override @override
Stream<AngelAuthResult> get onAuthenticated => _onAuthenticated.stream; Stream<AngelAuthResult> get onAuthenticated => _onAuthenticated.stream;
BaseAngelClient(this.client, String basePath) : super(basePath); BaseAngelClient(this.client, baseUrl) : super(baseUrl);
@override @override
Future<AngelAuthResult> authenticate( Future<AngelAuthResult> authenticate(

View file

@ -1,5 +1,5 @@
name: angel_client name: angel_client
version: 2.0.0 version: 2.0.1
description: Support for querying Angel servers in the browser, Flutter, and command-line. description: Support for querying Angel servers in the browser, Flutter, and command-line.
author: Tobe O <thosakwe@gmail.com> author: Tobe O <thosakwe@gmail.com>
homepage: https://github.com/angel-dart/angel_client homepage: https://github.com/angel-dart/angel_client