@paraswap/core
Advanced tools
Comparing version 1.0.5-new-direct-methods.0 to 1.0.5-new-direct-methods.1
@@ -30,1 +30,2 @@ export declare enum SwapSide { | ||
} | ||
export declare const DirectContractMethods: ContractMethod[]; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ContractMethod = exports.SwapSide = void 0; | ||
exports.DirectContractMethods = exports.ContractMethod = exports.SwapSide = void 0; | ||
var SwapSide; | ||
@@ -35,2 +35,18 @@ (function (SwapSide) { | ||
})(ContractMethod = exports.ContractMethod || (exports.ContractMethod = {})); | ||
exports.DirectContractMethods = [ | ||
ContractMethod.swapOnUniswap, | ||
ContractMethod.buyOnUniswap, | ||
ContractMethod.swapOnUniswapFork, | ||
ContractMethod.buyOnUniswapFork, | ||
ContractMethod.swapOnUniswapV2Fork, | ||
ContractMethod.buyOnUniswapV2Fork, | ||
ContractMethod.swapOnZeroXv2, | ||
ContractMethod.swapOnZeroXv4, | ||
ContractMethod.directUniV3Swap, | ||
ContractMethod.directUniV3Buy, | ||
ContractMethod.directCurveV1Swap, | ||
ContractMethod.directCurveV2Swap, | ||
ContractMethod.directBalancerV2GivenInSwap, | ||
ContractMethod.directBalancerV2GivenOutSwap, | ||
]; | ||
//# sourceMappingURL=constants.js.map |
{ | ||
"name": "@paraswap/core", | ||
"version": "1.0.5-new-direct-methods.0", | ||
"version": "1.0.5-new-direct-methods.1", | ||
"description": "Common library used between different paraswap packages", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -32,1 +32,18 @@ export enum SwapSide { | ||
} | ||
export const DirectContractMethods: ContractMethod[] = [ | ||
ContractMethod.swapOnUniswap, | ||
ContractMethod.buyOnUniswap, | ||
ContractMethod.swapOnUniswapFork, | ||
ContractMethod.buyOnUniswapFork, | ||
ContractMethod.swapOnUniswapV2Fork, | ||
ContractMethod.buyOnUniswapV2Fork, | ||
ContractMethod.swapOnZeroXv2, | ||
ContractMethod.swapOnZeroXv4, | ||
ContractMethod.directUniV3Swap, | ||
ContractMethod.directUniV3Buy, | ||
ContractMethod.directCurveV1Swap, | ||
ContractMethod.directCurveV2Swap, | ||
ContractMethod.directBalancerV2GivenInSwap, | ||
ContractMethod.directBalancerV2GivenOutSwap, | ||
]; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
11534
289
0