@orca-so/whirlpool-sdk
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -68,7 +68,7 @@ "use strict"; | ||
const tokenDecimalsA = (_a = (yield dal.getMintInfo(pool.tokenMintA, false))) === null || _a === void 0 ? void 0 : _a.decimals; | ||
if (!tokenDecimalsA) { | ||
if (tokenDecimalsA === undefined) { | ||
throw new Error(`Token mint not found: ${pool.tokenMintA.toBase58()}`); | ||
} | ||
const tokenDecimalsB = (_b = (yield dal.getMintInfo(pool.tokenMintB, false))) === null || _b === void 0 ? void 0 : _b.decimals; | ||
if (!tokenDecimalsB) { | ||
if (tokenDecimalsB === undefined) { | ||
throw new Error(`Token mint not found: ${pool.tokenMintB.toBase58()}`); | ||
@@ -75,0 +75,0 @@ } |
{ | ||
"name": "@orca-so/whirlpool-sdk", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Whirlpool SDK for the Orca protocol.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
254650
0