Socket
Socket
Sign inDemoInstall

minecraft-auth

Package Overview
Dependencies
13
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.23 to 1.0.24

14

dist/index.d.ts

@@ -263,3 +263,3 @@ import 'reflect-metadata';

getProfile(): any;
changeSkin(url: any, variant: "slim" | "classic"): Promise<void>;
changeSkin(url: any, variant: "slim" | "classic"): Promise<boolean>;
checkNameAvailability(name: any): Promise<boolean>;

@@ -273,5 +273,5 @@ canChangeName(): Promise<boolean>;

constructor();
Login(username?: string, password?: string, saveCredentials?: any): Promise<void>;
refresh(): Promise<void>;
use(): Promise<void>;
Login(username?: string, password?: string, saveCredentials?: any): Promise<string>;
refresh(): Promise<string>;
use(): Promise<string>;
}

@@ -282,5 +282,5 @@ export declare class microsoftAccount extends account {

constructor();
refresh(): Promise<void>;
authFlow(authCode: any): Promise<void>;
use(): Promise<void>;
refresh(): Promise<string>;
authFlow(authCode: any): Promise<string>;
use(): Promise<string>;
}

@@ -287,0 +287,0 @@ export declare class crackedAccount extends account {

@@ -553,6 +553,3 @@ "use strict";

_a.label = 2;
case 2:
if (profileResp.id)
return [2 /*return*/, true];
return [2 /*return*/];
case 2: return [2 /*return*/, !!profileResp.id];
}

@@ -670,3 +667,3 @@ });

_a.sent();
return [2 /*return*/];
return [2 /*return*/, true];
}

@@ -733,3 +730,3 @@ });

}
return [2 /*return*/];
return [2 /*return*/, this.accessToken];
}

@@ -749,3 +746,3 @@ });

this.accessToken = resp.accessToken;
return [2 /*return*/];
return [2 /*return*/, this.accessToken];
}

@@ -763,3 +760,3 @@ });

if (!_a.sent()) return [3 /*break*/, 2];
return [3 /*break*/, 10];
return [2 /*return*/, this.accessToken];
case 2:

@@ -773,3 +770,3 @@ if (!(this.login_username && this.login_password)) return [3 /*break*/, 8];

_a.sent();
return [3 /*break*/, 7];
return [2 /*return*/, this.accessToken];
case 5:

@@ -780,3 +777,3 @@ e_1 = _a.sent();

_a.sent();
return [3 /*break*/, 7];
return [2 /*return*/, this.accessToken];
case 7: return [3 /*break*/, 10];

@@ -786,3 +783,3 @@ case 8: return [4 /*yield*/, this.refresh()];

_a.sent();
_a.label = 10;
return [2 /*return*/, this.accessToken];
case 10: return [2 /*return*/];

@@ -811,3 +808,3 @@ }

this.accessToken = resp.access_token;
return [2 /*return*/];
return [2 /*return*/, this.accessToken];
}

@@ -829,3 +826,3 @@ });

this.accessToken = resp.access_token;
return [2 /*return*/];
return [2 /*return*/, this.accessToken];
}

@@ -842,8 +839,7 @@ });

if (!_a.sent()) return [3 /*break*/, 2];
return [3 /*break*/, 4];
return [2 /*return*/, this.accessToken];
case 2: return [4 /*yield*/, this.refresh()];
case 3:
_a.sent();
_a.label = 4;
case 4: return [2 /*return*/];
return [2 /*return*/, this.accessToken];
}

@@ -850,0 +846,0 @@ });

{
"name": "minecraft-auth",
"version": "1.0.23",
"version": "1.0.24",
"description": "Package to authenticate with minecraft using traditional yggdrasil, new microsoft authentication and non-premium.",

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc