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.40 to 1.1.41

1

dist/parallax.service.d.ts

@@ -8,2 +8,3 @@ import { ParallaxOptions } from './parallax.options';

constructor(options: Partial<ParallaxOptions>);
searchNFT(query: string): Promise<Parallax.NFTRecord[]>;
stats(address: string, collection: string): Promise<Parallax.UserStatsByCollectionResponse>;

@@ -10,0 +11,0 @@ userStatsByCollection(userID: string, collection: string): Promise<Parallax.UserStatsByCollectionResponse>;

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

}
async searchNFT(query) {
let route = `/search/nft?query=${query}`;
try {
let response = await this.client.get(route);
let data = response.data;
return data;
}
catch (e) {
this.logger.log(e);
return null;
}
}
async stats(address, collection) {

@@ -33,0 +45,0 @@ let route = `/analytics/collection`;

2

package.json
{
"name": "@replicode/parallax",
"version": "1.1.40",
"version": "1.1.41",
"description": "",

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

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

async searchNFT(query: string): Promise<Parallax.NFTRecord[]> {
let route = `/search/nft?query=${query}`;
try {
let response:AxiosResponse = await this.client.get(route);
let data:Parallax.NFTRecord[] = response.data as Parallax.NFTRecord[];
return data;
} catch (e) {
this.logger.log(e);
return null;
}
}
async stats(address:string, collection:string): Promise<Parallax.UserStatsByCollectionResponse> {

@@ -33,0 +47,0 @@

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