mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 14:39:28 -07:00
Release 0.8.3
This commit is contained in:
parent
8a5ce08c00
commit
8983b02112
7 changed files with 23 additions and 12 deletions
|
@ -6,9 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.8.3] - 2020-12-26
|
||||
### Fixed
|
||||
- Handling of users without userId
|
||||
|
||||
## [0.8.2] - 2020-12-26
|
||||
### Fixed
|
||||
- Hanlding of users without selfCertifications
|
||||
- Handling of users without selfCertifications
|
||||
|
||||
## [0.8.1] - 2020-12-20
|
||||
### Fixed
|
||||
|
|
12
dist/doip.js
vendored
12
dist/doip.js
vendored
|
@ -1193,7 +1193,7 @@ process.umask = function() { return 0; };
|
|||
},{}],9:[function(require,module,exports){
|
||||
module.exports={
|
||||
"name": "doipjs",
|
||||
"version": "0.8.2",
|
||||
"version": "0.8.3",
|
||||
"description": "Decentralized OpenPGP Identity Proofs library in Node.js",
|
||||
"main": "src/index.js",
|
||||
"dependencies": {
|
||||
|
@ -1749,15 +1749,15 @@ const process = (publicKey) => {
|
|||
users.forEach((user, i) => {
|
||||
usersOutput[i] = {
|
||||
userData: {
|
||||
id: user.userId.userid,
|
||||
name: user.userId.name,
|
||||
email: user.userId.email,
|
||||
comment: user.userId.comment,
|
||||
id: user.userId ? user.userId.userid : null,
|
||||
name: user.userId ? user.userId.name : null,
|
||||
email: user.userId ? user.userId.email : null,
|
||||
comment: user.userId ? user.userId.comment : null,
|
||||
isPrimary: primaryUser.index === i,
|
||||
},
|
||||
}
|
||||
|
||||
if ('selfCertifications' in user && user.selfCertifications.length >= 0) {
|
||||
if ('selfCertifications' in user && user.selfCertifications.length > 0) {
|
||||
const notations = user.selfCertifications[0].rawNotations
|
||||
usersOutput[i].notations = notations.map(
|
||||
({ name, value, humanReadable }) => {
|
||||
|
|
2
dist/doip.min.js
vendored
2
dist/doip.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
# doip.js <small>0.8.2</small>
|
||||
# doip.js <small>0.8.3</small>
|
||||
|
||||
<img src="doip.png" width="120">
|
||||
|
||||
|
|
|
@ -1,11 +1,18 @@
|
|||
# Changelog
|
||||
|
||||
## [0.8.3]
|
||||
|
||||
[2020-12-26](https://codeberg.org/keyoxide/doipjs/releases/tag/0.8.3)
|
||||
|
||||
### Fixed
|
||||
- Handling of users without userId
|
||||
|
||||
## [0.8.2]
|
||||
|
||||
[2020-12-26](https://codeberg.org/keyoxide/doipjs/releases/tag/0.8.2)
|
||||
|
||||
### Fixed
|
||||
- Hanlding of users without selfCertifications
|
||||
- Handling of users without selfCertifications
|
||||
|
||||
## [0.8.1]
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ npm install --save doipjs
|
|||
Install on website by including the following HTML snippet:
|
||||
|
||||
```html
|
||||
<script src="https://cdn.jsdelivr.net/npm/doipjs@0.8.2/dist/doip.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/doipjs@0.8.3/dist/doip.min.js"></script>
|
||||
```
|
||||
|
||||
Next step: [quick start (Node.js)](quickstart-nodejs.md) and [quick start (browser)](quickstart-browser.md)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "doipjs",
|
||||
"version": "0.8.2",
|
||||
"version": "0.8.3",
|
||||
"description": "Decentralized OpenPGP Identity Proofs library in Node.js",
|
||||
"main": "src/index.js",
|
||||
"dependencies": {
|
||||
|
|
Loading…
Reference in a new issue