Huge News!Announcing our $40M Series B led by Abstract Ventures.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.0.0-alpha.9 to 6.0.0-alpha.10

2

dist/index-iife.js

@@ -259,3 +259,3 @@ this.window = this.window || {};

}
let recovered = await crypto.recoverAddress(initialState.data, initialState.signatures[0]);
let recovered = await crypto.verifyChannelMessage(initialState.data, initialState.signatures[0]);
if (recovered !== initialState.signers[0]) {

@@ -262,0 +262,0 @@ throw new Error(`Cannot install withdraw app - incorrect signer recovered from initiator sig on data.

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

import { bigNumberify, Interface } from 'ethers/utils';
import { recoverAddress } from '@connext/crypto';
import { verifyChannelMessage } from '@connext/crypto';

@@ -264,3 +264,3 @@ const DepositAppRegistryInfo = {

}
let recovered = await recoverAddress(initialState.data, initialState.signatures[0]);
let recovered = await verifyChannelMessage(initialState.data, initialState.signatures[0]);
if (recovered !== initialState.signers[0]) {

@@ -267,0 +267,0 @@ throw new Error(`Cannot install withdraw app - incorrect signer recovered from initiator sig on data.

@@ -267,3 +267,3 @@ 'use strict';

}
let recovered = await crypto.recoverAddress(initialState.data, initialState.signatures[0]);
let recovered = await crypto.verifyChannelMessage(initialState.data, initialState.signatures[0]);
if (recovered !== initialState.signers[0]) {

@@ -270,0 +270,0 @@ throw new Error(`Cannot install withdraw app - incorrect signer recovered from initiator sig on data.

import { xkeyKthAddress } from "@connext/cf-core";
import { recoverAddress } from "@connext/crypto";
import { verifyChannelMessage } from "@connext/crypto";
import { bigNumberifyJson } from "@connext/types";

@@ -27,3 +27,3 @@ import { HashZero, Zero } from "ethers/constants";

}
let recovered = await recoverAddress(initialState.data, initialState.signatures[0]);
let recovered = await verifyChannelMessage(initialState.data, initialState.signatures[0]);
if (recovered !== initialState.signers[0]) {

@@ -30,0 +30,0 @@ throw new Error(`Cannot install withdraw app - incorrect signer recovered from initiator sig on data.

{
"name": "@connext/apps",
"version": "6.0.0-alpha.9",
"version": "6.0.0-alpha.10",
"description": "Connext Counterfactual Apps",

@@ -21,6 +21,6 @@ "main": "dist/index.js",

"devDependencies": {
"@connext/cf-core": "6.0.0-alpha.8",
"@connext/contracts": "1.0.5",
"@connext/crypto": "6.0.0-alpha.8",
"@connext/types": "6.0.0-alpha.9",
"@connext/cf-core": "6.0.0-alpha.9",
"@connext/contracts": "2.0.2",
"@connext/crypto": "6.0.0-alpha.9",
"@connext/types": "6.0.0-alpha.10",
"ethers": "4.0.46",

@@ -27,0 +27,0 @@ "rollup": "1.31.1",

import { xkeyKthAddress } from "@connext/cf-core";
import { recoverAddress } from "@connext/crypto";
import { verifyChannelMessage } from "@connext/crypto";
import { bigNumberifyJson, MethodParams, WithdrawAppState } from "@connext/types";

@@ -54,3 +54,3 @@ import { HashZero, Zero } from "ethers/constants";

let recovered = await recoverAddress(initialState.data, initialState.signatures[0]);
let recovered = await verifyChannelMessage(initialState.data, initialState.signatures[0]);

@@ -57,0 +57,0 @@ if (recovered !== initialState.signers[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