Skip to content

Commit

Permalink
Re-introduce resolve Method in DidApi for DID Resolution (#267)
Browse files Browse the repository at this point in the history
* Reintroduce web5.did.resolve()
* Include pkarr in CJS bundling because it doesn't ship ESM
* Exclude sodium-universal in CJS bundling
* Update README files and prepare for release

---------
Signed-off-by: Frank Hinek <[email protected]>
  • Loading branch information
frankhinek authored Nov 9, 2023
1 parent 50be4bd commit 2421b28
Show file tree
Hide file tree
Showing 22 changed files with 383 additions and 302 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ npm install @web5/api
_CDNs_

```yaml
https://unpkg.com/@web5/[email protected].1/dist/browser.js
https://unpkg.com/@web5/[email protected].2/dist/browser.js
```

```yaml
https://cdn.jsdelivr.net/npm/@web5/[email protected].1/dist/browser.mjs
https://cdn.jsdelivr.net/npm/@web5/[email protected].2/dist/browser.mjs
```

## Usage
Expand Down Expand Up @@ -279,7 +279,7 @@ const { record } = await web5.dwn.records.read({
message: {
filter: {
recordId: "bfw35evr6e54c4cqa4c589h4cq3v7w4nc534c9w7h5",
}
},
},
});

Expand All @@ -291,7 +291,7 @@ const { record } = await web5.dwn.records.read({
message: {
filter: {
recordId: "bfw35evr6e54c4cqa4c589h4cq3v7w4nc534c9w7h5",
}
},
},
});

Expand Down
Loading

0 comments on commit 2421b28

Please sign in to comment.