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.16 to 0.0.17

src/lib/core/errors/blockchain/deflation-token.error.d.ts

2

package.json
{
"name": "@cryptorubic/sdk",
"version": "0.0.16",
"version": "0.0.17",
"dependencies": {

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

@@ -14,1 +14,2 @@ export * from './lib/core/sdk/sdk';

export * from './lib/features/router/models/wrapped-trade';
export * from './lib/core/errors/index';

@@ -19,1 +19,3 @@ "use strict";

tslib_1.__exportStar(require("./lib/features/router/models/wrapped-trade"), exports);
// errors
tslib_1.__exportStar(require("./lib/core/errors/index"), exports);

@@ -58,21 +58,2 @@ "use strict";

}
// /**
// * Sends swap transaction with connected wallet.
// * If user has not enough allowance, then approve transaction will be called first.
// *
// * @example
// * ```ts
// * const onConfirm = (hash: string) => console.log(hash);
// * const receipt = await trade.swap({ onConfirm });
// * ```
// *
// * @param options Transaction options.
// */
// public abstract swap(options?: SwapTransactionOptions): Promise<string | never>;
//
// /**
// * Builds transaction config, with encoded data.
// * @param options Encode transaction options.
// */
// public abstract encode(options: EncodeTransactionOptions): Promise<unknown>;
static createInstance(params) {

@@ -79,0 +60,0 @@ const { id, swapType, providerType, feeInfo, fromToken, toToken, spenderAddress, toTokenAmountMin, slippage, priceImpact } = params;

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