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

@connext/apps

Package Overview
Dependencies
Maintainers
4
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@connext/apps - npm Package Compare versions

Comparing version 6.2.2 to 6.3.0

4

dist/index-iife.js

@@ -153,4 +153,4 @@ this.window = this.window || {};

})[0];
if (initialState.timelock.lt(blockNumber)) {
throw new Error(`Cannot install an app with an expired timelock. Timelock in state: ${initialState.timelock}. Current block: ${blockNumber}`);
if (initialState.expiry.lt(blockNumber)) {
throw new Error(`Cannot install an app with an expired expiry. Expiry in state: ${initialState.expiry}. Current block: ${blockNumber}`);
}

@@ -157,0 +157,0 @@ unidirectionalCoinTransferValidation(initiatorDeposit, responderDeposit, initiatorTransfer, responderTransfer);

@@ -156,4 +156,4 @@ import { enumify, SimpleLinkedTransferAppName, SimpleSignedTransferAppName, SimpleTwoPartySwapAppName, WithdrawAppName, HashLockTransferAppName, DepositAppName, OutcomeType, DepositAppStateEncoding, CONVENTION_FOR_ETH_ASSET_ID, ProtocolRoles, HashLockTransferAppActionEncoding, HashLockTransferAppStateEncoding, SimpleLinkedTransferAppActionEncoding, SimpleLinkedTransferAppStateEncoding, SimpleSignedTransferAppStateEncoding, SimpleSignedTransferAppActionEncoding, SimpleSwapAppStateEncoding, WithdrawAppStateEncoding, WithdrawAppActionEncoding, MultisigOperation, ProtocolNames } from '@connext/types';

})[0];
if (initialState.timelock.lt(blockNumber)) {
throw new Error(`Cannot install an app with an expired timelock. Timelock in state: ${initialState.timelock}. Current block: ${blockNumber}`);
if (initialState.expiry.lt(blockNumber)) {
throw new Error(`Cannot install an app with an expired expiry. Expiry in state: ${initialState.expiry}. Current block: ${blockNumber}`);
}

@@ -160,0 +160,0 @@ unidirectionalCoinTransferValidation(initiatorDeposit, responderDeposit, initiatorTransfer, responderTransfer);

@@ -160,4 +160,4 @@ 'use strict';

})[0];
if (initialState.timelock.lt(blockNumber)) {
throw new Error(`Cannot install an app with an expired timelock. Timelock in state: ${initialState.timelock}. Current block: ${blockNumber}`);
if (initialState.expiry.lt(blockNumber)) {
throw new Error(`Cannot install an app with an expired expiry. Expiry in state: ${initialState.expiry}. Current block: ${blockNumber}`);
}

@@ -164,0 +164,0 @@ unidirectionalCoinTransferValidation(initiatorDeposit, responderDeposit, initiatorTransfer, responderTransfer);

@@ -14,4 +14,4 @@ import { getSignerAddressFromPublicIdentifier } from "@connext/utils";

})[0];
if (initialState.timelock.lt(blockNumber)) {
throw new Error(`Cannot install an app with an expired timelock. Timelock in state: ${initialState.timelock}. Current block: ${blockNumber}`);
if (initialState.expiry.lt(blockNumber)) {
throw new Error(`Cannot install an app with an expired expiry. Expiry in state: ${initialState.expiry}. Current block: ${blockNumber}`);
}

@@ -18,0 +18,0 @@ unidirectionalCoinTransferValidation(initiatorDeposit, responderDeposit, initiatorTransfer, responderTransfer);

{
"name": "@connext/apps",
"version": "6.2.2",
"version": "6.3.0",
"description": "Connext Counterfactual Apps",

@@ -22,4 +22,4 @@ "main": "dist/index.js",

"@connext/contracts": "2.0.5",
"@connext/utils": "6.2.2",
"@connext/types": "6.2.2",
"@connext/utils": "6.3.0",
"@connext/types": "6.3.0",
"ethers": "4.0.47",

@@ -26,0 +26,0 @@ "rollup": "2.7.2",

@@ -25,5 +25,5 @@ import { MethodParams, CoinTransfer, HashLockTransferAppState } from "@connext/types";

if (initialState.timelock.lt(blockNumber)) {
if (initialState.expiry.lt(blockNumber)) {
throw new Error(
`Cannot install an app with an expired timelock. Timelock in state: ${initialState.timelock}. Current block: ${blockNumber}`,
`Cannot install an app with an expired expiry. Expiry in state: ${initialState.expiry}. Current block: ${blockNumber}`,
);

@@ -30,0 +30,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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