From db1a8b0328bea3981181350666df3943098cf3b7 Mon Sep 17 00:00:00 2001 From: abedelaziz-deriv <135210555+abedelaziz-deriv@users.noreply.github.com> Date: Fri, 26 Jul 2024 17:15:20 +0800 Subject: [PATCH] Removed web package (#4) --- CHANGELOG.md | 4 ++++ example/pubspec.lock | 8 -------- lib/src/live_chat_platform_interface.dart | 8 ++++---- pubspec.yaml | 3 +-- 4 files changed, 9 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e121de..817ea6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.1 + +* Removed web package. + ## 1.0.0 * Initial release of the plugin. diff --git a/example/pubspec.lock b/example/pubspec.lock index e82cabd..cdadc5b 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -103,14 +103,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.4" - web: - dependency: transitive - description: - name: web - sha256: d43c1d6b787bf0afad444700ae7f4db8827f701bc61c255ac8d328c6f4d52062 - url: "https://pub.dev" - source: hosted - version: "1.0.0" sdks: dart: ">=3.4.3 <4.0.0" flutter: ">=3.3.0" diff --git a/lib/src/live_chat_platform_interface.dart b/lib/src/live_chat_platform_interface.dart index 3ba0dfe..3ffc294 100644 --- a/lib/src/live_chat_platform_interface.dart +++ b/lib/src/live_chat_platform_interface.dart @@ -28,18 +28,18 @@ abstract class LiveChatPlatform extends PlatformInterface { String? groupId, Map? customParameters, }) { - throw UnimplementedError('openChatView() has not been implemented.'); + throw UnimplementedError('openChatWindow() has not been implemented.'); } Future closeChatWindow() { - throw UnimplementedError('closeChatView() has not been implemented.'); + throw UnimplementedError('closeChatWindow() has not been implemented.'); } Future clearChatSession() { - throw UnimplementedError('clearChatView() has not been implemented.'); + throw UnimplementedError('clearChatSession() has not been implemented.'); } Stream? getLiveChatEventsStream() { - throw UnimplementedError('getEventsStream() has not been implemented.'); + throw UnimplementedError('getLiveChatEventsStream() has not been implemented.'); } } diff --git a/pubspec.yaml b/pubspec.yaml index 7667e8d..bef96d6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: live_chat_plus description: "A Flutter plugin to bring LiveChat functionality to Flutter" -version: 1.0.0 +version: 1.0.1 repository: https://github.com/deriv-com/live-chat issue_tracker: https://github.com/deriv-com/live-chat/issues homepage: https://github.com/deriv-com/live-chat @@ -14,7 +14,6 @@ dependencies: sdk: flutter flutter_web_plugins: sdk: flutter - web: ^1.0.0 js: ^0.7.1 plugin_platform_interface: ^2.1.8