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.17 to 0.0.18

src/lib/features/deflation-token-manager/deflation-token-manager.d.ts

2

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

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

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

export * from './lib/core/errors/index';
export * from './lib/features/deflation-token-manager/deflation-token-manager';

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

tslib_1.__exportStar(require("./lib/core/errors/index"), exports);
// deflationTokenManager
tslib_1.__exportStar(require("./lib/features/deflation-token-manager/deflation-token-manager"), exports);

@@ -6,2 +6,3 @@ import { BlockchainAdapterFactoryService, WalletProvider } from "@cryptorubic/web3";

import { Utils } from "../../features/utils/utils";
import { DeflationTokenManager } from "../../features/deflation-token-manager/deflation-token-manager";
/**

@@ -15,2 +16,3 @@ * Base class to work with sdk.

readonly utils: Utils;
readonly deflationTokenManager: DeflationTokenManager;
private constructor();

@@ -17,0 +19,0 @@ /**

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

const utils_1 = require("../../features/utils/utils");
const deflation_token_manager_1 = require("../../features/deflation-token-manager/deflation-token-manager");
/**

@@ -14,3 +15,3 @@ * Base class to work with sdk.

class SDK {
constructor(httpClient, web3, router, utils) {
constructor(httpClient, web3, router, utils, deflationTokenManager) {
this.httpClient = httpClient;

@@ -20,2 +21,3 @@ this.web3 = web3;

this.utils = utils;
this.deflationTokenManager = deflationTokenManager;
}

@@ -33,3 +35,4 @@ /**

const utils = new utils_1.Utils(configuration);
return new SDK(httpClient, web3, router, utils);
const deflationTokenManager = new deflation_token_manager_1.DeflationTokenManager();
return new SDK(httpClient, web3, router, utils, deflationTokenManager);
}

@@ -36,0 +39,0 @@ static async createHttpClient(configuration) {

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