From 6639449e8a9c36f6184b63eb744931cfb4a7fc02 Mon Sep 17 00:00:00 2001 From: Soham Jaiswal Date: Wed, 2 Jul 2025 12:56:34 +0530 Subject: [PATCH 1/2] feat: add packages --- infrastructure/eid-wallet/package.json | 1 + infrastructure/eid-wallet/src-tauri/Cargo.toml | 1 + .../gen/android/.idea/AndroidProjectSystem.xml | 6 ++++++ .../src-tauri/gen/android/.idea/deviceManager.xml | 13 +++++++++++++ pnpm-lock.yaml | 10 ++++++++++ 5 files changed, 31 insertions(+) create mode 100644 infrastructure/eid-wallet/src-tauri/gen/android/.idea/AndroidProjectSystem.xml create mode 100644 infrastructure/eid-wallet/src-tauri/gen/android/.idea/deviceManager.xml diff --git a/infrastructure/eid-wallet/package.json b/infrastructure/eid-wallet/package.json index 59588089..d28fffec 100644 --- a/infrastructure/eid-wallet/package.json +++ b/infrastructure/eid-wallet/package.json @@ -19,6 +19,7 @@ }, "license": "MIT", "dependencies": { + "@auvo/tauri-plugin-crypto-hw-api": "^0.1.0", "@hugeicons/core-free-icons": "^1.0.13", "@hugeicons/svelte": "^1.0.2", "@ngneat/falso": "^7.3.0", diff --git a/infrastructure/eid-wallet/src-tauri/Cargo.toml b/infrastructure/eid-wallet/src-tauri/Cargo.toml index 6c42a7ad..48c4e03b 100644 --- a/infrastructure/eid-wallet/src-tauri/Cargo.toml +++ b/infrastructure/eid-wallet/src-tauri/Cargo.toml @@ -32,4 +32,5 @@ thiserror = { version = "2.0.11" } [target.'cfg(any(target_os = "android", target_os = "ios"))'.dependencies] tauri-plugin-barcode-scanner = "2" tauri-plugin-biometric = "2.2.0" +tauri-plugin-crypto-hw = "0.1.0" diff --git a/infrastructure/eid-wallet/src-tauri/gen/android/.idea/AndroidProjectSystem.xml b/infrastructure/eid-wallet/src-tauri/gen/android/.idea/AndroidProjectSystem.xml new file mode 100644 index 00000000..4a53bee8 --- /dev/null +++ b/infrastructure/eid-wallet/src-tauri/gen/android/.idea/AndroidProjectSystem.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/infrastructure/eid-wallet/src-tauri/gen/android/.idea/deviceManager.xml b/infrastructure/eid-wallet/src-tauri/gen/android/.idea/deviceManager.xml new file mode 100644 index 00000000..91f95584 --- /dev/null +++ b/infrastructure/eid-wallet/src-tauri/gen/android/.idea/deviceManager.xml @@ -0,0 +1,13 @@ + + + + + + \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 45fb938b..3209e7ec 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,6 +20,9 @@ importers: infrastructure/eid-wallet: dependencies: + '@auvo/tauri-plugin-crypto-hw-api': + specifier: ^0.1.0 + version: 0.1.0 '@hugeicons/core-free-icons': specifier: ^1.0.13 version: 1.0.14 @@ -913,6 +916,9 @@ packages: resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} + '@auvo/tauri-plugin-crypto-hw-api@0.1.0': + resolution: {integrity: sha512-ZvCc1QGaimaLv4p8suRT+inCJE12LCHkciw1cPiIISzdSLLIEg05MMZnanCoefwJL9795KXD64u0vkIZsa+czg==} + '@babel/code-frame@7.27.1': resolution: {integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==} engines: {node: '>=6.9.0'} @@ -9246,6 +9252,10 @@ snapshots: '@jridgewell/gen-mapping': 0.3.8 '@jridgewell/trace-mapping': 0.3.25 + '@auvo/tauri-plugin-crypto-hw-api@0.1.0': + dependencies: + '@tauri-apps/api': 2.5.0 + '@babel/code-frame@7.27.1': dependencies: '@babel/helper-validator-identifier': 7.27.1 From 1edfe9cd4669443e9da2781cd5c377d014883d64 Mon Sep 17 00:00:00 2001 From: Soham Jaiswal Date: Wed, 2 Jul 2025 13:10:03 +0530 Subject: [PATCH 2/2] feat: add sample funcs + docs --- .../src/routes/(auth)/onboarding/+page.svelte | 41 ++++++++++++++++--- 1 file changed, 35 insertions(+), 6 deletions(-) diff --git a/infrastructure/eid-wallet/src/routes/(auth)/onboarding/+page.svelte b/infrastructure/eid-wallet/src/routes/(auth)/onboarding/+page.svelte index 821ff479..6b9427ab 100644 --- a/infrastructure/eid-wallet/src/routes/(auth)/onboarding/+page.svelte +++ b/infrastructure/eid-wallet/src/routes/(auth)/onboarding/+page.svelte @@ -1,18 +1,22 @@