Package Exports
- @dfinity/identity
- @dfinity/identity/lib/cjs/index.js
- @dfinity/identity/lib/esm/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@dfinity/identity) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@dfinity/identity
JavaScript and TypeScript library to manage Identities and enable simple Web Authentication flows for applications on the Internet Computer
Visit the Dfinity Forum and SDK Documentation for more information and support building on the Internet Computer.
Additional API Documentation can be found here.
Installation
Using authentication:
npm i --save @dfinity/identity
In the browser:
import * as identity from "@dfinity/identity";
or using individual exports:
import { WebAuthnIdentity } from "@dfinity/identity";
Note: depends on @dfinity/agent