@connext/apps
Advanced tools
Comparing version 7.1.2 to 7.2.0
@@ -202,2 +202,3 @@ this.window = this.window || {}; | ||
}; | ||
const OnlineLinkedTransferAppRegistryInfo = Object.assign(Object.assign({}, SimpleLinkedTransferAppRegistryInfo), { name: types.OnlineLinkedTransferAppName }); | ||
const LINKED_TRANSFER_STATE_TIMEOUT = Zero$3; | ||
@@ -412,2 +413,3 @@ | ||
SimpleLinkedTransferAppRegistryInfo, | ||
OnlineLinkedTransferAppRegistryInfo, | ||
SimpleSignedTransferAppRegistryInfo, | ||
@@ -546,2 +548,3 @@ GraphSignedTransferAppRegistryInfo, | ||
exports.MINIMUM_APP_TIMEOUT = MINIMUM_APP_TIMEOUT; | ||
exports.OnlineLinkedTransferAppRegistryInfo = OnlineLinkedTransferAppRegistryInfo; | ||
exports.SIGNED_TRANSFER_STATE_TIMEOUT = SIGNED_TRANSFER_STATE_TIMEOUT; | ||
@@ -548,0 +551,0 @@ exports.SWAP_STATE_TIMEOUT = SWAP_STATE_TIMEOUT; |
import { constants, Contract, utils, BigNumber } from 'ethers'; | ||
import { DepositAppName, OutcomeType, DepositAppStateEncoding, CONVENTION_FOR_ETH_ASSET_ID, Contract as Contract$1, ProtocolRoles, HashLockTransferAppName, HashLockTransferAppActionEncoding, HashLockTransferAppStateEncoding, SimpleLinkedTransferAppActionEncoding, SimpleLinkedTransferAppName, SimpleLinkedTransferAppStateEncoding, SimpleSignedTransferAppName, SimpleSignedTransferAppStateEncoding, SimpleSignedTransferAppActionEncoding, WithdrawAppName, WithdrawAppStateEncoding, WithdrawAppActionEncoding, singleAssetSinglePartyCoinTransferEncoding, singleAssetTwoPartyCoinTransferInterpreterParamsEncoding, MultisigOperation, SimpleTwoPartySwapAppName, SimpleSwapAppStateEncoding, GraphBatchedTransferAppName, GraphBatchedTransferAppStateEncoding, GraphBatchedTransferAppActionEncoding, GraphSignedTransferAppName, GraphSignedTransferAppStateEncoding, GraphSignedTransferAppActionEncoding, ProtocolNames } from '@connext/types'; | ||
import { DepositAppName, OutcomeType, DepositAppStateEncoding, CONVENTION_FOR_ETH_ASSET_ID, Contract as Contract$1, ProtocolRoles, HashLockTransferAppName, HashLockTransferAppActionEncoding, HashLockTransferAppStateEncoding, SimpleLinkedTransferAppActionEncoding, SimpleLinkedTransferAppName, SimpleLinkedTransferAppStateEncoding, OnlineLinkedTransferAppName, SimpleSignedTransferAppName, SimpleSignedTransferAppStateEncoding, SimpleSignedTransferAppActionEncoding, WithdrawAppName, WithdrawAppStateEncoding, WithdrawAppActionEncoding, singleAssetSinglePartyCoinTransferEncoding, singleAssetTwoPartyCoinTransferInterpreterParamsEncoding, MultisigOperation, SimpleTwoPartySwapAppName, SimpleSwapAppStateEncoding, GraphBatchedTransferAppName, GraphBatchedTransferAppStateEncoding, GraphBatchedTransferAppActionEncoding, GraphSignedTransferAppName, GraphSignedTransferAppStateEncoding, GraphSignedTransferAppActionEncoding, ProtocolNames } from '@connext/types'; | ||
import { toBN, getAddressFromAssetId, stringify, getSignerAddressFromPublicIdentifier, bigNumberifyJson, recoverAddressFromChannelMessage, calculateExchangeWad } from '@connext/utils'; | ||
@@ -203,2 +203,3 @@ import { ERC20, MinimumViableMultisig, MultisigCommitment, ConditionalTransactionDelegateTarget } from '@connext/contracts'; | ||
}; | ||
const OnlineLinkedTransferAppRegistryInfo = Object.assign(Object.assign({}, SimpleLinkedTransferAppRegistryInfo), { name: OnlineLinkedTransferAppName }); | ||
const LINKED_TRANSFER_STATE_TIMEOUT = Zero$3; | ||
@@ -413,2 +414,3 @@ | ||
SimpleLinkedTransferAppRegistryInfo, | ||
OnlineLinkedTransferAppRegistryInfo, | ||
SimpleSignedTransferAppRegistryInfo, | ||
@@ -536,2 +538,2 @@ GraphSignedTransferAppRegistryInfo, | ||
export { AppRegistry, DEFAULT_APP_TIMEOUT, DEPOSIT_STATE_TIMEOUT, DepositAppRegistryInfo, GRAPH_SIGNED_TRANSFER_STATE_TIMEOUT, GraphBatchSignedTransferAppRegistryInfo, GraphSignedTransferAppRegistryInfo, HASHLOCK_TRANSFER_STATE_TIMEOUT, HashLockTransferAppRegistryInfo, LINKED_TRANSFER_STATE_TIMEOUT, MINIMUM_APP_TIMEOUT, SIGNED_TRANSFER_STATE_TIMEOUT, SWAP_STATE_TIMEOUT, SimpleLinkedTransferAppRegistryInfo, SimpleSignedTransferAppRegistryInfo, SimpleTwoPartySwapAppRegistryInfo, TRANSFER_TIMEOUT, WITHDRAW_STATE_TIMEOUT, WithdrawAppRegistryInfo, WithdrawCommitment, baseCoinTransferValidation, commonAppProposalValidation, generateValidationMiddleware, installDepositMiddleware, proposeDepositMiddleware, proposeGraphBatchedTransferMiddleware, proposeGraphSignedTransferMiddleware, proposeHashLockTransferMiddleware, proposeLinkedTransferMiddleware, proposeSignedTransferMiddleware, proposeSwapMiddleware, proposeWithdrawMiddleware, sharedProposalMiddleware, unidirectionalCoinTransferValidation, uninstallDepositMiddleware, validateDepositApp, validateGraphBatchedTransferApp, validateGraphSignedTransferApp, validateHashLockTransferApp, validateSignedTransferApp, validateSimpleLinkedTransferApp, validateSimpleSwapApp, validateWithdrawApp }; | ||
export { AppRegistry, DEFAULT_APP_TIMEOUT, DEPOSIT_STATE_TIMEOUT, DepositAppRegistryInfo, GRAPH_SIGNED_TRANSFER_STATE_TIMEOUT, GraphBatchSignedTransferAppRegistryInfo, GraphSignedTransferAppRegistryInfo, HASHLOCK_TRANSFER_STATE_TIMEOUT, HashLockTransferAppRegistryInfo, LINKED_TRANSFER_STATE_TIMEOUT, MINIMUM_APP_TIMEOUT, OnlineLinkedTransferAppRegistryInfo, SIGNED_TRANSFER_STATE_TIMEOUT, SWAP_STATE_TIMEOUT, SimpleLinkedTransferAppRegistryInfo, SimpleSignedTransferAppRegistryInfo, SimpleTwoPartySwapAppRegistryInfo, TRANSFER_TIMEOUT, WITHDRAW_STATE_TIMEOUT, WithdrawAppRegistryInfo, WithdrawCommitment, baseCoinTransferValidation, commonAppProposalValidation, generateValidationMiddleware, installDepositMiddleware, proposeDepositMiddleware, proposeGraphBatchedTransferMiddleware, proposeGraphSignedTransferMiddleware, proposeHashLockTransferMiddleware, proposeLinkedTransferMiddleware, proposeSignedTransferMiddleware, proposeSwapMiddleware, proposeWithdrawMiddleware, sharedProposalMiddleware, unidirectionalCoinTransferValidation, uninstallDepositMiddleware, validateDepositApp, validateGraphBatchedTransferApp, validateGraphSignedTransferApp, validateHashLockTransferApp, validateSignedTransferApp, validateSimpleLinkedTransferApp, validateSimpleSwapApp, validateWithdrawApp }; |
@@ -207,2 +207,3 @@ 'use strict'; | ||
}; | ||
const OnlineLinkedTransferAppRegistryInfo = Object.assign(Object.assign({}, SimpleLinkedTransferAppRegistryInfo), { name: types.OnlineLinkedTransferAppName }); | ||
const LINKED_TRANSFER_STATE_TIMEOUT = Zero$3; | ||
@@ -417,2 +418,3 @@ | ||
SimpleLinkedTransferAppRegistryInfo, | ||
OnlineLinkedTransferAppRegistryInfo, | ||
SimpleSignedTransferAppRegistryInfo, | ||
@@ -551,2 +553,3 @@ GraphSignedTransferAppRegistryInfo, | ||
exports.MINIMUM_APP_TIMEOUT = MINIMUM_APP_TIMEOUT; | ||
exports.OnlineLinkedTransferAppRegistryInfo = OnlineLinkedTransferAppRegistryInfo; | ||
exports.SIGNED_TRANSFER_STATE_TIMEOUT = SIGNED_TRANSFER_STATE_TIMEOUT; | ||
@@ -553,0 +556,0 @@ exports.SWAP_STATE_TIMEOUT = SWAP_STATE_TIMEOUT; |
import { DepositAppRegistryInfo } from "./DepositApp"; | ||
import { HashLockTransferAppRegistryInfo } from "./HashLockTransferApp"; | ||
import { SimpleLinkedTransferAppRegistryInfo } from "./SimpleLinkedTransferApp"; | ||
import { OnlineLinkedTransferAppRegistryInfo, SimpleLinkedTransferAppRegistryInfo } from "./SimpleLinkedTransferApp"; | ||
import { SimpleSignedTransferAppRegistryInfo } from "./SimpleSignedTransferApp"; | ||
@@ -11,2 +11,3 @@ import { GraphBatchSignedTransferAppRegistryInfo } from "./GraphBatchedTransferApp"; | ||
SimpleLinkedTransferAppRegistryInfo, | ||
OnlineLinkedTransferAppRegistryInfo, | ||
SimpleSignedTransferAppRegistryInfo, | ||
@@ -13,0 +14,0 @@ GraphSignedTransferAppRegistryInfo, |
import { AppRegistryInfo } from "../shared"; | ||
export declare const SimpleLinkedTransferAppRegistryInfo: AppRegistryInfo; | ||
export declare const OnlineLinkedTransferAppRegistryInfo: AppRegistryInfo; | ||
export declare const LINKED_TRANSFER_STATE_TIMEOUT: import("ethers").BigNumber; | ||
//# sourceMappingURL=registry.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { OutcomeType, SimpleLinkedTransferAppName, SimpleLinkedTransferAppActionEncoding, SimpleLinkedTransferAppStateEncoding, } from "@connext/types"; | ||
import { OnlineLinkedTransferAppName, OutcomeType, SimpleLinkedTransferAppActionEncoding, SimpleLinkedTransferAppName, SimpleLinkedTransferAppStateEncoding, } from "@connext/types"; | ||
import { constants } from "ethers"; | ||
@@ -11,3 +11,4 @@ const { Zero } = constants; | ||
}; | ||
export const OnlineLinkedTransferAppRegistryInfo = Object.assign(Object.assign({}, SimpleLinkedTransferAppRegistryInfo), { name: OnlineLinkedTransferAppName }); | ||
export const LINKED_TRANSFER_STATE_TIMEOUT = Zero; | ||
//# sourceMappingURL=registry.js.map |
{ | ||
"name": "@connext/apps", | ||
"version": "7.1.2", | ||
"version": "7.2.0", | ||
"description": "Connext Counterfactual Apps", | ||
@@ -22,6 +22,6 @@ "main": "dist/index.js", | ||
"@connext/contracts": "3.4.1", | ||
"@connext/types": "7.1.2", | ||
"@connext/utils": "7.1.2", | ||
"@connext/types": "7.2.0", | ||
"@connext/utils": "7.2.0", | ||
"@rollup/plugin-json": "4.1.0", | ||
"ethers": "5.0.7", | ||
"ethers": "5.0.8", | ||
"rollup": "2.23.0", | ||
@@ -28,0 +28,0 @@ "rollup-plugin-typescript2": "0.27.1", |
import { AppRegistryType } from "./shared"; | ||
import { DepositAppRegistryInfo } from "./DepositApp"; | ||
import { HashLockTransferAppRegistryInfo } from "./HashLockTransferApp"; | ||
import { SimpleLinkedTransferAppRegistryInfo } from "./SimpleLinkedTransferApp"; | ||
import { OnlineLinkedTransferAppRegistryInfo, SimpleLinkedTransferAppRegistryInfo } from "./SimpleLinkedTransferApp"; | ||
import { SimpleSignedTransferAppRegistryInfo } from "./SimpleSignedTransferApp"; | ||
@@ -13,2 +13,3 @@ import { GraphBatchSignedTransferAppRegistryInfo } from "./GraphBatchedTransferApp"; | ||
SimpleLinkedTransferAppRegistryInfo, | ||
OnlineLinkedTransferAppRegistryInfo, | ||
SimpleSignedTransferAppRegistryInfo, | ||
@@ -15,0 +16,0 @@ GraphSignedTransferAppRegistryInfo, |
import { | ||
OnlineLinkedTransferAppName, | ||
OutcomeType, | ||
SimpleLinkedTransferAppActionEncoding, | ||
SimpleLinkedTransferAppName, | ||
SimpleLinkedTransferAppActionEncoding, | ||
SimpleLinkedTransferAppStateEncoding, | ||
@@ -21,3 +22,8 @@ } from "@connext/types"; | ||
export const OnlineLinkedTransferAppRegistryInfo: AppRegistryInfo = { | ||
...SimpleLinkedTransferAppRegistryInfo, | ||
name: OnlineLinkedTransferAppName, | ||
}; | ||
// timeout default values | ||
export const LINKED_TRANSFER_STATE_TIMEOUT = Zero; |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
796540
3375