UNPKG

@dfinity/agent

Version:

JavaScript and TypeScript library to interact with the Internet Computer

32 lines 1.5 kB
/** * @module api */ export * from './actor.ts'; export * from './agent/index.ts'; export * from './agent/http/transforms.ts'; export * from './agent/http/types.ts'; export * from './auth.ts'; export * from './certificate.ts'; export { IC_REQUEST_DOMAIN_SEPARATOR, IC_RESPONSE_DOMAIN_SEPARATOR, IC_REQUEST_AUTH_DELEGATION_DOMAIN_SEPARATOR, } from './constants.ts'; export * from './der.ts'; export * from './errors.ts'; export * from './fetch_candid.ts'; export * from './observable.ts'; export * from './public_key.ts'; export * from './request_id.ts'; export * from './utils/bls.ts'; export * from './utils/buffer.ts'; export * from './utils/random.ts'; export * as polling from './polling/index.ts'; import * as CanisterStatus from './canisterStatus/index.ts'; export { CanisterStatus }; /** * The CanisterStatus utility is used to request structured data directly from the IC public API. This data can be accessed using agent.readState, but CanisterStatus provides a helpful abstraction with some known paths. * * You can request a canisters Controllers, ModuleHash, Candid interface, Subnet, or Time, or provide a custom path {@link CanisterStatus.CustomPath} and pass arbitrary buffers for valid paths identified in https://internetcomputer.org/docs/current/references/ic-interface-spec. * * The primary method for this namespace is {@link CanisterStatus.request} */ export { Cbor, ToCborValue } from './cbor.ts'; export * from './polling/index.ts'; //# sourceMappingURL=index.d.ts.map