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.5.2 to 1.5.3

2

dist/utils/api.utils.d.ts

@@ -14,2 +14,2 @@ import { AppStatus } from '../types/app-status.type';

export declare const getAssetsList: (params: AssetsListParams) => Promise<Asset[]>;
export declare const getBestRoute: (params: BestRouteParams) => Promise<BestRouteResponse>;
export declare const getBestRoute: (params: BestRouteParams, authTokens?: string) => Promise<BestRouteResponse>;

@@ -28,3 +28,3 @@ "use strict";

exports.getAssetsList = getAssetsList;
const getBestRoute = (params) => {
const getBestRoute = (params, authTokens) => {
if (abortControllers.bestRoute) {

@@ -36,5 +36,8 @@ abortControllers.bestRoute.abort();

params,
signal: abortControllers.bestRoute.signal
signal: abortControllers.bestRoute.signal,
headers: {
Authorization: authTokens
}
}).then(response => response.data);
};
exports.getBestRoute = getBestRoute;
{
"name": "rainbow-swap-sdk",
"version": "1.5.2",
"version": "1.5.3",
"description": "SDK for building applications on top of Rainbow.ag - Swap Aggregator on TON 💎.",

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

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