@mysten/zksend
Advanced tools
Comparing version 0.0.0-experimental-20240112214736 to 0.0.0-experimental-20240113002234
# @mysten/zksend | ||
## 0.0.0-experimental-20240112214736 | ||
## 0.0.0-experimental-20240113002234 | ||
@@ -11,2 +11,3 @@ ### Minor Changes | ||
- c07aa19958: Fix coin merging for sending balances | ||
- c859f41a1c: Handle base64 with spaces in hash | ||
@@ -25,4 +26,4 @@ - d21c01ed47: Add method for claiming zksend assets from link | ||
- Updated dependencies [9a14e61db4] | ||
- @mysten/sui.js@0.0.0-experimental-20240112214736 | ||
- @mysten/wallet-standard@0.0.0-experimental-20240112214736 | ||
- @mysten/sui.js@0.0.0-experimental-20240113002234 | ||
- @mysten/wallet-standard@0.0.0-experimental-20240113002234 | ||
@@ -29,0 +30,0 @@ ## 0.1.1 |
@@ -131,4 +131,6 @@ "use strict"; | ||
const coins = (await __privateMethod(this, _getCoinsByType, getCoinsByType_fn).call(this, coinType)).map((coin) => coin.coinObjectId); | ||
const merged = coins.length > 1 ? txb.mergeCoins(coins[0], coins.slice(1)) : txb.object(coins[0]); | ||
const [split] = txb.splitCoins(merged, [amount]); | ||
if (coins.length > 1) { | ||
txb.mergeCoins(coins[0], coins.slice(1)); | ||
} | ||
const [split] = txb.splitCoins(coins[0], [amount]); | ||
objectsToTransfer.push(split); | ||
@@ -135,0 +137,0 @@ } |
@@ -114,4 +114,6 @@ var __accessCheck = (obj, member, msg) => { | ||
const coins = (await __privateMethod(this, _getCoinsByType, getCoinsByType_fn).call(this, coinType)).map((coin) => coin.coinObjectId); | ||
const merged = coins.length > 1 ? txb.mergeCoins(coins[0], coins.slice(1)) : txb.object(coins[0]); | ||
const [split] = txb.splitCoins(merged, [amount]); | ||
if (coins.length > 1) { | ||
txb.mergeCoins(coins[0], coins.slice(1)); | ||
} | ||
const [split] = txb.splitCoins(coins[0], [amount]); | ||
objectsToTransfer.push(split); | ||
@@ -118,0 +120,0 @@ } |
{ | ||
"name": "@mysten/zksend", | ||
"version": "0.0.0-experimental-20240112214736", | ||
"version": "0.0.0-experimental-20240113002234", | ||
"description": "TODO: Write Description", | ||
@@ -40,4 +40,4 @@ "license": "Apache-2.0", | ||
"valibot": "^0.25.0", | ||
"@mysten/sui.js": "0.0.0-experimental-20240112214736", | ||
"@mysten/wallet-standard": "0.0.0-experimental-20240112214736" | ||
"@mysten/sui.js": "0.0.0-experimental-20240113002234", | ||
"@mysten/wallet-standard": "0.0.0-experimental-20240113002234" | ||
}, | ||
@@ -44,0 +44,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2488
294299
+ Added@mysten/sui.js@0.0.0-experimental-20240113002234(transitive)
+ Added@mysten/wallet-standard@0.0.0-experimental-20240113002234(transitive)
- Removed@mysten/sui.js@0.0.0-experimental-20240112214736(transitive)
- Removed@mysten/wallet-standard@0.0.0-experimental-20240112214736(transitive)
Updated@mysten/wallet-standard@0.0.0-experimental-20240113002234