tapimo 0.4.3 → 0.4.4

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.
Files changed (77) hide show
  1. package/dist/App.d.ts +2491 -2861
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/admin/apps/verified-tokens.d.ts +57 -57
  4. package/dist/apps/data/App.d.ts +2354 -2724
  5. package/dist/apps/data/App.d.ts.map +1 -1
  6. package/dist/apps/data/FundingRouteProviders.d.ts +3 -110
  7. package/dist/apps/data/FundingRouteProviders.d.ts.map +1 -1
  8. package/dist/apps/data/FundingRouteProviders.js +1 -302
  9. package/dist/apps/data/FundingRouteProviders.js.map +1 -1
  10. package/dist/apps/data/routes/exchanges.d.ts +455 -455
  11. package/dist/apps/data/routes/fee-amm.d.ts +92 -92
  12. package/dist/apps/data/routes/funding.d.ts +138 -730
  13. package/dist/apps/data/routes/funding.d.ts.map +1 -1
  14. package/dist/apps/data/routes/funding.js +7 -241
  15. package/dist/apps/data/routes/funding.js.map +1 -1
  16. package/dist/apps/data/routes/tokenlist.d.ts +12 -12
  17. package/dist/apps/data/routes/transactions.d.ts +281 -281
  18. package/dist/apps/data/routes/transfers.d.ts +58 -58
  19. package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
  20. package/dist/apps/management/App.d.ts +855 -855
  21. package/dist/apps/management/routes/api-keys.d.ts +40 -40
  22. package/dist/apps/management/routes/billing.d.ts +207 -207
  23. package/dist/apps/management/routes/me.d.ts +6 -6
  24. package/dist/apps/management/routes/members.d.ts +30 -30
  25. package/dist/apps/management/routes/orgs.d.ts +92 -92
  26. package/dist/apps/management/routes/projects.d.ts +28 -28
  27. package/dist/apps/management/routes/usage.d.ts +24 -24
  28. package/dist/apps/mcp.d.ts.map +1 -1
  29. package/dist/apps/mcp.js +3 -1
  30. package/dist/apps/mcp.js.map +1 -1
  31. package/dist/cloudflare.d.ts +2 -0
  32. package/dist/cloudflare.d.ts.map +1 -1
  33. package/dist/cloudflare.js +4 -0
  34. package/dist/cloudflare.js.map +1 -1
  35. package/dist/internal/Auth.d.ts +33 -22
  36. package/dist/internal/Auth.d.ts.map +1 -1
  37. package/dist/internal/Auth.js +40 -11
  38. package/dist/internal/Auth.js.map +1 -1
  39. package/dist/internal/Errors.d.ts +6 -0
  40. package/dist/internal/Errors.d.ts.map +1 -0
  41. package/dist/internal/Errors.js +16 -0
  42. package/dist/internal/Errors.js.map +1 -0
  43. package/dist/internal/FundingRoutes.d.ts +15 -213
  44. package/dist/internal/FundingRoutes.d.ts.map +1 -1
  45. package/dist/internal/FundingRoutes.js +1 -72
  46. package/dist/internal/FundingRoutes.js.map +1 -1
  47. package/dist/internal/Store.d.ts +61 -16
  48. package/dist/internal/Store.d.ts.map +1 -1
  49. package/dist/internal/Store.js +72 -17
  50. package/dist/internal/Store.js.map +1 -1
  51. package/dist/internal/Viem.d.ts +1 -1
  52. package/dist/internal/index.d.ts +27 -0
  53. package/dist/internal/index.d.ts.map +1 -0
  54. package/dist/internal/index.js +27 -0
  55. package/dist/internal/index.js.map +1 -0
  56. package/package.json +8 -3
  57. package/src/App.test.ts +60 -4
  58. package/src/Client.test-d.ts +0 -47
  59. package/src/apps/data/FundingRouteProviders.test.ts +37 -297
  60. package/src/apps/data/FundingRouteProviders.ts +3 -435
  61. package/src/apps/data/routes/funding.test.ts +7 -109
  62. package/src/apps/data/routes/funding.ts +8 -323
  63. package/src/apps/data/routes/indexer.test.ts +2 -2
  64. package/src/apps/data/routes/webhooks.test.ts +2 -2
  65. package/src/apps/mcp.test.ts +55 -14
  66. package/src/apps/mcp.ts +3 -1
  67. package/src/cloudflare.ts +5 -0
  68. package/src/internal/Auth.test.ts +397 -16
  69. package/src/internal/Auth.ts +76 -32
  70. package/src/internal/FundingRoutes.test.ts +8 -34
  71. package/src/internal/FundingRoutes.ts +1 -174
  72. package/src/internal/Log.test.ts +4 -4
  73. package/src/internal/Store.test-d.ts +15 -0
  74. package/src/internal/Store.test.ts +153 -2
  75. package/src/internal/Store.ts +157 -41
  76. package/src/internal/index.test.ts +34 -0
  77. package/src/internal/index.ts +26 -0
