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

crosslightning-solana

Package Overview
Dependencies
Maintainers
1
Versions
217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crosslightning-solana - npm Package Compare versions

Comparing version 5.1.3 to 5.1.4

1

dist/solana/swaps/SolanaSwapProgram.d.ts

@@ -159,2 +159,3 @@ /// <reference types="node" />

static getFeePerCU(feeRate: string): string;
static getStaticFee(feeRate: string): string;
getInitPayInFeeRate(offerer: string, claimer: string, token: PublicKey, paymentHash?: string): Promise<string>;

@@ -161,0 +162,0 @@ getInitFeeRate(offerer: string, claimer: string, token: PublicKey, paymentHash?: string): Promise<string>;

2

dist/utils/SolanaFeeEstimator.js

@@ -165,3 +165,3 @@ "use strict";

e.toString(10) :
(this.bribeData.getBribeFee != null ? this.bribeData.getBribeFee(e) : e).toString(10) + ";" + this.bribeData.address);
(this.bribeData.getBribeFee != null ? this.bribeData.getBribeFee(e) : e).toString(10) + (this.bribeData.getStaticFee == null ? "" : ";" + this.bribeData.getStaticFee(e).toString(10)) + ";" + this.bribeData.address);
}

@@ -168,0 +168,0 @@ submitTx(tx, options) {

{
"name": "crosslightning-solana",
"version": "5.1.3",
"version": "5.1.4",
"description": "Solana specific base implementation",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -14,3 +14,8 @@ import * as BN from "bn.js";

private heliusApiSupported: boolean = true;
private readonly bribeData?: {address: string, endpoint: string, getBribeFee?: (original: BN) => BN};
private readonly bribeData?: {
address: string,
endpoint: string,
getBribeFee?: (original: BN) => BN,
getStaticFee?: (feeRate: BN) => BN
};

@@ -199,3 +204,3 @@ private blockFeeCache: {

e.toString(10) :
(this.bribeData.getBribeFee!=null ? this.bribeData.getBribeFee(e) : e).toString(10)+";"+this.bribeData.address
(this.bribeData.getBribeFee!=null ? this.bribeData.getBribeFee(e) : e).toString(10)+(this.bribeData.getStaticFee==null ? "" : ";"+this.bribeData.getStaticFee(e).toString(10))+";"+this.bribeData.address
);

@@ -202,0 +207,0 @@ }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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