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
@@ -228,40 +228,9 @@ export declare namespace schema {
228
228
  export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environment, {
229
229
  "/v1/fee-amm/pools": {
230
230
  $get: {
231
- output: {
232
- data: {
233
- createdAt: string;
234
- id: `0x${string}`;
235
- lastMintAt: string;
236
- mintCount: number;
237
- poolId: `0x${string}`;
238
- userToken: {
239
- address: `0x${string}`;
240
- currency?: string | undefined;
241
- decimals?: number | undefined;
242
- logoUri?: string | undefined;
243
- name?: string | undefined;
244
- symbol?: string | undefined;
245
- verified?: boolean | undefined;
246
- amount?: string | undefined;
247
- formatted?: string | undefined;
248
- };
249
- validatorToken: {
250
- address: `0x${string}`;
251
- currency?: string | undefined;
252
- decimals?: number | undefined;
253
- logoUri?: string | undefined;
254
- name?: string | undefined;
255
- symbol?: string | undefined;
256
- verified?: boolean | undefined;
257
- amount?: string | undefined;
258
- formatted?: string | undefined;
259
- };
260
- }[];
261
- nextCursor: string | null;
262
- };
263
- outputFormat: "json";
264
- status: 200;
231
+ output: null;
232
+ outputFormat: "body";
233
+ status: 402;
265
234
  input: {
266
235
  query?: {
267
236
  chainId?: string | string[];
@@ -294,14 +263,14 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
294
263
  } | {
295
264
  output: {
296
265
  error: {
297
- code: "query_invalid";
266
+ code: "api_key_invalid" | "api_key_missing";
298
267
  details?: readonly Response.error.Detail[] | undefined;
299
268
  message: string;
300
269
  };
301
270
  requestId: string;
302
271
  };
303
272
  outputFormat: "json";
304
- status: 400;
273
+ status: 401;
305
274
  input: {
306
275
  query?: {
307
276
  chainId?: string | string[];
@@ -314,27 +283,14 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
314
283
  } | {
315
284
  output: {
316
285
  error: {
317
- code: "api_key_invalid" | "api_key_missing";
286
+ code: "api_key_forbidden";
318
287
  details?: readonly Response.error.Detail[] | undefined;
319
288
  message: string;
320
289
  };
321
290
  requestId: string;
322
291
  };
323
292
  outputFormat: "json";
324
- status: 401;
325
- input: {
326
- query?: {
327
- chainId?: string | string[];
328
- cursor?: string | string[];
329
- include?: string | string[];
330
- limit?: string | string[];
331
- page?: string | string[];
332
- } | undefined;
333
- };
334
- } | {
335
- output: null;
336
- outputFormat: "body";
337
- status: 402;
293
+ status: 403;
338
294
  input: {
339
295
  query?: {
340
296
  chainId?: string | string[];
@@ -347,14 +303,14 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
347
303
  } | {
348
304
  output: {
349
305
  error: {
350
- code: "api_key_forbidden";
306
+ code: "payment_required" | "rate_limit_exceeded";
351
307
  details?: readonly Response.error.Detail[] | undefined;
352
308
  message: string;
353
309
  };
354
310
  requestId: string;
355
311
  };
356
312
  outputFormat: "json";
357
- status: 403;
313
+ status: 429;
358
314
  input: {
359
315
  query?: {
360
316
  chainId?: string | string[];
@@ -367,14 +323,14 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
367
323
  } | {
368
324
  output: {
369
325
  error: {
370
- code: "payment_required" | "rate_limit_exceeded";
326
+ code: "query_invalid";
371
327
  details?: readonly Response.error.Detail[] | undefined;
372
328
  message: string;
373
329
  };
374
330
  requestId: string;
375
331
  };
376
332
  outputFormat: "json";
377
- status: 429;
333
+ status: 400;
378
334
  input: {
379
335
  query?: {
380
336
  chainId?: string | string[];
@@ -404,23 +360,14 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
404
360
  page?: string | string[];
405
361
  } | undefined;
406
362
  };
407
- };
408
- };
409
- } & {
410
- "/v1/fee-amm/mints": {
411
- $get: {
363
+ } | {
412
364
  output: {
413
365
  data: {
414
- amountUserToken?: string | undefined;
415
- amountValidatorToken: string;
416
- blockNumber: number;
417
- id: string;
418
- liquidity: string;
419
- logIndex: number;
420
- minter: `0x${string}`;
421
- recipient?: `0x${string}` | undefined;
422
- timestamp: string;
423
- transactionHash: `0x${string}`;
366
+ createdAt: string;
367
+ id: `0x${string}`;
368
+ lastMintAt: string;
369
+ mintCount: number;
370
+ poolId: `0x${string}`;
424
371
  userToken: {
425
372
  address: `0x${string}`;
426
373
  currency?: string | undefined;
@@ -429,6 +376,8 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
429
376
  name?: string | undefined;
430
377
  symbol?: string | undefined;
431
378
  verified?: boolean | undefined;
379
+ amount?: string | undefined;
380
+ formatted?: string | undefined;
432
381
  };
433
382
  validatorToken: {
434
383
  address: `0x${string}`;
@@ -438,16 +387,31 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
438
387
  name?: string | undefined;
439
388
  symbol?: string | undefined;
440
389
  verified?: boolean | undefined;
390
+ amount?: string | undefined;
391
+ formatted?: string | undefined;
441
392
  };
442
393
  }[];
443
- meta?: {
444
- totalCountCapped: boolean;
445
- totalCount: number;
446
- } | undefined;
447
394
  nextCursor: string | null;
448
395
  };
449
396
  outputFormat: "json";
450
397
  status: 200;
398
+ input: {
399
+ query?: {
400
+ chainId?: string | string[];
401
+ cursor?: string | string[];
402
+ include?: string | string[];
403
+ limit?: string | string[];
404
+ page?: string | string[];
405
+ } | undefined;
406
+ };
407
+ };
408
+ };
409
+ } & {
410
+ "/v1/fee-amm/mints": {
411
+ $get: {
412
+ output: null;
413
+ outputFormat: "body";
414
+ status: 402;
451
415
  input: {
452
416
  query?: {
453
417
  chainId?: string | string[];
@@ -486,14 +450,14 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
486
450
  } | {
487
451
  output: {
488
452
  error: {
489
- code: "query_invalid";
453
+ code: "api_key_invalid" | "api_key_missing";
490
454
  details?: readonly Response.error.Detail[] | undefined;
491
455
  message: string;
492
456
  };
493
457
  requestId: string;
494
458
  };
495
459
  outputFormat: "json";
496
- status: 400;
460
+ status: 401;
497
461
  input: {
498
462
  query?: {
499
463
  chainId?: string | string[];
@@ -509,14 +473,14 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
509
473
  } | {
510
474
  output: {
511
475
  error: {
512
- code: "api_key_invalid" | "api_key_missing";
476
+ code: "api_key_forbidden";
513
477
  details?: readonly Response.error.Detail[] | undefined;
514
478
  message: string;
515
479
  };
516
480
  requestId: string;
517
481
  };
518
482
  outputFormat: "json";
519
- status: 401;
483
+ status: 403;
520
484
  input: {
521
485
  query?: {
522
486
  chainId?: string | string[];
@@ -530,9 +494,16 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
530
494
  } | undefined;
531
495
  };
532
496
  } | {
533
- output: null;
534
- outputFormat: "body";
535
- status: 402;
497
+ output: {
498
+ error: {
499
+ code: "payment_required" | "rate_limit_exceeded";
500
+ details?: readonly Response.error.Detail[] | undefined;
501
+ message: string;
502
+ };
503
+ requestId: string;
504
+ };
505
+ outputFormat: "json";
506
+ status: 429;
536
507
  input: {
537
508
  query?: {
538
509
  chainId?: string | string[];
@@ -548,14 +519,14 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
548
519
  } | {
549
520
  output: {
550
521
  error: {
551
- code: "api_key_forbidden";
522
+ code: "query_invalid";
552
523
  details?: readonly Response.error.Detail[] | undefined;
553
524
  message: string;
554
525
  };
555
526
  requestId: string;
556
527
  };
557
528
  outputFormat: "json";
558
- status: 403;
529
+ status: 400;
559
530
  input: {
560
531
  query?: {
561
532
  chainId?: string | string[];
@@ -571,14 +542,14 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
571
542
  } | {
572
543
  output: {
573
544
  error: {
574
- code: "payment_required" | "rate_limit_exceeded";
545
+ code: "upstream_error";
575
546
  details?: readonly Response.error.Detail[] | undefined;
576
547
  message: string;
577
548
  };
578
549
  requestId: string;
579
550
  };
580
551
  outputFormat: "json";
581
- status: 429;
552
+ status: 502;
582
553
  input: {
583
554
  query?: {
584
555
  chainId?: string | string[];
@@ -593,15 +564,44 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
593
564
  };
594
565
  } | {
595
566
  output: {
596
- error: {
597
- code: "upstream_error";
598
- details?: readonly Response.error.Detail[] | undefined;
599
- message: string;
600
- };
601
- requestId: string;
567
+ data: {
568
+ amountUserToken?: string | undefined;
569
+ amountValidatorToken: string;
570
+ blockNumber: number;
571
+ id: string;
572
+ liquidity: string;
573
+ logIndex: number;
574
+ minter: `0x${string}`;
575
+ recipient?: `0x${string}` | undefined;
576
+ timestamp: string;
577
+ transactionHash: `0x${string}`;
578
+ userToken: {
579
+ address: `0x${string}`;
580
+ currency?: string | undefined;
581
+ decimals?: number | undefined;
582
+ logoUri?: string | undefined;
583
+ name?: string | undefined;
584
+ symbol?: string | undefined;
585
+ verified?: boolean | undefined;
586
+ };
587
+ validatorToken: {
588
+ address: `0x${string}`;
589
+ currency?: string | undefined;
590
+ decimals?: number | undefined;
591
+ logoUri?: string | undefined;
592
+ name?: string | undefined;
593
+ symbol?: string | undefined;
594
+ verified?: boolean | undefined;
595
+ };
596
+ }[];
597
+ meta?: {
598
+ totalCountCapped: boolean;
599
+ totalCount: number;
600
+ } | undefined;
601
+ nextCursor: string | null;
602
602
  };
603
603
  outputFormat: "json";
604
- status: 502;
604
+ status: 200;
605
605
  input: {
606
606
  query?: {
607
607
  chainId?: string | string[];