@scallop-io/sui-scallop-sdk 2.0.6 → 2.0.7

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": "@scallop-io/sui-scallop-sdk",
3
- "version": "2.0.6",
3
+ "version": "2.0.7",
4
4
  "description": "Typescript sdk for interacting with Scallop contract on SUI",
5
5
  "keywords": [
6
6
  "sui",
@@ -373,7 +373,7 @@ const generateCoreQuickMethod: GenerateCoreQuickMethod = ({
373
373
  if (sCoin) {
374
374
  const newMarketCoin = txBlock.burnSCoin(sCoinName, sCoin);
375
375
  if (marketCoin) {
376
- txBlock.mergeCoins(marketCoin, newMarketCoin);
376
+ txBlock.mergeCoins(marketCoin, [newMarketCoin]);
377
377
  } else {
378
378
  marketCoin = newMarketCoin;
379
379
  }