Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mysten/zksend

Package Overview
Dependencies
Maintainers
4
Versions
230
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mysten/zksend - npm Package Compare versions

Comparing version 0.0.0-experimental-20240112214736 to 0.0.0-experimental-20240113002234

7

CHANGELOG.md
# @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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc