UNPKG

@dfinity/agent

Version:

JavaScript and TypeScript library to interact with the Internet Computer

32 lines 1.5 kB
/** * @module api */ export * from "./actor.js"; export * from "./agent/index.js"; export * from "./agent/http/transforms.js"; export * from "./agent/http/types.js"; export * from "./auth.js"; export * from "./certificate.js"; export { IC_REQUEST_DOMAIN_SEPARATOR, IC_RESPONSE_DOMAIN_SEPARATOR, IC_REQUEST_AUTH_DELEGATION_DOMAIN_SEPARATOR, } from "./constants.js"; export * from "./der.js"; export * from "./errors.js"; export * from "./fetch_candid.js"; export * from "./observable.js"; export * from "./public_key.js"; export * from "./request_id.js"; export * from "./utils/bls.js"; export * from "./utils/buffer.js"; export * from "./utils/random.js"; export * as polling from "./polling/index.js"; import * as CanisterStatus from "./canisterStatus/index.js"; 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.js"; export * from "./polling/index.js"; //# sourceMappingURL=index.js.map