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

@oasisdex/automation

Package Overview
Dependencies
Maintainers
7
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oasisdex/automation - npm Package Compare versions

Comparing version 1.0.12 to 1.1.0

6

lib/src/mapping.js

@@ -11,4 +11,5 @@ "use strict";

'0x7c86781a95b7e55e6c2f7297ae6773e1dbceab13': { type: types_1.CommandContractType.BasicBuyCommand },
'0x000000000000000000000000000000000000dead': { type: types_1.CommandContractType.BasicSellCommand },
'0xe3ae7218d8e4a482e212ef1cbf2fcd0fb9882cc7': { type: types_1.CommandContractType.BasicBuyCommand },
'0xd4f94e013c7f47b989ea79c6527e065c027794c7': { type: types_1.CommandContractType.BasicSellCommand },
'0x6f878d8eb84e48da49900a6392b8f9ed262a50d7': { type: types_1.CommandContractType.BasicSellCommand },
},

@@ -60,4 +61,3 @@ [types_1.EthereumNetwork.MAINNET]: {

if (!(lowercaseAddress in mappingForNetwork)) {
console.log('mappingForNetwork', mappingForNetwork, lowercaseAddress);
throw new Error(`Command address ${lowercaseAddress} for network ${network} not found.`);
throw new Error(`Command address ${lowercaseAddress} for network ${network} not found. Supported Addresses: ${JSON.stringify(mappingForNetwork)}`);
}

@@ -64,0 +64,0 @@ return mappingForNetwork[lowercaseAddress];

{
"name": "@oasisdex/automation",
"version": "1.0.12",
"version": "1.1.0",
"description": "The set of utilities for Oasis automation",

@@ -27,3 +27,3 @@ "homepage": "https://github.com/OasisDEX/common#readme",

},
"gitHead": "69cdcd8491e9c12f08c2c31f4abf55561e279e5d"
"gitHead": "a4e434071abdd88b8af47bc3bad3f1d245e6b3f8"
}

@@ -14,4 +14,5 @@ import {

'0x7c86781a95b7e55e6c2f7297ae6773e1dbceab13': { type: CommandContractType.BasicBuyCommand },
'0x000000000000000000000000000000000000dead': { type: CommandContractType.BasicSellCommand },
'0xe3ae7218d8e4a482e212ef1cbf2fcd0fb9882cc7': { type: CommandContractType.BasicBuyCommand },
'0xd4f94e013c7f47b989ea79c6527e065c027794c7': { type: CommandContractType.BasicSellCommand },
'0x6f878d8eb84e48da49900a6392b8f9ed262a50d7': { type: CommandContractType.BasicSellCommand },
},

@@ -74,4 +75,7 @@ [EthereumNetwork.MAINNET]: {

if (!(lowercaseAddress in mappingForNetwork)) {
console.log('mappingForNetwork', mappingForNetwork, lowercaseAddress);
throw new Error(`Command address ${lowercaseAddress} for network ${network} not found.`);
throw new Error(
`Command address ${lowercaseAddress} for network ${network} not found. Supported Addresses: ${JSON.stringify(
mappingForNetwork,
)}`,
);
}

@@ -78,0 +82,0 @@

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

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