@dfinity/agent

v2.1.3
JavaScript and TypeScript library to interact with the Internet Computer
internet computer internet-computer ic dfinity agent actor dfx canister candid and 9 more...

build

tsc -b && tsc -p tsconfig-cjs.json

build:watch

tsc -b --watch

bundle

esbuild --bundle src/index.ts --outfile=dist/index.js

eslint:fix

npm run lint -- --fix

eslint

eslint --ext '.js,.jsx,.ts,.tsx' src/index.ts src/auth.ts src/request_id.ts src/request_id.test.ts

lint

npm run eslint

make:docs/reference

typedoc src/index.ts --out ../../docs/agent --excludeInternal

test

jest

test:coverage

jest --collectCoverage
npm i @dfinity/agent

Metadata

Downloads