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

tfa-node-sdk

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

tfa-node-sdk - npm Package Compare versions

Comparing version

to
1.6.2

6

lib/tfa.js

@@ -6,4 +6,4 @@ const axios = require('axios');

this.access_token = access_token;
this.baseUrl = "http://localhost:8000";
this.baseUrl = "https://tele-fa-api.herokuapp.com";
this.baseUrl = "http://localhost:9000/api/auth";
this.baseUrl = "https://tfasoft-api.herokuapp.com/api/auth";
}

@@ -17,3 +17,3 @@

return axios.post(`${this.baseUrl}/api/auth/access`, data)
return axios.post(`${this.baseUrl}/auth/access`, data)
.then((response) => {

@@ -20,0 +20,0 @@ const data = {

@@ -6,6 +6,8 @@ import axios from 'axios';

baseUrl: string;
testUrl: string;
constructor(access_token) {
this.access_token = access_token;
this.baseUrl = "https://tele-fa-api.herokuapp.com";
this.baseUrl = "http://localhost:9000/api/auth";
this.baseUrl = "https://tfasoft-api.herokuapp.com/api/auth";
}

@@ -19,3 +21,3 @@

return axios.post(`${this.baseUrl}/api/auth/access`, data)
return axios.post(`${this.baseUrl}/auth/access`, data)
.then((response) => {

@@ -22,0 +24,0 @@ const data = {

{
"name": "tfa-node-sdk",
"version": "1.5.2",
"version": "1.6.2",
"description": "Telegram Factor Authentication node library",

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