P. Reis
|
d87f650da3
|
fix: remove unused imports
|
2025-02-20 19:36:02 -03:00 |
|
P. Reis
|
a6fba9c8f1
|
fix: remove unused imports
|
2025-02-20 19:34:58 -03:00 |
|
P. Reis
|
d98a4bd263
|
refactor: use validateAndParseWallet function in GET /wallet
|
2025-02-20 19:33:25 -03:00 |
|
P. Reis
|
36640dd400
|
refactor: explain better the 'toBeRedeemed' field
|
2025-02-20 19:21:20 -03:00 |
|
P. Reis
|
71fd6ef965
|
refactor: extract repetitive validation and put it into a new function called 'validateAndParseWallet', tests included
|
2025-02-20 19:12:35 -03:00 |
|
P. Reis
|
c530aa310d
|
fix: get multiple proofs from nutzap event
|
2025-02-20 11:27:50 -03:00 |
|
P. Reis
|
741df0bee6
|
reminder: fix not getting multiple proofs
|
2025-02-19 21:26:34 -03:00 |
|
P. Reis
|
e9210118b0
|
fix: pass mintUrl rather than mint instance
|
2025-02-19 11:34:33 -03:00 |
|
P. Reis
|
04d710b1b8
|
fix: return mints from the wallet, not just the ones from kind 7375
|
2025-02-19 11:14:05 -03:00 |
|
P. Reis
|
d055c80abe
|
fix: pipe json payload into desired schema
|
2025-02-18 22:29:39 -03:00 |
|
P. Reis
|
a2165f0918
|
refactor: implement getMintsToProofs function
|
2025-02-18 22:19:41 -03:00 |
|
P. Reis
|
8890311e2d
|
refactor: create getLastRedeemedNutzap function
|
2025-02-18 21:03:12 -03:00 |
|
P. Reis
|
839aaca179
|
refactor: use zod
|
2025-02-18 17:13:16 -03:00 |
|
P. Reis
|
4b49dd0ddf
|
refactor: delete get quote id state
|
2025-02-17 21:05:25 -03:00 |
|
P. Reis
|
fb72038373
|
feat: implement POST '/api/v1/ditto/cashu/mint/:quote_id'
|
2025-02-17 15:16:16 -03:00 |
|
P. Reis
|
29b1a20193
|
Merge branch 'main' into mint-cashu
|
2025-02-17 10:58:08 -03:00 |
|
P. Reis
|
b9d813804e
|
feat: implement GET '/api/v1/ditto/cashu/quote/:quote_id' (not tested)
|
2025-02-16 20:00:14 -03:00 |
|
Alex Gleason
|
af0e688ca3
|
Fix path to datadir and custom policies
|
2025-02-16 12:52:27 -06:00 |
|
Alex Gleason
|
0ace14ffbb
|
metrics: add types to all exports
|
2025-02-16 11:56:41 -06:00 |
|
Alex Gleason
|
785ba1e053
|
Remove base alias from packages (make scripts use relative paths for now)
|
2025-02-16 11:50:25 -06:00 |
|
Alex Gleason
|
fbb5c63c33
|
metrics: make 'prefix' a variable
|
2025-02-16 11:45:08 -06:00 |
|
Alex Gleason
|
e1c1967a66
|
db: remove some external deps
|
2025-02-16 11:42:48 -06:00 |
|
Alex Gleason
|
dbfd759fba
|
Merge remote-tracking branch 'origin/main' into ditto-metrics
|
2025-02-16 00:45:01 -06:00 |
|
Alex Gleason
|
4e0bb16b85
|
Fix db tests
|
2025-02-16 00:39:00 -06:00 |
|
Alex Gleason
|
739153afc9
|
Add @ditto/metrics package
|
2025-02-16 00:30:00 -06:00 |
|
Alex Gleason
|
773b5da461
|
Add db tests
|
2025-02-16 00:21:41 -06:00 |
|
Alex Gleason
|
c59bb421c6
|
Add @ditto/db package
|
2025-02-16 00:14:41 -06:00 |
|
Alex Gleason
|
a9744ff4ad
|
Add streak.expires to the API
|
2025-02-15 23:23:04 -06:00 |
|
Alex Gleason
|
222bf84eab
|
More msg tweaks
|
2025-02-15 23:05:41 -06:00 |
|
Alex Gleason
|
7622230c19
|
logi: ditto.relay.message -> ditto.relay.msg
|
2025-02-15 22:51:49 -06:00 |
|
Alex Gleason
|
aefc8c7163
|
Log verb with ditto.relay.message
|
2025-02-15 22:47:11 -06:00 |
|
P. Reis
|
8cba937962
|
Merge branch 'main' into mint-cashu
Conflicts:
packages/ditto/controllers/api/cashu.ts
|
2025-02-15 21:59:12 -03:00 |
|
Alex Gleason
|
3073777d9b
|
Fix cashu tests
|
2025-02-15 18:51:15 -06:00 |
|
P. Reis
|
3bafb439bb
|
feat: create POST '/api/v1/ditto/cashu/quote' endpoint
also create GET /quote/:quote_id and POST /mint/:quote_id endpoints (they are not implemented)
|
2025-02-15 21:44:43 -03:00 |
|
Alex Gleason
|
d0d37f5948
|
Remove Conf from middleware
|
2025-02-15 18:43:59 -06:00 |
|
Alex Gleason
|
8d2c83bb09
|
Remove Conf from S3Uploader, uploaderMiddleware
|
2025-02-15 18:38:20 -06:00 |
|
Alex Gleason
|
478c77bb62
|
Eliminate Conf from most controllers
|
2025-02-15 18:34:43 -06:00 |
|
Alex Gleason
|
02a7305ee9
|
@ditto/config -> @ditto/conf, DittoConfig -> DittoConf
|
2025-02-15 17:58:24 -06:00 |
|
Alex Gleason
|
665be0c1b2
|
Add @ditto/api package with conf middleware
|
2025-02-15 17:54:38 -06:00 |
|
Alex Gleason
|
9bfc7e6fe3
|
DittoConfig: fix missing return type of .external()
|
2025-02-15 17:02:53 -06:00 |
|
Alex Gleason
|
a2f273287d
|
config: test defaults
|
2025-02-15 16:59:12 -06:00 |
|
Alex Gleason
|
1e5278dc8c
|
Add basic DittoConfig tests
|
2025-02-15 16:55:59 -06:00 |
|
Alex Gleason
|
13db5498a5
|
config: break mergeURLPath into a separate module
|
2025-02-15 16:51:21 -06:00 |
|
Alex Gleason
|
5f6cdaf7d5
|
config: refactor schemas into a separate file
|
2025-02-15 16:37:33 -06:00 |
|
Alex Gleason
|
1636601bfe
|
config: crypto.ts -> utils/crypto.ts
|
2025-02-15 16:32:10 -06:00 |
|
Alex Gleason
|
cbe156ae2b
|
Create @ditto/config module
|
2025-02-15 16:28:26 -06:00 |
|
Alex Gleason
|
2ccd4bad96
|
Move static/ into packages/ditto
|
2025-02-15 14:41:57 -06:00 |
|
Alex Gleason
|
5ee682ef8f
|
Remove accidental file: log.json
|
2025-02-15 14:38:15 -06:00 |
|
Alex Gleason
|
3476f45b41
|
Add @ditto/ditto as a workspace package
|
2025-02-15 14:31:30 -06:00 |
|
Alex Gleason
|
aa8bb03e5a
|
mv src packages/ditto
|
2025-02-15 14:21:05 -06:00 |
|