Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ src/

## Database Schema

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

- **UserProfile**: User account information and blockchain credentials
- **Contacts**: Contact list with usernames and public keys
Expand Down
1 change: 1 addition & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export default tseslint.config(
{
ignores: [
'dist',
'gossip-sdk/dist',
'src/assets/generated',
'gossip-sdk/src/assets/generated',
'android/**',
Expand Down
4 changes: 2 additions & 2 deletions gossip-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,15 +352,15 @@ npm test # Watch mode
npm run test:run # Single run
```

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

## Architecture

```
gossip-sdk/
├── src/
│ ├── gossipSdk.ts # SDK class & factory
│ ├── db.ts # Database (Dexie) implementation
│ ├── db.ts # Database (SQLite) implementation
│ ├── contacts.ts # Contact operations
│ ├── api/
│ │ └── messageProtocol/ # REST protocol implementation
Expand Down
Loading
Loading