From f89c3529625f0aefb804b3892d96adb030f400fc Mon Sep 17 00:00:00 2001 From: ChenWei Date: Tue, 24 Sep 2024 15:14:22 +0800 Subject: [PATCH] feat: example wallet update --- examples/example-wallet-react/src/main.tsx | 8 +++++--- xterio-wallet/src/main.tsx | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/examples/example-wallet-react/src/main.tsx b/examples/example-wallet-react/src/main.tsx index 59c4d55..0cde973 100644 --- a/examples/example-wallet-react/src/main.tsx +++ b/examples/example-wallet-react/src/main.tsx @@ -24,13 +24,15 @@ const devConfig = { redirect_uri: 'http://localhost:3000/', client_id: '4gsmgur6gkp8u9ps8dlco3k7eo', client_secret: 'ABC23', - app_id: 'apiautotest' + app_id: 'apiautotest', + pn_app_id: '40ad8524-f844-496d-8de2-50a8a322d6ba' } const stageConfig = { redirect_uri: location.href.replace(/[?&]code=[^&]+/, ''), client_id: '3094298453404953', client_secret: 'mzmhYqcqDGdymblv5gb7s9OWcnYpH1ha', - app_id: '6c684e202700' + app_id: '6c684e202700', + pn_app_id: '9cd6a325-3082-4e98-8803-82a66cd9e86f' } let _env: Env = __EXAMPLE_ENV__ || Env.Dev const variable = GET_QUERY_STRING('env') @@ -42,7 +44,7 @@ if (variable === 'dev') { const config = _env === Env.Staging ? stageConfig : devConfig createRoot(document.getElementById('root')!).render( // - + // diff --git a/xterio-wallet/src/main.tsx b/xterio-wallet/src/main.tsx index 4229741..0c75912 100644 --- a/xterio-wallet/src/main.tsx +++ b/xterio-wallet/src/main.tsx @@ -23,7 +23,7 @@ const config: IXterioWalletContextProps = { showOpenWalletIcon: true, pn_app_id: '40ad8524-f844-496d-8de2-50a8a322d6ba', transactionMode: SendTransactionMode.Gasless, - logLevel: 3 + logLevel: 1 } createRoot(document.getElementById('root')!).render( //