Skip to content

Commit 9ee46a3

Browse files
authored
Merge pull request #5 from WalletConnect/fix/send-transaction
fix: send transaction
2 parents 8e84596 + 9b85a74 commit 9ee46a3

6 files changed

Lines changed: 30 additions & 30 deletions

File tree

Packages/com.walletconnect.web3modal/Runtime/Evm/EvmService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public Task<string> WriteContractAsync(string contractAddress, string contractAb
9999

100100
public Task<string> SendTransactionAsync(string addressTo, BigInteger value, string data = null)
101101
{
102-
if (string.IsNullOrWhiteSpace(data))
102+
if (string.IsNullOrWhiteSpace(addressTo))
103103
throw new ArgumentNullException(nameof(addressTo));
104104

105105
return SendTransactionAsyncCore(addressTo, value, data);

Packages/com.walletconnect.web3modal/Runtime/Web3Modal.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public static async Task InitializeAsync(Web3ModalConfig config)
7272
throw new Exception("Already initialized"); // TODO: use custom ex type
7373

7474
UnityWebRequestExtensions.sdkType = "w3m";
75-
UnityWebRequestExtensions.sdkVersion = "unity-w3m-v0.3.0"; // TODO: update this from CI
75+
UnityWebRequestExtensions.sdkVersion = "unity-w3m-v0.3.1"; // TODO: update this from CI
7676

7777
Config = config ?? throw new ArgumentNullException(nameof(config));
7878

Packages/com.walletconnect.web3modal/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.walletconnect.web3modal",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"displayName": "Web3Modal",
55
"unity": "2022.3",
66
"author": "WalletConnect",

Samples/W3M Basic Sample/Packages/manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"dependencies": {
3-
"com.unity.collab-proxy": "2.2.0",
4-
"com.unity.feature.2d": "2.0.0",
3+
"com.unity.collab-proxy": "2.3.1",
4+
"com.unity.feature.2d": "2.0.1",
55
"com.unity.ide.rider": "3.0.28",
66
"com.unity.ide.visualstudio": "2.0.22",
77
"com.unity.nuget.newtonsoft-json": "3.2.1",
8-
"com.unity.render-pipelines.universal": "14.0.10",
8+
"com.unity.render-pipelines.universal": "14.0.11",
99
"com.unity.test-framework": "1.1.33",
1010
"com.unity.textmeshpro": "3.0.8",
1111
"com.unity.timeline": "1.7.6",

Samples/W3M Basic Sample/Packages/packages-lock.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"url": "https://package.openupm.com"
99
},
1010
"com.unity.2d.animation": {
11-
"version": "9.0.4",
11+
"version": "9.1.1",
1212
"depth": 1,
1313
"source": "registry",
1414
"dependencies": {
15-
"com.unity.2d.common": "8.0.1",
15+
"com.unity.2d.common": "8.0.2",
1616
"com.unity.2d.sprite": "1.0.0",
1717
"com.unity.collections": "1.1.0",
1818
"com.unity.modules.animation": "1.0.0",
@@ -21,7 +21,7 @@
2121
"url": "https://packages.unity.com"
2222
},
2323
"com.unity.2d.aseprite": {
24-
"version": "1.1.0",
24+
"version": "1.1.4",
2525
"depth": 1,
2626
"source": "registry",
2727
"dependencies": {
@@ -53,11 +53,11 @@
5353
"url": "https://packages.unity.com"
5454
},
5555
"com.unity.2d.psdimporter": {
56-
"version": "8.0.3",
56+
"version": "8.0.5",
5757
"depth": 1,
5858
"source": "registry",
5959
"dependencies": {
60-
"com.unity.2d.animation": "9.0.4",
60+
"com.unity.2d.animation": "9.1.1",
6161
"com.unity.2d.common": "8.0.2",
6262
"com.unity.2d.sprite": "1.0.0"
6363
},
@@ -70,12 +70,12 @@
7070
"dependencies": {}
7171
},
7272
"com.unity.2d.spriteshape": {
73-
"version": "9.0.2",
73+
"version": "9.0.3",
7474
"depth": 1,
7575
"source": "registry",
7676
"dependencies": {
7777
"com.unity.mathematics": "1.1.0",
78-
"com.unity.2d.common": "8.0.1",
78+
"com.unity.2d.common": "8.0.2",
7979
"com.unity.modules.physics2d": "1.0.0"
8080
},
8181
"url": "https://packages.unity.com"
@@ -102,7 +102,7 @@
102102
"url": "https://packages.unity.com"
103103
},
104104
"com.unity.burst": {
105-
"version": "1.8.12",
105+
"version": "1.8.15",
106106
"depth": 1,
107107
"source": "registry",
108108
"dependencies": {
@@ -112,7 +112,7 @@
112112
"url": "https://packages.unity.com"
113113
},
114114
"com.unity.collab-proxy": {
115-
"version": "2.2.0",
115+
"version": "2.3.1",
116116
"depth": 0,
117117
"source": "registry",
118118
"dependencies": {},
@@ -136,18 +136,18 @@
136136
"url": "https://packages.unity.com"
137137
},
138138
"com.unity.feature.2d": {
139-
"version": "2.0.0",
139+
"version": "2.0.1",
140140
"depth": 0,
141141
"source": "builtin",
142142
"dependencies": {
143-
"com.unity.2d.animation": "9.0.4",
143+
"com.unity.2d.animation": "9.1.1",
144144
"com.unity.2d.pixel-perfect": "5.0.3",
145-
"com.unity.2d.psdimporter": "8.0.3",
145+
"com.unity.2d.psdimporter": "8.0.5",
146146
"com.unity.2d.sprite": "1.0.0",
147-
"com.unity.2d.spriteshape": "9.0.2",
147+
"com.unity.2d.spriteshape": "9.0.3",
148148
"com.unity.2d.tilemap": "1.0.0",
149149
"com.unity.2d.tilemap.extras": "3.1.2",
150-
"com.unity.2d.aseprite": "1.1.0"
150+
"com.unity.2d.aseprite": "1.1.4"
151151
}
152152
},
153153
"com.unity.ide.rider": {
@@ -183,7 +183,7 @@
183183
"url": "https://packages.unity.com"
184184
},
185185
"com.unity.render-pipelines.core": {
186-
"version": "14.0.10",
186+
"version": "14.0.11",
187187
"depth": 1,
188188
"source": "builtin",
189189
"dependencies": {
@@ -194,23 +194,23 @@
194194
}
195195
},
196196
"com.unity.render-pipelines.universal": {
197-
"version": "14.0.10",
197+
"version": "14.0.11",
198198
"depth": 0,
199199
"source": "builtin",
200200
"dependencies": {
201201
"com.unity.mathematics": "1.2.1",
202202
"com.unity.burst": "1.8.9",
203-
"com.unity.render-pipelines.core": "14.0.10",
204-
"com.unity.shadergraph": "14.0.10",
203+
"com.unity.render-pipelines.core": "14.0.11",
204+
"com.unity.shadergraph": "14.0.11",
205205
"com.unity.render-pipelines.universal-config": "14.0.9"
206206
}
207207
},
208208
"com.unity.render-pipelines.universal-config": {
209-
"version": "14.0.9",
209+
"version": "14.0.10",
210210
"depth": 1,
211211
"source": "builtin",
212212
"dependencies": {
213-
"com.unity.render-pipelines.core": "14.0.9"
213+
"com.unity.render-pipelines.core": "14.0.10"
214214
}
215215
},
216216
"com.unity.searcher": {
@@ -221,11 +221,11 @@
221221
"url": "https://packages.unity.com"
222222
},
223223
"com.unity.shadergraph": {
224-
"version": "14.0.10",
224+
"version": "14.0.11",
225225
"depth": 1,
226226
"source": "builtin",
227227
"dependencies": {
228-
"com.unity.render-pipelines.core": "14.0.10",
228+
"com.unity.render-pipelines.core": "14.0.11",
229229
"com.unity.searcher": "4.9.2"
230230
}
231231
},
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
m_EditorVersion: 2022.3.18f1
2-
m_EditorVersionWithRevision: 2022.3.18f1 (d29bea25151d)
1+
m_EditorVersion: 2022.3.33f1
2+
m_EditorVersionWithRevision: 2022.3.33f1 (b2c853adf198)

0 commit comments

Comments
 (0)