@@ -21,38 +21,38 @@ export declare function me(): import("hono/hono-base").HonoBase<App.Environment,
21
21
  $get: {
22
22
  output: {
23
23
  error: {
24
- code: "upstream_error";
24
+ code: "api_key_malformed";
25
25
  details?: readonly Response.error.Detail[] | undefined;
26
26
  message: string;
27
27
  };
28
28
  requestId: string;
29
29
  };
30
30
  outputFormat: "json";
31
- status: 502;
31
+ status: 400;
32
32
  input: {};
33
33
  } | {
34
34
  output: {
35
35
  error: {
36
- code: "api_key_malformed";
36
+ code: "api_key_invalid" | "api_key_missing";
37
37
  details?: readonly Response.error.Detail[] | undefined;
38
38
  message: string;
39
39
  };
40
40
  requestId: string;
41
41
  };
42
42
  outputFormat: "json";
43
- status: 400;
43
+ status: 401;
44
44
  input: {};
45
45
  } | {
46
46
  output: {
47
47
  error: {
48
- code: "api_key_invalid" | "api_key_missing";
48
+ code: "upstream_error";
49
49
  details?: readonly Response.error.Detail[] | undefined;
50
50
  message: string;
51
51
  };
52
52
  requestId: string;
53
53
  };
54
54
  outputFormat: "json";
55
- status: 401;
55
+ status: 502;
56
56
  input: {};
57
57
  } | {
58
58
  output: {
@@ -73,14 +73,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
73
73
  $get: {
74
74
  output: {
75
75
  error: {
76
- code: "api_key_malformed";
76
+ code: "upstream_error";
77
77
  details?: readonly Response.error.Detail[] | undefined;
78
78
  message: string;
79
79
  };
80
80
  requestId: string;
81
81
  };
82
82
  outputFormat: "json";
83
- status: 400;
83
+ status: 502;
84
84
  input: {
85
85
  param: {
86
86
  orgId: string;
@@ -89,14 +89,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
89
89
  } | {
90
90
  output: {
91
91
  error: {
92
- code: "api_key_invalid" | "api_key_missing";
92
+ code: "api_key_malformed";
93
93
  details?: readonly Response.error.Detail[] | undefined;
94
94
  message: string;
95
95
  };
96
96
  requestId: string;
97
97
  };
98
98
  outputFormat: "json";
99
- status: 401;
99
+ status: 400;
100
100
  input: {
101
101
  param: {
102
102
  orgId: string;
@@ -105,14 +105,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
105
105
  } | {
106
106
  output: {
107
107
  error: {
108
- code: "api_key_forbidden";
108
+ code: "api_key_invalid" | "api_key_missing";
109
109
  details?: readonly Response.error.Detail[] | undefined;
110
110
  message: string;
111
111
  };
112
112
  requestId: string;
113
113
  };
114
114
  outputFormat: "json";
115
- status: 403;
115
+ status: 401;
116
116
  input: {
117
117
  param: {
118
118
  orgId: string;
@@ -121,14 +121,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
121
121
  } | {
122
122
  output: {
123
123
  error: {
124
- code: "payment_required" | "rate_limit_exceeded";
124
+ code: "api_key_forbidden";
125
125
  details?: readonly Response.error.Detail[] | undefined;
126
126
  message: string;
127
127
  };
128
128
  requestId: string;
129
129
  };
130
130
  outputFormat: "json";
131
- status: 429;
131
+ status: 403;
132
132
  input: {
133
133
  param: {
134
134
  orgId: string;
@@ -137,14 +137,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
137
137
  } | {
138
138
  output: {
139
139
  error: {
140
- code: "upstream_error";
140
+ code: "payment_required" | "rate_limit_exceeded";
141
141
  details?: readonly Response.error.Detail[] | undefined;
142
142
  message: string;
143
143
  };
144
144
  requestId: string;
145
145
  };
146
146
  outputFormat: "json";
147
- status: 502;
147
+ status: 429;
148
148
  input: {
149
149
  param: {
150
150
  orgId: string;
@@ -206,14 +206,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
206
206
  $patch: {
207
207
  output: {
208
208
  error: {
209
- code: "api_key_malformed";
209
+ code: "upstream_error";
210
210
  details?: readonly Response.error.Detail[] | undefined;
211
211
  message: string;
212
212
  };
213
213
  requestId: string;
214
214
  };
215
215
  outputFormat: "json";
216
- status: 400;
216
+ status: 502;
217
217
  input: {
218
218
  param: {
219
219
  orgId: string;
@@ -227,14 +227,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
227
227
  } | {
228
228
  output: {
229
229
  error: {
230
- code: "api_key_invalid" | "api_key_missing";
230
+ code: "api_key_malformed";
231
231
  details?: readonly Response.error.Detail[] | undefined;
232
232
  message: string;
233
233
  };
234
234
  requestId: string;
235
235
  };
236
236
  outputFormat: "json";
237
- status: 401;
237
+ status: 400;
238
238
  input: {
239
239
  param: {
240
240
  orgId: string;
@@ -248,14 +248,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
248
248
  } | {
249
249
  output: {
250
250
  error: {
251
- code: "api_key_forbidden";
251
+ code: "api_key_invalid" | "api_key_missing";
252
252
  details?: readonly Response.error.Detail[] | undefined;
253
253
  message: string;
254
254
  };
255
255
  requestId: string;
256
256
  };
257
257
  outputFormat: "json";
258
- status: 403;
258
+ status: 401;
259
259
  input: {
260
260
  param: {
261
261
  orgId: string;
@@ -269,14 +269,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
269
269
  } | {
270
270
  output: {
271
271
  error: {
272
- code: "payment_required" | "rate_limit_exceeded";
272
+ code: "api_key_forbidden";
273
273
  details?: readonly Response.error.Detail[] | undefined;
274
274
  message: string;
275
275
  };
276
276
  requestId: string;
277
277
  };
278
278
  outputFormat: "json";
279
- status: 429;
279
+ status: 403;
280
280
  input: {
281
281
  param: {
282
282
  orgId: string;
@@ -290,14 +290,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
290
290
  } | {
291
291
  output: {
292
292
  error: {
293
- code: "upstream_error";
293
+ code: "payment_required" | "rate_limit_exceeded";
294
294
  details?: readonly Response.error.Detail[] | undefined;
295
295
  message: string;
296
296
  };
297
297
  requestId: string;
298
298
  };
299
299
  outputFormat: "json";
300
- status: 502;
300
+ status: 429;
301
301
  input: {
302
302
  param: {
303
303
  orgId: string;
@@ -440,14 +440,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
440
440
  $delete: {
441
441
  output: {
442
442
  error: {
443
- code: "api_key_malformed";
443
+ code: "upstream_error";
444
444
  details?: readonly Response.error.Detail[] | undefined;
445
445
  message: string;
446
446
  };
447
447
  requestId: string;
448
448
  };
449
449
  outputFormat: "json";
450
- status: 400;
450
+ status: 502;
451
451
  input: {
452
452
  param: {
453
453
  orgId: string;
@@ -457,14 +457,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
457
457
  } | {
458
458
  output: {
459
459
  error: {
460
- code: "api_key_invalid" | "api_key_missing";
460
+ code: "api_key_malformed";
461
461
  details?: readonly Response.error.Detail[] | undefined;
462
462
  message: string;
463
463
  };
464
464
  requestId: string;
465
465
  };
466
466
  outputFormat: "json";
467
- status: 401;
467
+ status: 400;
468
468
  input: {
469
469
  param: {
470
470
  orgId: string;
@@ -474,14 +474,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
474
474
  } | {
475
475
  output: {
476
476
  error: {
477
- code: "api_key_forbidden";
477
+ code: "api_key_invalid" | "api_key_missing";
478
478
  details?: readonly Response.error.Detail[] | undefined;
479
479
  message: string;
480
480
  };
481
481
  requestId: string;
482
482
  };
483
483
  outputFormat: "json";
484
- status: 403;
484
+ status: 401;
485
485
  input: {
486
486
  param: {
487
487
  orgId: string;
@@ -491,14 +491,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
491
491
  } | {
492
492
  output: {
493
493
  error: {
494
- code: "payment_required" | "rate_limit_exceeded";
494
+ code: "api_key_forbidden";
495
495
  details?: readonly Response.error.Detail[] | undefined;
496
496
  message: string;
497
497
  };
498
498
  requestId: string;
499
499
  };
500
500
  outputFormat: "json";
501
- status: 429;
501
+ status: 403;
502
502
  input: {
503
503
  param: {
504
504
  orgId: string;
@@ -508,14 +508,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
508
508
  } | {
509
509
  output: {
510
510
  error: {
511
- code: "upstream_error";
511
+ code: "payment_required" | "rate_limit_exceeded";
512
512
  details?: readonly Response.error.Detail[] | undefined;
513
513
  message: string;
514
514
  };
515
515
  requestId: string;
516
516
  };
517
517
  outputFormat: "json";
518
- status: 502;
518
+ status: 429;
519
519
  input: {
520
520
  param: {
521
521
  orgId: string;