Release 0.9.3

This commit is contained in:
Yarmo Mackenbach 2021-01-10 12:34:47 +01:00
parent df896db473
commit 5f1097d6a4
7 changed files with 17 additions and 6 deletions

View file

@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
## [0.9.3] - 2021-01-10
## Fixed
- Fix regex skipping some claims
## [0.9.2] - 2021-01-09 ## [0.9.2] - 2021-01-09
## Fixed ## Fixed
- Network errors blocking code execution - Network errors blocking code execution

4
dist/doip.js vendored
View file

@ -1193,7 +1193,7 @@ process.umask = function() { return 0; };
},{}],9:[function(require,module,exports){ },{}],9:[function(require,module,exports){
module.exports={ module.exports={
"name": "doipjs", "name": "doipjs",
"version": "0.9.2", "version": "0.9.3",
"description": "Decentralized OpenPGP Identity Proofs library in Node.js", "description": "Decentralized OpenPGP Identity Proofs library in Node.js",
"main": "src/index.js", "main": "src/index.js",
"dependencies": { "dependencies": {
@ -3059,7 +3059,7 @@ const verify = (signature, opts) => {
let sigClaims = [] let sigClaims = []
text.split('\n').forEach((line, i) => { text.split('\n').forEach((line, i) => {
const match = line.match(/^(.*)\=(.*)$/i) const match = line.match(/^([a-zA-Z0-9]*)\=(.*)$/i)
if (!match) { if (!match) {
return return
} }

2
dist/doip.min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
# doip.js <small>0.9.2</small> # doip.js <small>0.9.3</small>
<img src="doip.png" width="120"> <img src="doip.png" width="120">

View file

@ -1,5 +1,12 @@
# Changelog # Changelog
## [0.9.3]
[2021-01-10](https://codeberg.org/keyoxide/doipjs/releases/tag/0.9.3)
## Fixed
- Fix regex skipping some claims
## [0.9.2] ## [0.9.2]
[2021-01-09](https://codeberg.org/keyoxide/doipjs/releases/tag/0.9.2) [2021-01-09](https://codeberg.org/keyoxide/doipjs/releases/tag/0.9.2)

View file

@ -15,7 +15,7 @@ npm install --save doipjs
Install on website by including the following HTML snippet: Install on website by including the following HTML snippet:
```html ```html
<script src="https://cdn.jsdelivr.net/npm/doipjs@0.9.2/dist/doip.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/doipjs@0.9.3/dist/doip.min.js"></script>
``` ```
Next step: [quick start (Node.js)](quickstart-nodejs.md) and [quick start (browser)](quickstart-browser.md) Next step: [quick start (Node.js)](quickstart-nodejs.md) and [quick start (browser)](quickstart-browser.md)

View file

@ -1,6 +1,6 @@
{ {
"name": "doipjs", "name": "doipjs",
"version": "0.9.2", "version": "0.9.3",
"description": "Decentralized OpenPGP Identity Proofs library in Node.js", "description": "Decentralized OpenPGP Identity Proofs library in Node.js",
"main": "src/index.js", "main": "src/index.js",
"dependencies": { "dependencies": {