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

uport-connect

Package Overview
Dependencies
Maintainers
3
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uport-connect - npm Package Compare versions

Comparing version 0.6.5 to 0.6.6

dist/uport-connect-core.js

11

lib/topicFactory.js

@@ -11,2 +11,6 @@ 'use strict';

var _mobileDetect = require('mobile-detect');
var _mobileDetect2 = _interopRequireDefault(_mobileDetect);
var _qs = require('qs');

@@ -150,3 +154,8 @@

if (isOnMobile) {
url = window.location.href;
var md = new _mobileDetect2.default(navigator.userAgent);
if (md.userAgent() === 'Chrome' && md.os() === 'iOS') {
url = 'googlechrome:' + window.location.href.substring(window.location.protocol.length);
} else {
url = window.location.href;
}
} else {

@@ -153,0 +162,0 @@ url = chasquiUrl + (0, _randomString2.default)(16);

2

package.json
{
"name": "uport-connect",
"version": "0.6.5",
"version": "0.6.6",
"description": "Library for integrating uPort into your app frontend",

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

import nets from 'nets'
import MobileDetect from 'mobile-detect'
import qs from 'qs'

@@ -127,3 +128,8 @@ import randomString from './util/randomString'

if (isOnMobile) {
url = window.location.href
const md = new MobileDetect(navigator.userAgent)
if( md.userAgent() === 'Chrome' && md.os() === 'iOS' ) {
url = 'googlechrome:' + window.location.href.substring(window.location.protocol.length)
} else {
url = window.location.href
}
} else {

@@ -130,0 +136,0 @@ url = chasquiUrl + randomString(16)

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