mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 14:39:28 -07:00
chore: release 1.0.4
This commit is contained in:
parent
1baffe9c92
commit
4aba882b1b
9 changed files with 17 additions and 9 deletions
|
@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## [1.0.4] - 2023-09-19
|
||||
### Fixed
|
||||
- Allow the activitypub Person request to fail
|
||||
|
||||
## [1.0.3] - 2023-09-19
|
||||
### Fixed
|
||||
- Avoid using potentially missing URL for ActivityPub postprocessing
|
||||
|
|
6
dist/doip.core.js
vendored
6
dist/doip.core.js
vendored
|
@ -4664,8 +4664,12 @@ var doip = (function (exports, openpgp$1, fetcher) {
|
|||
switch (proofData.result.type) {
|
||||
case 'Note': {
|
||||
claimData.profile.uri = proofData.result.attributedTo;
|
||||
const personData = await fetcher__namespace.activitypub.fn({ url: proofData.result.attributedTo }, opts);
|
||||
claimData.profile.display = proofData.result.attributedTo;
|
||||
const personData = await fetcher__namespace.activitypub.fn({ url: proofData.result.attributedTo }, opts)
|
||||
.catch(_ => null);
|
||||
if (personData) {
|
||||
claimData.profile.display = `@${personData.preferredUsername}@${new URL(claimData.proof.request.uri).hostname}`;
|
||||
}
|
||||
break
|
||||
}
|
||||
|
||||
|
|
2
dist/doip.core.min.js
vendored
2
dist/doip.core.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/doip.fetchers.js
vendored
2
dist/doip.fetchers.js
vendored
|
@ -2728,7 +2728,7 @@ var doipFetchers = (function (exports) {
|
|||
* doip.js library version
|
||||
* @constant {string}
|
||||
*/
|
||||
const version = '1.0.3';
|
||||
const version = '1.0.4';
|
||||
|
||||
/*
|
||||
Copyright 2022 Yarmo Mackenbach
|
||||
|
|
2
dist/doip.fetchers.min.js
vendored
2
dist/doip.fetchers.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/doip.fetchers.minimal.js
vendored
2
dist/doip.fetchers.minimal.js
vendored
|
@ -2698,7 +2698,7 @@ var doipFetchers = (function (exports) {
|
|||
* doip.js library version
|
||||
* @constant {string}
|
||||
*/
|
||||
const version = '1.0.3';
|
||||
const version = '1.0.4';
|
||||
|
||||
/*
|
||||
Copyright 2022 Yarmo Mackenbach
|
||||
|
|
2
dist/doip.fetchers.minimal.min.js
vendored
2
dist/doip.fetchers.minimal.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "doipjs",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"description": "Decentralized Online Identity Proofs library in Node.js",
|
||||
"type": "module",
|
||||
"main": "./src/index.js",
|
||||
|
|
|
@ -22,4 +22,4 @@ limitations under the License.
|
|||
* doip.js library version
|
||||
* @constant {string}
|
||||
*/
|
||||
export const version = '1.0.3'
|
||||
export const version = '1.0.4'
|
||||
|
|
Loading…
Reference in a new issue