Socket
Socket
Sign inDemoInstall

connext

Package Overview
Dependencies
Maintainers
4
Versions
160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connext - npm Package Compare versions

Comparing version 4.1.2 to 4.1.3

types/contract/ChannelManagerAbi.d.ts

5

dist/controllers/StateUpdateController.js

@@ -417,7 +417,8 @@ "use strict";

const update = item.update;
this.log.info(`Applying update from hub: ${update.reason} txCount=${update.txCount}: ${update}`);
this.log.info(`Applying update from hub: ${update.reason} txCount=${update.txCount}: ` +
`${JSON.stringify(update, undefined, 2)}`);
const connextState = this.getState();
const prevState = connextState.persistent.channel;
const latestPending = connextState.persistent.latestPending;
this.log.info(`prevState: ${prevState}`);
this.log.debug(`prevState: ${JSON.stringify(prevState, undefined, 2)}`);
if (update.txCount && update.txCount <= prevState.txCountGlobal) {

@@ -424,0 +425,0 @@ this.log.warn(`StateUpdateController received update with old ` +

6

dist/Wallet.js

@@ -156,8 +156,8 @@ "use strict";

return __awaiter(this, void 0, void 0, function* () {
if (this.external) {
return this.signAndSendTransactionExternally(txReq);
}
if (this.signer) {
return this.signer.sendTransaction(txReq);
}
if (this.external) {
return this.signAndSendTransactionExternally(txReq);
}
const signedTx = yield this.signTransaction(txReq);

@@ -164,0 +164,0 @@ return this.provider.sendTransaction(signedTx);

{
"name": "connext",
"description": "Shared code between wallet and hub",
"version": "4.1.2",
"version": "4.1.3",
"main": "dist/index.js",

@@ -6,0 +6,0 @@ "types": "types/index.d.ts",

@@ -269,3 +269,4 @@ import { Unsubscribe } from 'redux'

const update = item.update
this.log.info(`Applying update from hub: ${update.reason} txCount=${update.txCount}: ${update}`)
this.log.info(`Applying update from hub: ${update.reason} txCount=${update.txCount}: `+
`${JSON.stringify(update, undefined, 2)}`)

@@ -276,3 +277,3 @@ const connextState = this.getState()

this.log.info(`prevState: ${prevState}`)
this.log.debug(`prevState: ${JSON.stringify(prevState, undefined, 2)}`)

@@ -279,0 +280,0 @@ if (update.txCount && update.txCount <= prevState.txCountGlobal) {

@@ -158,8 +158,8 @@ import * as eth from 'ethers'

public async sendTransaction(txReq: TransactionRequest): Promise<TransactionResponse> {
if (this.external){
return this.signAndSendTransactionExternally(txReq)
}
if (this.signer){
return this.signer.sendTransaction(txReq)
}
if (this.external){
return this.signAndSendTransactionExternally(txReq)
}
const signedTx: string = await this.signTransaction(txReq)

@@ -166,0 +166,0 @@ return this.provider.sendTransaction(signedTx)

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