@mysten/zksend
Advanced tools
Comparing version 0.0.0-experimental-20240208033317 to 0.0.0-experimental-20240208041924
# @mysten/zksend | ||
## 0.0.0-experimental-20240208033317 | ||
## 0.0.0-experimental-20240208041924 | ||
### Patch Changes | ||
- f069e3a13d: fix listing assets for empty links | ||
## 0.2.0 | ||
### Minor Changes | ||
@@ -37,4 +43,4 @@ | ||
- Updated dependencies [220a766d86] | ||
- @mysten/sui.js@0.0.0-experimental-20240208033317 | ||
- @mysten/wallet-standard@0.0.0-experimental-20240208033317 | ||
- @mysten/sui.js@0.50.0 | ||
- @mysten/wallet-standard@0.10.2 | ||
@@ -41,0 +47,0 @@ ## 0.1.1 |
@@ -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.0.0-experimental-20240208033317", | ||
"version": "0.0.0-experimental-20240208041924", | ||
"description": "TODO: Write Description", | ||
@@ -40,4 +40,4 @@ "license": "Apache-2.0", | ||
"valibot": "^0.25.0", | ||
"@mysten/sui.js": "0.0.0-experimental-20240208033317", | ||
"@mysten/wallet-standard": "0.0.0-experimental-20240208033317" | ||
"@mysten/sui.js": "0.50.0", | ||
"@mysten/wallet-standard": "0.10.2" | ||
}, | ||
@@ -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
301880
2603
+ Added@mysten/bcs@0.11.0(transitive)
+ Added@mysten/sui.js@0.50.0(transitive)
+ Added@mysten/wallet-standard@0.10.2(transitive)
- Removed@mysten/bcs@0.0.0-experimental-20240208033317(transitive)
- Removed@mysten/sui.js@0.0.0-experimental-20240208033317(transitive)
- Removed@mysten/wallet-standard@0.0.0-experimental-20240208033317(transitive)
Updated@mysten/sui.js@0.50.0