diff --git a/facebook_auth_web/CHANGELOG.md b/facebook_auth_web/CHANGELOG.md index 0005d4bb..cd55fd3e 100644 --- a/facebook_auth_web/CHANGELOG.md +++ b/facebook_auth_web/CHANGELOG.md @@ -1,3 +1,10 @@ +### 6.1.0 +- Migrate to package:web. +- environment: + Use dart sdk: '>=3.3.0 <4.0.0' + Use flutter: ">=3.19.2" + + ### 6.0.0 - Updated flutter_facebook_auth_platform_interface: ^6.0.0 diff --git a/facebook_auth_web/pubspec.yaml b/facebook_auth_web/pubspec.yaml index 18a006c8..c52b146a 100644 --- a/facebook_auth_web/pubspec.yaml +++ b/facebook_auth_web/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_facebook_auth_web description: web support for flutter_facebook_auth -version: 6.0.0 +version: 6.1.0 homepage: https://github.com/darwin-morocho/flutter-facebook-auth/tree/master/facebook_auth_web diff --git a/facebook_auth_web/test/web_auth_test.dart b/facebook_auth_web/test/web_auth_test.dart index 2d4831c7..7f4eb5d2 100644 --- a/facebook_auth_web/test/web_auth_test.dart +++ b/facebook_auth_web/test/web_auth_test.dart @@ -6,7 +6,6 @@ import 'package:flutter_facebook_auth_web/flutter_facebook_auth_web.dart'; import 'package:flutter_test/flutter_test.dart'; import 'mock/mock_data.dart'; -import 'mock/mock_interop.dart'; /// create a new instance of FacebookAuthPlugin with Mock Data FlutterFacebookAuthPlugin getPlugin() => FlutterFacebookAuthPlugin(); @@ -22,7 +21,6 @@ void main() { }); test('is initialized', () async { - fbMock = FbMock(); final plugin = getPlugin(); await plugin.webAndDesktopInitialize( appId: '1234', @@ -40,7 +38,6 @@ void main() { late bool isLogged = false; setUp( () { - fbMock = FbMock(); js.context['FB']['init'] = js.allowInterop((js.JsObject options) {}); js.context['FB']['login'] = js.allowInterop((js.JsFunction fn, _) { isLogged = true;