@cryptorubic/web3 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptorubic/web3",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "dependencies": {
5
5
  "@ethersproject/bignumber": "^5.8.0",
6
6
  "@mysten/sui": "^1.24.0",
@@ -37,8 +37,8 @@ class SolanaAdapterSigner extends abstract_adapter_signer_1.AbstractAdapterSigne
37
37
  let signature;
38
38
  if (params.txOptions?.sponsorParams) {
39
39
  const response = await this.httpClient.post(`${this.apiUrl}/api/utility/solana/relay`, {
40
- txBase64,
41
- tradeId: params.txOptions.sponsorParams.tradeId
40
+ data: txBase64,
41
+ id: params.txOptions.sponsorParams.tradeId
42
42
  });
43
43
  signature = response.signature;
44
44
  }