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

@compound-finance/compound-js

Package Overview
Dependencies
Maintainers
3
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@compound-finance/compound-js - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

2

package.json
{
"name": "@compound-finance/compound-js",
"browser": "dist/browser/compound.min.js",
"version": "0.0.7",
"version": "0.0.8",
"description": "A JavaScript SDK for Ethereum and the Compound Protocol.",

@@ -6,0 +6,0 @@ "main": "dist/index.js",

@@ -74,2 +74,24 @@ # Compound.js [Alpha]

## Install / Import
Web Browser
```html
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@compound-finance/compound-js@latest/dist/browser/compound.min.js"></script>
<script type="text/javascript">
window.Compound; // or `Compound`
</script>
```
Node.js
```
npm install @compound-finance/compound-js
```
```js
const Compound = require('@compound-finance/compound-js');
```
## More Code Examples

@@ -157,7 +179,7 @@

```html
<!-- Public NPM -> jsdeliver build -->
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@compound-finance/compound-js@latest/dist/compound.min.js"></script>
<!-- Local build (do `npm install` first) -->
<script type="text/javascript" src="./dist/browser/compound.min.js"></script>
<!-- Public NPM -> jsdeliver build -->
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@compound-finance/compound-js@latest/dist/browser/compound.min.js"></script>
```

@@ -164,0 +186,0 @@

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