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 3.0.10 to 3.0.11

12

dist/solana/swaps/SolanaSwapProgram.js

@@ -185,2 +185,4 @@ "use strict";

//Check if paid or what
if (!e.message.startsWith("Account does not exist or has no data"))
throw e;
const signatures = yield this.signer.connection.getSignaturesForAddress(escrowStateKey, {

@@ -225,3 +227,4 @@ limit: 500

catch (e) {
console.log(e);
if (!e.message.startsWith("Account does not exist or has no data"))
throw e;
}

@@ -479,5 +482,7 @@ //Check if paid or what

catch (e) {
if (e.message.startsWith("Account does not exist or has no data"))
return false;
console.error(e);
throw e;
}
return false;
});

@@ -515,3 +520,6 @@ }

catch (e) {
if (e.message.startsWith("Account does not exist or has no data"))
return null;
console.error(e);
throw e;
}

@@ -518,0 +526,0 @@ return null;

2

package.json
{
"name": "crosslightning-solana",
"version": "3.0.10",
"version": "3.0.11",
"description": "Solana specific base implementation",

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

@@ -247,2 +247,4 @@ import {SolanaSwapData} from "./SolanaSwapData";

//Check if paid or what
if(!e.message.startsWith("Account does not exist or has no data")) throw e;
const signatures = await this.signer.connection.getSignaturesForAddress(escrowStateKey, {

@@ -285,3 +287,3 @@ limit: 500

} catch (e) {
console.log(e);
if(!e.message.startsWith("Account does not exist or has no data")) throw e;
}

@@ -624,5 +626,6 @@

} catch (e) {
if(e.message.startsWith("Account does not exist or has no data")) return false;
console.error(e);
throw e;
}
return false;
}

@@ -680,3 +683,5 @@

} catch (e) {
if(e.message.startsWith("Account does not exist or has no data")) return null;
console.error(e);
throw e;
}

@@ -683,0 +688,0 @@ return null;

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