Bug Report
I am trying to do a basic frontend integration for the ckBtc minter canister and according to the documentation, the initial steps should be
import { CkBTCCanister } from “@dfinity/ckbtc”;
import { createAgent } from “@dfinity/utils”;
const agent = await createAgent({
identity,
host: HOST,
});
const { getBtcAddress } = CkBTCCanister.create({
agent,
canisterId: MY_CKBTC_MINTER_CANISTER_ID,
});
const btcAddress = await getBtcAddress({});
but then I am getting a TypeScript error that says: Module ‘“@dfinity/ckbtc”’ has no exported member ‘CkBTCCanister’.