UNPKG

@frak-labs/core-sdk

Version:

Core SDK of the Frak wallet, low level library to interact directly with the frak ecosystem.

38 lines (37 loc) 1.3 kB
export { displayEmbeddedWallet } from "./displayEmbeddedWallet"; export { displayModal } from "./displayModal"; export { displaySharingPage } from "./displaySharingPage"; export { ensureIdentity } from "./ensureIdentity"; export { getMerchantInformation } from "./getMerchantInformation"; export { getMergeToken } from "./getMergeToken"; export { getUserReferralStatus } from "./getUserReferralStatus"; export { openSso } from "./openSso"; export { prepareSso } from "./prepareSso"; export { type ProcessReferralOptions, processReferral, } from "./referral/processReferral"; // Referral export { referralInteraction } from "./referral/referralInteraction"; export { REFERRAL_SUCCESS_EVENT, setupReferral, } from "./referral/setupReferral"; export { sendInteraction } from "./sendInteraction"; // Helper to track the purchase status export { trackPurchaseStatus } from "./trackPurchaseStatus"; export { watchWalletStatus } from "./watchWalletStatus"; // Modal wrappers export { type ModalBuilder, type ModalStepBuilder, modalBuilder, } from "./wrapper/modalBuilder"; export { type SendTransactionParams, sendTransaction, } from "./wrapper/sendTransaction"; export { type SiweAuthenticateModalParams, siweAuthenticate, } from "./wrapper/siweAuthenticate";