Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@replicode/parallax

Package Overview
Dependencies
Maintainers
1
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@replicode/parallax - npm Package Compare versions

Comparing version 1.1.52 to 1.1.53

2

dist/parallax.service.d.ts
import { ParallaxOptions } from './parallax.options';
import { Parallax } from './parallax.model';
import { TxnERC721 } from '@replicode/parallax-entities';
export declare class ParallaxService {

@@ -17,3 +18,4 @@ private options;

addWallet(blockchain: string, network: string, address: string): Promise<boolean>;
getWalletNFTTxns(walletID: string): Promise<TxnERC721[]>;
}
//# sourceMappingURL=parallax.service.d.ts.map

@@ -167,2 +167,14 @@ "use strict";

}
async getWalletNFTTxns(walletID) {
let route = `/wallet/${walletID}/calculate-profit`;
try {
let response = await this.client.get(route);
let txns = response.data;
return txns;
}
catch (e) {
console.log(e);
return null;
}
}
};

@@ -169,0 +181,0 @@ ParallaxService = __decorate([

2

package.json
{
"name": "@replicode/parallax",
"version": "1.1.52",
"version": "1.1.53",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index",

@@ -8,2 +8,3 @@ import { Injectable, Logger } from '@nestjs/common';

import { Parallax } from './parallax.model';
import { TxnERC721 } from '@replicode/parallax-entities';

@@ -196,2 +197,16 @@ const HEADER_API_KEY = 'X-API-KEY';

}
async getWalletNFTTxns(walletID: string):Promise<TxnERC721[]> {
let route = `/wallet/${walletID}/calculate-profit`;
try {
let response:AxiosResponse = await this.client.get(route);
let txns: TxnERC721[] = response.data as TxnERC721[];
return txns;
} catch (e) {
console.log(e);
return null;
}
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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