Skip to content

Commit

Permalink
Merge pull request #236 from WalletConnect/chore/update-walletconnect…
Browse files Browse the repository at this point in the history
…sharp

Update WalletConnectSharp to v2.4.0
  • Loading branch information
skibitsky authored Jul 16, 2024
2 parents b37a4fe + ff1be84 commit 1d0dbb1
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 8 deletions.
4 changes: 4 additions & 0 deletions Packages/com.walletconnect.core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.1.10] - 2024-07-16

- Upgraded WalletConnectSharp to [v2.4.0](https://github.com/WalletConnect/WalletConnectSharp/releases/tag/v2.4.0)

## [3.1.8] - 2024-06-26

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace WalletConnectUnity.Core
public class UnityRelayUrlBuilder : RelayUrlBuilder
{
// TODO: Update this from CI
public const string PackageVersion = "3.1.8";
public const string PackageVersion = "3.1.10";

public override (string name, string version) GetOsInfo()
{
Expand Down
6 changes: 6 additions & 0 deletions Packages/com.walletconnect.core/Runtime/WalletConnect.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
Expand Down Expand Up @@ -132,6 +133,11 @@ public async Task<bool> TryResumeSessionAsync()
{
await SignClient.Extend(sessionTopic);
}
catch (KeyNotFoundException)
{
SignClient.AddressProvider.DefaultSession = default;
return false;
}
catch (WalletConnectException)
{
SignClient.AddressProvider.DefaultSession = default;
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion Packages/com.walletconnect.core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.walletconnect.core",
"version": "3.1.9",
"version": "3.1.10",
"displayName": "WalletConnectUnity Core",
"unity": "2021.3",
"changelogUrl": "https://github.com/WalletConnect/WalletConnectUnity/blob/main/Packages/com.walletconnect.core/CHANGELOG.md",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private async void Awake()

public static async Task InitializeAsync()
{
SdkMetadata.Version = "unity-wcm-v1.1.8"; // TODO: update this from CI
SdkMetadata.Version = "unity-wcm-v1.1.10"; // TODO: update this from CI

await WalletConnect.Instance.InitializeAsync();

Expand Down
6 changes: 3 additions & 3 deletions Packages/com.walletconnect.modal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.walletconnect.modal",
"version": "1.1.8",
"version": "1.1.10",
"displayName": "WalletConnectUnity Modal",
"unity": "2021.3",
"changelogUrl": "https://github.com/WalletConnect/WalletConnectUnity/blob/main/Packages/com.walletconnect.modal/CHANGELOG.md",
Expand All @@ -12,8 +12,8 @@
"walletconnectunity"
],
"dependencies": {
"com.walletconnect.core": "3.1.8",
"com.walletconnect.ui": "1.1.8"
"com.walletconnect.core": "3.1.10",
"com.walletconnect.ui": "1.1.10"
},
"samples": [
{
Expand Down
4 changes: 2 additions & 2 deletions Packages/com.walletconnect.ui/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "com.walletconnect.ui",
"version": "1.1.8",
"version": "1.1.10",
"displayName": "WalletConnectUnity UI",
"unity": "2021.3",
"author": "WalletConnect",
"dependencies": {
"com.walletconnect.core": "3.1.8",
"com.walletconnect.core": "3.1.10",
"com.unity.textmeshpro": "3.0.0",
"com.unity.ugui": "1.0.0"
}
Expand Down

0 comments on commit 1d0dbb1

Please sign in to comment.