mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 22:49:28 -07:00
Release 0.12.5
This commit is contained in:
parent
44fd519658
commit
94e581ceb1
4 changed files with 13 additions and 5 deletions
|
@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.12.5] - 2021-05-21
|
||||||
|
### Fixed
|
||||||
|
- Keybase key fetching
|
||||||
|
- Fix IRC NickServ command syntax
|
||||||
|
|
||||||
## [0.12.4] - 2021-04-30
|
## [0.12.4] - 2021-04-30
|
||||||
### Fixed
|
### Fixed
|
||||||
- Headings in CHANGELOG.md
|
- Headings in CHANGELOG.md
|
||||||
|
|
9
dist/doip.js
vendored
9
dist/doip.js
vendored
|
@ -7515,7 +7515,7 @@ module.exports.default = exports.default;
|
||||||
},{"./util/assertString":107}],113:[function(require,module,exports){
|
},{"./util/assertString":107}],113:[function(require,module,exports){
|
||||||
module.exports={
|
module.exports={
|
||||||
"name": "doipjs",
|
"name": "doipjs",
|
||||||
"version": "0.12.4",
|
"version": "0.12.5",
|
||||||
"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": {
|
||||||
|
@ -9819,13 +9819,15 @@ if (jsEnv.isNode) {
|
||||||
port: 6697,
|
port: 6697,
|
||||||
secure: true,
|
secure: true,
|
||||||
channels: [],
|
channels: [],
|
||||||
|
showErrors: false,
|
||||||
|
debug: false
|
||||||
})
|
})
|
||||||
const reKey = /[a-zA-Z0-9\-\_]+\s+:\s(openpgp4fpr\:.*)/
|
const reKey = /[a-zA-Z0-9\-\_]+\s+:\s(openpgp4fpr\:.*)/
|
||||||
const reEnd = /End\sof\s.*\staxonomy./
|
const reEnd = /End\sof\s.*\staxonomy./
|
||||||
let keys = []
|
let keys = []
|
||||||
|
|
||||||
client.addListener('registered', (message) => {
|
client.addListener('registered', (message) => {
|
||||||
client.send(`PRIVMSG NickServ :TAXONOMY ${data.nick}`)
|
client.send(`PRIVMSG NickServ TAXONOMY ${data.nick}`)
|
||||||
})
|
})
|
||||||
client.addListener('notice', (nick, to, text, message) => {
|
client.addListener('notice', (nick, to, text, message) => {
|
||||||
if (reKey.test(text)) {
|
if (reKey.test(text)) {
|
||||||
|
@ -10308,8 +10310,9 @@ exports.fetchWKD = (identifier) => {
|
||||||
exports.fetchKeybase = (username, fingerprint) => {
|
exports.fetchKeybase = (username, fingerprint) => {
|
||||||
return new Promise(async (resolve, reject) => {
|
return new Promise(async (resolve, reject) => {
|
||||||
const keyLink = `https://keybase.io/${username}/pgp_keys.asc?fingerprint=${fingerprint}`
|
const keyLink = `https://keybase.io/${username}/pgp_keys.asc?fingerprint=${fingerprint}`
|
||||||
|
let rawKeyContent
|
||||||
try {
|
try {
|
||||||
const rawKeyContent = await req(opts.keyLink)
|
rawKeyContent = await req(keyLink)
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
if (response.status === 200) {
|
if (response.status === 200) {
|
||||||
return response
|
return response
|
||||||
|
|
2
dist/doip.min.js
vendored
2
dist/doip.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "doipjs",
|
"name": "doipjs",
|
||||||
"version": "0.12.4",
|
"version": "0.12.5",
|
||||||
"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": {
|
||||||
|
|
Loading…
Reference in a new issue