diff --git a/packages/wc-qrcode-modal/src/index.tsx b/packages/wc-qrcode-modal/src/index.tsx index 0762f2f8dd..b34d535ada 100644 --- a/packages/wc-qrcode-modal/src/index.tsx +++ b/packages/wc-qrcode-modal/src/index.tsx @@ -49,6 +49,11 @@ export class KeplrQRCodeModalV2 { } } + /** + * Opens the QR code modal with the provided URI. + * @param uri - The WalletConnect URI to display in the QR code + * @param cb - Callback function to execute when the modal is closed (used for cleanup logic) + */ open(uri: string, cb: any) { const wrapper = document.createElement("div"); wrapper.setAttribute("id", "keplr-qrcode-modal-v2");