Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/reown_appkit/lib/base/appkit_base_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ class ReownAppKit implements IReownAppKit {
Map<String, RequiredNamespace>? requiredNamespaces,
Map<String, RequiredNamespace>? optionalNamespaces,
Map<String, String>? sessionProperties,
Map<String, dynamic>? scopedProperties,
String? pairingTopic,
List<Relay>? relays,
List<List<String>>? methods = DEFAULT_METHODS,
Expand Down
6 changes: 4 additions & 2 deletions packages/reown_appkit/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ dependencies:
pinenacl: ^0.6.0
plugin_platform_interface: ^2.1.8
qr_flutter_wc: ^0.0.3
reown_core: ^1.1.7
reown_sign: ^1.1.8
reown_core:
path: ../reown_core/
reown_sign:
path: ../reown_sign/
shimmer: ^3.0.0
synchronized: ^3.3.0+3
web_socket_channel: ^3.0.1
Expand Down
2 changes: 2 additions & 0 deletions packages/reown_sign/lib/i_sign_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ abstract class IReownSignClient {
Map<String, RequiredNamespace>? requiredNamespaces,
Map<String, RequiredNamespace>? optionalNamespaces,
Map<String, String>? sessionProperties,
Map<String, dynamic>? scopedProperties,
String? pairingTopic,
List<Relay>? relays,
List<List<String>>? methods,
Expand All @@ -57,6 +58,7 @@ abstract class IReownSignClient {
required int id,
required Map<String, Namespace> namespaces,
Map<String, String>? sessionProperties,
Map<String, dynamic>? scopedProperties,
String? relayProtocol,
});
Future<void> reject({
Expand Down
1 change: 1 addition & 0 deletions packages/reown_sign/lib/i_sign_dapp.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ abstract class IReownSignDapp extends IReownSignCommon {
Map<String, RequiredNamespace>? requiredNamespaces,
Map<String, RequiredNamespace>? optionalNamespaces,
Map<String, String>? sessionProperties,
Map<String, dynamic>? scopedProperties,
String? pairingTopic,
List<Relay>? relays,
List<List<String>>? methods,
Expand Down
1 change: 1 addition & 0 deletions packages/reown_sign/lib/i_sign_wallet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ abstract class IReownSignWallet extends IReownSignCommon {
required int id,
required Map<String, Namespace> namespaces,
Map<String, String>? sessionProperties,
Map<String, dynamic>? scopedProperties,
String? relayProtocol,
});
Future<void> rejectSession({
Expand Down
2 changes: 2 additions & 0 deletions packages/reown_sign/lib/models/json_rpc_models.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class WcSessionProposeRequest with _$WcSessionProposeRequest {
required Map<String, RequiredNamespace> requiredNamespaces,
Map<String, RequiredNamespace>? optionalNamespaces,
Map<String, String>? sessionProperties,
Map<String, dynamic>? scopedProperties,
required ConnectionMetadata proposer,
}) = _WcSessionProposeRequest;

Expand Down Expand Up @@ -68,6 +69,7 @@ class WcSessionSettleRequest with _$WcSessionSettleRequest {
Map<String, RequiredNamespace>? requiredNamespaces,
Map<String, RequiredNamespace>? optionalNamespaces,
Map<String, String>? sessionProperties,
Map<String, dynamic>? scopedProperties,
required int expiry,
required ConnectionMetadata controller,
}) = _WcSessionSettleRequest;
Expand Down
72 changes: 68 additions & 4 deletions packages/reown_sign/lib/models/json_rpc_models.freezed.dart

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

6 changes: 6 additions & 0 deletions packages/reown_sign/lib/models/json_rpc_models.g.dart

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

1 change: 1 addition & 0 deletions packages/reown_sign/lib/models/proposal_models.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class ProposalData with _$ProposalData {
required Map<String, RequiredNamespace> optionalNamespaces,
required String pairingTopic,
Map<String, String>? sessionProperties,
Map<String, dynamic>? scopedProperties,
Map<String, Namespace>? generatedNamespaces,
}) = _ProposalData;

Expand Down
Loading