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-new-direct-methods.0 to 1.0.5-new-direct-methods.1

1

build/constants.d.ts

@@ -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

2

package.json
{
"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

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