Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: deprecates @dfinity/authentication #661

Merged
merged 11 commits into from Dec 6, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/generated/changelog.html
Expand Up @@ -12,6 +12,14 @@ <h1>Agent-JS Changelog</h1>
<section>
<h2>Version x.x.x</h2>
<ul>
<li>
<em>Breaking change:</em> Deprecates
<pre>@dfinity/authentication</pre>
. If you relied on the
<pre>isDelegationValid</pre>
check, it has been moved to
<pre>@dfinity/identity</pre>
</li>
<li>chore: links assets docs in index</li>
<li>chore: sets up new size-limit job for packages, in preparation for CI</li>
</ul>
Expand Down
187 changes: 3 additions & 184 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion packages/auth-client/package.json
Expand Up @@ -48,7 +48,6 @@
},
"peerDependencies": {
"@dfinity/agent": "^0.14.1",
"@dfinity/authentication": "^0.14.1",
"@dfinity/identity": "^0.14.1",
"@dfinity/principal": "^0.14.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/auth-client/src/index.ts
Expand Up @@ -6,10 +6,10 @@ import {
Signature,
SignIdentity,
} from '@dfinity/agent';
import { isDelegationValid } from '@dfinity/authentication';
import {
Delegation,
DelegationChain,
isDelegationValid,
DelegationIdentity,
Ed25519KeyIdentity,
} from '@dfinity/identity';
Expand Down
17 changes: 0 additions & 17 deletions packages/authentication/.gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions packages/authentication/.npmignore

This file was deleted.

3 changes: 3 additions & 0 deletions packages/authentication/README.md
@@ -1,5 +1,8 @@
# @dfinity/authentication

**Warning**
this package is deprecated

JavaScript and TypeScript library to support manage Identities and enable simple Web Authentication flows for applications on the [Internet Computer](https://dfinity.org/)

Visit the [Dfinity Forum](https://forum.dfinity.org/) and [SDK Documentation](https://sdk.dfinity.org/docs/index.html) for more information and support building on the Internet Computer.
Expand Down

This file was deleted.