Compare commits

..

1 Commits

Author SHA1 Message Date
Matthew Raymer
6d49be45ca fix: resolve Capacitor SQLite database connection issues
- Add comprehensive connection cleanup and retry logic
- Implement exponential backoff for database initialization
- Add app lifecycle management for proper resource cleanup
- Create diagnostic tools for troubleshooting database issues
- Fix CameraDirection enum usage for Capacitor Camera v6
- Temporarily disable encryption to isolate connection problems
- Add performance monitoring and health check capabilities
- Document fixes and troubleshooting procedures

Resolves: CapacitorSQLitePlugin null errors
Resolves: "Connection timesafari.sqlite already exists" conflicts
Resolves: Performance issues causing frame drops
Resolves: Memory management and garbage collection errors

Author: Matthew Raymer
2025-06-16 02:52:30 +00:00
9 changed files with 814 additions and 396 deletions

View File

@@ -19,14 +19,14 @@
}, },
"SQLite": { "SQLite": {
"iosDatabaseLocation": "Library/CapacitorDatabase", "iosDatabaseLocation": "Library/CapacitorDatabase",
"iosIsEncryption": true, "iosIsEncryption": false,
"iosBiometric": { "iosBiometric": {
"biometricAuth": true, "biometricAuth": false,
"biometricTitle": "Biometric login for TimeSafari" "biometricTitle": "Biometric login for TimeSafari"
}, },
"androidIsEncryption": true, "androidIsEncryption": false,
"androidBiometric": { "androidBiometric": {
"biometricAuth": true, "biometricAuth": false,
"biometricTitle": "Biometric login for TimeSafari" "biometricTitle": "Biometric login for TimeSafari"
} }
} }

View File

@@ -19,14 +19,14 @@
}, },
"SQLite": { "SQLite": {
"iosDatabaseLocation": "Library/CapacitorDatabase", "iosDatabaseLocation": "Library/CapacitorDatabase",
"iosIsEncryption": true, "iosIsEncryption": false,
"iosBiometric": { "iosBiometric": {
"biometricAuth": true, "biometricAuth": false,
"biometricTitle": "Biometric login for TimeSafari" "biometricTitle": "Biometric login for TimeSafari"
}, },
"androidIsEncryption": true, "androidIsEncryption": false,
"androidBiometric": { "androidBiometric": {
"biometricAuth": true, "biometricAuth": false,
"biometricTitle": "Biometric login for TimeSafari" "biometricTitle": "Biometric login for TimeSafari"
} }
} }

View File

@@ -0,0 +1,221 @@
# Database Connection Fixes for TimeSafari
## Overview
This document outlines the fixes implemented to resolve database connection issues in the TimeSafari application, particularly for Capacitor SQLite on Android devices.
## Issues Identified
### 1. CapacitorSQLitePlugin Errors
- Multiple `*** ERROR CapacitorSQLitePlugin: null` messages in Android logs
- Database connection conflicts and initialization failures
- Connection leaks causing "Connection timesafari.sqlite already exists" errors
### 2. Performance Issues
- App skipping 57 frames due to main thread blocking
- Null pointer exceptions in garbage collection
- Memory management issues
### 3. Connection Management
- Lack of proper connection cleanup on app lifecycle events
- No retry logic for failed connections
- Missing error handling and recovery mechanisms
## Implemented Fixes
### 1. Enhanced Database Initialization
#### Connection Cleanup
- Added `cleanupExistingConnections()` method to properly close existing connections
- Implemented connection consistency checks before creating new connections
- Added proper error handling for connection cleanup failures
#### Retry Logic
- Implemented exponential backoff retry mechanism for database connections
- Maximum of 3 retry attempts with increasing delays
- Comprehensive error logging for each attempt
#### Database Configuration
- Configured optimal SQLite settings for performance and stability:
- `PRAGMA journal_mode=WAL` for better concurrency
- `PRAGMA synchronous=NORMAL` for balanced performance
- `PRAGMA cache_size=10000` for improved caching
- `PRAGMA temp_store=MEMORY` for faster temporary operations
- `PRAGMA mmap_size=268435456` (256MB) for memory mapping
### 2. Lifecycle Management
#### App Lifecycle Listeners
- Added event listeners for `beforeunload` and `visibilitychange`
- Automatic database cleanup when app goes to background
- Proper resource management to prevent connection leaks
#### Health Monitoring
- Implemented `healthCheck()` method for connection status monitoring
- Added `reinitializeDatabase()` for forced reconnection
- Performance metrics tracking for database operations
### 3. Error Handling and Diagnostics
#### Comprehensive Error Handling
- Enhanced error logging with detailed context
- Graceful degradation when database operations fail
- User-friendly error messages with recovery suggestions
#### Diagnostic Tools
- Created `databaseDiagnostics.ts` utility for troubleshooting
- Database stress testing capabilities
- Performance monitoring and reporting
- System information collection for debugging
### 4. Configuration Changes
#### Capacitor Configuration
- Temporarily disabled encryption to isolate connection issues
- Disabled biometric authentication to reduce complexity
- Maintained proper database location settings
#### Camera Integration Fixes
- Fixed `CameraDirection` enum usage for Capacitor Camera v6
- Updated from string literals to proper enum values
- Resolved TypeScript compilation errors
## Usage
### Running Diagnostics
```typescript
import { runDatabaseDiagnostics, stressTestDatabase } from '@/utils/databaseDiagnostics';
// Run comprehensive diagnostics
const diagnosticInfo = await runDatabaseDiagnostics();
console.log('Database status:', diagnosticInfo.connectionStatus);
// Run stress test
await stressTestDatabase(20);
```
### Health Checks
```typescript
import { PlatformServiceFactory } from '@/services/PlatformServiceFactory';
const platformService = PlatformServiceFactory.getInstance();
const health = await platformService.healthCheck();
if (!health.healthy) {
console.error('Database health check failed:', health.error);
// Attempt reinitialization
await platformService.reinitializeDatabase();
}
```
### Performance Monitoring
```typescript
import { logDatabasePerformance } from '@/utils/databaseDiagnostics';
// Wrap database operations with performance monitoring
const start = Date.now();
await platformService.dbQuery("SELECT * FROM users");
const duration = Date.now() - start;
logDatabasePerformance("User query", duration);
```
## Troubleshooting Guide
### Common Issues and Solutions
#### 1. "Connection timesafari.sqlite already exists"
**Cause**: Multiple database connections not properly closed
**Solution**:
- Use the enhanced cleanup methods
- Check for existing connections before creating new ones
- Implement proper app lifecycle management
#### 2. CapacitorSQLitePlugin null errors
**Cause**: Database initialization failures or connection conflicts
**Solution**:
- Use retry logic with exponential backoff
- Check connection consistency
- Verify database configuration settings
#### 3. Performance Issues
**Cause**: Main thread blocking or inefficient database operations
**Solution**:
- Use WAL journal mode for better concurrency
- Implement proper connection pooling
- Monitor and optimize query performance
#### 4. Memory Leaks
**Cause**: Database connections not properly closed
**Solution**:
- Implement proper cleanup on app lifecycle events
- Use health checks to monitor connection status
- Force reinitialization when issues are detected
### Debugging Steps
1. **Check Logs**: Look for database-related error messages
2. **Run Diagnostics**: Use `runDatabaseDiagnostics()` to get system status
3. **Monitor Performance**: Track query execution times
4. **Test Connections**: Use stress testing to identify issues
5. **Verify Configuration**: Check Capacitor and SQLite settings
### Recovery Procedures
#### Automatic Recovery
- Health checks run periodically
- Automatic reinitialization on connection failures
- Graceful degradation for non-critical operations
#### Manual Recovery
- Force app restart to clear all connections
- Clear app data if persistent issues occur
- Check device storage and permissions
## Security Considerations
### Data Protection
- Encryption can be re-enabled once connection issues are resolved
- Biometric authentication can be restored after stability is confirmed
- Proper error handling prevents data corruption
### Privacy
- Diagnostic information is logged locally only
- No sensitive data is exposed in error messages
- User data remains protected during recovery procedures
## Performance Impact
### Improvements
- Reduced connection initialization time
- Better memory usage through proper cleanup
- Improved app responsiveness with background processing
- Enhanced error recovery reduces user impact
### Monitoring
- Performance metrics are tracked automatically
- Slow operations are logged with warnings
- System resource usage is monitored
## Future Enhancements
### Planned Improvements
1. **Connection Pooling**: Implement proper connection pooling for better performance
2. **Encryption Re-enablement**: Restore encryption once stability is confirmed
3. **Advanced Monitoring**: Add real-time performance dashboards
4. **Automated Recovery**: Implement self-healing mechanisms
### Research Areas
1. **Alternative Storage**: Investigate other storage solutions for specific use cases
2. **Migration Tools**: Develop tools for seamless data migration
3. **Cross-Platform Optimization**: Optimize for different device capabilities
## Conclusion
These fixes address the core database connection issues while maintaining application stability and user experience. The enhanced error handling, monitoring, and recovery mechanisms provide a robust foundation for reliable database operations across all platforms.
## Author
Matthew Raymer - Database Architecture and Mobile Platform Development

View File

@@ -49,16 +49,5 @@
</array> </array>
<key>UIViewControllerBasedStatusBarAppearance</key> <key>UIViewControllerBasedStatusBarAppearance</key>
<true/> <true/>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>app.timesafari</string>
<key>CFBundleURLSchemes</key>
<array>
<string>timesafari</string>
</array>
</dict>
</array>
</dict> </dict>
</plist> </plist>

