@connext/apps
Advanced tools
Comparing version 6.0.0-alpha.8 to 6.0.0-alpha.9
@@ -268,3 +268,3 @@ this.window = this.window || {}; | ||
class WithdrawCommitment extends cfCore.MultisigCommitment { | ||
constructor(networkContext, multisigAddress, multisigOwners, recipient, assetId, amount) { | ||
constructor(networkContext, multisigAddress, multisigOwners, recipient, assetId, amount, nonce) { | ||
super(multisigAddress, multisigOwners); | ||
@@ -277,2 +277,3 @@ this.networkContext = networkContext; | ||
this.amount = amount; | ||
this.nonce = nonce; | ||
} | ||
@@ -287,2 +288,3 @@ getTransactionDetails() { | ||
this.amount, | ||
this.nonce, | ||
]), | ||
@@ -289,0 +291,0 @@ operation: types.MultisigOperation.DelegateCall, |
@@ -272,3 +272,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'; | ||
class WithdrawCommitment extends MultisigCommitment { | ||
constructor(networkContext, multisigAddress, multisigOwners, recipient, assetId, amount) { | ||
constructor(networkContext, multisigAddress, multisigOwners, recipient, assetId, amount, nonce) { | ||
super(multisigAddress, multisigOwners); | ||
@@ -281,2 +281,3 @@ this.networkContext = networkContext; | ||
this.amount = amount; | ||
this.nonce = nonce; | ||
} | ||
@@ -291,2 +292,3 @@ getTransactionDetails() { | ||
this.amount, | ||
this.nonce, | ||
]), | ||
@@ -293,0 +295,0 @@ operation: MultisigOperation.DelegateCall, |
@@ -276,3 +276,3 @@ 'use strict'; | ||
class WithdrawCommitment extends cfCore.MultisigCommitment { | ||
constructor(networkContext, multisigAddress, multisigOwners, recipient, assetId, amount) { | ||
constructor(networkContext, multisigAddress, multisigOwners, recipient, assetId, amount, nonce) { | ||
super(multisigAddress, multisigOwners); | ||
@@ -285,2 +285,3 @@ this.networkContext = networkContext; | ||
this.amount = amount; | ||
this.nonce = nonce; | ||
} | ||
@@ -295,2 +296,3 @@ getTransactionDetails() { | ||
this.amount, | ||
this.nonce, | ||
]), | ||
@@ -297,0 +299,0 @@ operation: types.MultisigOperation.DelegateCall, |
@@ -11,5 +11,6 @@ import { MultisigTransaction, NetworkContext, ContractAddresses } from "@connext/types"; | ||
readonly amount: BigNumberish; | ||
constructor(networkContext: NetworkContext | ContractAddresses, multisigAddress: string, multisigOwners: string[], recipient: string, assetId: string, amount: BigNumberish); | ||
readonly nonce: string; | ||
constructor(networkContext: NetworkContext | ContractAddresses, multisigAddress: string, multisigOwners: string[], recipient: string, assetId: string, amount: BigNumberish, nonce: string); | ||
getTransactionDetails(): MultisigTransaction; | ||
} | ||
//# sourceMappingURL=withdrawCommitment.d.ts.map |
@@ -7,3 +7,3 @@ import { MultisigOperation } from "@connext/types"; | ||
export class WithdrawCommitment extends MultisigCommitment { | ||
constructor(networkContext, multisigAddress, multisigOwners, recipient, assetId, amount) { | ||
constructor(networkContext, multisigAddress, multisigOwners, recipient, assetId, amount, nonce) { | ||
super(multisigAddress, multisigOwners); | ||
@@ -16,2 +16,3 @@ this.networkContext = networkContext; | ||
this.amount = amount; | ||
this.nonce = nonce; | ||
} | ||
@@ -26,2 +27,3 @@ getTransactionDetails() { | ||
this.amount, | ||
this.nonce, | ||
]), | ||
@@ -28,0 +30,0 @@ operation: MultisigOperation.DelegateCall, |
{ | ||
"name": "@connext/apps", | ||
"version": "6.0.0-alpha.8", | ||
"version": "6.0.0-alpha.9", | ||
"description": "Connext Counterfactual Apps", | ||
@@ -21,6 +21,6 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@connext/cf-core": "6.0.0-alpha.7", | ||
"@connext/cf-core": "6.0.0-alpha.8", | ||
"@connext/contracts": "1.0.5", | ||
"@connext/crypto": "6.0.0-alpha.7", | ||
"@connext/types": "6.0.0-alpha.8", | ||
"@connext/crypto": "6.0.0-alpha.8", | ||
"@connext/types": "6.0.0-alpha.9", | ||
"ethers": "4.0.46", | ||
@@ -27,0 +27,0 @@ "rollup": "1.31.1", |
@@ -15,2 +15,3 @@ import { MultisigTransaction, MultisigOperation, NetworkContext, ContractAddresses } from "@connext/types"; | ||
public readonly amount: BigNumberish, | ||
public readonly nonce: string, | ||
) { | ||
@@ -28,2 +29,3 @@ super(multisigAddress, multisigOwners); | ||
this.amount, | ||
this.nonce, | ||
]), | ||
@@ -30,0 +32,0 @@ operation: MultisigOperation.DelegateCall, |
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
536583
2296