@mysten/zksend
Advanced tools
Comparing version 0.12.0 to 0.12.1
# @mysten/zksend | ||
## 0.12.1 | ||
### Patch Changes | ||
- 1765780: fix zksend link network detection | ||
## 0.12.0 | ||
@@ -4,0 +10,0 @@ |
@@ -91,2 +91,4 @@ "use strict"; | ||
const isContractLink = parsed.hash.startsWith("#$"); | ||
const parsedNetwork = parsed.searchParams.get("network") === "testnet" ? "testnet" : "mainnet"; | ||
const network = options.network ?? parsedNetwork; | ||
let link; | ||
@@ -98,3 +100,3 @@ if (isContractLink) { | ||
keypair, | ||
network: options.network ?? parsed.searchParams.get("network") === "testnet" ? "testnet" : "mainnet", | ||
network, | ||
host: `${parsed.protocol}//${parsed.host}`, | ||
@@ -111,3 +113,3 @@ path: parsed.pathname, | ||
keypair, | ||
network: options.network ?? parsed.searchParams.get("network") === "testnet" ? "testnet" : "mainnet", | ||
network, | ||
host: `${parsed.protocol}//${parsed.host}`, | ||
@@ -114,0 +116,0 @@ path: parsed.pathname, |
@@ -76,2 +76,4 @@ var __typeError = (msg) => { | ||
const isContractLink = parsed.hash.startsWith("#$"); | ||
const parsedNetwork = parsed.searchParams.get("network") === "testnet" ? "testnet" : "mainnet"; | ||
const network = options.network ?? parsedNetwork; | ||
let link; | ||
@@ -83,3 +85,3 @@ if (isContractLink) { | ||
keypair, | ||
network: options.network ?? parsed.searchParams.get("network") === "testnet" ? "testnet" : "mainnet", | ||
network, | ||
host: `${parsed.protocol}//${parsed.host}`, | ||
@@ -96,3 +98,3 @@ path: parsed.pathname, | ||
keypair, | ||
network: options.network ?? parsed.searchParams.get("network") === "testnet" ? "testnet" : "mainnet", | ||
network, | ||
host: `${parsed.protocol}//${parsed.host}`, | ||
@@ -99,0 +101,0 @@ path: parsed.pathname, |
{ | ||
"name": "@mysten/zksend", | ||
"version": "0.12.0", | ||
"version": "0.12.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
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
4815
580859