Skip to content

Commit

Permalink
minor changes on core and sign
Browse files Browse the repository at this point in the history
  • Loading branch information
quetool committed Oct 11, 2024
1 parent 83b1a18 commit 73f6160
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 16 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The communications protocol for web3, Reown brings the ecosystem together by ena

| [Core SDK](packages/reown_core) | [Sign SDK](packages/reown_sign) | [WalletKit](packages/reown_walletkit) | [AppKit](packages/reown_appkit) |
|---------------------------------|---------------------------------|---------------------------------------|---------------------------------|
| 1.0.0 | 1.0.0 | 1.0.1 | 1.0.1 |
| 1.0.1 | 1.0.1 | 1.0.1 | 1.0.1 |

## License

Expand Down
4 changes: 4 additions & 0 deletions packages/reown_core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.1

- Minor change

## 1.0.0

Initial release.
14 changes: 9 additions & 5 deletions packages/reown_core/lib/utils/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -248,12 +248,16 @@ class ReownCoreUtils {
return '$universalLink?wc_ev=$encodedEnvelope&topic=$topic';
}

static Future<bool> openURL(String url) async {
static Future<bool> canOpenUrl(String url) async {
return await canLaunchUrlString(url);
}

static Future<bool> openURL(
String url, [
LaunchMode mode = LaunchMode.externalApplication,
]) async {
try {
final success = await launchUrlString(
url,
mode: LaunchMode.externalApplication,
);
final success = await launchUrlString(url, mode: mode);
if (!success) {
throw ReownCoreError(code: 3000, message: 'Can not open $url');
}
Expand Down
2 changes: 1 addition & 1 deletion packages/reown_core/lib/version.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions packages/reown_core/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: reown_core
description: "Reown is the onchain UX platform that provides toolkits built on top of the WalletConnect Network"
version: 1.0.0
version: 1.0.1
homepage: https://github.com/reown-com/reown_flutter
repository: https://github.com/reown-com/reown_flutter/tree/master/packages/reown_core

Expand All @@ -20,13 +20,13 @@ dependencies:
http: ^1.2.0
json_annotation: ^4.8.1
logger: ^2.2.0
package_info_plus: ^7.0.0
package_info_plus: ^8.0.2
pointycastle: ^3.9.1
shared_preferences: ^2.2.2
stack_trace: ^1.10.0
stack_trace: ^1.11.1
stream_channel: ^2.1.0
url_launcher: ^6.3.0
web_socket_channel: ^2.4.4
url_launcher: ^6.3.1
web_socket_channel: ^2.4.5
x25519: ^0.1.1

dev_dependencies:
Expand Down
4 changes: 4 additions & 0 deletions packages/reown_sign/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.1

- Minor change

## 1.0.0

Initial release.
1 change: 0 additions & 1 deletion packages/reown_sign/lib/reown_sign.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ export 'sign_engine.dart';
export 'package:web3dart/web3dart.dart';
export 'package:web3dart/crypto.dart' hide bytesToHex;
export 'package:web3dart/json_rpc.dart';
export 'package:logger/logger.dart';
2 changes: 1 addition & 1 deletion packages/reown_sign/lib/version.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/reown_sign/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: reown_sign
description: "Reown is the onchain UX platform that provides toolkits built on top of the WalletConnect Network"
version: 1.0.0
version: 1.0.1
homepage: https://github.com/reown-com/reown_flutter
repository: https://github.com/reown-com/reown_flutter/tree/master/packages/reown_sign

Expand All @@ -14,7 +14,6 @@ dependencies:
sdk: flutter
freezed_annotation: ^2.2.0
http: ^1.2.0
logger: ^2.2.0
pointycastle: ^3.9.1
reown_core: ^1.0.0
web3dart: ^2.7.3
Expand Down
10 changes: 10 additions & 0 deletions packages/reown_walletkit/dart_dependency_validator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# dart_dependency_validator.yaml

# Set true if you allow pinned packages in your project.
# allow_pins: true
# Exclude one or more paths from being scanned. Supports glob syntax.
exclude:
- 'example/**' # Glob's are supported
# Ignore one or more packages.
# ignore:
# - analyzer

0 comments on commit 73f6160

Please sign in to comment.