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

calimero-auth-sdk

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

calimero-auth-sdk - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

7

lib/index.d.ts

@@ -28,6 +28,5 @@ import * as nearAPI from "near-api-js";

export declare class CalimeroAuth {
constructor();
isSignedIn(): boolean;
signIn(config: any): void;
signOut(): void;
static isSignedIn(): boolean;
static signIn(config: any): void;
static signOut(): void;
}

@@ -73,7 +73,6 @@ "use strict";

class CalimeroAuth {
constructor() { }
isSignedIn() {
static isSignedIn() {
return localStorage.getItem("calimeroToken") !== null;
}
signIn(config) {
static signIn(config) {
if (!localStorage.getItem("calimeroSecret")) {

@@ -106,6 +105,7 @@ localStorage.setItem("calimeroSecret", (0, uuid_1.v4)().toString());

}
signOut() {
static signOut() {
localStorage.removeItem("calimeroToken");
localStorage.removeItem("calimeroSecret");
localStorage.removeItem("calimeroSecretHash");
window.location.href = "/";
}

@@ -112,0 +112,0 @@ }

{
"name": "calimero-auth-sdk",
"version": "0.7.0",
"version": "0.7.1",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "type": "commonjs",

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