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

rainbow-swap-sdk

Package Overview
Dependencies
Maintainers
0
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rainbow-swap-sdk - npm Package Compare versions

Comparing version 1.1.14 to 1.1.15

2

package.json
{
"name": "rainbow-swap-sdk",
"version": "1.1.14",
"version": "1.1.15",
"description": "An SDK for building applications on top of Rainbow Swap",

@@ -5,0 +5,0 @@ "repository": "https://github.com/0xblackbot/rainbow-swap-sdk.git",

@@ -5,4 +5,8 @@ # Rainbow Swap 🌈 SDK

---
**We have plans to integrate commissions and share them with those who have integrated this SDK into their DApps.**
---
### Installation

@@ -18,3 +22,10 @@

```typescript
import {getSwapMessages} from 'rainbow-swap-sdk';
import {
getAssetsRecord,
getIsRainbowWalletActive,
getBestRoute,
getIsActivationRequired,
getRainbowWalletActivationMessages,
getSwapMessages
} from 'rainbow-swap-sdk';

@@ -38,3 +49,3 @@ // 1. On page load: fetch the list of available tokens

};
const bestRouteResponse = getBestRoute(params);
const bestRouteResponse = await getBestRoute(params);

@@ -41,0 +52,0 @@ ...

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