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

@l2-technology/sensei-client

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@l2-technology/sensei-client - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

8

lib/index.d.ts

@@ -5,5 +5,2 @@ export interface SenseiClientConfig {

}
export interface SenseiConfig {
electrumUrl: string;
}
export interface NodeStatus {

@@ -22,3 +19,2 @@ created: boolean;

passphrase: string;
electrumUrl: string;
start: boolean;

@@ -172,6 +168,4 @@ }

get(url: string): Promise<any>;
getConfig(): Promise<SenseiConfig>;
updateConfig({ electrumUrl }: SenseiConfig): Promise<void>;
getStatus(): Promise<NodeStatus>;
init({ username, alias, passphrase, electrumUrl, start }: InitParams): Promise<InitResponse>;
init({ username, alias, passphrase, start }: InitParams): Promise<InitResponse>;
login(username: string, passphrase: string): Promise<LoginResponse>;

@@ -178,0 +172,0 @@ logout(): Promise<void>;

@@ -53,19 +53,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

}
getConfig() {
return __awaiter(this, void 0, void 0, function* () {
const config = yield this.get(`${this.basePath}/v1/config`);
return {
electrumUrl: config.electrum_url,
};
});
}
updateConfig({ electrumUrl }) {
return this.post(`${this.basePath}/v1/config`, {
electrum_url: electrumUrl,
});
}
getStatus() {
return this.get(`${this.basePath}/v1/status`);
}
init({ username, alias, passphrase, electrumUrl, start }) {
init({ username, alias, passphrase, start }) {
return __awaiter(this, void 0, void 0, function* () {

@@ -76,3 +63,2 @@ const response = yield this.post(`${this.basePath}/v1/init`, {

passphrase,
electrum_url: electrumUrl,
start,

@@ -79,0 +65,0 @@ });

2

package.json
{
"name": "@l2-technology/sensei-client",
"version": "0.1.3",
"version": "0.1.4",
"description": "A javascript client for the Sensei HTTP API",

@@ -5,0 +5,0 @@ "main": "lib/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