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
245
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.2.0 to 0.2.1

6

CHANGELOG.md
# @mysten/zksend
## 0.2.1
### Patch Changes
- f069e3a13d: fix listing assets for empty links
## 0.2.0

@@ -4,0 +10,0 @@

7

dist/cjs/links.js

@@ -52,3 +52,3 @@ "use strict";

var import_utils = require("@mysten/sui.js/utils");
var _host, _path, _keypair, _client, _redirect, _objects, _balances, _sender, _coinsByType, _estimateClaimGasFee, estimateClaimGasFee_fn, _getCoinsByType, getCoinsByType_fn, _client2, _keypair2, _initiallyOwnedObjects, _ownedObjects, _gasCoin, _creatorAddress, _loadOwnedObjects, loadOwnedObjects_fn, _loadInitialTransactionData, loadInitialTransactionData_fn;
var _host, _path, _keypair, _client, _redirect, _objects, _balances, _sender, _coinsByType, _estimateClaimGasFee, estimateClaimGasFee_fn, _getCoinsByType, getCoinsByType_fn, _client2, _keypair2, _initiallyOwnedObjects, _ownedObjects, _gasCoin, _hasSui, _creatorAddress, _loadOwnedObjects, loadOwnedObjects_fn, _loadInitialTransactionData, loadInitialTransactionData_fn;
const DEFAULT_ZK_SEND_LINK_OPTIONS = {

@@ -211,2 +211,3 @@ host: "https://zksend.com",

__privateAdd(this, _gasCoin, void 0);
__privateAdd(this, _hasSui, false);
__privateAdd(this, _creatorAddress, void 0);

@@ -232,3 +233,3 @@ __privateSet(this, _client2, client);

const txb = this.createClaimTransaction(normalizedAddress, options);
if (__privateGet(this, _gasCoin)) {
if (__privateGet(this, _gasCoin) || !__privateGet(this, _hasSui)) {
txb.setGasPayment([]);

@@ -308,2 +309,3 @@ }

_gasCoin = new WeakMap();
_hasSui = new WeakMap();
_creatorAddress = new WeakMap();

@@ -339,2 +341,3 @@ _loadOwnedObjects = new WeakSet();

});
__privateSet(this, _hasSui, coins.data.length > 0);
__privateSet(this, _gasCoin, coins.data.find((coin) => BigInt(coin.balance) % 1000n === 987n));

@@ -341,0 +344,0 @@ };

@@ -23,3 +23,3 @@ var __accessCheck = (obj, member, msg) => {

};
var _host, _path, _keypair, _client, _redirect, _objects, _balances, _sender, _coinsByType, _estimateClaimGasFee, estimateClaimGasFee_fn, _getCoinsByType, getCoinsByType_fn, _client2, _keypair2, _initiallyOwnedObjects, _ownedObjects, _gasCoin, _creatorAddress, _loadOwnedObjects, loadOwnedObjects_fn, _loadInitialTransactionData, loadInitialTransactionData_fn;
var _host, _path, _keypair, _client, _redirect, _objects, _balances, _sender, _coinsByType, _estimateClaimGasFee, estimateClaimGasFee_fn, _getCoinsByType, getCoinsByType_fn, _client2, _keypair2, _initiallyOwnedObjects, _ownedObjects, _gasCoin, _hasSui, _creatorAddress, _loadOwnedObjects, loadOwnedObjects_fn, _loadInitialTransactionData, loadInitialTransactionData_fn;
import { getFullnodeUrl, SuiClient } from "@mysten/sui.js/client";

@@ -195,2 +195,3 @@ import { decodeSuiPrivateKey } from "@mysten/sui.js/cryptography";

__privateAdd(this, _gasCoin, void 0);
__privateAdd(this, _hasSui, false);
__privateAdd(this, _creatorAddress, void 0);

@@ -216,3 +217,3 @@ __privateSet(this, _client2, client);

const txb = this.createClaimTransaction(normalizedAddress, options);
if (__privateGet(this, _gasCoin)) {
if (__privateGet(this, _gasCoin) || !__privateGet(this, _hasSui)) {
txb.setGasPayment([]);

@@ -292,2 +293,3 @@ }

_gasCoin = new WeakMap();
_hasSui = new WeakMap();
_creatorAddress = new WeakMap();

@@ -323,2 +325,3 @@ _loadOwnedObjects = new WeakSet();

});
__privateSet(this, _hasSui, coins.data.length > 0);
__privateSet(this, _gasCoin, coins.data.find((coin) => BigInt(coin.balance) % 1000n === 987n));

@@ -325,0 +328,0 @@ };

{
"name": "@mysten/zksend",
"version": "0.2.0",
"version": "0.2.1",
"description": "TODO: Write Description",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

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