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

eos-detective

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eos-detective - npm Package Compare versions

Comparing version 0.5.4 to 0.5.5

12

dist/src/api/transfers.d.ts

@@ -88,2 +88,14 @@ import { ApiResponse, TransfersData } from "../types/ApiResponse";

count_max?: number;
/**
* Result offset.
*
* @default 0
*/
offset?: number;
/**
* Result limit.
*
* @default 1000
*/
limit?: number;
}): Promise<ApiResponse<TransfersData>>;

4

dist/src/api/transfers.js

@@ -31,3 +31,3 @@ "use strict";

queryParams.symbol = options.symbol || "EOS";
queryParams.chain = options.chain || "EOS";
queryParams.chain = options.chain || "eos";
queryParams.direction = options.direction || "both";

@@ -38,2 +38,4 @@ queryParams.accumulated = options.accumulated === undefined ? true : options.accumulated;

queryParams.time_min = options.time_min === undefined ? yesterday.toISOString() : options.time_min.toISOString();
queryParams.offset = options.offset || 0;
queryParams.limit = options.limit || 1000;
// optional params

@@ -40,0 +42,0 @@ if (options.quantity_max) {

import { JsonRpc, Api } from "eosjs";
import JsSignatureProvider from "eosjs/dist/eosjs-jssig";
/**

@@ -15,3 +16,3 @@ * Settings

contract: string;
readonly signatureProvider: any;
readonly signatureProvider: JsSignatureProvider;
readonly rpc: JsonRpc;

@@ -18,0 +19,0 @@ readonly api: Api;

@@ -16,3 +16,3 @@ "use strict";

const eosjs_1 = require("eosjs");
const JsSignatureProvider = require("eosjs/dist/eosjs-jssig").default;
const eosjs_jssig_1 = __importDefault(require("eosjs/dist/eosjs-jssig"));
const fetch = require("isomorphic-fetch");

@@ -39,3 +39,3 @@ const { TextEncoder, TextDecoder } = require("util");

}
return new JsSignatureProvider([this.private_key]);
return new eosjs_jssig_1.default([this.private_key]);
}

@@ -42,0 +42,0 @@ get rpc() {

{
"name": "eos-detective",
"version": "0.5.4",
"version": "0.5.5",
"description": "EOS Detective",

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

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