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

uport

Package Overview
Dependencies
Maintainers
2
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.5.3 to 0.5.4

2

package.json
{
"name": "uport",
"version": "0.5.3",
"version": "0.5.4",
"description": "Library for interacting with uport profiles and attestations",

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

@@ -5,3 +5,3 @@ # Server-side Credentials

## Register Your App
## Register The App

@@ -16,3 +16,3 @@ First we wish to create identities for our apps. You can skip this step if you're ok with using the default identities that are hardcoded in the tutorial files. To create identities, go to the [uPort AppManager](https://appmanager.uport.me), connect with your uPort, and select "New App". This will create a uPort identity for your app, and will display a private key, which you will use on the server to sign credentials. It's important that you save this key!

```
```js
var signer = uport.SimpleSigner(<your key here>)

@@ -23,3 +23,3 @@ ```

```
```js
var credentials = new uport.Credentials({

@@ -34,3 +34,3 @@ appName: 'Credential Tutorial',

```
```js
credentials.attest({

@@ -72,3 +72,3 @@ sub: '2oVV33jifY2nPBLowRS8H7Rkh7fCUDN7hNb',

```
```js
credentials.createRequest({

@@ -85,3 +85,3 @@ verified: ['Custom Attestation'],

```
```js
node requestcredential.js

@@ -88,0 +88,0 @@ ```

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