Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

libkernel

Package Overview
Dependencies
Maintainers
1
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libkernel - npm Package Compare versions

Comparing version 0.1.25 to 0.1.26

4

dist/auth.d.ts

@@ -1,4 +0,4 @@

declare function openAuthWindow(): void;
declare function loginSuccess(): Promise<void>;
declare function logoutComplete(): Promise<void>;
export { openAuthWindow, loginSuccess, logoutComplete };
declare function openAuthWindow(): void;
export { loginSuccess, logoutComplete, openAuthWindow };
import { init, kernelAuthLocation, loginPromise, logoutPromise } from "./queries.js";
// loginSuccess will resolve when the user has successfully logged in.
function loginSuccess() {
return loginPromise;
}
// logoutComplete will resolve when the user has logged out. Note that
// logoutComplete will only resolve if the user logged in first - if the user
// was not logged in to begin with, this promise will not resolve.
function logoutComplete() {
return logoutPromise;
}
// openAuthWindow is intended to be used as an onclick target when the user

@@ -23,12 +33,2 @@ // clicks the 'login' button on a skynet application. It will block until the

}
// loginSuccess will resolve when the user has successfully logged in.
function loginSuccess() {
return loginPromise;
}
// logoutComplete will resolve when the user has logged out. Note that
// logoutComplete will only resolve if the user logged in first - if the user
// was not logged in to begin with, this promise will not resolve.
function logoutComplete() {
return logoutPromise;
}
export { openAuthWindow, loginSuccess, logoutComplete };
export { loginSuccess, logoutComplete, openAuthWindow };

@@ -1,2 +0,2 @@

export { openAuthWindow } from "./auth.js";
export { loginSuccess, logoutComplete, openAuthWindow } from "./auth.js";
export { download } from "./messagedownload.js";

@@ -3,0 +3,0 @@ export { registryRead, registryWrite } from "./messageregistry.js";

@@ -1,2 +0,2 @@

export { openAuthWindow } from "./auth.js";
export { loginSuccess, logoutComplete, openAuthWindow } from "./auth.js";
export { download } from "./messagedownload.js";

@@ -3,0 +3,0 @@ export { registryRead, registryWrite } from "./messageregistry.js";

{
"name": "libkernel",
"version": "0.1.25",
"version": "0.1.26",
"description": "helper library to interact with skynet and the skynet kernel",

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

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