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
@@ -135,14 +135,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
135
135
  $post: {
136
136
  output: {
137
137
  error: {
138
- code: "api_key_malformed";
138
+ code: "upstream_error";
139
139
  details?: readonly Response.error.Detail[] | undefined;
140
140
  message: string;
141
141
  };
142
142
  requestId: string;
143
143
  };
144
144
  outputFormat: "json";
145
- status: 400;
145
+ status: 502;
146
146
  input: {
147
147
  param: {
148
148
  orgId: string;
@@ -158,14 +158,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
158
158
  } | {
159
159
  output: {
160
160
  error: {
161
- code: "api_key_invalid" | "api_key_missing";
161
+ code: "api_key_malformed";
162
162
  details?: readonly Response.error.Detail[] | undefined;
163
163
  message: string;
164
164
  };
165
165
  requestId: string;
166
166
  };
167
167
  outputFormat: "json";
168
- status: 401;
168
+ status: 400;
169
169
  input: {
170
170
  param: {
171
171
  orgId: string;
@@ -181,14 +181,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
181
181
  } | {
182
182
  output: {
183
183
  error: {
184
- code: "upstream_error";
184
+ code: "api_key_invalid" | "api_key_missing";
185
185
  details?: readonly Response.error.Detail[] | undefined;
186
186
  message: string;
187
187
  };
188
188
  requestId: string;
189
189
  };
190
190
  outputFormat: "json";
191
- status: 502;
191
+ status: 401;
192
192
  input: {
193
193
  param: {
194
194
  orgId: string;
@@ -374,14 +374,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
374
374
  $get: {
375
375
  output: {
376
376
  error: {
377
- code: "api_key_malformed";
377
+ code: "upstream_error";
378
378
  details?: readonly Response.error.Detail[] | undefined;
379
379
  message: string;
380
380
  };
381
381
  requestId: string;
382
382
  };
383
383
  outputFormat: "json";
384
- status: 400;
384
+ status: 502;
385
385
  input: {
386
386
  param: {
387
387
  orgId: string;
@@ -395,14 +395,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
395
395
  } | {
396
396
  output: {
397
397
  error: {
398
- code: "api_key_invalid" | "api_key_missing";
398
+ code: "api_key_malformed";
399
399
  details?: readonly Response.error.Detail[] | undefined;
400
400
  message: string;
401
401
  };
402
402
  requestId: string;
403
403
  };
404
404
  outputFormat: "json";
405
- status: 401;
405
+ status: 400;
406
406
  input: {
407
407
  param: {
408
408
  orgId: string;
@@ -416,14 +416,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
416
416
  } | {
417
417
  output: {
418
418
  error: {
419
- code: "api_key_forbidden";
419
+ code: "api_key_invalid" | "api_key_missing";
420
420
  details?: readonly Response.error.Detail[] | undefined;
421
421
  message: string;
422
422
  };
423
423
  requestId: string;
424
424
  };
425
425
  outputFormat: "json";
426
- status: 403;
426
+ status: 401;
427
427
  input: {
428
428
  param: {
429
429
  orgId: string;
@@ -437,14 +437,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
437
437
  } | {
438
438
  output: {
439
439
  error: {
440
- code: "payment_required" | "rate_limit_exceeded";
440
+ code: "api_key_forbidden";
441
441
  details?: readonly Response.error.Detail[] | undefined;
442
442
  message: string;
443
443
  };
444
444
  requestId: string;
445
445
  };
446
446
  outputFormat: "json";
447
- status: 429;
447
+ status: 403;
448
448
  input: {
449
449
  param: {
450
450
  orgId: string;
@@ -458,14 +458,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
458
458
  } | {
459
459
  output: {
460
460
  error: {
461
- code: "query_invalid";
461
+ code: "payment_required" | "rate_limit_exceeded";
462
462
  details?: readonly Response.error.Detail[] | undefined;
463
463
  message: string;
464
464
  };
465
465
  requestId: string;
466
466
  };
467
467
  outputFormat: "json";
468
- status: 400;
468
+ status: 429;
469
469
  input: {
470
470
  param: {
471
471
  orgId: string;
@@ -479,14 +479,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
479
479
  } | {
480
480
  output: {
481
481
  error: {
482
- code: "upstream_error";
482
+ code: "query_invalid";
483
483
  details?: readonly Response.error.Detail[] | undefined;
484
484
  message: string;
485
485
  };
486
486
  requestId: string;
487
487
  };
488
488
  outputFormat: "json";
489
- status: 502;
489
+ status: 400;
490
490
  input: {
491
491
  param: {
492
492
  orgId: string;
@@ -594,14 +594,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
594
594
  $get: {
595
595
  output: {
596
596
  error: {
597
- code: "api_key_malformed";
597
+ code: "upstream_error";
598
598
  details?: readonly Response.error.Detail[] | undefined;
599
599
  message: string;
600
600
  };
601
601
  requestId: string;
602
602
  };
603
603
  outputFormat: "json";
604
- status: 400;
604
+ status: 502;
605
605
  input: {
606
606
  param: {
607
607
  orgId: string;
@@ -614,14 +614,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
614
614
  } | {
615
615
  output: {
616
616
  error: {
617
- code: "api_key_invalid" | "api_key_missing";
617
+ code: "api_key_malformed";
618
618
  details?: readonly Response.error.Detail[] | undefined;
619
619
  message: string;
620
620
  };
621
621
  requestId: string;
622
622
  };
623
623
  outputFormat: "json";
624
- status: 401;
624
+ status: 400;
625
625
  input: {
626
626
  param: {
627
627
  orgId: string;
@@ -634,14 +634,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
634
634
  } | {
635
635
  output: {
636
636
  error: {
637
- code: "api_key_forbidden";
637
+ code: "api_key_invalid" | "api_key_missing";
638
638
  details?: readonly Response.error.Detail[] | undefined;
639
639
  message: string;
640
640
  };
641
641
  requestId: string;
642
642
  };
643
643
  outputFormat: "json";
644
- status: 403;
644
+ status: 401;
645
645
  input: {
646
646
  param: {
647
647
  orgId: string;
@@ -654,14 +654,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
654
654
  } | {
655
655
  output: {
656
656
  error: {
657
- code: "payment_required" | "rate_limit_exceeded";
657
+ code: "api_key_forbidden";
658
658
  details?: readonly Response.error.Detail[] | undefined;
659
659
  message: string;
660
660
  };
661
661
  requestId: string;
662
662
  };
663
663
  outputFormat: "json";
664
- status: 429;
664
+ status: 403;
665
665
  input: {
666
666
  param: {
667
667
  orgId: string;
@@ -674,14 +674,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
674
674
  } | {
675
675
  output: {
676
676
  error: {
677
- code: "query_invalid";
677
+ code: "payment_required" | "rate_limit_exceeded";
678
678
  details?: readonly Response.error.Detail[] | undefined;
679
679
  message: string;
680
680
  };
681
681
  requestId: string;
682
682
  };
683
683
  outputFormat: "json";
684
- status: 400;
684
+ status: 429;
685
685
  input: {
686
686
  param: {
687
687
  orgId: string;
@@ -694,14 +694,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
694
694
  } | {
695
695
  output: {
696
696
  error: {
697
- code: "upstream_error";
697
+ code: "query_invalid";
698
698
  details?: readonly Response.error.Detail[] | undefined;
699
699
  message: string;
700
700
  };
701
701
  requestId: string;
702
702
  };
703
703
  outputFormat: "json";
704
- status: 502;
704
+ status: 400;
705
705
  input: {
706
706
  param: {
707
707
  orgId: string;
@@ -804,14 +804,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
804
804
  $delete: {
805
805
  output: {
806
806
  error: {
807
- code: "api_key_malformed";
807
+ code: "upstream_error";
808
808
  details?: readonly Response.error.Detail[] | undefined;
809
809
  message: string;
810
810
  };
811
811
  requestId: string;
812
812
  };
813
813
  outputFormat: "json";
814
- status: 400;
814
+ status: 502;
815
815
  input: {
816
816
  param: {
817
817
  keyId: string;
@@ -822,14 +822,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
822
822
  } | {
823
823
  output: {
824
824
  error: {
825
- code: "api_key_invalid" | "api_key_missing";
825
+ code: "api_key_malformed";
826
826
  details?: readonly Response.error.Detail[] | undefined;
827
827
  message: string;
828
828
  };
829
829
  requestId: string;
830
830
  };
831
831
  outputFormat: "json";
832
- status: 401;
832
+ status: 400;
833
833
  input: {
834
834
  param: {
835
835
  keyId: string;
@@ -840,14 +840,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
840
840
  } | {
841
841
  output: {
842
842
  error: {
843
- code: "api_key_forbidden";
843
+ code: "api_key_invalid" | "api_key_missing";
844
844
  details?: readonly Response.error.Detail[] | undefined;
845
845
  message: string;
846
846
  };
847
847
  requestId: string;
848
848
  };
849
849
  outputFormat: "json";
850
- status: 403;
850
+ status: 401;
851
851
  input: {
852
852
  param: {
853
853
  keyId: string;
@@ -858,14 +858,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
858
858
  } | {
859
859
  output: {
860
860
  error: {
861
- code: "payment_required" | "rate_limit_exceeded";
861
+ code: "api_key_forbidden";
862
862
  details?: readonly Response.error.Detail[] | undefined;
863
863
  message: string;
864
864
  };
865
865
  requestId: string;
866
866
  };
867
867
  outputFormat: "json";
868
- status: 429;
868
+ status: 403;
869
869
  input: {
870
870
  param: {
871
871
  keyId: string;
@@ -876,14 +876,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
876
876
  } | {
877
877
  output: {
878
878
  error: {
879
- code: "upstream_error";
879
+ code: "payment_required" | "rate_limit_exceeded";
880
880
  details?: readonly Response.error.Detail[] | undefined;
881
881
  message: string;
882
882
  };
883
883
  requestId: string;
884
884
  };
885
885
  outputFormat: "json";
886
- status: 502;
886
+ status: 429;
887
887
  input: {
888
888
  param: {
889
889
  keyId: string;