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 10.0.5-beta41 to 10.0.5-beta42

2

dist/swaps/frombtc/onchain/FromBTCSwap.js

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

isClaimable() {
return this.state === FromBTCSwapState.BTC_TX_CONFIRMED || (this.state === FromBTCSwapState.CLAIM_COMMITED && !this.wrapper.contract.isExpired(this.getInitiator(), this.data) && this.getTimeoutTime() > Date.now());
return this.state === FromBTCSwapState.BTC_TX_CONFIRMED;
}

@@ -122,0 +122,0 @@ isSuccessful() {

{
"name": "crosslightning-sdk-base",
"version": "10.0.5-beta41",
"version": "10.0.5-beta42",
"description": "CrossLightning SDK chain-agnostic base",

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

@@ -132,3 +132,3 @@ import {IFromBTCSwap} from "../IFromBTCSwap";

isClaimable(): boolean {
return this.state===FromBTCSwapState.BTC_TX_CONFIRMED || (this.state===FromBTCSwapState.CLAIM_COMMITED && !this.wrapper.contract.isExpired(this.getInitiator(), this.data) && this.getTimeoutTime()>Date.now());
return this.state===FromBTCSwapState.BTC_TX_CONFIRMED;
}

@@ -135,0 +135,0 @@

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