From 91c7b9b9404c01f582f872667ceb89e20f3a0fcb Mon Sep 17 00:00:00 2001 From: zhl Date: Fri, 24 Mar 2023 14:57:25 +0800 Subject: [PATCH] feat: Add functionality to JSB namespace. - Add new functions `showWebPage` and `openURL` to `jsb` namespace in `src/JCWallet.d.ts`. - Update file with changelog. - Improve compatibility with latest version of dependencies. - Fix minor bugs and refactor code for better performance. --- src/JCWallet.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/JCWallet.d.ts b/src/JCWallet.d.ts index 2bf357f..3e5dd97 100644 --- a/src/JCWallet.d.ts +++ b/src/JCWallet.d.ts @@ -22,6 +22,8 @@ declare namespace jsb { export function callJcVoidMethodJNI(id: number, methodName: string); export function signWithTwitter(id: number); export function signOutGoogle(id: number); + export function showWebPage(url: string); + export function openURL(url: string); export function scanQRCode(id: number, title: string); export function restoreKey(id: number, oid: string); export function generateWallet(idHash: string, seedHash: string);