Socket
Socket
Sign inDemoInstall

@orca-so/whirlpool-sdk

Package Overview
Dependencies
Maintainers
4
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@orca-so/whirlpool-sdk - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

4

dist/utils/token-price.js

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

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