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

@genezio/auth

Package Overview
Dependencies
Maintainers
5
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@genezio/auth - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1-dev

12

lib/authService.sdk.d.ts

@@ -197,10 +197,10 @@ /**

/**
* @method web3Login
* @description Method that can be used to obtain a login token for a giving user.
* @param {string} address The user's address.
* @param {string} signature The signature of the nonce.
* @returns {Promise<UserLoginResponse>} An object containing the user's information and the token.
*/
* @method web3Login
* @description Method that can be used to obtain a login token for a giving user.
* @param {string} address The user's address.
* @param {string} signature The signature of the nonce.
* @returns {Promise<UserLoginResponse>} An object containing the user's information and the token.
*/
web3Login(address: string, signature: string): Promise<UserLoginResponse>;
}
export { Remote };

@@ -118,3 +118,3 @@ "use strict";

var _a = token.split("-"), cloud = _a[0], rest = _a.slice(1);
var id = rest.join('-');
var id = rest.join("-");
var url;

@@ -125,2 +125,4 @@ if (cloud === "0") {

else if (cloud === "1") {
if (process.env["NODE_ENV"] === "dev")
region = "dev-fkt";
url = "https://".concat(id, ".").concat(region, ".cloud.genez.io");

@@ -458,8 +460,8 @@ }

/**
* @method web3Login
* @description Method that can be used to obtain a login token for a giving user.
* @param {string} address The user's address.
* @param {string} signature The signature of the nonce.
* @returns {Promise<UserLoginResponse>} An object containing the user's information and the token.
*/
* @method web3Login
* @description Method that can be used to obtain a login token for a giving user.
* @param {string} address The user's address.
* @param {string} signature The signature of the nonce.
* @returns {Promise<UserLoginResponse>} An object containing the user's information and the token.
*/
AuthService.prototype.web3Login = function (address, signature) {

@@ -466,0 +468,0 @@ return __awaiter(this, void 0, void 0, function () {

import { Remote } from "./remote.js";
export { Remote };

@@ -0,0 +0,0 @@ "use strict";

import { Remote } from "./remote.node.js";
export { Remote };
{
"name": "@genezio/auth",
"version": "2.1.0",
"version": "2.1.1-dev",
"description": "SDK for accessing genezio authentication system.",

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

@@ -0,0 +0,0 @@ <div align="center">

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