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

crosslightning-sdk-base

Package Overview
Dependencies
Maintainers
0
Versions
318
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crosslightning-sdk-base - npm Package Compare versions

Comparing version 9.2.0-beta22 to 9.2.0-beta23

2

dist/swaps/tobtc/ln/ToBTCLNSwap.js

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

_setPaymentResult(result, check = false) {
if (result == null)
return Promise.resolve(false);
if (result.secret == null)

@@ -48,0 +50,0 @@ throw new IntermediaryError_1.IntermediaryError("No payment secret returned!");

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

return __awaiter(this, arguments, void 0, function* (result, check = false) {
if (result == null)
return false;
if (result.txId == null)

@@ -45,0 +47,0 @@ throw new IntermediaryError_1.IntermediaryError("No btc txId returned!");

2

package.json
{
"name": "crosslightning-sdk-base",
"version": "9.2.0-beta22",
"version": "9.2.0-beta23",
"description": "CrossLightning SDK chain-agnostic base",

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

@@ -66,2 +66,3 @@ import {decode as bolt11Decode} from "bolt11";

_setPaymentResult(result: { secret?: string; txId?: string }, check: boolean = false): Promise<boolean> {
if(result==null) return Promise.resolve(false);
if(result.secret==null) throw new IntermediaryError("No payment secret returned!");

@@ -68,0 +69,0 @@ if(check) {

@@ -57,2 +57,3 @@ import {ToBTCWrapper} from "./ToBTCWrapper";

async _setPaymentResult(result: { secret?: string; txId?: string }, check: boolean = false): Promise<boolean> {
if(result==null) return false;
if(result.txId==null) throw new IntermediaryError("No btc txId returned!");

@@ -59,0 +60,0 @@ if(check) {

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