Skip to content

Commit 1a36206

Browse files
committed
indexDb to SQLite
1 parent d3b2f32 commit 1a36206

File tree

83 files changed

+8658
-4043
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+8658
-4043
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ src/
107107

108108
## Database Schema
109109

110-
Gossip uses Dexie (IndexedDB) for local data storage with the following entities:
110+
Gossip uses SQLite for local data storage with the following entities:
111111

112112
- **UserProfile**: User account information and blockchain credentials
113113
- **Contacts**: Contact list with usernames and public keys

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export default tseslint.config(
88
{
99
ignores: [
1010
'dist',
11+
'gossip-sdk/dist',
1112
'src/assets/generated',
1213
'gossip-sdk/src/assets/generated',
1314
'android/**',

gossip-sdk/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,15 +352,15 @@ npm test # Watch mode
352352
npm run test:run # Single run
353353
```
354354

355-
Tests use `fake-indexeddb` to simulate IndexedDB in Node.js environment.
355+
Tests use wa-sqlite with in-memory databases for fast, isolated execution.
356356

357357
## Architecture
358358

359359
```
360360
gossip-sdk/
361361
├── src/
362362
│ ├── gossipSdk.ts # SDK class & factory
363-
│ ├── db.ts # Database (Dexie) implementation
363+
│ ├── db.ts # Database (SQLite) implementation
364364
│ ├── contacts.ts # Contact operations
365365
│ ├── api/
366366
│ │ └── messageProtocol/ # REST protocol implementation

0 commit comments

Comments
 (0)