@connext/apps
Advanced tools
Comparing version 7.0.4 to 7.1.0
import { Contract, CONVENTION_FOR_ETH_ASSET_ID, ProtocolRoles, } from "@connext/types"; | ||
import { getSignerAddressFromPublicIdentifier } from "@connext/utils"; | ||
import { ERC20 } from "@connext/contracts"; | ||
import { validateDepositApp } from "."; | ||
import { validateDepositApp } from "./validation"; | ||
export const uninstallDepositMiddleware = async (context, provider) => { | ||
@@ -6,0 +6,0 @@ const { role, appInstance, stateChannel, params } = context; |
@@ -1,2 +0,2 @@ | ||
import { validateGraphBatchedTransferApp } from "."; | ||
import { validateGraphBatchedTransferApp } from "./validation"; | ||
export const proposeGraphBatchedTransferMiddleware = (cxt, getSwapRate) => { | ||
@@ -3,0 +3,0 @@ const { params } = cxt; |
@@ -1,2 +0,2 @@ | ||
import { validateGraphSignedTransferApp } from "."; | ||
import { validateGraphSignedTransferApp } from "./validation"; | ||
export const proposeGraphSignedTransferMiddleware = (cxt) => { | ||
@@ -3,0 +3,0 @@ const { params } = cxt; |
@@ -1,2 +0,2 @@ | ||
import { validateHashLockTransferApp } from "."; | ||
import { validateHashLockTransferApp } from "./validation"; | ||
export const proposeHashLockTransferMiddleware = async (cxt, provider) => { | ||
@@ -3,0 +3,0 @@ const { params } = cxt; |
@@ -1,2 +0,2 @@ | ||
import { validateSimpleLinkedTransferApp } from "."; | ||
import { validateSimpleLinkedTransferApp } from "./validation"; | ||
export const proposeLinkedTransferMiddleware = (cxt) => { | ||
@@ -3,0 +3,0 @@ const { params } = cxt; |
@@ -1,2 +0,2 @@ | ||
import { validateSignedTransferApp } from "."; | ||
import { validateSignedTransferApp } from "./validation"; | ||
export const proposeSignedTransferMiddleware = (cxt) => { | ||
@@ -3,0 +3,0 @@ const { params } = cxt; |
@@ -1,2 +0,2 @@ | ||
import { validateWithdrawApp } from "."; | ||
import { validateWithdrawApp } from "./validation"; | ||
export const proposeWithdrawMiddleware = async (cxt) => { | ||
@@ -3,0 +3,0 @@ const { params } = cxt; |
{ | ||
"name": "@connext/apps", | ||
"version": "7.0.4", | ||
"version": "7.1.0", | ||
"description": "Connext Counterfactual Apps", | ||
@@ -22,4 +22,4 @@ "main": "dist/index.js", | ||
"@connext/contracts": "3.4.1", | ||
"@connext/types": "7.0.4", | ||
"@connext/utils": "7.0.4", | ||
"@connext/types": "7.1.0", | ||
"@connext/utils": "7.1.0", | ||
"@rollup/plugin-json": "4.1.0", | ||
@@ -26,0 +26,0 @@ "ethers": "5.0.7", |
@@ -12,3 +12,3 @@ import { | ||
import { ERC20 } from "@connext/contracts"; | ||
import { validateDepositApp } from "."; | ||
import { validateDepositApp } from "./validation"; | ||
@@ -15,0 +15,0 @@ export const uninstallDepositMiddleware = async ( |
import { ProposeMiddlewareContext, Address } from "@connext/types"; | ||
import { validateGraphBatchedTransferApp } from "."; | ||
import { validateGraphBatchedTransferApp } from "./validation"; | ||
@@ -4,0 +4,0 @@ export const proposeGraphBatchedTransferMiddleware = ( |
import { ProposeMiddlewareContext } from "@connext/types"; | ||
import { validateGraphSignedTransferApp } from "."; | ||
import { validateGraphSignedTransferApp } from "./validation"; | ||
@@ -4,0 +4,0 @@ export const proposeGraphSignedTransferMiddleware = (cxt: ProposeMiddlewareContext) => { |
import { ProposeMiddlewareContext, JsonRpcProvider } from "@connext/types"; | ||
import { validateHashLockTransferApp } from "."; | ||
import { validateHashLockTransferApp } from "./validation"; | ||
@@ -4,0 +4,0 @@ export const proposeHashLockTransferMiddleware = async ( |
import { ProposeMiddlewareContext } from "@connext/types"; | ||
import { validateSimpleLinkedTransferApp } from "."; | ||
import { validateSimpleLinkedTransferApp } from "./validation"; | ||
@@ -4,0 +4,0 @@ export const proposeLinkedTransferMiddleware = (cxt: ProposeMiddlewareContext) => { |
import { ProposeMiddlewareContext } from "@connext/types"; | ||
import { validateSignedTransferApp } from "."; | ||
import { validateSignedTransferApp } from "./validation"; | ||
@@ -4,0 +4,0 @@ export const proposeSignedTransferMiddleware = (cxt: ProposeMiddlewareContext) => { |
import { ProposeMiddlewareContext } from "@connext/types"; | ||
import { validateWithdrawApp } from "."; | ||
import { validateWithdrawApp } from "./validation"; | ||
@@ -4,0 +4,0 @@ export const proposeWithdrawMiddleware = async (cxt: ProposeMiddlewareContext) => { |
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
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
785006