Socket
Socket
Sign inDemoInstall

@0xpass/passport

Package Overview
Dependencies
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xpass/passport - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

dist/index.d.ts
import { GetSessionParams, GetSessionResponse, Method, RpcMethodParams, SendOtpParams, SendOtpResponse, SignParams, SignResponse } from "./types";
export declare class Passport {
endpoint: string;
constructor(endpoint: string);
constructor(endpoint?: string);
call(method: Method, params: RpcMethodParams): Promise<any>;

@@ -6,0 +6,0 @@ getSession: (params: GetSessionParams) => Promise<GetSessionResponse>;

import axios from 'axios';
class Passport {
constructor(endpoint) {
constructor(endpoint = "http://ec2-3-84-206-153.compute-1.amazonaws.com:9545") {
this.getSession = async (params) => {

@@ -6,0 +6,0 @@ return await this.call("getSession", params);

{
"name": "@0xpass/passport",
"version": "0.0.1",
"version": "0.0.2",
"description": "",

@@ -28,4 +28,4 @@ "main": "dist/index.js",

"typescript": "^5.0.4",
"@0xpass/typescript-config": "0.0.1",
"@0xpass/eslint-config": "0.0.1"
"@0xpass/eslint-config": "0.0.1",
"@0xpass/typescript-config": "0.0.1"
},

@@ -32,0 +32,0 @@ "scripts": {

@@ -25,3 +25,5 @@ import axios from "axios";

constructor(endpoint: string) {
constructor(
endpoint = "http://ec2-3-84-206-153.compute-1.amazonaws.com:9545"
) {
this.endpoint = endpoint;

@@ -28,0 +30,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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