Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@paraswap/core

Package Overview
Dependencies
Maintainers
9
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paraswap/core - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

1

build/constants.d.ts

@@ -30,2 +30,3 @@ export declare enum SwapSide {

}
export declare const DirectContractMethodsWithFeeModel: ContractMethod[];
export declare const DirectContractMethods: ContractMethod[];

18

build/constants.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DirectContractMethods = exports.ContractMethod = exports.SwapSide = void 0;
exports.DirectContractMethods = exports.DirectContractMethodsWithFeeModel = exports.ContractMethod = exports.SwapSide = void 0;
var SwapSide;

@@ -35,2 +35,10 @@ (function (SwapSide) {

})(ContractMethod = exports.ContractMethod || (exports.ContractMethod = {}));
exports.DirectContractMethodsWithFeeModel = [
ContractMethod.directUniV3Swap,
ContractMethod.directUniV3Buy,
ContractMethod.directCurveV1Swap,
ContractMethod.directCurveV2Swap,
ContractMethod.directBalancerV2GivenInSwap,
ContractMethod.directBalancerV2GivenOutSwap,
];
exports.DirectContractMethods = [

@@ -45,9 +53,3 @@ ContractMethod.swapOnUniswap,

ContractMethod.swapOnZeroXv4,
ContractMethod.directUniV3Swap,
ContractMethod.directUniV3Buy,
ContractMethod.directCurveV1Swap,
ContractMethod.directCurveV2Swap,
ContractMethod.directBalancerV2GivenInSwap,
ContractMethod.directBalancerV2GivenOutSwap,
];
].concat(exports.DirectContractMethodsWithFeeModel);
//# sourceMappingURL=constants.js.map
{
"name": "@paraswap/core",
"version": "1.0.5",
"version": "1.0.6",
"description": "Common library used between different paraswap packages",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -33,2 +33,11 @@ export enum SwapSide {

export const DirectContractMethodsWithFeeModel: ContractMethod[] = [
ContractMethod.directUniV3Swap,
ContractMethod.directUniV3Buy,
ContractMethod.directCurveV1Swap,
ContractMethod.directCurveV2Swap,
ContractMethod.directBalancerV2GivenInSwap,
ContractMethod.directBalancerV2GivenOutSwap,
];
export const DirectContractMethods: ContractMethod[] = [

@@ -43,8 +52,2 @@ ContractMethod.swapOnUniswap,

ContractMethod.swapOnZeroXv4,
ContractMethod.directUniV3Swap,
ContractMethod.directUniV3Buy,
ContractMethod.directCurveV1Swap,
ContractMethod.directCurveV2Swap,
ContractMethod.directBalancerV2GivenInSwap,
ContractMethod.directBalancerV2GivenOutSwap,
];
].concat(DirectContractMethodsWithFeeModel);

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc