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

@cryptorubic/sdk

Package Overview
Dependencies
Maintainers
0
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cryptorubic/sdk - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

package.json
{
"name": "@cryptorubic/sdk",
"version": "0.0.6",
"version": "0.0.7",
"dependencies": {

@@ -5,0 +5,0 @@ "tslib": "^2.3.0"

import { IntegratorAddress } from "../../core/sdk/models/integrator-address";
import { QuoteRequestInterface, QuoteTradeInterface } from "@cryptorubic/core";
import { QuoteRequestInterface, QuoteTradeInterface, WsQuoteRequestInterface } from "@cryptorubic/core";
import { Trade } from "./trade";
import { Observable } from "rxjs";
import { WrappedTrade } from "./models/wrapped-trade";
export declare class Router {

@@ -9,4 +11,6 @@ private readonly integratorAddress;

quoteBest(tradeData: QuoteTradeInterface, options?: Omit<QuoteRequestInterface, keyof QuoteTradeInterface>): Promise<Trade>;
runAsyncCalculation(params: WsQuoteRequestInterface): void;
handleQuotesAsync(): Observable<WrappedTrade>;
private getIntegratorAddress;
private getQuoteOptions;
}

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

const transform_utils_1 = require("./utils/transform-utils");
const injector_1 = require("../../core/injector/injector");
class Router {

@@ -23,2 +24,8 @@ constructor(integratorAddress) {

}
runAsyncCalculation(params) {
injector_1.Injector.wsApiService.calculate(params);
}
handleQuotesAsync() {
return injector_1.Injector.wsApiService.handleQuotesAsync();
}
getIntegratorAddress(tradeData, integratorAddress) {

@@ -25,0 +32,0 @@ if (integratorAddress) {

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