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

@digilabs/ngest-ig

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@digilabs/ngest-ig - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

5

lib/client/authenticat.js

@@ -5,2 +5,3 @@ 'use strict'

const pack = require('../../package.json');
console.log("PlatformIG Api Version: " + pack.version);

@@ -96,4 +97,6 @@ // endpoints

setEnvironment() {
const environment = (typeof process.env.IG_ALGO_DEMO) === 'undefined' ? 'dev' : process.env.IG_ALGO_DEMO;
let environment = process.env.IG_ALGO_DEMO === true ? 'dev' : 'prod';
this.config_env = this.config[environment];
if (!this.config_env) throw new Error('The environment config is missing')

@@ -100,0 +103,0 @@ }

2

package.json
{
"name": "@digilabs/ngest-ig",
"version": "1.1.2",
"version": "1.1.3",
"description": "IG API nodejs client",

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

@@ -14,3 +14,11 @@ # ngest-ig

## Environment variables
Set the following environment variables
* IG_USERNAME
* IG_PASSWORD
* IG_API_KEY
* IG_ALGO_DEMO=true <-- to use demo account otherwise will attempt to use prod account>
## License

@@ -17,0 +25,0 @@ The MIT License (MIT)

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