aftermath-ts-sdk 1.0.2-staking.10 → 1.0.2-staking.11

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.
@@ -219,7 +219,7 @@ CoinApi.coinWithAmountTx = (inputs) => {
219
219
  transactionsApiHelpers_1.TransactionsApiHelpers.splitCoinsTx({
220
220
  tx,
221
221
  coinId: mergedCoinObjectId,
222
- amounts: [coinAmount],
222
+ amounts: [totalCoinBalance - coinAmount],
223
223
  coinType,
224
224
  });
225
225
  return tx.object(mergedCoinObjectId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aftermath-ts-sdk",
3
- "version": "1.0.2-staking.10",
3
+ "version": "1.0.2-staking.11",
4
4
  "description": "Aftermath TypeScript SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",