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

candle.bot

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

candle.bot - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

4

candle.bot.d.ts
import { TimeFrame, Market, BithumbCC, BitfinexCC } from 'cryptocurrency-crawler.client';
export declare class ErrorWithStatusCode extends Error {
status: number;
constructor(message: string, status?: number);
}
export interface CandleBotConfig {

@@ -3,0 +7,0 @@ timeFrame: TimeFrame;

10

candle.bot.js

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

const fourdollar_promisify_1 = require("fourdollar.promisify");
const errors_1 = require("../errors");
class ErrorWithStatusCode extends Error {
constructor(message, status = 500) {
super(message);
this.status = status;
}
}
exports.ErrorWithStatusCode = ErrorWithStatusCode;
var ProcessStatus;

@@ -98,3 +104,3 @@ (function (ProcessStatus) {

if (typeof (e) === 'string') {
throw new errors_1.ErrorWithStatusCode(e, 500);
throw new ErrorWithStatusCode(e, 500);
}

@@ -101,0 +107,0 @@ else {

export { TimeFrame, Market, BithumbCC, BitfinexCC, CandleData, BithumbCandleData, } from 'cryptocurrency-crawler.client';
export * from './candle.bot';
export declare class ErrorWithStatusCode extends Error {
status: number;
constructor(message: string, status?: number);
}

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

__export(require("./candle.bot"));
class ErrorWithStatusCode extends Error {
constructor(message, status = 500) {
super(message);
this.status = status;
}
}
exports.ErrorWithStatusCode = ErrorWithStatusCode;
//# sourceMappingURL=index.js.map
{
"name": "candle.bot",
"version": "0.4.1",
"version": "0.4.2",
"description": "Cryptocurrency Candle Bot",

@@ -5,0 +5,0 @@ "main": "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