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

uport-core

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uport-core - npm Package Compare versions

Comparing version 0.0.34 to 0.0.35

5

lib/transport/url.js

@@ -68,3 +68,6 @@ 'use strict';

if (params.error) return { error: params.error };
return { res: params['access_token'], data: params['data'], id: params['id'] };
var res = { data: params['data'], id: params['id'] };
if (params['access_token']) return Object.assign(res, { res: params['access_token'] });
if (params['verification']) return Object.assign(res, { res: params['verification'] });
return Object.assign(res, { res: null });
}

@@ -71,0 +74,0 @@ return null;

2

package.json
{
"name": "uport-core",
"version": "0.0.34",
"version": "0.0.35",
"description": "",

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

@@ -46,3 +46,6 @@ import { paramsToQueryString, paramsToUrlFragment } from './../message/util.js'

if (params.error) return {error: params.error}
return {res: params['access_token'], data: params['data'], id: params['id']}
const res = { data: params['data'], id: params['id']}
if (params['access_token']) return Object.assign(res, {res: params['access_token']})
if (params['verification']) return Object.assign(res, {res: params['verification']})
return Object.assign(res, {res: null})
}

@@ -49,0 +52,0 @@ return null

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

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