Skip to content

Commit

Permalink
Added freezed, changelog, etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sterling Long committed Jul 11, 2023
1 parent e4c201a commit fcadff4
Show file tree
Hide file tree
Showing 56 changed files with 9,740 additions and 1,340 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 2.0.13

- Made message in json response nullable to resolve issues with rejection messages


## 2.0.12

- Fixed regression with default relay URL, added tests to ensure it doesn't happen again
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ ConnectResponse resp = await wcClient.connect(
'eip155': RequiredNamespace(
chains: ['eip155:1'], // Ethereum chain
methods: ['eth_signTransaction'], // Requestable Methods
events: ['eth_sendTransaction'], // Requestable Events
),
'kadena': RequiredNamespace(
chains: ['kadena:mainnet01'], // Kadena chain
methods: ['kadena_quicksign_v1'], // Requestable Methods
events: ['kadena_transaction_updated'], // Requestable Events
),
}
);
Expand Down
7 changes: 7 additions & 0 deletions build.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
targets:
$default:
builders:
freezed:
generate_for:
- lib/**.dart
- test/shared/shared_test_utils.dart
json_serializable:
options:
explicit_to_json: true
generate_for:
- lib/**.dart
- test/shared/shared_test_utils.dart
44 changes: 0 additions & 44 deletions example/dapp/lib/models/eth/ethereum_transaction.g.dart

This file was deleted.

55 changes: 0 additions & 55 deletions example/dapp/lib/models/solana/solana_sign_transaction.g.dart

This file was deleted.

2 changes: 1 addition & 1 deletion example/wallet/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ android {

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "xyz.luzzotica.example_wallet"
applicationId "com.walletconnect.flutter_wallet"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
minSdkVersion 21
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.wallet
package com.walletconnect.flutter_wallet

import io.flutter.embedding.android.FlutterActivity

Expand Down
2 changes: 1 addition & 1 deletion example/wallet/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ subprojects {
project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
44 changes: 0 additions & 44 deletions example/wallet/lib/models/eth/ethereum_transaction.g.dart

This file was deleted.

55 changes: 0 additions & 55 deletions example/wallet/lib/models/solana/solana_sign_transaction.g.dart

This file was deleted.

2 changes: 1 addition & 1 deletion lib/apis/auth_api/auth_engine.dart
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class AuthEngine implements IAuthEngine {

final String reconstructed = formatAuthMessage(
iss: payload.iss,
cacaoPayload: payload,
cacaoPayload: CacaoRequestPayload.fromCacaoPayload(payload),
);

final String walletAddress = AddressUtils.getDidAddress(payload.iss);
Expand Down
Loading

0 comments on commit fcadff4

Please sign in to comment.