tapimo 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.d.ts +4879 -4870
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +20 -2
- package/dist/App.js.map +1 -1
- package/dist/Assets.js +3 -3
- package/dist/Assets.js.map +1 -1
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +1 -2
- package/dist/Scope.js.map +1 -1
- package/dist/Webhooks.d.ts +1 -1
- package/dist/Webhooks.d.ts.map +1 -1
- package/dist/Webhooks.js +5 -10
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/App.d.ts +6 -34
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +3 -3
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +4 -1
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/scopes.d.ts +6 -34
- package/dist/admin/apps/scopes.d.ts.map +1 -1
- package/dist/admin/apps/scopes.js +2 -2
- package/dist/admin/apps/scopes.js.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +116 -116
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.js +33 -33
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/apps/data/App.d.ts +3199 -3206
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +25 -38
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/FundingQuoteProviders.d.ts +76 -3
- package/dist/apps/data/FundingQuoteProviders.d.ts.map +1 -1
- package/dist/apps/data/FundingQuoteProviders.js +276 -2
- package/dist/apps/data/FundingQuoteProviders.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +245 -245
- package/dist/apps/data/routes/addresses.d.ts +206 -206
- package/dist/apps/data/routes/balances.d.ts +46 -46
- package/dist/apps/data/routes/blocks.d.ts +123 -123
- package/dist/apps/data/routes/coingecko.d.ts +169 -169
- package/dist/apps/data/routes/funding.d.ts +230 -146
- package/dist/apps/data/routes/funding.d.ts.map +1 -1
- package/dist/apps/data/routes/funding.js +23 -12
- package/dist/apps/data/routes/funding.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +34 -34
- package/dist/apps/data/routes/indexer.d.ts.map +1 -1
- package/dist/apps/data/routes/indexer.js +9 -2
- package/dist/apps/data/routes/indexer.js.map +1 -1
- package/dist/apps/data/routes/receipts.d.ts +228 -228
- package/dist/apps/data/routes/tokenlist.d.ts +36 -36
- package/dist/apps/data/routes/transactions.d.ts +281 -281
- package/dist/apps/data/routes/transfers.d.ts +58 -58
- package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
- package/dist/apps/management/App.d.ts +1042 -1042
- package/dist/apps/management/routes/api-keys.d.ts +120 -120
- package/dist/apps/management/routes/billing.d.ts +211 -211
- package/dist/apps/management/routes/invitations.d.ts +132 -132
- package/dist/apps/management/routes/invite-links.d.ts +62 -62
- package/dist/apps/management/routes/me.d.ts +17 -17
- package/dist/apps/management/routes/members.d.ts +80 -80
- package/dist/apps/management/routes/orgs.d.ts +96 -96
- package/dist/apps/management/routes/projects.d.ts +61 -61
- package/dist/apps/management/routes/scopes.d.ts +11 -11
- package/dist/apps/management/routes/usage.d.ts +79 -79
- package/dist/apps/mcp.js +2 -2
- package/dist/apps/mcp.js.map +1 -1
- package/dist/apps/relay/App.d.ts +2 -2
- package/dist/apps/relay/App.js +2 -2
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +6 -2
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +8 -0
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/FundingQuotes.d.ts +170 -56
- package/dist/internal/FundingQuotes.d.ts.map +1 -1
- package/dist/internal/FundingQuotes.js +91 -5
- package/dist/internal/FundingQuotes.js.map +1 -1
- package/dist/internal/Log.d.ts +18 -12
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +2 -0
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/Tidx.d.ts +9 -3
- package/dist/internal/Tidx.d.ts.map +1 -1
- package/dist/internal/Tidx.js +13 -7
- package/dist/internal/Tidx.js.map +1 -1
- package/dist/internal/Viem.d.ts +14 -1
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +19 -1
- package/dist/internal/Viem.js.map +1 -1
- package/package.json +2 -2
- package/src/ApiKeys.test.ts +2 -0
- package/src/App.test.ts +13 -2
- package/src/App.ts +31 -5
- package/src/Assets.ts +3 -3
- package/src/Client.test-d.ts +3 -2
- package/src/Scope.ts +4 -2
- package/src/Webhooks.ts +5 -10
- package/src/admin/apps/api-keys.test.ts +27 -0
- package/src/admin/apps/api-keys.ts +8 -1
- package/src/admin/apps/scopes.test.ts +7 -2
- package/src/admin/apps/scopes.ts +2 -2
- package/src/admin/ui/src/components/Dialog.tsx +8 -2
- package/src/admin/ui/src/lib/scopes.test.ts +19 -0
- package/src/admin/ui/src/lib/scopes.ts +12 -0
- package/src/admin/ui/src/routes/api-keys.tsx +128 -27
- package/src/admin/ui.generated.ts +33 -33
- package/src/apps/composition.test.ts +77 -0
- package/src/apps/data/App.ts +25 -45
- package/src/apps/data/FundingQuoteProviders.test.ts +431 -5
- package/src/apps/data/FundingQuoteProviders.ts +386 -4
- package/src/apps/data/routes/funding.test.ts +174 -7
- package/src/apps/data/routes/funding.ts +27 -12
- package/src/apps/data/routes/indexer.test.ts +82 -20
- package/src/apps/data/routes/indexer.ts +8 -2
- package/src/apps/management/Billing.test.ts +2 -2
- package/src/apps/mcp.test.ts +18 -0
- package/src/apps/mcp.ts +2 -2
- package/src/apps/relay/App.test.ts +6 -5
- package/src/apps/relay/App.ts +2 -2
- package/src/apps/relay/Sponsorships.test.ts +2 -2
- package/src/db/Db.test.ts +5 -5
- package/src/db/tables/billingSettings.test.ts +2 -2
- package/src/db/tables/organizations.test.ts +2 -2
- package/src/db/tables/sponsoredTransactions.test.ts +19 -2
- package/src/db/tables/sponsoredTransactions.ts +21 -14
- package/src/db/tables/stripeCustomers.test.ts +2 -2
- package/src/internal/Auth.ts +10 -0
- package/src/internal/FundingQuotes.test.ts +97 -3
- package/src/internal/FundingQuotes.ts +104 -6
- package/src/internal/Log.ts +21 -14
- package/src/internal/Tidx.test.ts +48 -0
- package/src/internal/Tidx.ts +21 -7
- package/src/internal/Viem.test.ts +46 -0
- package/src/internal/Viem.ts +34 -1
|
@@ -61,14 +61,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
61
61
|
$get: {
|
|
62
62
|
output: {
|
|
63
63
|
error: {
|
|
64
|
-
code: "
|
|
64
|
+
code: "api_key_malformed";
|
|
65
65
|
details?: readonly Response.error.Detail[] | undefined;
|
|
66
66
|
message: string;
|
|
67
67
|
};
|
|
68
68
|
requestId: string;
|
|
69
69
|
};
|
|
70
70
|
outputFormat: "json";
|
|
71
|
-
status:
|
|
71
|
+
status: 400;
|
|
72
72
|
input: {
|
|
73
73
|
param: {
|
|
74
74
|
orgId: string;
|
|
@@ -77,14 +77,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
77
77
|
} | {
|
|
78
78
|
output: {
|
|
79
79
|
error: {
|
|
80
|
-
code: "
|
|
80
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
81
81
|
details?: readonly Response.error.Detail[] | undefined;
|
|
82
82
|
message: string;
|
|
83
83
|
};
|
|
84
84
|
requestId: string;
|
|
85
85
|
};
|
|
86
86
|
outputFormat: "json";
|
|
87
|
-
status:
|
|
87
|
+
status: 401;
|
|
88
88
|
input: {
|
|
89
89
|
param: {
|
|
90
90
|
orgId: string;
|
|
@@ -93,14 +93,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
93
93
|
} | {
|
|
94
94
|
output: {
|
|
95
95
|
error: {
|
|
96
|
-
code: "
|
|
96
|
+
code: "api_key_forbidden";
|
|
97
97
|
details?: readonly Response.error.Detail[] | undefined;
|
|
98
98
|
message: string;
|
|
99
99
|
};
|
|
100
100
|
requestId: string;
|
|
101
101
|
};
|
|
102
102
|
outputFormat: "json";
|
|
103
|
-
status:
|
|
103
|
+
status: 403;
|
|
104
104
|
input: {
|
|
105
105
|
param: {
|
|
106
106
|
orgId: string;
|
|
@@ -109,14 +109,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
109
109
|
} | {
|
|
110
110
|
output: {
|
|
111
111
|
error: {
|
|
112
|
-
code: "
|
|
112
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
113
113
|
details?: readonly Response.error.Detail[] | undefined;
|
|
114
114
|
message: string;
|
|
115
115
|
};
|
|
116
116
|
requestId: string;
|
|
117
117
|
};
|
|
118
118
|
outputFormat: "json";
|
|
119
|
-
status:
|
|
119
|
+
status: 429;
|
|
120
120
|
input: {
|
|
121
121
|
param: {
|
|
122
122
|
orgId: string;
|
|
@@ -125,14 +125,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
125
125
|
} | {
|
|
126
126
|
output: {
|
|
127
127
|
error: {
|
|
128
|
-
code: "
|
|
128
|
+
code: "upstream_error";
|
|
129
129
|
details?: readonly Response.error.Detail[] | undefined;
|
|
130
130
|
message: string;
|
|
131
131
|
};
|
|
132
132
|
requestId: string;
|
|
133
133
|
};
|
|
134
134
|
outputFormat: "json";
|
|
135
|
-
status:
|
|
135
|
+
status: 502;
|
|
136
136
|
input: {
|
|
137
137
|
param: {
|
|
138
138
|
orgId: string;
|
|
@@ -195,14 +195,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
195
195
|
$post: {
|
|
196
196
|
output: {
|
|
197
197
|
error: {
|
|
198
|
-
code: "
|
|
198
|
+
code: "api_key_malformed";
|
|
199
199
|
details?: readonly Response.error.Detail[] | undefined;
|
|
200
200
|
message: string;
|
|
201
201
|
};
|
|
202
202
|
requestId: string;
|
|
203
203
|
};
|
|
204
204
|
outputFormat: "json";
|
|
205
|
-
status:
|
|
205
|
+
status: 400;
|
|
206
206
|
input: {
|
|
207
207
|
param: {
|
|
208
208
|
orgId: string;
|
|
@@ -215,14 +215,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
215
215
|
} | {
|
|
216
216
|
output: {
|
|
217
217
|
error: {
|
|
218
|
-
code: "
|
|
218
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
219
219
|
details?: readonly Response.error.Detail[] | undefined;
|
|
220
220
|
message: string;
|
|
221
221
|
};
|
|
222
222
|
requestId: string;
|
|
223
223
|
};
|
|
224
224
|
outputFormat: "json";
|
|
225
|
-
status:
|
|
225
|
+
status: 401;
|
|
226
226
|
input: {
|
|
227
227
|
param: {
|
|
228
228
|
orgId: string;
|
|
@@ -235,14 +235,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
235
235
|
} | {
|
|
236
236
|
output: {
|
|
237
237
|
error: {
|
|
238
|
-
code: "
|
|
238
|
+
code: "api_key_forbidden";
|
|
239
239
|
details?: readonly Response.error.Detail[] | undefined;
|
|
240
240
|
message: string;
|
|
241
241
|
};
|
|
242
242
|
requestId: string;
|
|
243
243
|
};
|
|
244
244
|
outputFormat: "json";
|
|
245
|
-
status:
|
|
245
|
+
status: 403;
|
|
246
246
|
input: {
|
|
247
247
|
param: {
|
|
248
248
|
orgId: string;
|
|
@@ -255,14 +255,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
255
255
|
} | {
|
|
256
256
|
output: {
|
|
257
257
|
error: {
|
|
258
|
-
code: "
|
|
258
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
259
259
|
details?: readonly Response.error.Detail[] | undefined;
|
|
260
260
|
message: string;
|
|
261
261
|
};
|
|
262
262
|
requestId: string;
|
|
263
263
|
};
|
|
264
264
|
outputFormat: "json";
|
|
265
|
-
status:
|
|
265
|
+
status: 429;
|
|
266
266
|
input: {
|
|
267
267
|
param: {
|
|
268
268
|
orgId: string;
|
|
@@ -275,14 +275,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
275
275
|
} | {
|
|
276
276
|
output: {
|
|
277
277
|
error: {
|
|
278
|
-
code: "
|
|
278
|
+
code: "upstream_error";
|
|
279
279
|
details?: readonly Response.error.Detail[] | undefined;
|
|
280
280
|
message: string;
|
|
281
281
|
};
|
|
282
282
|
requestId: string;
|
|
283
283
|
};
|
|
284
284
|
outputFormat: "json";
|
|
285
|
-
status:
|
|
285
|
+
status: 502;
|
|
286
286
|
input: {
|
|
287
287
|
param: {
|
|
288
288
|
orgId: string;
|
|
@@ -444,23 +444,6 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
444
444
|
projectId: string;
|
|
445
445
|
};
|
|
446
446
|
};
|
|
447
|
-
} | {
|
|
448
|
-
output: {
|
|
449
|
-
error: {
|
|
450
|
-
code: "organization_not_found" | "project_not_found";
|
|
451
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
452
|
-
message: string;
|
|
453
|
-
};
|
|
454
|
-
requestId: string;
|
|
455
|
-
};
|
|
456
|
-
outputFormat: "json";
|
|
457
|
-
status: 404;
|
|
458
|
-
input: {
|
|
459
|
-
param: {
|
|
460
|
-
orgId: string;
|
|
461
|
-
projectId: string;
|
|
462
|
-
};
|
|
463
|
-
};
|
|
464
447
|
} | {
|
|
465
448
|
output: {
|
|
466
449
|
error: {
|
|
@@ -495,32 +478,28 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
495
478
|
projectId: string;
|
|
496
479
|
};
|
|
497
480
|
};
|
|
498
|
-
}
|
|
499
|
-
};
|
|
500
|
-
} & {
|
|
501
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
|
|
502
|
-
$patch: {
|
|
481
|
+
} | {
|
|
503
482
|
output: {
|
|
504
483
|
error: {
|
|
505
|
-
code: "
|
|
484
|
+
code: "organization_not_found" | "project_not_found";
|
|
506
485
|
details?: readonly Response.error.Detail[] | undefined;
|
|
507
486
|
message: string;
|
|
508
487
|
};
|
|
509
488
|
requestId: string;
|
|
510
489
|
};
|
|
511
490
|
outputFormat: "json";
|
|
512
|
-
status:
|
|
491
|
+
status: 404;
|
|
513
492
|
input: {
|
|
514
493
|
param: {
|
|
515
494
|
orgId: string;
|
|
516
495
|
projectId: string;
|
|
517
496
|
};
|
|
518
|
-
} & {
|
|
519
|
-
json: {
|
|
520
|
-
name: string;
|
|
521
|
-
};
|
|
522
497
|
};
|
|
523
|
-
}
|
|
498
|
+
};
|
|
499
|
+
};
|
|
500
|
+
} & {
|
|
501
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
|
|
502
|
+
$patch: {
|
|
524
503
|
output: {
|
|
525
504
|
error: {
|
|
526
505
|
code: "api_key_malformed";
|
|
@@ -607,14 +586,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
607
586
|
} | {
|
|
608
587
|
output: {
|
|
609
588
|
error: {
|
|
610
|
-
code: "
|
|
589
|
+
code: "upstream_error";
|
|
611
590
|
details?: readonly Response.error.Detail[] | undefined;
|
|
612
591
|
message: string;
|
|
613
592
|
};
|
|
614
593
|
requestId: string;
|
|
615
594
|
};
|
|
616
595
|
outputFormat: "json";
|
|
617
|
-
status:
|
|
596
|
+
status: 502;
|
|
618
597
|
input: {
|
|
619
598
|
param: {
|
|
620
599
|
orgId: string;
|
|
@@ -688,28 +667,32 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
688
667
|
name: string;
|
|
689
668
|
};
|
|
690
669
|
};
|
|
691
|
-
}
|
|
692
|
-
};
|
|
693
|
-
} & {
|
|
694
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
|
|
695
|
-
$delete: {
|
|
670
|
+
} | {
|
|
696
671
|
output: {
|
|
697
672
|
error: {
|
|
698
|
-
code: "
|
|
673
|
+
code: "organization_not_found" | "project_not_found";
|
|
699
674
|
details?: readonly Response.error.Detail[] | undefined;
|
|
700
675
|
message: string;
|
|
701
676
|
};
|
|
702
677
|
requestId: string;
|
|
703
678
|
};
|
|
704
679
|
outputFormat: "json";
|
|
705
|
-
status:
|
|
680
|
+
status: 404;
|
|
706
681
|
input: {
|
|
707
682
|
param: {
|
|
708
683
|
orgId: string;
|
|
709
684
|
projectId: string;
|
|
710
685
|
};
|
|
686
|
+
} & {
|
|
687
|
+
json: {
|
|
688
|
+
name: string;
|
|
689
|
+
};
|
|
711
690
|
};
|
|
712
|
-
}
|
|
691
|
+
};
|
|
692
|
+
};
|
|
693
|
+
} & {
|
|
694
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
|
|
695
|
+
$delete: {
|
|
713
696
|
output: {
|
|
714
697
|
error: {
|
|
715
698
|
code: "api_key_malformed";
|
|
@@ -780,14 +763,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
780
763
|
} | {
|
|
781
764
|
output: {
|
|
782
765
|
error: {
|
|
783
|
-
code: "
|
|
766
|
+
code: "upstream_error";
|
|
784
767
|
details?: readonly Response.error.Detail[] | undefined;
|
|
785
768
|
message: string;
|
|
786
769
|
};
|
|
787
770
|
requestId: string;
|
|
788
771
|
};
|
|
789
772
|
outputFormat: "json";
|
|
790
|
-
status:
|
|
773
|
+
status: 502;
|
|
791
774
|
input: {
|
|
792
775
|
param: {
|
|
793
776
|
orgId: string;
|
|
@@ -811,6 +794,23 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
811
794
|
projectId: string;
|
|
812
795
|
};
|
|
813
796
|
};
|
|
797
|
+
} | {
|
|
798
|
+
output: {
|
|
799
|
+
error: {
|
|
800
|
+
code: "organization_not_found" | "project_not_found";
|
|
801
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
802
|
+
message: string;
|
|
803
|
+
};
|
|
804
|
+
requestId: string;
|
|
805
|
+
};
|
|
806
|
+
outputFormat: "json";
|
|
807
|
+
status: 404;
|
|
808
|
+
input: {
|
|
809
|
+
param: {
|
|
810
|
+
orgId: string;
|
|
811
|
+
projectId: string;
|
|
812
|
+
};
|
|
813
|
+
};
|
|
814
814
|
} | {
|
|
815
815
|
output: {
|
|
816
816
|
id: string;
|
|
@@ -29,17 +29,6 @@ export declare namespace schema {
|
|
|
29
29
|
export declare function scopes(): import("hono/hono-base").HonoBase<App.Environment, {
|
|
30
30
|
"/v1/scopes": {
|
|
31
31
|
$get: {
|
|
32
|
-
output: {
|
|
33
|
-
data: {
|
|
34
|
-
description: string;
|
|
35
|
-
scope: string;
|
|
36
|
-
selfServe: boolean;
|
|
37
|
-
}[];
|
|
38
|
-
};
|
|
39
|
-
outputFormat: "json";
|
|
40
|
-
status: 200;
|
|
41
|
-
input: {};
|
|
42
|
-
} | {
|
|
43
32
|
output: {
|
|
44
33
|
error: {
|
|
45
34
|
code: "api_key_malformed";
|
|
@@ -87,6 +76,17 @@ export declare function scopes(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
87
76
|
outputFormat: "json";
|
|
88
77
|
status: 429;
|
|
89
78
|
input: {};
|
|
79
|
+
} | {
|
|
80
|
+
output: {
|
|
81
|
+
data: {
|
|
82
|
+
description: string;
|
|
83
|
+
scope: string;
|
|
84
|
+
selfServe: boolean;
|
|
85
|
+
}[];
|
|
86
|
+
};
|
|
87
|
+
outputFormat: "json";
|
|
88
|
+
status: 200;
|
|
89
|
+
input: {};
|
|
90
90
|
};
|
|
91
91
|
};
|
|
92
92
|
}, "/", "/v1/scopes">;
|