New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mysten/zksend

Package Overview
Dependencies
Maintainers
7
Versions
249
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-20240903232141 to 0.0.0-experimental-20240905123817

12

CHANGELOG.md
# @mysten/zksend
## 0.0.0-experimental-20240903232141
## 0.0.0-experimental-20240905123817
### Patch Changes
- 22844ae: Add network param to zksend links
## 0.11.0
### Minor Changes

@@ -12,4 +18,4 @@

- Updated dependencies [569511a]
- @mysten/sui@0.0.0-experimental-20240903232141
- @mysten/wallet-standard@0.0.0-experimental-20240903232141
- @mysten/sui@1.8.0
- @mysten/wallet-standard@0.13.3

@@ -16,0 +22,0 @@ ## 0.10.6

@@ -37,2 +37,3 @@ import { SuiClient } from '@mysten/sui/client';

sender: string;
network: 'mainnet' | 'testnet';
keypair: Keypair;

@@ -39,0 +40,0 @@ constructor({ host, path, keypair, network, client, sender, redirect, contract, }: ZkSendLinkBuilderOptions);

@@ -72,2 +72,3 @@ "use strict";

this.sender = (0, import_utils.normalizeSuiAddress)(sender);
this.network = network;
if (contract) {

@@ -96,2 +97,5 @@ __privateSet(this, _contract, new import_zk_bag.ZkBag(contract.packageId, contract));

)}`;
if (this.network !== "mainnet") {
link.searchParams.set("network", this.network);
}
if (__privateGet(this, _redirect)) {

@@ -98,0 +102,0 @@ link.searchParams.set("redirect_url", __privateGet(this, _redirect).url);

@@ -97,2 +97,3 @@ "use strict";

keypair,
network: parsed.searchParams.get("network") === "testnet" ? "testnet" : "mainnet",
host: `${parsed.protocol}//${parsed.host}`,

@@ -109,2 +110,3 @@ path: parsed.pathname,

keypair,
network: parsed.searchParams.get("network") === "testnet" ? "testnet" : "mainnet",
host: `${parsed.protocol}//${parsed.host}`,

@@ -111,0 +113,0 @@ path: parsed.pathname,

@@ -37,2 +37,3 @@ import { SuiClient } from '@mysten/sui/client';

sender: string;
network: 'mainnet' | 'testnet';
keypair: Keypair;

@@ -39,0 +40,0 @@ constructor({ host, path, keypair, network, client, sender, redirect, contract, }: ZkSendLinkBuilderOptions);

@@ -49,2 +49,3 @@ var __typeError = (msg) => {

this.sender = normalizeSuiAddress(sender);
this.network = network;
if (contract) {

@@ -73,2 +74,5 @@ __privateSet(this, _contract, new ZkBag(contract.packageId, contract));

)}`;
if (this.network !== "mainnet") {
link.searchParams.set("network", this.network);
}
if (__privateGet(this, _redirect)) {

@@ -75,0 +79,0 @@ link.searchParams.set("redirect_url", __privateGet(this, _redirect).url);

@@ -82,2 +82,3 @@ var __typeError = (msg) => {

keypair,
network: parsed.searchParams.get("network") === "testnet" ? "testnet" : "mainnet",
host: `${parsed.protocol}//${parsed.host}`,

@@ -94,2 +95,3 @@ path: parsed.pathname,

keypair,
network: parsed.searchParams.get("network") === "testnet" ? "testnet" : "mainnet",
host: `${parsed.protocol}//${parsed.host}`,

@@ -96,0 +98,0 @@ path: parsed.pathname,

{
"name": "@mysten/zksend",
"version": "0.0.0-experimental-20240903232141",
"version": "0.0.0-experimental-20240905123817",
"description": "TODO: Write Description",

@@ -40,4 +40,4 @@ "license": "Apache-2.0",

"valibot": "^0.36.0",
"@mysten/sui": "0.0.0-experimental-20240903232141",
"@mysten/wallet-standard": "0.0.0-experimental-20240903232141"
"@mysten/sui": "1.8.0",
"@mysten/wallet-standard": "0.13.3"
},

@@ -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

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