Skip to content

Commit

Permalink
feat: principal backwards compatibility (#614)
Browse files Browse the repository at this point in the history
* feat: backwards compatibility with PrincipalBase
* documentation
* PrincipalLike and adding isPrincipal utility methods
* upgrading node version

Co-authored-by: Eric Swanson <64809312+ericswanson-dfinity@users.noreply.github.com>
  • Loading branch information
krpeacock and ericswanson-dfinity committed Aug 26, 2022
1 parent d65ff93 commit 129293d
Show file tree
Hide file tree
Showing 6 changed files with 7,071 additions and 8,537 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.10
v16.17.0
11 changes: 11 additions & 0 deletions docs/generated/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@
<h1>Agent-JS Changelog</h1>

<section>
<h2>Version 1.0.0</h2>
<ul>
<li>Backwards compatibility with 0.9.3 for @dfinity/principal</li>
<ul>
<li>
If you have a TypeScript interface that uses a Principal, we recommend updating and
using the abstract class PrincipalLike as the signature. It will be compatible across
versions of agent-js.
</li>
</ul>
</ul>
<h2>Version 0.13.2</h2>
<ul>
<li>auth-client avoids localstorage global and can be used in a web worker or nodejs</li>
Expand Down

0 comments on commit 129293d

Please sign in to comment.