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

marvin-auth-kit

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

marvin-auth-kit - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

dist/auth.d.ts

@@ -38,3 +38,3 @@ import { AxiosRequestConfig } from 'axios';

*/
confirmPassword(user: string, token: string, password: string): Promise<any>;
confirmPassword(token: string, password: string): Promise<any>;
/**

@@ -41,0 +41,0 @@ * The refreshAccessToken function calls the tokens endpoint with the refreshToken.

@@ -92,11 +92,6 @@ "use strict";

*/
async confirmPassword(user, token, password) {
async confirmPassword(token, password) {
try {
const url = `${this.config.url}/password/reset?token=${token}&password=${password}&confirm_password=${password}`;
const response = await axios_1.default.post(url, {
name: user,
tenant: this.config.tenant,
password,
password_confirm: password,
});
const response = await axios_1.default.post(url);
return response;

@@ -103,0 +98,0 @@ }

{
"name": "marvin-auth-kit",
"version": "1.0.3",
"version": "1.0.4",
"description": "Javscript authentication kit",

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

@@ -108,15 +108,6 @@ import axios, { AxiosRequestConfig } from 'axios';

*/
public async confirmPassword(
user: string,
token: string,
password: string
): Promise<any> {
public async confirmPassword(token: string, password: string): Promise<any> {
try {
const url = `${this.config.url}/password/reset?token=${token}&password=${password}&confirm_password=${password}`;
const response = await axios.post(url, {
name: user,
tenant: this.config.tenant,
password,
password_confirm: password,
});
const response = await axios.post(url);

@@ -123,0 +114,0 @@ return response;

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