dcd0cc4c20
fix import for derived accounts and hopefully make other account-access code more robust
2025-06-08 19:14:41 -06:00
4c1b4fe651
fix linting
2025-05-26 22:56:00 -06:00
0bfc18c385
add encryption & decryption for the sensitive identity & mnemonic in SQL DB
2025-05-26 22:42:20 -06:00
Matthew Raymer
0f1ac2b230
fix: move lexical declarations outside case blocks in AbsurdSqlDatabaseService
...
- Move queryResult and allResult declarations outside switch statement
- Change const declarations to let since they're now in outer scope
- Remove const declarations from inside case blocks
This fixes the 'no-case-declarations' linter errors by ensuring variables
are declared in a scope that encompasses all case blocks, preventing
potential scoping issues.
Note: Type definition errors for external modules remain and should be
addressed separately.
2025-05-27 03:14:02 +00:00
5d8175aeeb
add encryption for the two SQL columns, replace basic DB utils, add USE_DEXIE_DB flag, and start adding SQL everywhere
2025-05-26 19:03:20 -06:00
Matthew Raymer
30e448faf8
refactor(qr): improve QR code scanning robustness and error handling
...
- Enhance JWT extraction with unified path handling and validation
- Add debouncing to prevent duplicate scans
- Improve error handling and logging throughout QR flow
- Add proper TypeScript interfaces for QR scan results
- Implement mobile app lifecycle handlers (pause/resume)
- Enhance logging with structured data and consistent levels
- Clean up scanner resources properly on component destroy
- Split contact handling into separate method for better organization
- Add proper type for UserNameDialog ref
This commit improves the reliability and maintainability of the QR code
scanning functionality while adding better error handling and logging.
2025-04-22 11:04:56 +00:00
Matthew Raymer
e0aded04b4
refactor: Replace console logging with logger utility
...
- Add logger import across multiple view components
- Replace console.error/warn/log with logger methods
- Update error handling to use structured logging
- Improve type safety for error objects
- Add crypto-browserify polyfill for browser environment
The changes improve logging by:
1. Using consistent logging interface
2. Adding structured error logging
3. Improving error type safety
4. Centralizing logging configuration
5. Fixing browser compatibility issues
Affected files:
- Multiple view components
- vite.config.ts
- Build configuration
2025-03-11 09:35:55 +00:00
Matthew Raymer
43983bd993
(chore): merge mostly pathway changes
2025-02-06 13:34:48 +00:00
64830eeb05
fix linting (and change a little wording in onboarding page)
2025-02-03 16:36:13 -07:00
2a23587c3b
make screen where user can create a group onboarding meeting
2025-02-02 17:06:51 -07:00
Matthew Raymer
94ee9e24ea
Merge fixes
2025-01-11 12:45:43 +00:00
6514f52b92
change all copied contact URLs to contact-import, and handle multiples & singles separately
2025-01-09 20:10:00 -07:00
07c4e58e87
add sanity checks for importing bulk contacts, eg. when there is a truncated link
2025-01-07 20:56:39 -07:00
702e44872f
switch so personal contact JWT is link to this server (not endorser.ch), make empty-did URL show user's info
2025-01-06 08:52:10 -07:00
Matthew Raymer
be8ba12df6
Refatored vite.config to be a bit more streamlined before adding alternate build options. This did end up requiring me to remove @ from imports for some reason. Tests came out fine.
2025-01-05 08:38:15 +00:00
b2ebc2992b
cache the passkey JWANT access token for multiple signatures
2024-07-19 12:44:54 -06:00
f6338c05ee
move low-level DID-related create & decode into separate folder ( #120 )
...
Co-authored-by: Trent Larson <trent@trentlarson.com >
Reviewed-on: #120
Co-authored-by: trentlarson <trent@trentlarson.com >
Co-committed-by: trentlarson <trent@trentlarson.com >
2024-07-13 13:24:54 -04:00
7cb9e2aa52
replace remaining didJwt.createJwt calls with one that checks for did:peer
2024-07-11 19:35:17 -06:00
145a1da37e
linting cleanup
2024-07-09 19:42:55 -06:00
bce003e508
change accessToken to take a DID
2024-07-09 19:20:05 -06:00
45f0a14661
add expiration inside JWANT & refactor getHeaders to move toward supporting did:peer
2024-07-09 17:56:48 -06:00
4cb434fd5d
passkey test ( #116 )
...
Co-authored-by: Trent Larson <trent@trentlarson.com >
Reviewed-on: #116
Co-authored-by: trentlarson <trent@trentlarson.com >
Co-committed-by: trentlarson <trent@trentlarson.com >
2024-06-24 22:21:24 -04:00
ef5f81932d
Initial stab at vitejs update
2024-03-24 11:18:29 -06:00
934664b9c9
add the hashed-next-key to the contact data, shown & stored
2024-01-03 17:44:41 -07:00
ce06e8f0fa
update derivation path to the one for time
2023-10-31 19:58:07 -06:00
94d9c425ad
add QR scanner for adding a contact
2023-09-07 18:59:19 -06:00
0c05505c46
allow use of custom derivation path, and add way to increment derivation for existing
2023-08-20 19:46:12 -06:00
Matthew Raymer
754bced2a9
Considerable cleanup. I think I also found the issue from the other day with values not loading from settings.
2023-07-06 18:12:21 +08:00
cfeabf05a4
refactor DB organization (prepping for more tables)
2023-03-18 17:04:14 -06:00
2a7c858662
refactor: use our own SimpleSigner since library version is deprecated
2023-01-09 19:08:41 -07:00
Matthew Aaron Raymer
ba85663048
Linted
2023-01-07 13:19:04 +08:00
9d566fa977
fix: use SimpleSigner directly from did-jwt
2023-01-06 19:25:53 -07:00
Matthew Aaron Raymer
150b35c4c7
Update with our own SimpleSigner
2023-01-06 17:30:41 +08:00
Matthew Aaron Raymer
f858a4d29a
Linted
2023-01-04 17:09:11 +08:00
Matthew Aaron Raymer
f021fcdb1c
New Project
2023-01-04 17:05:08 +08:00
Matthew Aaron Raymer
6325bcbe35
Work in progress
2023-01-03 17:28:23 +08:00
Matthew Aaron Raymer
0ee35e4946
Added variation of accessToken method carried over from endorser-mobile
2023-01-03 12:35:41 +08:00
Matthew Aaron Raymer
b58c0ce820
First iteration of account creation. More refactoring to come
2022-12-09 18:23:53 +08:00