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.4.15 to 1.5.0

3

dist/enums/dex-type.enum.d.ts

@@ -5,3 +5,4 @@ export declare enum DexTypeEnum {

Ston = "Ston",
Ston_v2 = "Ston_v2"
Ston_v2 = "Ston_v2",
CattonStable = "CattonStable"
}

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

DexTypeEnum["Ston_v2"] = "Ston_v2";
DexTypeEnum["CattonStable"] = "CattonStable";
})(DexTypeEnum || (exports.DexTypeEnum = DexTypeEnum = {}));

@@ -1,2 +0,1 @@

export { mapSwapRouteToRoute } from './dexes/shared/calculated-swap-route.utils';
export { DexTypeEnum } from './enums/dex-type.enum';

@@ -6,4 +5,2 @@ export { RouteDirectionEnum } from './enums/route-direction.enum';

export type { Message } from './interfaces/message.interface';
export type { RouteStep } from './interfaces/route-step.interface';
export type { RouteStepWithCalculation } from './interfaces/route-step-with-calculation.interface';
export type { AppStatus } from './types/app-status.type';

@@ -16,5 +13,4 @@ export type { Asset } from './types/asset.type';

export type { BestRouteResponse } from './types/best-route-response.type';
export type { CalculatedSwapRoute } from './types/calculated-swap-route.type';
export { getAssetsRecord, getAssetsList, getBestRoute, getAppStatus } from './utils/api.utils';
export { toNano, fromNano } from './utils/big-int.utils';
export { getQueryId } from './utils/transfer-params.utils';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getQueryId = exports.fromNano = exports.toNano = exports.getAppStatus = exports.getBestRoute = exports.getAssetsList = exports.getAssetsRecord = exports.SwapRouteType = exports.RouteDirectionEnum = exports.DexTypeEnum = exports.mapSwapRouteToRoute = void 0;
var calculated_swap_route_utils_1 = require("./dexes/shared/calculated-swap-route.utils");
Object.defineProperty(exports, "mapSwapRouteToRoute", { enumerable: true, get: function () { return calculated_swap_route_utils_1.mapSwapRouteToRoute; } });
exports.getQueryId = exports.fromNano = exports.toNano = exports.getAppStatus = exports.getBestRoute = exports.getAssetsList = exports.getAssetsRecord = exports.SwapRouteType = exports.RouteDirectionEnum = exports.DexTypeEnum = void 0;
var dex_type_enum_1 = require("./enums/dex-type.enum");

@@ -7,0 +5,0 @@ Object.defineProperty(exports, "DexTypeEnum", { enumerable: true, get: function () { return dex_type_enum_1.DexTypeEnum; } });

import { BestRouteDisplayData } from './best-route-display-data.type';
import { CalculatedSwapRoute } from './calculated-swap-route.type';
import { Message } from '../interfaces/message.interface';

@@ -17,8 +16,3 @@ export type BestRouteResponse = {

swapMessages: Message[];
/**
* @deprecated This field is deprecated and will be removed in the next major release.
* Please use `displayData.route` instead for improved performance and features.
*/
bestRoute: CalculatedSwapRoute[];
messageCount: number;
};
{
"name": "rainbow-swap-sdk",
"version": "1.4.15",
"version": "1.5.0",
"description": "SDK for building applications on top of Rainbow.ag - Swap Aggregator on TON 💎.",

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

"@rnw-community/shared": "^0.74.0",
"axios": "^1.7.7"
"axios": "^1.7.9"
},

@@ -23,0 +23,0 @@ "devDependencies": {

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