577
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "timesafari", "name": "timesafari",
"version": "0.5.4", "version": "0.5.3",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "timesafari", "name": "timesafari",
"version": "0.5.4", "version": "0.5.3",
"dependencies": { "dependencies": {
"@capacitor-community/sqlite": "6.0.2", "@capacitor-community/sqlite": "6.0.2",
"@capacitor-mlkit/barcode-scanning": "^6.0.0", "@capacitor-mlkit/barcode-scanning": "^6.0.0",
@@ -3835,9 +3835,9 @@
} }
}, },
"node_modules/@electron/asar/node_modules/brace-expansion": { "node_modules/@electron/asar/node_modules/brace-expansion": {
"version": "1.1.12", "version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -4524,9 +4524,9 @@
} }
}, },
"node_modules/@eslint/eslintrc/node_modules/brace-expansion": { "node_modules/@eslint/eslintrc/node_modules/brace-expansion": {
"version": "1.1.12", "version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -6686,9 +6686,9 @@
} }
}, },
"node_modules/@humanwhocodes/config-array/node_modules/brace-expansion": { "node_modules/@humanwhocodes/config-array/node_modules/brace-expansion": {
"version": "1.1.12", "version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -6983,29 +6983,6 @@
"integrity": "sha512-meL9DERHj+fFVWoOX9fXqfcYcSpUfSYJPcFvDPKrxitICbwAoWR+Ut4j5NO9zAT917HUHLQmqzQbAsGNHlDcxQ==", "integrity": "sha512-meL9DERHj+fFVWoOX9fXqfcYcSpUfSYJPcFvDPKrxitICbwAoWR+Ut4j5NO9zAT917HUHLQmqzQbAsGNHlDcxQ==",
"license": "Apache-2.0 OR MIT" "license": "Apache-2.0 OR MIT"
}, },
"node_modules/@isaacs/balanced-match": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz",
"integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==",
"dev": true,
"license": "MIT",
"engines": {
"node": "20 || >=22"
}
},
"node_modules/@isaacs/brace-expansion": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz",
"integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@isaacs/balanced-match": "^4.0.1"
},
"engines": {
"node": "20 || >=22"
}
},
"node_modules/@isaacs/cliui": { "node_modules/@isaacs/cliui": {
"version": "8.0.2", "version": "8.0.2",
"resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
@@ -7862,9 +7839,9 @@
} }
}, },
"node_modules/@react-native/assets-registry": { "node_modules/@react-native/assets-registry": {
"version": "0.80.0", "version": "0.79.3",
"resolved": "https://registry.npmjs.org/@react-native/assets-registry/-/assets-registry-0.80.0.tgz", "resolved": "https://registry.npmjs.org/@react-native/assets-registry/-/assets-registry-0.79.3.tgz",
"integrity": "sha512-MlScsKAz99zoYghe5Rf5mUqsqz2rMB02640NxtPtBMSHNdGxxRlWu/pp1bFexDa1DYJwyIjnLgt3Z/Y90ikHfw==", "integrity": "sha512-Vy8DQXCJ21YSAiHxrNBz35VqVlZPpRYm50xRTWRf660JwHuJkFQG8cUkrLzm7AUriqUXxwpkQHcY+b0ibw9ejQ==",
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"peer": true, "peer": true,
@@ -7970,20 +7947,20 @@
} }
}, },
"node_modules/@react-native/community-cli-plugin": { "node_modules/@react-native/community-cli-plugin": {
"version": "0.80.0", "version": "0.79.3",
"resolved": "https://registry.npmjs.org/@react-native/community-cli-plugin/-/community-cli-plugin-0.80.0.tgz", "resolved": "https://registry.npmjs.org/@react-native/community-cli-plugin/-/community-cli-plugin-0.79.3.tgz",
"integrity": "sha512-uadfVvzZfz5tGpqwslL12i+rELK9m6cLhtqICX0JQvS7Bu12PJwrozhKzEzIYwN9i3wl2dWrKDUr08izt7S9Iw==", "integrity": "sha512-N/+p4HQqN4yK6IRzn7OgMvUIcrmEWkecglk1q5nj+AzNpfIOzB+mqR20SYmnPfeXF+mZzYCzRANb3KiM+WsSDA==",
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"peer": true, "peer": true,
"dependencies": { "dependencies": {
"@react-native/dev-middleware": "0.80.0", "@react-native/dev-middleware": "0.79.3",
"chalk": "^4.0.0", "chalk": "^4.0.0",
"debug": "^4.4.0", "debug": "^2.2.0",
"invariant": "^2.2.4", "invariant": "^2.2.4",
"metro": "^0.82.2", "metro": "^0.82.0",
"metro-config": "^0.82.2", "metro-config": "^0.82.0",
"metro-core": "^0.82.2", "metro-core": "^0.82.0",
"semver": "^7.1.3" "semver": "^7.1.3"
}, },
"engines": { "engines": {
@@ -7998,97 +7975,25 @@
} }
} }
}, },
"node_modules/@react-native/community-cli-plugin/node_modules/@react-native/debugger-frontend": {
"version": "0.80.0",
"resolved": "https://registry.npmjs.org/@react-native/debugger-frontend/-/debugger-frontend-0.80.0.tgz",
"integrity": "sha512-lpu9Z3xtKUaKFvEcm5HSgo1KGfkDa/W3oZHn22Zy0WQ9MiOu2/ar1txgd1wjkoNiK/NethKcRdCN7mqnc6y2mA==",
"license": "BSD-3-Clause",
"optional": true,
"peer": true,
"engines": {
"node": ">=18"
}
},
"node_modules/@react-native/community-cli-plugin/node_modules/@react-native/dev-middleware": {
"version": "0.80.0",
"resolved": "https://registry.npmjs.org/@react-native/dev-middleware/-/dev-middleware-0.80.0.tgz",
"integrity": "sha512-lLyTnJ687A5jF3fn8yR/undlCis3FG+N/apQ+Q0Lcl+GV6FsZs0U5H28YmL6lZtjOj4TLek6uGPMPmZasHx7cQ==",
"license": "MIT",
"optional": true,
"peer": true,
"dependencies": {
"@isaacs/ttlcache": "^1.4.1",
"@react-native/debugger-frontend": "0.80.0",
"chrome-launcher": "^0.15.2",
"chromium-edge-launcher": "^0.2.0",
"connect": "^3.6.5",
"debug": "^4.4.0",
"invariant": "^2.2.4",
"nullthrows": "^1.1.1",
"open": "^7.0.3",
"serve-static": "^1.16.2",
"ws": "^6.2.3"
},
"engines": {
"node": ">=18"
}
},
"node_modules/@react-native/community-cli-plugin/node_modules/debug": { "node_modules/@react-native/community-cli-plugin/node_modules/debug": {
"version": "4.4.1", "version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"peer": true, "peer": true,
"dependencies": { "dependencies": {
"ms": "^2.1.3" "ms": "2.0.0"
},
"engines": {
"node": ">=6.0"
},
"peerDependenciesMeta": {
"supports-color": {
"optional": true
}
} }
}, },
"node_modules/@react-native/community-cli-plugin/node_modules/ms": { "node_modules/@react-native/community-cli-plugin/node_modules/ms": {
"version": "2.1.3", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"peer": true "peer": true
}, },
"node_modules/@react-native/community-cli-plugin/node_modules/open": {
"version": "7.4.2",
"resolved": "https://registry.npmjs.org/open/-/open-7.4.2.tgz",
"integrity": "sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==",
"license": "MIT",
"optional": true,
"peer": true,
"dependencies": {
"is-docker": "^2.0.0",
"is-wsl": "^2.1.1"
},
"engines": {
"node": ">=8"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/@react-native/community-cli-plugin/node_modules/ws": {
"version": "6.2.3",
"resolved": "https://registry.npmjs.org/ws/-/ws-6.2.3.tgz",
"integrity": "sha512-jmTjYU0j60B+vHey6TfR3Z7RD61z/hmxBS3VMSGIrroOWXQEneK1zNuotOUrGyBHQj0yrpsLHPWtigEFd13ndA==",
"license": "MIT",
"optional": true,
"peer": true,
"dependencies": {
"async-limiter": "~1.0.0"
}
},
"node_modules/@react-native/debugger-frontend": { "node_modules/@react-native/debugger-frontend": {
"version": "0.79.3", "version": "0.79.3",
"resolved": "https://registry.npmjs.org/@react-native/debugger-frontend/-/debugger-frontend-0.79.3.tgz", "resolved": "https://registry.npmjs.org/@react-native/debugger-frontend/-/debugger-frontend-0.79.3.tgz",
@@ -8173,9 +8078,9 @@
} }
}, },
"node_modules/@react-native/gradle-plugin": { "node_modules/@react-native/gradle-plugin": {
"version": "0.80.0", "version": "0.79.3",
"resolved": "https://registry.npmjs.org/@react-native/gradle-plugin/-/gradle-plugin-0.80.0.tgz", "resolved": "https://registry.npmjs.org/@react-native/gradle-plugin/-/gradle-plugin-0.79.3.tgz",
"integrity": "sha512-drmS68rabSMOuDD+YsAY2luNT8br82ycodSDORDqAg7yWQcieHMp4ZUOcdOi5iW+JCqobablT/b6qxcrBg+RaA==", "integrity": "sha512-imfpZLhNBc9UFSzb/MOy2tNcIBHqVmexh/qdzw83F75BmUtLb/Gs1L2V5gw+WI1r7RqDILbWk7gXB8zUllwd+g==",
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"peer": true, "peer": true,
@@ -8184,9 +8089,9 @@
} }
}, },
"node_modules/@react-native/js-polyfills": { "node_modules/@react-native/js-polyfills": {
"version": "0.80.0", "version": "0.79.3",
"resolved": "https://registry.npmjs.org/@react-native/js-polyfills/-/js-polyfills-0.80.0.tgz", "resolved": "https://registry.npmjs.org/@react-native/js-polyfills/-/js-polyfills-0.79.3.tgz",
"integrity": "sha512-dMX7IcBuwghySTgIeK8q03tYz/epg5ScGmJEfBQAciuhzMDMV1LBR/9wwdgD73EXM/133yC5A+TlHb3KQil4Ew==", "integrity": "sha512-PEBtg6Kox6KahjCAch0UrqCAmHiNLEbp2SblUEoFAQnov4DSxBN9safh+QSVaCiMAwLjvNfXrJyygZz60Dqz3Q==",
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"peer": true, "peer": true,
@@ -8203,9 +8108,9 @@
"peer": true "peer": true
}, },
"node_modules/@react-native/virtualized-lists": { "node_modules/@react-native/virtualized-lists": {
"version": "0.80.0", "version": "0.79.3",
"resolved": "https://registry.npmjs.org/@react-native/virtualized-lists/-/virtualized-lists-0.80.0.tgz", "resolved": "https://registry.npmjs.org/@react-native/virtualized-lists/-/virtualized-lists-0.79.3.tgz",
"integrity": "sha512-d9zZdPS/ZRexVAkxo1eRp85U7XnnEpXA1ZpSomRKxBuStYKky1YohfEX5YD5MhphemKK24tT7JR4UhaLlmeX8Q==", "integrity": "sha512-/0rRozkn+iIHya2vnnvprDgT7QkfI54FLrACAN3BLP7MRlfOIGOrZsXpRLndnLBVnjNzkcre84i1RecjoXnwIA==",
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"peer": true, "peer": true,
@@ -8312,9 +8217,9 @@
} }
}, },
"node_modules/@rollup/rollup-android-arm-eabi": { "node_modules/@rollup/rollup-android-arm-eabi": {
"version": "4.43.0", "version": "4.42.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.43.0.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.42.0.tgz",
"integrity": "sha512-Krjy9awJl6rKbruhQDgivNbD1WuLb8xAclM4IR4cN5pHGAs2oIMMQJEiC3IC/9TZJ+QZkmZhlMO/6MBGxPidpw==", "integrity": "sha512-gldmAyS9hpj+H6LpRNlcjQWbuKUtb94lodB9uCz71Jm+7BxK1VIOo7y62tZZwxhA7j1ylv/yQz080L5WkS+LoQ==",
"cpu": [ "cpu": [
"arm" "arm"
], ],
@@ -8326,9 +8231,9 @@
] ]
}, },
"node_modules/@rollup/rollup-android-arm64": { "node_modules/@rollup/rollup-android-arm64": {
"version": "4.43.0", "version": "4.42.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.43.0.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.42.0.tgz",
"integrity": "sha512-ss4YJwRt5I63454Rpj+mXCXicakdFmKnUNxr1dLK+5rv5FJgAxnN7s31a5VchRYxCFWdmnDWKd0wbAdTr0J5EA==", "integrity": "sha512-bpRipfTgmGFdCZDFLRvIkSNO1/3RGS74aWkJJTFJBH7h3MRV4UijkaEUeOMbi9wxtxYmtAbVcnMtHTPBhLEkaw==",
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
@@ -8366,9 +8271,9 @@
] ]
}, },
"node_modules/@rollup/rollup-freebsd-arm64": { "node_modules/@rollup/rollup-freebsd-arm64": {
"version": "4.43.0", "version": "4.42.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.43.0.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.42.0.tgz",
"integrity": "sha512-SV+U5sSo0yujrjzBF7/YidieK2iF6E7MdF6EbYxNz94lA+R0wKl3SiixGyG/9Klab6uNBIqsN7j4Y/Fya7wAjQ==", "integrity": "sha512-fJcN4uSGPWdpVmvLuMtALUFwCHgb2XiQjuECkHT3lWLZhSQ3MBQ9pq+WoWeJq2PrNxr9rPM1Qx+IjyGj8/c6zQ==",
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
@@ -8380,9 +8285,9 @@
] ]
}, },
"node_modules/@rollup/rollup-freebsd-x64": { "node_modules/@rollup/rollup-freebsd-x64": {
"version": "4.43.0", "version": "4.42.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.43.0.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.42.0.tgz",
"integrity": "sha512-J7uCsiV13L/VOeHJBo5SjasKiGxJ0g+nQTrBkAsmQBIdil3KhPnSE9GnRon4ejX1XDdsmK/l30IYLiAaQEO0Cg==", "integrity": "sha512-CziHfyzpp8hJpCVE/ZdTizw58gr+m7Y2Xq5VOuCSrZR++th2xWAz4Nqk52MoIIrV3JHtVBhbBsJcAxs6NammOQ==",
"cpu": [ "cpu": [
"x64" "x64"
], ],
@@ -8394,9 +8299,9 @@
] ]
}, },
"node_modules/@rollup/rollup-linux-arm-gnueabihf": { "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
"version": "4.43.0", "version": "4.42.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.43.0.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.42.0.tgz",
"integrity": "sha512-gTJ/JnnjCMc15uwB10TTATBEhK9meBIY+gXP4s0sHD1zHOaIh4Dmy1X9wup18IiY9tTNk5gJc4yx9ctj/fjrIw==", "integrity": "sha512-UsQD5fyLWm2Fe5CDM7VPYAo+UC7+2Px4Y+N3AcPh/LdZu23YcuGPegQly++XEVaC8XUTFVPscl5y5Cl1twEI4A==",
"cpu": [ "cpu": [
"arm" "arm"
], ],
@@ -8408,9 +8313,9 @@
] ]
}, },
"node_modules/@rollup/rollup-linux-arm-musleabihf": { "node_modules/@rollup/rollup-linux-arm-musleabihf": {
"version": "4.43.0", "version": "4.42.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.43.0.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.42.0.tgz",
"integrity": "sha512-ZJ3gZynL1LDSIvRfz0qXtTNs56n5DI2Mq+WACWZ7yGHFUEirHBRt7fyIk0NsCKhmRhn7WAcjgSkSVVxKlPNFFw==", "integrity": "sha512-/i8NIrlgc/+4n1lnoWl1zgH7Uo0XK5xK3EDqVTf38KvyYgCU/Rm04+o1VvvzJZnVS5/cWSd07owkzcVasgfIkQ==",
"cpu": [ "cpu": [
"arm" "arm"
], ],
@@ -8448,9 +8353,9 @@
] ]
}, },
"node_modules/@rollup/rollup-linux-loongarch64-gnu": { "node_modules/@rollup/rollup-linux-loongarch64-gnu": {
"version": "4.43.0", "version": "4.42.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.43.0.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.42.0.tgz",
"integrity": "sha512-HPGDIH0/ZzAZjvtlXj6g+KDQ9ZMHfSP553za7o2Odegb/BEfwJcR0Sw0RLNpQ9nC6Gy8s+3mSS9xjZ0n3rhcYg==", "integrity": "sha512-O8AplvIeavK5ABmZlKBq9/STdZlnQo7Sle0LLhVA7QT+CiGpNVe197/t8Aph9bhJqbDVGCHpY2i7QyfEDDStDg==",
"cpu": [ "cpu": [
"loong64" "loong64"
], ],
@@ -8462,9 +8367,9 @@
] ]
}, },
"node_modules/@rollup/rollup-linux-powerpc64le-gnu": { "node_modules/@rollup/rollup-linux-powerpc64le-gnu": {
"version": "4.43.0", "version": "4.42.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.43.0.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.42.0.tgz",
"integrity": "sha512-gEmwbOws4U4GLAJDhhtSPWPXUzDfMRedT3hFMyRAvM9Mrnj+dJIFIeL7otsv2WF3D7GrV0GIewW0y28dOYWkmw==", "integrity": "sha512-6Qb66tbKVN7VyQrekhEzbHRxXXFFD8QKiFAwX5v9Xt6FiJ3BnCVBuyBxa2fkFGqxOCSGGYNejxd8ht+q5SnmtA==",
"cpu": [ "cpu": [
"ppc64" "ppc64"
], ],
@@ -8476,9 +8381,9 @@
] ]
}, },
"node_modules/@rollup/rollup-linux-riscv64-gnu": { "node_modules/@rollup/rollup-linux-riscv64-gnu": {
"version": "4.43.0", "version": "4.42.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.43.0.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.42.0.tgz",
"integrity": "sha512-XXKvo2e+wFtXZF/9xoWohHg+MuRnvO29TI5Hqe9xwN5uN8NKUYy7tXUG3EZAlfchufNCTHNGjEx7uN78KsBo0g==", "integrity": "sha512-KQETDSEBamQFvg/d8jajtRwLNBlGc3aKpaGiP/LvEbnmVUKlFta1vqJqTrvPtsYsfbE/DLg5CC9zyXRX3fnBiA==",
"cpu": [ "cpu": [
"riscv64" "riscv64"
], ],
@@ -8490,9 +8395,9 @@
] ]
}, },
"node_modules/@rollup/rollup-linux-riscv64-musl": { "node_modules/@rollup/rollup-linux-riscv64-musl": {
"version": "4.43.0", "version": "4.42.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.43.0.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.42.0.tgz",
"integrity": "sha512-ruf3hPWhjw6uDFsOAzmbNIvlXFXlBQ4nk57Sec8E8rUxs/AI4HD6xmiiasOOx/3QxS2f5eQMKTAwk7KHwpzr/Q==", "integrity": "sha512-qMvnyjcU37sCo/tuC+JqeDKSuukGAd+pVlRl/oyDbkvPJ3awk6G6ua7tyum02O3lI+fio+eM5wsVd66X0jQtxw==",
"cpu": [ "cpu": [
"riscv64" "riscv64"
], ],
@@ -8504,9 +8409,9 @@
] ]
}, },
"node_modules/@rollup/rollup-linux-s390x-gnu": { "node_modules/@rollup/rollup-linux-s390x-gnu": {
"version": "4.43.0", "version": "4.42.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.43.0.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.42.0.tgz",
"integrity": "sha512-QmNIAqDiEMEvFV15rsSnjoSmO0+eJLoKRD9EAa9rrYNwO/XRCtOGM3A5A0X+wmG+XRrw9Fxdsw+LnyYiZWWcVw==", "integrity": "sha512-I2Y1ZUgTgU2RLddUHXTIgyrdOwljjkmcZ/VilvaEumtS3Fkuhbw4p4hgHc39Ypwvo2o7sBFNl2MquNvGCa55Iw==",
"cpu": [ "cpu": [
"s390x" "s390x"
], ],
@@ -8557,9 +8462,9 @@
] ]
}, },
"node_modules/@rollup/rollup-win32-ia32-msvc": { "node_modules/@rollup/rollup-win32-ia32-msvc": {
"version": "4.43.0", "version": "4.42.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.43.0.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.42.0.tgz",
"integrity": "sha512-fYCTEyzf8d+7diCw8b+asvWDCLMjsCEA8alvtAutqJOJp/wL5hs1rWSqJ1vkjgW0L2NB4bsYJrpKkiIPRR9dvw==", "integrity": "sha512-F+5J9pelstXKwRSDq92J0TEBXn2nfUrQGg+HK1+Tk7VOL09e0gBqUHugZv7SW4MGrYj41oNCUe3IKCDGVlis2g==",
"cpu": [ "cpu": [
"ia32" "ia32"
], ],
@@ -8969,9 +8874,9 @@
} }
}, },
"node_modules/@stencil/core": { "node_modules/@stencil/core": {
"version": "4.35.0", "version": "4.33.1",
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.35.0.tgz", "resolved": "https://registry.npmjs.org/@stencil/core/-/core-4.33.1.tgz",
"integrity": "sha512-x0IFtj7IJStK+ZqIkhReWbiC0UMjMJnNXV8OXG+DCLDExZaVaxL3MLuq6BJBBcQ1MHZduTHDv3Iz0Zshoj3zjQ==", "integrity": "sha512-12k9xhAJBkpg598it+NRmaYIdEe6TSnsL/v6/KRXDcUyTK11VYwZQej2eHnMWtqot+znJ+GNTqb5YbiXi+5Low==",
"license": "MIT", "license": "MIT",
"bin": { "bin": {
"stencil": "bin/stencil" "stencil": "bin/stencil"
@@ -11279,13 +11184,13 @@
} }
}, },
"node_modules/app-builder-lib/node_modules/minimatch": { "node_modules/app-builder-lib/node_modules/minimatch": {
"version": "10.0.3", "version": "10.0.1",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.3.tgz", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz",
"integrity": "sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==", "integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==",
"dev": true, "dev": true,
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@isaacs/brace-expansion": "^5.0.0" "brace-expansion": "^2.0.1"
}, },
"engines": { "engines": {
"node": "20 || >=22" "node": "20 || >=22"
@@ -11707,9 +11612,9 @@
} }
}, },
"node_modules/axios": { "node_modules/axios": {
"version": "1.10.0", "version": "1.9.0",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.10.0.tgz", "resolved": "https://registry.npmjs.org/axios/-/axios-1.9.0.tgz",
"integrity": "sha512-/1xYAC4MP/HEG+3duIhFr4ZQXR4sQXOIe+o6sdqzeykGLx6Upp/1p8MHqhINOvGeP7xyNHe7tsiJByc4SSVUxw==", "integrity": "sha512-re4CqKTJaURpzbLHtIi6XpDv20/CnpXOtjRY5/CU32L8gU8ek9UIivcfvSWvmKEngmVbrUtPpdDwWDWL7DNHvg==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"follow-redirects": "^1.15.6", "follow-redirects": "^1.15.6",
@@ -12294,9 +12199,9 @@
} }
}, },
"node_modules/brace-expansion": { "node_modules/brace-expansion": {
"version": "2.0.2", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
"integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"balanced-match": "^1.0.0" "balanced-match": "^1.0.0"
@@ -12743,9 +12648,9 @@
} }
}, },
"node_modules/cacache/node_modules/rimraf/node_modules/brace-expansion": { "node_modules/cacache/node_modules/rimraf/node_modules/brace-expansion": {
"version": "1.1.12", "version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -12963,9 +12868,9 @@
} }
}, },
"node_modules/caniuse-lite": { "node_modules/caniuse-lite": {
"version": "1.0.30001723", "version": "1.0.30001721",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001723.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001721.tgz",
"integrity": "sha512-1R/elMjtehrFejxwmexeXAtae5UO9iSyFn6G/I806CYC/BLyyBk1EPhrKBkWhy6wM6Xnm47dSJQec+tLJ39WHw==", "integrity": "sha512-cOuvmUVtKrtEaoKiO0rSc29jcjwMwX5tOHDy4MgVFEWiUXj4uBMJkwI8MDySkgXidpMiHUcviogAvFi4pA2hDQ==",
"devOptional": true, "devOptional": true,
"funding": [ "funding": [
{ {
@@ -14602,9 +14507,9 @@
} }
}, },
"node_modules/decode-named-character-reference": { "node_modules/decode-named-character-reference": {
"version": "1.2.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.2.0.tgz", "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.1.0.tgz",
"integrity": "sha512-c6fcElNV6ShtZXmsgNgFFV5tVX2PaV4g+MOAkb8eXHvn6sryJBrZa9r0zV6+dtTyoCKxtDy5tyQ5ZwQuidtd+Q==", "integrity": "sha512-Wy+JTSbFThEOXQIR2L6mxJvEs+veIzpmqD7ynWxMXGpnk3smkHQOp6forLdHsKpAMW9iJpaBBIxz285t1n1C3w==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -15026,9 +14931,9 @@
} }
}, },
"node_modules/dir-compare/node_modules/brace-expansion": { "node_modules/dir-compare/node_modules/brace-expansion": {
"version": "1.1.12", "version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -15442,9 +15347,9 @@
} }
}, },
"node_modules/electron-to-chromium": { "node_modules/electron-to-chromium": {
"version": "1.5.167", "version": "1.5.166",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.167.tgz", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.166.tgz",
"integrity": "sha512-LxcRvnYO5ez2bMOFpbuuVuAI5QNeY1ncVytE/KXaL6ZNfzX1yPlAO0nSOyIHx2fVAuUprMqPs/TdVhUFZy7SIQ==", "integrity": "sha512-QPWqHL0BglzPYyJJ1zSSmwFFL6MFXhbACOCcsCdUMCkzPdS9/OIBVxg516X/Ado2qwAq8k0nJJ7phQPCqiaFAw==",
"devOptional": true, "devOptional": true,
"license": "ISC" "license": "ISC"
}, },
@@ -15960,9 +15865,9 @@
} }
}, },
"node_modules/eslint/node_modules/brace-expansion": { "node_modules/eslint/node_modules/brace-expansion": {
"version": "1.1.12", "version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -16174,9 +16079,9 @@
} }
}, },
"node_modules/ethers": { "node_modules/ethers": {
"version": "6.14.4", "version": "6.14.3",
"resolved": "https://registry.npmjs.org/ethers/-/ethers-6.14.4.tgz", "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.14.3.tgz",
"integrity": "sha512-Jm/dzRs2Z9iBrT6e9TvGxyb5YVKAPLlpna7hjxH7KH/++DSh2T/JVmQUv7iHI5E55hDbp/gEVvstWYXVxXFzsA==", "integrity": "sha512-qq7ft/oCJohoTcsNPFaXSQUm457MA5iWqkf1Mb11ujONdg7jBI6sAOrHaTi3j0CBqIGFSCeR/RMc+qwRRub7IA==",
"funding": [ "funding": [
{ {
"type": "individual", "type": "individual",
@@ -16273,21 +16178,21 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/ethr-did": { "node_modules/ethr-did": {
"version": "3.0.38", "version": "3.0.37",
"resolved": "https://registry.npmjs.org/ethr-did/-/ethr-did-3.0.38.tgz", "resolved": "https://registry.npmjs.org/ethr-did/-/ethr-did-3.0.37.tgz",
"integrity": "sha512-gUxtErXVOQUJf+bmnxRdSJdlU9aFbQSBNaJCYGt+PLqw6l4qqInTfMRiWpwe/brhRtdjE+64tnayOVk8ataeQA==", "integrity": "sha512-L9UUhAS8B1T7jTRdKLwAt514lx2UrJebJK7uc6UU4AJ9RhY8Vcfwc93Ux82jREE7yvvqDPXsVNH+lS3aw18a9A==",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"did-jwt": "^8.0.0", "did-jwt": "^8.0.0",
"did-resolver": "^4.1.0", "did-resolver": "^4.1.0",
"ethers": "^6.8.1", "ethers": "^6.8.1",
"ethr-did-resolver": "11.0.4" "ethr-did-resolver": "11.0.3"
} }
}, },
"node_modules/ethr-did-resolver": { "node_modules/ethr-did-resolver": {
"version": "11.0.4", "version": "11.0.3",
"resolved": "https://registry.npmjs.org/ethr-did-resolver/-/ethr-did-resolver-11.0.4.tgz", "resolved": "https://registry.npmjs.org/ethr-did-resolver/-/ethr-did-resolver-11.0.3.tgz",
"integrity": "sha512-EJ/dL2QsFzvhBJd0nlPFjma3bxpQOWyp2TytQZyAeqi6SfZ4ALCB0VaA4dSeT4T8ZtI2pzs/sD7t/7A0584J6Q==", "integrity": "sha512-lQ1T/SZfgR6Kp05/GSIXnMELxQ5H6M6OCTH4wBTVSAgHzbJiDNVIYWzg/c+NniIM88B0ViAi4CaiCHaiUlvPQg==",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"did-resolver": "^4.1.0", "did-resolver": "^4.1.0",
@@ -17712,9 +17617,9 @@
} }
}, },
"node_modules/glob/node_modules/brace-expansion": { "node_modules/glob/node_modules/brace-expansion": {
"version": "1.1.12", "version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"devOptional": true, "devOptional": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -19222,9 +19127,9 @@
} }
}, },
"node_modules/jake/node_modules/brace-expansion": { "node_modules/jake/node_modules/brace-expansion": {
"version": "1.1.12", "version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -24149,9 +24054,9 @@
} }
}, },
"node_modules/postcss": { "node_modules/postcss": {
"version": "8.5.5", "version": "8.5.4",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.5.tgz", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.4.tgz",
"integrity": "sha512-d/jtm+rdNT8tpXuHY5MMtcbJFBkhXE6593XVR9UoGCH8jSFGci7jGvMGH5RYd5PBJW+00NZQt6gf7CbagJCrhg==", "integrity": "sha512-QSa9EBe+uwlGTFmHsPKokv3B/oEMQZxfqW0QqNCyhpa6mB1afzulwn8hihglqAb2pOw+BJgNlmXQ8la2VeHB7w==",
"funding": [ "funding": [
{ {
"type": "opencollective", "type": "opencollective",
@@ -25049,43 +24954,44 @@
"peer": true "peer": true
}, },
"node_modules/react-native": { "node_modules/react-native": {
"version": "0.80.0", "version": "0.79.3",
"resolved": "https://registry.npmjs.org/react-native/-/react-native-0.80.0.tgz", "resolved": "https://registry.npmjs.org/react-native/-/react-native-0.79.3.tgz",
"integrity": "sha512-b9K1ygb2MWCBtKAodKmE3UsbUuC29Pt4CrJMR0ocTA8k+8HJQTPleBPDNKL4/p0P01QO9aL/gZUddoxHempLow==", "integrity": "sha512-EzH1+9gzdyEo9zdP6u7Sh3Jtf5EOMwzy+TK65JysdlgAzfEVfq4mNeXcAZ6SmD+CW6M7ARJbvXLyTD0l2S5rpg==",
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"peer": true, "peer": true,
"dependencies": { "dependencies": {
"@jest/create-cache-key-function": "^29.7.0", "@jest/create-cache-key-function": "^29.7.0",
"@react-native/assets-registry": "0.80.0", "@react-native/assets-registry": "0.79.3",
"@react-native/codegen": "0.80.0", "@react-native/codegen": "0.79.3",
"@react-native/community-cli-plugin": "0.80.0", "@react-native/community-cli-plugin": "0.79.3",
"@react-native/gradle-plugin": "0.80.0", "@react-native/gradle-plugin": "0.79.3",
"@react-native/js-polyfills": "0.80.0", "@react-native/js-polyfills": "0.79.3",
"@react-native/normalize-colors": "0.80.0", "@react-native/normalize-colors": "0.79.3",
"@react-native/virtualized-lists": "0.80.0", "@react-native/virtualized-lists": "0.79.3",
"abort-controller": "^3.0.0", "abort-controller": "^3.0.0",
"anser": "^1.4.9", "anser": "^1.4.9",
"ansi-regex": "^5.0.0", "ansi-regex": "^5.0.0",
"babel-jest": "^29.7.0", "babel-jest": "^29.7.0",
"babel-plugin-syntax-hermes-parser": "0.28.1", "babel-plugin-syntax-hermes-parser": "0.25.1",
"base64-js": "^1.5.1", "base64-js": "^1.5.1",
"chalk": "^4.0.0", "chalk": "^4.0.0",
"commander": "^12.0.0", "commander": "^12.0.0",
"event-target-shim": "^5.0.1",
"flow-enums-runtime": "^0.0.6", "flow-enums-runtime": "^0.0.6",
"glob": "^7.1.1", "glob": "^7.1.1",
"invariant": "^2.2.4", "invariant": "^2.2.4",
"jest-environment-node": "^29.7.0", "jest-environment-node": "^29.7.0",
"memoize-one": "^5.0.0", "memoize-one": "^5.0.0",
"metro-runtime": "^0.82.2", "metro-runtime": "^0.82.0",
"metro-source-map": "^0.82.2", "metro-source-map": "^0.82.0",
"nullthrows": "^1.1.1", "nullthrows": "^1.1.1",
"pretty-format": "^29.7.0", "pretty-format": "^29.7.0",
"promise": "^8.3.0", "promise": "^8.3.0",
"react-devtools-core": "^6.1.1", "react-devtools-core": "^6.1.1",
"react-refresh": "^0.14.0", "react-refresh": "^0.14.0",
"regenerator-runtime": "^0.13.2", "regenerator-runtime": "^0.13.2",
"scheduler": "0.26.0", "scheduler": "0.25.0",
"semver": "^7.1.3", "semver": "^7.1.3",
"stacktrace-parser": "^0.1.10", "stacktrace-parser": "^0.1.10",
"whatwg-fetch": "^3.0.0", "whatwg-fetch": "^3.0.0",
@@ -25099,8 +25005,8 @@
"node": ">=18" "node": ">=18"
}, },
"peerDependencies": { "peerDependencies": {
"@types/react": "^19.1.0", "@types/react": "^19.0.0",
"react": "^19.1.0" "react": "^19.0.0"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"@types/react": { "@types/react": {
@@ -25133,46 +25039,14 @@
"react-native": "*" "react-native": "*"
} }
}, },
"node_modules/react-native/node_modules/@react-native/codegen": {
"version": "0.80.0",
"resolved": "https://registry.npmjs.org/@react-native/codegen/-/codegen-0.80.0.tgz",
"integrity": "sha512-X9TsPgytoUkNrQjzAZh4dXa4AuouvYT0NzYyvnjw1ry4LESCZtKba+eY4x3+M30WPR52zjgu+UFL//14BSdCCA==",
"license": "MIT",
"optional": true,
"peer": true,
"dependencies": {
"glob": "^7.1.1",
"hermes-parser": "0.28.1",
"invariant": "^2.2.4",
"nullthrows": "^1.1.1",
"yargs": "^17.6.2"
},
"engines": {
"node": ">=18"
},
"peerDependencies": {
"@babel/core": "*"
}
},
"node_modules/react-native/node_modules/@react-native/normalize-colors": { "node_modules/react-native/node_modules/@react-native/normalize-colors": {
"version": "0.80.0", "version": "0.79.3",
"resolved": "https://registry.npmjs.org/@react-native/normalize-colors/-/normalize-colors-0.80.0.tgz", "resolved": "https://registry.npmjs.org/@react-native/normalize-colors/-/normalize-colors-0.79.3.tgz",
"integrity": "sha512-bJZDSopadjJxMDvysc634eTfLL4w7cAx5diPe14Ez5l+xcKjvpfofS/1Ja14DlgdMJhxGd03MTXlrxoWust3zg==", "integrity": "sha512-T75NIQPRFCj6DFMxtcVMJTZR+3vHXaUMSd15t+CkJpc5LnyX91GVaPxpRSAdjFh7m3Yppl5MpdjV/fntImheYQ==",
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"peer": true "peer": true
}, },
"node_modules/react-native/node_modules/babel-plugin-syntax-hermes-parser": {
"version": "0.28.1",
"resolved": "https://registry.npmjs.org/babel-plugin-syntax-hermes-parser/-/babel-plugin-syntax-hermes-parser-0.28.1.tgz",
"integrity": "sha512-meT17DOuUElMNsL5LZN56d+KBp22hb0EfxWfuPUeoSi54e40v1W4C2V36P75FpsH9fVEfDKpw5Nnkahc8haSsQ==",
"license": "MIT",
"optional": true,
"peer": true,
"dependencies": {
"hermes-parser": "0.28.1"
}
},
"node_modules/react-native/node_modules/commander": { "node_modules/react-native/node_modules/commander": {
"version": "12.1.0", "version": "12.1.0",
"resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz", "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz",
@@ -25184,25 +25058,6 @@
"node": ">=18" "node": ">=18"
} }
}, },
"node_modules/react-native/node_modules/hermes-estree": {
"version": "0.28.1",
"resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.28.1.tgz",
"integrity": "sha512-w3nxl/RGM7LBae0v8LH2o36+8VqwOZGv9rX1wyoWT6YaKZLqpJZ0YQ5P0LVr3tuRpf7vCx0iIG4i/VmBJejxTQ==",
"license": "MIT",
"optional": true,
"peer": true
},
"node_modules/react-native/node_modules/hermes-parser": {
"version": "0.28.1",
"resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.28.1.tgz",
"integrity": "sha512-nf8o+hE8g7UJWParnccljHumE9Vlq8F7MqIdeahl+4x0tvCUJYRrT0L7h0MMg/X9YJmkNwsfbaNNrzPtFXOscg==",
"license": "MIT",
"optional": true,
"peer": true,
"dependencies": {
"hermes-estree": "0.28.1"
}
},
"node_modules/react-native/node_modules/ws": { "node_modules/react-native/node_modules/ws": {
"version": "6.2.3", "version": "6.2.3",
"resolved": "https://registry.npmjs.org/ws/-/ws-6.2.3.tgz", "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.3.tgz",
@@ -25659,9 +25514,9 @@
} }
}, },
"node_modules/replace/node_modules/brace-expansion": { "node_modules/replace/node_modules/brace-expansion": {
"version": "1.1.12", "version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -26105,15 +25960,15 @@
} }
}, },
"node_modules/rimraf/node_modules/glob": { "node_modules/rimraf/node_modules/glob": {
"version": "11.0.3", "version": "11.0.2",
"resolved": "https://registry.npmjs.org/glob/-/glob-11.0.3.tgz", "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.2.tgz",
"integrity": "sha512-2Nim7dha1KVkaiF4q6Dj+ngPPMdfvLJEOpZk/jKiUAkqKebpGAWQXAq9z1xu9HKu5lWfqw/FASuccEjyznjPaA==", "integrity": "sha512-YT7U7Vye+t5fZ/QMkBFrTJ7ZQxInIUjwyAjVj84CYXqgBdv30MFUPGnBR6sQaVq6Is15wYJUsnzTuWaGRBhBAQ==",
"dev": true, "dev": true,
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"foreground-child": "^3.3.1", "foreground-child": "^3.1.0",
"jackspeak": "^4.1.1", "jackspeak": "^4.0.1",
"minimatch": "^10.0.3", "minimatch": "^10.0.0",
"minipass": "^7.1.2", "minipass": "^7.1.2",
"package-json-from-dist": "^1.0.0", "package-json-from-dist": "^1.0.0",
"path-scurry": "^2.0.0" "path-scurry": "^2.0.0"
@@ -26155,13 +26010,13 @@
} }
}, },
"node_modules/rimraf/node_modules/minimatch": { "node_modules/rimraf/node_modules/minimatch": {
"version": "10.0.3", "version": "10.0.1",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.3.tgz", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz",
"integrity": "sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==", "integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==",
"dev": true, "dev": true,
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@isaacs/brace-expansion": "^5.0.0" "brace-expansion": "^2.0.1"
}, },
"engines": { "engines": {
"node": "20 || >=22" "node": "20 || >=22"
@@ -26239,9 +26094,9 @@
} }
}, },
"node_modules/rollup": { "node_modules/rollup": {
"version": "4.43.0", "version": "4.42.0",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.43.0.tgz", "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.42.0.tgz",
"integrity": "sha512-wdN2Kd3Twh8MAEOEJZsuxuLKCsBEo4PVNLK6tQWAn10VhsVewQLzcucMgLolRlhFybGxfclbPeEYBaP6RvUFGg==", "integrity": "sha512-LW+Vse3BJPyGJGAJt1j8pWDKPd73QM8cRXYK1IxOBgL2AGLu7Xd2YOW0M2sLUBCkF5MshXXtMApyEAEzMVMsnw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -26255,33 +26110,33 @@
"npm": ">=8.0.0" "npm": ">=8.0.0"
}, },
"optionalDependencies": { "optionalDependencies": {
"@rollup/rollup-android-arm-eabi": "4.43.0", "@rollup/rollup-android-arm-eabi": "4.42.0",
"@rollup/rollup-android-arm64": "4.43.0", "@rollup/rollup-android-arm64": "4.42.0",
"@rollup/rollup-darwin-arm64": "4.43.0", "@rollup/rollup-darwin-arm64": "4.42.0",
"@rollup/rollup-darwin-x64": "4.43.0", "@rollup/rollup-darwin-x64": "4.42.0",
"@rollup/rollup-freebsd-arm64": "4.43.0", "@rollup/rollup-freebsd-arm64": "4.42.0",
"@rollup/rollup-freebsd-x64": "4.43.0", "@rollup/rollup-freebsd-x64": "4.42.0",
"@rollup/rollup-linux-arm-gnueabihf": "4.43.0", "@rollup/rollup-linux-arm-gnueabihf": "4.42.0",
"@rollup/rollup-linux-arm-musleabihf": "4.43.0", "@rollup/rollup-linux-arm-musleabihf": "4.42.0",
"@rollup/rollup-linux-arm64-gnu": "4.43.0", "@rollup/rollup-linux-arm64-gnu": "4.42.0",
"@rollup/rollup-linux-arm64-musl": "4.43.0", "@rollup/rollup-linux-arm64-musl": "4.42.0",
"@rollup/rollup-linux-loongarch64-gnu": "4.43.0", "@rollup/rollup-linux-loongarch64-gnu": "4.42.0",
"@rollup/rollup-linux-powerpc64le-gnu": "4.43.0", "@rollup/rollup-linux-powerpc64le-gnu": "4.42.0",
"@rollup/rollup-linux-riscv64-gnu": "4.43.0", "@rollup/rollup-linux-riscv64-gnu": "4.42.0",
"@rollup/rollup-linux-riscv64-musl": "4.43.0", "@rollup/rollup-linux-riscv64-musl": "4.42.0",
"@rollup/rollup-linux-s390x-gnu": "4.43.0", "@rollup/rollup-linux-s390x-gnu": "4.42.0",
"@rollup/rollup-linux-x64-gnu": "4.43.0", "@rollup/rollup-linux-x64-gnu": "4.42.0",
"@rollup/rollup-linux-x64-musl": "4.43.0", "@rollup/rollup-linux-x64-musl": "4.42.0",
"@rollup/rollup-win32-arm64-msvc": "4.43.0", "@rollup/rollup-win32-arm64-msvc": "4.42.0",
"@rollup/rollup-win32-ia32-msvc": "4.43.0", "@rollup/rollup-win32-ia32-msvc": "4.42.0",
"@rollup/rollup-win32-x64-msvc": "4.43.0", "@rollup/rollup-win32-x64-msvc": "4.42.0",
"fsevents": "~2.3.2" "fsevents": "~2.3.2"
} }
}, },
"node_modules/rollup/node_modules/@rollup/rollup-darwin-arm64": { "node_modules/rollup/node_modules/@rollup/rollup-darwin-arm64": {
"version": "4.43.0", "version": "4.42.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.43.0.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.42.0.tgz",
"integrity": "sha512-eKoL8ykZ7zz8MjgBenEF2OoTNFAPFz1/lyJ5UmmFSz5jW+7XbH1+MAgCVHy72aG59rbuQLcJeiMrP8qP5d/N0A==", "integrity": "sha512-JxHtA081izPBVCHLKnl6GEA0w3920mlJPLh89NojpU2GsBSB6ypu4erFg/Wx1qbpUbepn0jY4dVWMGZM8gplgA==",
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
@@ -26293,9 +26148,9 @@
] ]
}, },
"node_modules/rollup/node_modules/@rollup/rollup-darwin-x64": { "node_modules/rollup/node_modules/@rollup/rollup-darwin-x64": {
"version": "4.43.0", "version": "4.42.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.43.0.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.42.0.tgz",
"integrity": "sha512-SYwXJgaBYW33Wi/q4ubN+ldWC4DzQY62S4Ll2dgfr/dbPoF50dlQwEaEHSKrQdSjC6oIe1WgzosoaNoHCdNuMg==", "integrity": "sha512-rv5UZaWVIJTDMyQ3dCEK+m0SAn6G7H3PRc2AZmExvbDvtaDc+qXkei0knQWcI3+c9tEs7iL/4I4pTQoPbNL2SA==",
"cpu": [ "cpu": [
"x64" "x64"
], ],
@@ -26307,9 +26162,9 @@
] ]
}, },
"node_modules/rollup/node_modules/@rollup/rollup-linux-arm64-gnu": { "node_modules/rollup/node_modules/@rollup/rollup-linux-arm64-gnu": {
"version": "4.43.0", "version": "4.42.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.43.0.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.42.0.tgz",
"integrity": "sha512-8FnkipasmOOSSlfucGYEu58U8cxEdhziKjPD2FIa0ONVMxvl/hmONtX/7y4vGjdUhjcTHlKlDhw3H9t98fPvyA==", "integrity": "sha512-eoujJFOvoIBjZEi9hJnXAbWg+Vo1Ov8n/0IKZZcPZ7JhBzxh2A+2NFyeMZIRkY9iwBvSjloKgcvnjTbGKHE44Q==",
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
@@ -26321,9 +26176,9 @@
] ]
}, },
"node_modules/rollup/node_modules/@rollup/rollup-linux-arm64-musl": { "node_modules/rollup/node_modules/@rollup/rollup-linux-arm64-musl": {
"version": "4.43.0", "version": "4.42.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.43.0.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.42.0.tgz",
"integrity": "sha512-KPPyAdlcIZ6S9C3S2cndXDkV0Bb1OSMsX0Eelr2Bay4EsF9yi9u9uzc9RniK3mcUGCLhWY9oLr6er80P5DE6XA==", "integrity": "sha512-/3NrcOWFSR7RQUQIuZQChLND36aTU9IYE4j+TB40VU78S+RA0IiqHR30oSh6P1S9f9/wVOenHQnacs/Byb824g==",
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
@@ -26335,9 +26190,9 @@
] ]
}, },
"node_modules/rollup/node_modules/@rollup/rollup-linux-x64-gnu": { "node_modules/rollup/node_modules/@rollup/rollup-linux-x64-gnu": {
"version": "4.43.0", "version": "4.42.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.43.0.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.42.0.tgz",
"integrity": "sha512-jAHr/S0iiBtFyzjhOkAics/2SrXE092qyqEg96e90L3t9Op8OTzS6+IX0Fy5wCt2+KqeHAkti+eitV0wvblEoQ==", "integrity": "sha512-Gfm6cV6mj3hCUY8TqWa63DB8Mx3NADoFwiJrMpoZ1uESbK8FQV3LXkhfry+8bOniq9pqY1OdsjFWNsSbfjPugw==",
"cpu": [ "cpu": [
"x64" "x64"
], ],
@@ -26349,9 +26204,9 @@
] ]
}, },
"node_modules/rollup/node_modules/@rollup/rollup-linux-x64-musl": { "node_modules/rollup/node_modules/@rollup/rollup-linux-x64-musl": {
"version": "4.43.0", "version": "4.42.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.43.0.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.42.0.tgz",
"integrity": "sha512-3yATWgdeXyuHtBhrLt98w+5fKurdqvs8B53LaoKD7P7H7FKOONLsBVMNl9ghPQZQuYcceV5CDyPfyfGpMWD9mQ==", "integrity": "sha512-g86PF8YZ9GRqkdi0VoGlcDUb4rYtQKyTD1IVtxxN4Hpe7YqLBShA7oHMKU6oKTCi3uxwW4VkIGnOaH/El8de3w==",
"cpu": [ "cpu": [
"x64" "x64"
], ],
@@ -26363,9 +26218,9 @@
] ]
}, },
"node_modules/rollup/node_modules/@rollup/rollup-win32-arm64-msvc": { "node_modules/rollup/node_modules/@rollup/rollup-win32-arm64-msvc": {
"version": "4.43.0", "version": "4.42.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.43.0.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.42.0.tgz",
"integrity": "sha512-wVzXp2qDSCOpcBCT5WRWLmpJRIzv23valvcTwMHEobkjippNf+C3ys/+wf07poPkeNix0paTNemB2XrHr2TnGw==", "integrity": "sha512-+axkdyDGSp6hjyzQ5m1pgcvQScfHnMCcsXkx8pTgy/6qBmWVhtRVlgxjWwDp67wEXXUr0x+vD6tp5W4x6V7u1A==",
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
@@ -26377,9 +26232,9 @@
] ]
}, },
"node_modules/rollup/node_modules/@rollup/rollup-win32-x64-msvc": { "node_modules/rollup/node_modules/@rollup/rollup-win32-x64-msvc": {
"version": "4.43.0", "version": "4.42.0",
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.43.0.tgz", "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.42.0.tgz",
"integrity": "sha512-SnGhLiE5rlK0ofq8kzuDkM0g7FN1s5VYY+YSMTibP7CqShxCQvqtNxTARS4xX4PFJfHjG0ZQYX9iGzI3FQh5Aw==", "integrity": "sha512-LpHiJRwkaVz/LqjHjK8LCi8osq7elmpwujwbXKNW88bM8eeGxavJIKKjkjpMHAh/2xfnrt1ZSnhTv41WYUHYmA==",
"cpu": [ "cpu": [
"x64" "x64"
], ],
@@ -26555,9 +26410,9 @@
"license": "ISC" "license": "ISC"
}, },
"node_modules/scheduler": { "node_modules/scheduler": {
"version": "0.26.0", "version": "0.25.0",
"resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.26.0.tgz", "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.25.0.tgz",
"integrity": "sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==", "integrity": "sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==",
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"peer": true "peer": true
@@ -26569,9 +26424,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/sdp": { "node_modules/sdp": {
"version": "3.2.1", "version": "3.2.0",
"resolved": "https://registry.npmjs.org/sdp/-/sdp-3.2.1.tgz", "resolved": "https://registry.npmjs.org/sdp/-/sdp-3.2.0.tgz",
"integrity": "sha512-lwsAIzOPlH8/7IIjjz3K0zYBk7aBVVcvjMwt3M4fLxpjMYyy7i3I97SLHebgn4YBjirkzfp3RvRDWSKsh/+WFw==", "integrity": "sha512-d7wDPgDV3DDiqulJjKiV2865wKsJ34YI+NDREbm+FySq6WuKOikwyNQcm+doLAZ1O6ltdO0SeKle2xMpN3Brgw==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/secp256k1": { "node_modules/secp256k1": {
@@ -28640,9 +28495,9 @@
} }
}, },
"node_modules/test-exclude/node_modules/brace-expansion": { "node_modules/test-exclude/node_modules/brace-expansion": {
"version": "1.1.12", "version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"peer": true, "peer": true,
@@ -31190,9 +31045,9 @@
} }
}, },
"node_modules/zod": { "node_modules/zod": {
"version": "3.25.64", "version": "3.25.58",
"resolved": "https://registry.npmjs.org/zod/-/zod-3.25.64.tgz", "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.58.tgz",
"integrity": "sha512-hbP9FpSZf7pkS7hRVUrOjhwKJNyampPgtXKc3AN6DsWtoHsg2Sb4SQaS4Tcay380zSwd2VPo9G9180emBACp5g==", "integrity": "sha512-DVLmMQzSZwNYzQoMaM3MQWnxr2eq+AtM9Hx3w1/Yl0pH8sLTSjN4jGP7w6f7uand6Hw44tsnSu1hz1AOA6qI2Q==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"url": "https://github.com/sponsors/colinhacks" "url": "https://github.com/sponsors/colinhacks"

View File

@@ -30,7 +30,7 @@ import { z } from "zod";
// Add a union type of all valid route paths // Add a union type of all valid route paths
export const VALID_DEEP_LINK_ROUTES = [ export const VALID_DEEP_LINK_ROUTES = [
"user-profile", "user-profile",
"project", "project-details",
"onboard-meeting-setup", "onboard-meeting-setup",
"invite-one-accept", "invite-one-accept",
"contact-import", "contact-import",
@@ -61,7 +61,7 @@ export const deepLinkSchemas = {
"user-profile": z.object({ "user-profile": z.object({
id: z.string(), id: z.string(),
}), }),
"project": z.object({ "project-details": z.object({
id: z.string(), id: z.string(),
}), }),
"onboard-meeting-setup": z.object({ "onboard-meeting-setup": z.object({

View File

@@ -28,7 +28,7 @@
* *
* Supported Routes: * Supported Routes:
* - user-profile: View user profile * - user-profile: View user profile
* - project: View project details * - project-details: View project details
* - onboard-meeting-setup: Setup onboarding meeting * - onboard-meeting-setup: Setup onboarding meeting
* - invite-one-accept: Accept invitation * - invite-one-accept: Accept invitation
* - contact-import: Import contacts * - contact-import: Import contacts

View File

@@ -42,7 +42,7 @@ interface QueuedOperation {
*/ */
export class CapacitorPlatformService implements PlatformService { export class CapacitorPlatformService implements PlatformService {
/** Current camera direction */ /** Current camera direction */
private currentDirection: CameraDirection = "BACK"; private currentDirection: CameraDirection = CameraDirection.Rear;
private sqlite: SQLiteConnection; private sqlite: SQLiteConnection;
private db: SQLiteDBConnection | null = null; private db: SQLiteDBConnection | null = null;
@@ -54,6 +54,29 @@ export class CapacitorPlatformService implements PlatformService {
constructor() { constructor() {
this.sqlite = new SQLiteConnection(CapacitorSQLite); this.sqlite = new SQLiteConnection(CapacitorSQLite);
// Set up app lifecycle listeners for proper cleanup
this.setupLifecycleListeners();
}
/**
* Set up app lifecycle listeners for proper database cleanup
*/
private setupLifecycleListeners(): void {
if (typeof window !== 'undefined' && window.addEventListener) {
// Handle app pause/resume events
window.addEventListener('beforeunload', () => {
this.cleanupDatabase();
});
// Handle visibility change (app going to background)
document.addEventListener('visibilitychange', () => {
if (document.hidden) {
// App going to background - ensure database is properly closed
this.cleanupDatabase();
}
});
}
} }
private async initializeDatabase(): Promise<void> { private async initializeDatabase(): Promise<void> {
@@ -87,19 +110,14 @@ export class CapacitorPlatformService implements PlatformService {
} }
try { try {
// Create/Open database // Check if database connection already exists and close it
this.db = await this.sqlite.createConnection( await this.cleanupExistingConnections();
this.dbName,
false,
"no-encryption",
1,
false,
);
await this.db.open(); // Create/Open database with retry logic
this.db = await this.createDatabaseConnection();
// Set journal mode to WAL for better performance // Configure database for better performance and stability
// await this.db.execute("PRAGMA journal_mode=WAL;"); await this.configureDatabase();
// Run migrations // Run migrations
await this.runCapacitorMigrations(); await this.runCapacitorMigrations();
@@ -116,6 +134,8 @@ export class CapacitorPlatformService implements PlatformService {
"[CapacitorPlatformService] Error initializing SQLite database:", "[CapacitorPlatformService] Error initializing SQLite database:",
error, error,
); );
// Clean up on failure
await this.cleanupDatabase();
throw new Error( throw new Error(
"[CapacitorPlatformService] Failed to initialize database", "[CapacitorPlatformService] Failed to initialize database",
); );
@@ -702,7 +722,7 @@ export class CapacitorPlatformService implements PlatformService {
* @returns Promise that resolves when the camera is rotated * @returns Promise that resolves when the camera is rotated
*/ */
async rotateCamera(): Promise<void> { async rotateCamera(): Promise<void> {
this.currentDirection = this.currentDirection === "BACK" ? "FRONT" : "BACK"; this.currentDirection = this.currentDirection === CameraDirection.Rear ? CameraDirection.Front : CameraDirection.Rear;
logger.debug(`Camera rotated to ${this.currentDirection} camera`); logger.debug(`Camera rotated to ${this.currentDirection} camera`);
} }
@@ -739,4 +759,179 @@ export class CapacitorPlatformService implements PlatformService {
params || [], params || [],
); );
} }
/**
* Clean up any existing database connections to prevent conflicts
*/
private async cleanupExistingConnections(): Promise<void> {
try {
// Check if we have an existing connection
if (this.db) {
try {
await this.db.close();
} catch (closeError) {
logger.warn(
"[CapacitorPlatformService] Error closing existing connection:",
closeError,
);
}
this.db = null;
}
// Check for existing connections with the same name
const connections = await this.sqlite.checkConnectionsConsistency();
const isConn = await this.sqlite.isConnection(this.dbName, false);
if (isConn.result) {
logger.log(
"[CapacitorPlatformService] Found existing connection, closing it",
);
await this.sqlite.closeConnection(this.dbName, false);
}
} catch (error) {
logger.warn(
"[CapacitorPlatformService] Error during connection cleanup:",
error,
);
}
}
/**
* Create database connection with retry logic
*/
private async createDatabaseConnection(): Promise<SQLiteDBConnection> {
const maxRetries = 3;
let lastError: Error | null = null;
for (let attempt = 1; attempt <= maxRetries; attempt++) {
try {
logger.log(
`[CapacitorPlatformService] Creating database connection (attempt ${attempt}/${maxRetries})`,
);
const db = await this.sqlite.createConnection(
this.dbName,
false,
"no-encryption",
1,
false,
);
await db.open();
logger.log(
`[CapacitorPlatformService] Database connection created successfully on attempt ${attempt}`,
);
return db;
} catch (error) {
lastError = error as Error;
logger.error(
`[CapacitorPlatformService] Database connection attempt ${attempt} failed:`,
error,
);
if (attempt < maxRetries) {
// Wait before retry with exponential backoff
const delay = Math.min(1000 * Math.pow(2, attempt - 1), 5000);
logger.log(
`[CapacitorPlatformService] Waiting ${delay}ms before retry...`,
);
await new Promise(resolve => setTimeout(resolve, delay));
}
}
}
throw new Error(
`[CapacitorPlatformService] Failed to create database connection after ${maxRetries} attempts: ${lastError?.message}`,
);
}
/**
* Configure database settings for optimal performance and stability
*/
private async configureDatabase(): Promise<void> {
if (!this.db) {
throw new Error("Database not initialized");
}
try {
// Configure for better performance and stability
await this.db.execute("PRAGMA journal_mode=WAL;");
await this.db.execute("PRAGMA synchronous=NORMAL;");
await this.db.execute("PRAGMA cache_size=10000;");
await this.db.execute("PRAGMA temp_store=MEMORY;");
await this.db.execute("PRAGMA mmap_size=268435456;"); // 256MB
logger.log(
"[CapacitorPlatformService] Database configuration applied successfully",
);
} catch (error) {
logger.warn(
"[CapacitorPlatformService] Error applying database configuration:",
error,
);
// Don't throw here as the database is still functional
}
}
/**
* Clean up database resources
*/
private async cleanupDatabase(): Promise<void> {
try {
if (this.db) {
await this.db.close();
this.db = null;
}
this.initialized = false;
this.initializationPromise = null;
logger.log(
"[CapacitorPlatformService] Database cleanup completed",
);
} catch (error) {
logger.error(
"[CapacitorPlatformService] Error during database cleanup:",
error,
);
}
}
/**
* Health check for database connection
*/
async healthCheck(): Promise<{ healthy: boolean; error?: string }> {
try {
if (!this.initialized || !this.db) {
return { healthy: false, error: "Database not initialized" };
}
// Try a simple query to test the connection
await this.db.query("SELECT 1 as test");
return { healthy: true };
} catch (error) {
logger.error("[CapacitorPlatformService] Health check failed:", error);
return {
healthy: false,
error: error instanceof Error ? error.message : String(error)
};
}
}
/**
* Force reinitialize the database connection
*/
async reinitializeDatabase(): Promise<void> {
logger.log("[CapacitorPlatformService] Forcing database reinitialization");
// Clean up existing connection
await this.cleanupDatabase();
// Reset initialization state
this.initialized = false;
this.initializationPromise = null;
// Reinitialize
await this.initializeDatabase();
}
} }

View File

@@ -0,0 +1,158 @@
/**
* Database Diagnostics Utility
*
* This utility provides diagnostic tools for troubleshooting database connection
* issues in the TimeSafari application, particularly for Capacitor SQLite.
*
* @author Matthew Raymer
*/
import { logger } from "./logger";
import { PlatformServiceFactory } from "@/services/PlatformServiceFactory";
export interface DatabaseDiagnosticInfo {
platform: string;
timestamp: string;
databaseName: string;
connectionStatus: string;
errorDetails?: string;
performanceMetrics?: {
initializationTime?: number;
queryTime?: number;
};
systemInfo?: {
userAgent: string;
platform: string;
memory?: {
used: number;
total: number;
};
};
}
/**
* Performs comprehensive database diagnostics
*/
export async function runDatabaseDiagnostics(): Promise<DatabaseDiagnosticInfo> {
const startTime = Date.now();
const diagnosticInfo: DatabaseDiagnosticInfo = {
platform: "unknown",
timestamp: new Date().toISOString(),
databaseName: "timesafari.sqlite",
connectionStatus: "unknown",
};
try {
// Get platform service
const platformService = PlatformServiceFactory.getInstance();
const capabilities = platformService.getCapabilities();
diagnosticInfo.platform = capabilities.isIOS ? "iOS" :
capabilities.isMobile ? "Android" : "Web";
// Add system information
diagnosticInfo.systemInfo = {
userAgent: navigator.userAgent,
platform: navigator.platform,
};
// Add memory information if available
if ('memory' in performance) {
const memory = (performance as any).memory;
diagnosticInfo.systemInfo.memory = {
used: memory.usedJSHeapSize,
total: memory.totalJSHeapSize,
};
}
// Test database connection
const initStart = Date.now();
try {
// Test a simple query
const queryStart = Date.now();
const result = await platformService.dbQuery("SELECT 1 as test");
const queryTime = Date.now() - queryStart;
diagnosticInfo.connectionStatus = "healthy";
diagnosticInfo.performanceMetrics = {
queryTime,
};
logger.log("[DatabaseDiagnostics] Database connection test successful");
} catch (error) {
diagnosticInfo.connectionStatus = "error";
diagnosticInfo.errorDetails = error instanceof Error ? error.message : String(error);
logger.error("[DatabaseDiagnostics] Database connection test failed:", error);
}
const totalTime = Date.now() - startTime;
if (diagnosticInfo.performanceMetrics) {
diagnosticInfo.performanceMetrics.initializationTime = totalTime;
}
} catch (error) {
diagnosticInfo.connectionStatus = "critical";
diagnosticInfo.errorDetails = error instanceof Error ? error.message : String(error);
logger.error("[DatabaseDiagnostics] Diagnostic run failed:", error);
}
// Log the complete diagnostic information
logger.log("[DatabaseDiagnostics] Diagnostic results:", diagnosticInfo);
return diagnosticInfo;
}
/**
* Logs database performance metrics
*/
export function logDatabasePerformance(operation: string, duration: number): void {
logger.log(`[DatabasePerformance] ${operation}: ${duration}ms`);
// Log warning for slow operations
if (duration > 1000) {
logger.warn(`[DatabasePerformance] Slow operation detected: ${operation} took ${duration}ms`);
}
}
/**
* Creates a database connection stress test
*/
export async function stressTestDatabase(iterations: number = 10): Promise<void> {
logger.log(`[DatabaseStressTest] Starting stress test with ${iterations} iterations`);
const platformService = PlatformServiceFactory.getInstance();
const results: number[] = [];
for (let i = 0; i < iterations; i++) {
const start = Date.now();
try {
await platformService.dbQuery("SELECT 1 as test");
const duration = Date.now() - start;
results.push(duration);
logger.log(`[DatabaseStressTest] Iteration ${i + 1}: ${duration}ms`);
} catch (error) {
logger.error(`[DatabaseStressTest] Iteration ${i + 1} failed:`, error);
}
// Small delay between iterations
await new Promise(resolve => setTimeout(resolve, 100));
}
if (results.length > 0) {
const avg = results.reduce((a, b) => a + b, 0) / results.length;
const min = Math.min(...results);
const max = Math.max(...results);
logger.log(`[DatabaseStressTest] Results - Avg: ${avg.toFixed(2)}ms, Min: ${min}ms, Max: ${max}ms`);
}
}
/**
* Exports diagnostic information for debugging
*/
export function exportDiagnosticInfo(info: DatabaseDiagnosticInfo): string {
return JSON.stringify(info, null, 2);
}