Skip to content

Commit

Permalink
Revert files
Browse files Browse the repository at this point in the history
  • Loading branch information
quetool committed Dec 13, 2024
1 parent 33f7af7 commit 7cd69c7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 50 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,3 @@ app.*.map.json
# Run scripts
run_tests_all.sh
*.env.secret*

packages/reown_walletkit_bkp/
packages/reown_walletkit_bkp/*
packages/reown_walletkit_bkp/**
2 changes: 0 additions & 2 deletions packages/reown_walletkit/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,3 @@ app.*.map.json
# Run scripts
run_tests.sh
*.env.secret

rust/target
1 change: 0 additions & 1 deletion packages/reown_walletkit/lib/i_walletkit_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ abstract class IReownWalletKit implements IReownSignWallet {
final int version = 2;

abstract final IReownSign reOwnSign;
// abstract final ChainAbstractionClient chainAbstraction;
}
12 changes: 0 additions & 12 deletions packages/reown_walletkit/lib/walletkit_impl.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import 'package:event/event.dart';

import 'package:reown_core/relay_client/websocket/http_client.dart';
import 'package:reown_core/relay_client/websocket/i_http_client.dart';
import 'package:reown_core/reown_core.dart';
Expand Down Expand Up @@ -117,12 +116,6 @@ class ReownWalletKit implements IReownWalletKit {
await core.start();
await reOwnSign.init();

try {
// Locate the native library file
} catch (e) {
print(e);
}

_initialized = true;
}

Expand Down Expand Up @@ -490,9 +483,4 @@ class ReownWalletKit implements IReownWalletKit {

@override
IGenericStore<String> get pairingTopics => reOwnSign.pairingTopics;

///---------- CHAIN ABSTRACTION ----------///
// @override
// late ChainAbstractionClient chainAbstraction;
}
40 changes: 9 additions & 31 deletions packages/reown_walletkit/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,12 @@ repository: https://github.com/reown-com/reown_flutter/tree/master/packages/reow
documentation: https://docs.reown.com/walletkit/flutter/installation

environment:
sdk: ^3.5.4
flutter: '>=3.3.0'
sdk: ">=2.19.0 <4.0.0"

dependencies:
# dart_ffi:
# git:
# url: https://github.com/reown-com/yttrium.git
# ref: dart-bindings
# path: crates/dart-ffi
# # path: /Users/alfreedom/Development/Reown/yttrium/crates/dart-ffi
dylib: ^0.3.3
event: ^2.1.2
flutter:
sdk: flutter
flutter_rust_bridge: ^2.6.0
freezed_annotation: ^2.4.4
reown_core: ^1.0.4
# reown_core:
# path: ../reown_core/
Expand All @@ -30,15 +20,12 @@ dependencies:
# path: ../reown_sign/

dev_dependencies:
build_runner: ^2.4.13
build_runner: ^2.4.7
build_version: ^2.1.1
dependency_validator: ^3.2.2
ffi: ^2.1.3
ffigen: ^16.0.0
flutter_lints: ^2.0.0
flutter_test:
sdk: flutter
freezed: ^2.5.7
http: ^1.2.2
logger: ^2.2.0
mockito: ^5.4.3
Expand All @@ -47,19 +34,10 @@ dev_dependencies:
# reown_appkit:
# path: ../reown_appkit/

plugin:
platforms:
android:
# package: com.example.yourplugin
# pluginClass: YourPlugin
ios:
# pluginClass: YourPlugin
web:
# pluginClass: YourPluginWeb
# fileName: your_plugin_web.dart
linux:
# pluginClass: YourPluginLinux
macos:
# pluginClass: YourPluginMacOS
windows:
# pluginClass: YourPluginWindows
platforms:
android:
ios:
web:
macos:
linux:
windows:

0 comments on commit 7cd69c7

Please sign in to comment.