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

uport

Package Overview
Dependencies
Maintainers
4
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uport - npm Package Compare versions

Comparing version 0.7.0-alpha-minor-1 to 0.7.0-alpha-minor-2

2

lib/Credentials.js

@@ -546,3 +546,3 @@ 'use strict';

return this.authenticate(token, callbackUrl);
return (0, _didJwt.decodeJWT)(token).req ? this.authenticate(token, callbackUrl) : this.verifyProfile(token);
}

@@ -549,0 +549,0 @@

{
"name": "uport",
"version": "0.7.0-alpha-minor-1",
"version": "0.7.0-alpha-minor-2",
"description": "Library for interacting with uport profiles and attestations",

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

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

import { createJWT, verifyJWT, SimpleSigner } from 'did-jwt'
import { createJWT, verifyJWT, SimpleSigner, decodeJWT } from 'did-jwt'
import UportLite from 'uport-lite'

@@ -335,3 +335,3 @@ const MNID = require('mnid')

receive (token, callbackUrl = null) {
return this.authenticate(token, callbackUrl)
return decodeJWT(token).req ? this.authenticate(token, callbackUrl) : this.verifyProfile(token)
}

@@ -338,0 +338,0 @@

Sorry, the diff of this file is too big to display

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