New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@stock-bot/modules

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stock-bot/modules - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

lib/modules.d.ts

37

lib/modules.js

@@ -1,7 +0,32 @@

'use strict';
module.exports = modules;
function modules() {
// TODO
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
const axios_instance_1 = require("./Services/axios.instance");
class IEXService {
constructor() { }
getSymbolQuote(symbol, filters) {
return __awaiter(this, void 0, void 0, function* () {
let query = filterToQuery(filters);
let url = `/stock/${symbol}/quote?token=sk_a3bb6a75aa7c43c894e2c7a2e92d5387`;
let stock = yield axios_instance_1.default.get(url);
return stock;
});
}
}
exports.IEXService = IEXService;
function filterToQuery(filter) { }
class asd {
constructor(name) {
this.name = name;
this.name = "steffan";
}
}
exports.asd = asd;
//# sourceMappingURL=modules.js.map

7

package.json
{
"name": "@stock-bot/modules",
"version": "0.0.9",
"version": "0.0.10",
"description": "> TODO: description",

@@ -21,3 +21,4 @@ "author": "Steffan <skbrown333@gmail.com>",

"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1"
"test": "echo \"Error: run tests from root\" && exit 1",
"tsc": "tsc"
},

@@ -27,3 +28,3 @@ "bugs": {

},
"gitHead": "5fa35251c4e7a3f1d3d8c35200c7277a30fd8dd2",
"gitHead": "88b8d667ff87b8c4b268f3009988977d130e5890",
"dependencies": {

@@ -30,0 +31,0 @@ "@types/axios": "^0.14.0",

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