uport-connect
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -6,3 +6,3 @@ 'use strict'; | ||
}); | ||
exports.Credentials = exports.SimpleSigner = exports.QRUtil = exports.ConnectCore = exports.Connect = undefined; | ||
exports.MNID = exports.Credentials = exports.SimpleSigner = exports.QRUtil = exports.ConnectCore = exports.Connect = undefined; | ||
@@ -19,2 +19,4 @@ var _Connect = require('./Connect'); | ||
var _mnid = require('mnid'); | ||
var _uport = require('uport'); | ||
@@ -25,2 +27,4 @@ | ||
var QRUtil = { getQRDataURI: _qrdisplay.getQRDataURI, closeQr: _qrdisplay.closeQr, openQr: _qrdisplay.openQr }; | ||
var MNID = { encode: _mnid.encode, decode: _mnid.decode, isMNID: _mnid.isMNID }; | ||
exports.Connect = _Connect2.default; | ||
@@ -30,2 +34,3 @@ exports.ConnectCore = _ConnectCore2.default; | ||
exports.SimpleSigner = _uport.SimpleSigner; | ||
exports.Credentials = _uport.Credentials; | ||
exports.Credentials = _uport.Credentials; | ||
exports.MNID = MNID; |
@@ -6,3 +6,3 @@ 'use strict'; | ||
}); | ||
exports.Credentials = exports.SimpleSigner = exports.QRUtil = exports.ConnectCore = exports.Connect = undefined; | ||
exports.MNID = exports.Credentials = exports.SimpleSigner = exports.QRUtil = exports.ConnectCore = exports.Connect = undefined; | ||
@@ -13,2 +13,4 @@ var _ConnectCore = require('./ConnectCore'); | ||
var _mnid = require('mnid'); | ||
var _uport = require('uport'); | ||
@@ -33,2 +35,4 @@ | ||
var QRUtil = { getQRDataURI: notSupported('getQRDataURI'), closeQr: notSupported('closeQr'), openQr: notSupported('openQr') }; | ||
var MNID = { encode: _mnid.encode, decode: _mnid.decode, isMNID: _mnid.isMNID }; | ||
exports.Connect = Connect; | ||
@@ -38,2 +42,3 @@ exports.ConnectCore = _ConnectCore2.default; | ||
exports.SimpleSigner = _uport.SimpleSigner; | ||
exports.Credentials = _uport.Credentials; | ||
exports.Credentials = _uport.Credentials; | ||
exports.MNID = MNID; |
{ | ||
"name": "uport-connect", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "Library for integrating uPort into your app frontend", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -5,3 +5,5 @@ import Connect from './Connect' | ||
const QRUtil = { getQRDataURI, closeQr, openQr } | ||
import { encode, decode, isMNID } from 'mnid' | ||
const MNID = { encode, decode, isMNID } | ||
import { SimpleSigner, Credentials } from 'uport' | ||
export { Connect, ConnectCore, QRUtil, SimpleSigner, Credentials } | ||
export { Connect, ConnectCore, QRUtil, SimpleSigner, Credentials, MNID } |
@@ -8,3 +8,5 @@ const notSupported = (obj) => () => { | ||
import ConnectCore from './ConnectCore' | ||
import { encode, decode, isMNID } from 'mnid' | ||
const MNID = { encode, decode, isMNID } | ||
import { SimpleSigner, Credentials } from 'uport' | ||
export { Connect, ConnectCore, QRUtil, SimpleSigner, Credentials } | ||
export { Connect, ConnectCore, QRUtil, SimpleSigner, Credentials, MNID } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14158702
84411