From 568f0309c1efc1561c5577d46a82c713ad229d36 Mon Sep 17 00:00:00 2001 From: HKafui Date: Mon, 2 Jun 2025 16:54:49 +0100 Subject: [PATCH 1/2] feat: refactor code structure for improved readability and maintainability --- example/src/TestComponent.tsx | 4 +- example/yarn.lock | 576 +- package-lock.json | 19426 ++++++++++++++++++++++++++++++++ src/index.ts | 2 +- src/kkiapay.tsx | 49 +- src/linking.ts | 3 +- yarn.lock | 2970 ++--- 7 files changed, 21323 insertions(+), 1707 deletions(-) create mode 100644 package-lock.json diff --git a/example/src/TestComponent.tsx b/example/src/TestComponent.tsx index aa7de8d..8fadd52 100644 --- a/example/src/TestComponent.tsx +++ b/example/src/TestComponent.tsx @@ -8,14 +8,14 @@ export default function TestComponent() { const openWidget = () => { openKkiapayWidget({ amount: 100, - key: '3425dc6035d711eca8f5b92f2997955b', + key: 'your_api_key', sandbox: true, reason: 'Payment', }); }; return ( - +