@connext/apps
Advanced tools
Comparing version 6.2.0 to 6.2.1
this.window = this.window || {}; | ||
this.window.apps = (function (exports, types, utils, constants, contracts, ethers, utils$1, cfCore) { | ||
this.window.apps = (function (exports, types, utils, constants, contracts, ethers, utils$1) { | ||
'use strict'; | ||
@@ -272,3 +272,3 @@ | ||
const iface = new utils$1.Interface(contracts.ConditionalTransactionDelegateTarget.abi); | ||
class WithdrawCommitment extends cfCore.MultisigCommitment { | ||
class WithdrawCommitment extends contracts.MultisigCommitment { | ||
constructor(networkContext, multisigAddress, multisigOwners, recipient, assetId, amount, nonce) { | ||
@@ -374,2 +374,2 @@ super(multisigAddress, multisigOwners); | ||
}({}, types, utils, constants, contracts, ethers, utils$1, cfCore)); | ||
}({}, types, utils, constants, contracts, ethers, utils$1)); |
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'; | ||
import { toBN, getAddressFromAssetId, stringify, getSignerAddressFromPublicIdentifier, calculateExchange, bigNumberifyJson, recoverAddressFromChannelMessage } from '@connext/utils'; | ||
import { Zero, HashZero } from 'ethers/constants'; | ||
import { ERC20, MinimumViableMultisig, ConditionalTransactionDelegateTarget } from '@connext/contracts'; | ||
import { ERC20, MinimumViableMultisig, ConditionalTransactionDelegateTarget, MultisigCommitment } from '@connext/contracts'; | ||
import { Contract } from 'ethers'; | ||
import { bigNumberify, Interface } from 'ethers/utils'; | ||
import { MultisigCommitment } from '@connext/cf-core'; | ||
@@ -9,0 +8,0 @@ const SupportedApplications = enumify({ |
@@ -11,3 +11,2 @@ 'use strict'; | ||
var utils$1 = require('ethers/utils'); | ||
var cfCore = require('@connext/cf-core'); | ||
@@ -281,3 +280,3 @@ const SupportedApplications = types.enumify({ | ||
const iface = new utils$1.Interface(contracts.ConditionalTransactionDelegateTarget.abi); | ||
class WithdrawCommitment extends cfCore.MultisigCommitment { | ||
class WithdrawCommitment extends contracts.MultisigCommitment { | ||
constructor(networkContext, multisigAddress, multisigOwners, recipient, assetId, amount, nonce) { | ||
@@ -284,0 +283,0 @@ super(multisigAddress, multisigOwners); |
@@ -1,2 +0,2 @@ | ||
import { MultisigCommitment } from "@connext/cf-core"; | ||
import { MultisigCommitment } from "@connext/contracts"; | ||
import { MultisigTransaction, NetworkContext, ContractAddresses } from "@connext/types"; | ||
@@ -3,0 +3,0 @@ import { BigNumberish } from "ethers/utils"; |
@@ -1,3 +0,2 @@ | ||
import { MultisigCommitment } from "@connext/cf-core"; | ||
import { ConditionalTransactionDelegateTarget } from "@connext/contracts"; | ||
import { MultisigCommitment, ConditionalTransactionDelegateTarget } from "@connext/contracts"; | ||
import { MultisigOperation } from "@connext/types"; | ||
@@ -4,0 +3,0 @@ import { Interface } from "ethers/utils"; |
{ | ||
"name": "@connext/apps", | ||
"version": "6.2.0", | ||
"version": "6.2.1", | ||
"description": "Connext Counterfactual Apps", | ||
@@ -21,6 +21,5 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@connext/cf-core": "6.2.0", | ||
"@connext/contracts": "2.0.2", | ||
"@connext/utils": "6.2.0", | ||
"@connext/types": "6.2.0", | ||
"@connext/contracts": "2.0.3", | ||
"@connext/utils": "6.2.1", | ||
"@connext/types": "6.2.1", | ||
"ethers": "4.0.47", | ||
@@ -27,0 +26,0 @@ "rollup": "2.7.2", |
@@ -1,3 +0,2 @@ | ||
import { MultisigCommitment } from "@connext/cf-core"; | ||
import { ConditionalTransactionDelegateTarget } from "@connext/contracts"; | ||
import { MultisigCommitment, ConditionalTransactionDelegateTarget } from "@connext/contracts"; | ||
import { MultisigTransaction, MultisigOperation, NetworkContext, ContractAddresses } from "@connext/types"; | ||
@@ -4,0 +3,0 @@ import { BigNumberish, Interface } from "ethers/utils"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
8
548633
2327