Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
b535637
Revert "automated duplicating imported samples modifications (#595)"
robGG1997 Sep 14, 2023
95fb832
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 14, 2023
e3ab3c2
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 14, 2023
a536df0
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 15, 2023
c12a0de
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 18, 2023
8e1ea0a
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 18, 2023
1318cd7
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 21, 2023
33b8e52
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 22, 2023
0a205bd
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 25, 2023
df4795a
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 29, 2023
abc34f6
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Sep 29, 2023
031e8d3
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Oct 18, 2023
3a4bdd9
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Oct 24, 2023
67d871d
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Oct 25, 2023
3c1d099
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Oct 30, 2023
ed22cb7
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Oct 31, 2023
4c8b282
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 1, 2023
ea609de
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 2, 2023
adcb974
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 2, 2023
77dd93a
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 3, 2023
12af139
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 7, 2023
3080de3
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 8, 2023
87a1dcc
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 8, 2023
f25d202
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 9, 2023
300d906
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 14, 2023
8081e35
Disposing of WC instances done properly
robGG1997 Nov 16, 2023
2144201
Published Solution Dependencies to Package Libraries as DLLs
robGG1997 Nov 16, 2023
f28d9f4
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 16, 2023
a1a97a5
merge to main
robGG1997 Nov 16, 2023
09412b2
reverted merge changes
robGG1997 Nov 16, 2023
e403d15
Published Solution Dependencies to Package Libraries as DLLs
robGG1997 Nov 16, 2023
882af68
file sharing error possible fix
robGG1997 Nov 16, 2023
ab26fa3
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 17, 2023
1ee0def
merge to main
robGG1997 Nov 17, 2023
61ced9f
Published Solution Dependencies to Package Libraries as DLLs
robGG1997 Nov 17, 2023
e4b33c5
compile error fixes
robGG1997 Nov 17, 2023
5534f2f
Auto-duplicate Packages Samples
robGG1997 Nov 17, 2023
f2f4bac
Published Solution Dependencies to Package Libraries as DLLs
robGG1997 Nov 17, 2023
0cfeacc
lint fix
robGG1997 Nov 17, 2023
5c4e5bc
Merge branch 'rob/dispose-wc-734' of https://github.com/ChainSafe/web…
robGG1997 Nov 17, 2023
17585f8
Published Solution Dependencies to Package Libraries as DLLs
robGG1997 Nov 17, 2023
5f2d1e7
Merge branch 'main' into rob/dispose-wc-734
robGG1997 Nov 17, 2023
f41d743
Published Solution Dependencies to Package Libraries as DLLs
robGG1997 Nov 17, 2023
c5c0cb4
Merge branch 'main' of https://github.com/ChainSafe/web3.unity
robGG1997 Nov 17, 2023
c94f1f9
transfer erc721 hash updated to sepolia
robGG1997 Nov 17, 2023
3d05f35
Merge branch 'main' into rob/dispose-wc-734
robGG1997 Nov 17, 2023
b4f39c6
Merge branch 'rob/dispose-wc-734' of https://github.com/ChainSafe/web…
robGG1997 Nov 17, 2023
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
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace ChainSafe.Gaming.WalletConnect
/// We need this because of Unity's IL2CPP build code stripping and reachability issue.
/// For version 2022 and above this issue has been fixed by Unity as stated here https://blog.unity.com/engine-platform/il2cpp-full-generic-sharing-in-unity-2022-1-beta so this custom implementation isn't needed.
/// </summary>
public class WalletConnectWebSocketBuilder : MonoBehaviour, IConnectionBuilder
public class NativeWebSocketConnectionBuilder : MonoBehaviour, IConnectionBuilder
{
/// <summary>
/// Create WebSocket connection for Wallet Connect.
Expand All @@ -21,20 +21,7 @@ public class WalletConnectWebSocketBuilder : MonoBehaviour, IConnectionBuilder
/// <returns>Created connection.</returns>
public Task<IJsonRpcConnection> CreateConnection(string url)
{
TaskCompletionSource<IJsonRpcConnection> taskCompletionSource =
new TaskCompletionSource<IJsonRpcConnection>();

Dispatcher.Instance().Enqueue(() =>
{
Debug.Log("Building websocket with URL " + url);
var websocket = gameObject.AddComponent<WalletConnectWebSocket>();
websocket.Url = url;

taskCompletionSource.TrySetResult(websocket);
});


return taskCompletionSource.Task;
return Task.FromResult<IJsonRpcConnection>(new WebSocketConnection(url));
}
}
}
Expand Down

This file was deleted.

Loading