New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sashimiswap/compound-js

Package Overview
Dependencies
Maintainers
3
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sashimiswap/compound-js - npm Package Compare versions

Comparing version 0.4.5 to 0.4.6

43

dist/nodejs/constants.d.ts

@@ -22,2 +22,6 @@ export declare const constants: {

HT: string;
HUSD: string;
slHUSD: string;
HBTC: string;
slHBTC: string;
slGOF: string;

@@ -184,2 +188,37 @@ slDAI: string;

};
theco: {
PriceFeed: string;
Maximillion: string;
CompoundLens: string;
Comptroller: string;
slHT: string;
slUSDT: string;
slDAI: string;
slETH: string;
slHBTC: string;
slHUSD: string;
slSASHIMI: string;
USDT: string;
DAI: string;
ETH: string;
HBTC: string;
HUSD: string;
SASHIMI: string;
};
heco: {
PriceFeed: string;
Maximillion: string;
CompoundLens: string;
Comptroller: string;
slHT: string;
slUSDT: string;
slETH: string;
slHBTC: string;
slHUSD: string;
USDT: string;
ETH: string;
HBTC: string;
HUSD: string;
SASHIMI: string;
};
};

@@ -497,2 +536,4 @@ export declare const abi: {

slHT: number;
slHBTC: number;
slHUSD: number;
SASHIMI: number;

@@ -511,2 +552,4 @@ ETH: number;

BTCB: number;
HUSD: number;
HBTC: number;
};

@@ -513,0 +556,0 @@ export declare const errorCodes: {

4

dist/nodejs/index.d.ts

@@ -61,2 +61,4 @@ /**

slHT: number;
slHBTC: number;
slHUSD: number;
SASHIMI: number;

@@ -75,2 +77,4 @@ ETH: number;

BTCB: number;
HUSD: number;
HBTC: number;
};

@@ -77,0 +81,0 @@ abi: {

@@ -59,2 +59,4 @@ /**

97: string;
128: string;
256: string;
};

@@ -61,0 +63,0 @@ /**

@@ -208,2 +208,3 @@ "use strict";

exports.getAbi = getAbi;
// todo: 多生态链
exports.networks = {

@@ -216,3 +217,5 @@ 1: 'mainnet',

56: 'bsc',
97: 'tbsc'
97: 'tbsc',
128: 'heco',
256: 'theco'
};

@@ -235,2 +238,3 @@ /**

exports.getNetNameWithChainId = getNetNameWithChainId;
// todo: 多生态链
var bscChainIds = [56, 97];

@@ -248,2 +252,3 @@ var hecoChainIds = [128, 256];

exports.isNativeSlToken = isNativeSlToken;
// todo: 多生态链
var nativeSymbols = {

@@ -250,0 +255,0 @@ mainnet: 'ETH',

2

package.json
{
"name": "@sashimiswap/compound-js",
"version": "0.4.5",
"version": "0.4.6",
"author": "Compound Labs, Inc.",

@@ -5,0 +5,0 @@ "description": "A JavaScript SDK for Ethereum and the Compound Protocol.",

@@ -227,2 +227,3 @@ /**

// todo: 多生态链
export const networks = {

@@ -235,3 +236,5 @@ 1: 'mainnet',

56: 'bsc',
97: 'tbsc'
97: 'tbsc',
128: 'heco',
256: 'theco'
};

@@ -254,2 +257,3 @@ /**

// todo: 多生态链
const bscChainIds = [56, 97];

@@ -267,2 +271,3 @@ const hecoChainIds = [128, 256];

// todo: 多生态链
const nativeSymbols = {

@@ -269,0 +274,0 @@ mainnet: 'ETH',

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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 too big to display

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