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.2.43 to 1.2.44

1

dist/parallax.service.d.ts

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

userWallets(userID: string): Promise<Parallax.Wallet[]>;
getWallets(walletIDs: string[]): Promise<Parallax.Wallet[]>;
removeWallet(userID: string, chain: string, address: string): Promise<Boolean>;

@@ -22,0 +23,0 @@ removeAllWallets(userID: string): Promise<Boolean>;

@@ -215,2 +215,17 @@ "use strict";

}
async getWallets(walletIDs) {
let route = `/wallet`;
let body = {
walletIDs: walletIDs
};
try {
let response = await this.client.post(route, body);
let wallets = response.data;
return wallets;
}
catch (e) {
console.log(e);
return null;
}
}
async removeWallet(userID, chain, address) {

@@ -217,0 +232,0 @@ let route = `/user/wallet/${address}`;

2

package.json
{
"name": "@replicode/parallax",
"version": "1.2.43",
"version": "1.2.44",
"description": "",

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

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

async getWallets(walletIDs:string[]):Promise<Parallax.Wallet[]> {
let route = `/wallet`;
let body = {
walletIDs: walletIDs
};
try {
let response:AxiosResponse = await this.client.post(route, body);
let wallets: Parallax.Wallet[] = response.data as Parallax.Wallet[];
return wallets;
} catch (e) {
console.log(e);
return null;
}
}
async removeWallet(userID:string, chain:string, address:string):Promise<Boolean> {

@@ -252,0 +269,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