tapimo 0.8.0 → 0.9.0

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 (80) hide show
  1. package/dist/App.d.ts +2095 -2111
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/App.js +0 -1
  4. package/dist/App.js.map +1 -1
  5. package/dist/admin/apps/verified-tokens.d.ts +166 -166
  6. package/dist/apps/data/App.d.ts +4084 -3845
  7. package/dist/apps/data/App.d.ts.map +1 -1
  8. package/dist/apps/data/routes/activities.d.ts +270 -270
  9. package/dist/apps/data/routes/addresses.d.ts +248 -17
  10. package/dist/apps/data/routes/addresses.d.ts.map +1 -1
  11. package/dist/apps/data/routes/balances.d.ts +272 -2
  12. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  13. package/dist/apps/data/routes/balances.js +114 -2
  14. package/dist/apps/data/routes/balances.js.map +1 -1
  15. package/dist/apps/data/routes/blocks.d.ts +123 -123
  16. package/dist/apps/data/routes/earn.d.ts +65 -3
  17. package/dist/apps/data/routes/earn.d.ts.map +1 -1
  18. package/dist/apps/data/routes/earn.js +259 -14
  19. package/dist/apps/data/routes/earn.js.map +1 -1
  20. package/dist/apps/data/routes/rpc.d.ts +31 -31
  21. package/dist/apps/data/routes/tokens.d.ts +454 -454
  22. package/dist/apps/data/routes/transfers.d.ts +81 -81
  23. package/dist/apps/funding/App.d.ts +40 -299
  24. package/dist/apps/funding/App.d.ts.map +1 -1
  25. package/dist/apps/funding/App.js +20 -5
  26. package/dist/apps/funding/App.js.map +1 -1
  27. package/dist/apps/funding/routes/deposit-addresses.d.ts +43 -434
  28. package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -1
  29. package/dist/apps/funding/routes/deposit-addresses.js +21 -103
  30. package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
  31. package/dist/apps/funding/routes/quotes.d.ts +89 -89
  32. package/dist/apps/funding/routes/transfers.js +5 -5
  33. package/dist/apps/funding/routes/transfers.js.map +1 -1
  34. package/dist/apps/management/routes/invitations.d.ts +134 -134
  35. package/dist/apps/management/routes/orgs.d.ts +98 -98
  36. package/dist/apps/management/routes/verified-token-requests.d.ts +83 -83
  37. package/dist/apps/mpp/App.d.ts +44 -44
  38. package/dist/db/Db.d.ts.map +1 -1
  39. package/dist/db/Db.js +8 -0
  40. package/dist/db/Db.js.map +1 -1
  41. package/dist/db/tables/fundingDeposits.d.ts +18 -1
  42. package/dist/db/tables/fundingDeposits.d.ts.map +1 -1
  43. package/dist/db/tables/fundingDeposits.js +46 -2
  44. package/dist/db/tables/fundingDeposits.js.map +1 -1
  45. package/dist/internal/Auth.d.ts +4 -0
  46. package/dist/internal/Auth.d.ts.map +1 -1
  47. package/dist/internal/Auth.js +11 -2
  48. package/dist/internal/Auth.js.map +1 -1
  49. package/dist/internal/funding/Provider.d.ts +6 -6
  50. package/dist/internal/funding/Provider.d.ts.map +1 -1
  51. package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
  52. package/dist/internal/funding/Reconciliation.js +101 -16
  53. package/dist/internal/funding/Reconciliation.js.map +1 -1
  54. package/dist/internal/funding/providers/relay.d.ts.map +1 -1
  55. package/dist/internal/funding/providers/relay.js +6 -2
  56. package/dist/internal/funding/providers/relay.js.map +1 -1
  57. package/package.json +1 -1
  58. package/src/App.test.ts +32 -0
  59. package/src/App.ts +4 -1
  60. package/src/Client.test-d.ts +56 -33
  61. package/src/apps/composition.test.ts +39 -10
  62. package/src/apps/data/routes/balances.test.ts +42 -0
  63. package/src/apps/data/routes/balances.ts +218 -85
  64. package/src/apps/data/routes/earn.test.ts +89 -9
  65. package/src/apps/data/routes/earn.ts +355 -14
  66. package/src/apps/funding/App.ts +20 -5
  67. package/src/apps/funding/routes/deposit-addresses.test.ts +43 -22
  68. package/src/apps/funding/routes/deposit-addresses.ts +34 -117
  69. package/src/apps/funding/routes/transfers.test.ts +6 -25
  70. package/src/apps/funding/routes/transfers.ts +5 -5
  71. package/src/db/Db.ts +9 -0
  72. package/src/db/tables/fundingDeposits.test.ts +101 -0
  73. package/src/db/tables/fundingDeposits.ts +71 -2
  74. package/src/internal/Auth.test.ts +28 -0
  75. package/src/internal/Auth.ts +15 -1
  76. package/src/internal/funding/Provider.ts +4 -4
  77. package/src/internal/funding/Reconciliation.test.ts +292 -54
  78. package/src/internal/funding/Reconciliation.ts +160 -53
  79. package/src/internal/funding/SourceObservation.test.ts +2 -2
  80. package/src/internal/funding/providers/relay.ts +7 -2
@@ -2103,273 +2103,6 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
2103
2103
  };
2104
2104
  };
2105
2105
  };
2106
- } & {
2107
- "/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}/deposits": {
2108
- $get: {
2109
- output: {
2110
- error: {
2111
- code: "api_key_malformed";
2112
- details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2113
- message: string;
2114
- };
2115
- requestId: string;
2116
- };
2117
- outputFormat: "json";
2118
- status: 400;
2119
- input: {
2120
- param: {
2121
- id: string;
2122
- };
2123
- } & {
2124
- query?: {
2125
- cursor?: string | string[];
2126
- limit?: string | string[];
2127
- } | undefined;
2128
- };
2129
- } | {
2130
- output: {
2131
- error: {
2132
- code: "api_key_invalid" | "api_key_missing";
2133
- details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2134
- message: string;
2135
- };
2136
- requestId: string;
2137
- };
2138
- outputFormat: "json";
2139
- status: 401;
2140
- input: {
2141
- param: {
2142
- id: string;
2143
- };
2144
- } & {
2145
- query?: {
2146
- cursor?: string | string[];
2147
- limit?: string | string[];
2148
- } | undefined;
2149
- };
2150
- } | {
2151
- output: {
2152
- error: {
2153
- code: "api_key_forbidden" | "api_key_ip_forbidden";
2154
- details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2155
- message: string;
2156
- };
2157
- requestId: string;
2158
- };
2159
- outputFormat: "json";
2160
- status: 403;
2161
- input: {
2162
- param: {
2163
- id: string;
2164
- };
2165
- } & {
2166
- query?: {
2167
- cursor?: string | string[];
2168
- limit?: string | string[];
2169
- } | undefined;
2170
- };
2171
- } | {
2172
- output: {
2173
- error: {
2174
- code: "payment_required" | "rate_limit_exceeded";
2175
- details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2176
- message: string;
2177
- };
2178
- requestId: string;
2179
- };
2180
- outputFormat: "json";
2181
- status: 429;
2182
- input: {
2183
- param: {
2184
- id: string;
2185
- };
2186
- } & {
2187
- query?: {
2188
- cursor?: string | string[];
2189
- limit?: string | string[];
2190
- } | undefined;
2191
- };
2192
- } | {
2193
- output: {
2194
- error: {
2195
- code: "query_invalid";
2196
- details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2197
- message: string;
2198
- };
2199
- requestId: string;
2200
- };
2201
- outputFormat: "json";
2202
- status: 400;
2203
- input: {
2204
- param: {
2205
- id: string;
2206
- };
2207
- } & {
2208
- query?: {
2209
- cursor?: string | string[];
2210
- limit?: string | string[];
2211
- } | undefined;
2212
- };
2213
- } | {
2214
- output: {
2215
- error: {
2216
- code: "upstream_error";
2217
- details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2218
- message: string;
2219
- };
2220
- requestId: string;
2221
- };
2222
- outputFormat: "json";
2223
- status: 502;
2224
- input: {
2225
- param: {
2226
- id: string;
2227
- };
2228
- } & {
2229
- query?: {
2230
- cursor?: string | string[];
2231
- limit?: string | string[];
2232
- } | undefined;
2233
- };
2234
- } | {
2235
- output: {
2236
- error: {
2237
- code: "unauthorized";
2238
- details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2239
- message: string;
2240
- };
2241
- requestId: string;
2242
- };
2243
- outputFormat: "json";
2244
- status: 401;
2245
- input: {
2246
- param: {
2247
- id: string;
2248
- };
2249
- } & {
2250
- query?: {
2251
- cursor?: string | string[];
2252
- limit?: string | string[];
2253
- } | undefined;
2254
- };
2255
- } | {
2256
- output: {
2257
- error: {
2258
- code: "funding_deposit_address_not_found";
2259
- details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2260
- message: string;
2261
- };
2262
- requestId: string;
2263
- };
2264
- outputFormat: "json";
2265
- status: 404;
2266
- input: {
2267
- param: {
2268
- id: string;
2269
- };
2270
- } & {
2271
- query?: {
2272
- cursor?: string | string[];
2273
- limit?: string | string[];
2274
- } | undefined;
2275
- };
2276
- } | {
2277
- output: {
2278
- data: {
2279
- createdAt: string;
2280
- depositAddressId: string;
2281
- detectionTrigger?: "chain" | "manual" | "poll" | "webhook" | undefined;
2282
- destinationAmount?: {
2283
- baseUnits: string;
2284
- currency: string;
2285
- decimals: number;
2286
- formatted: string;
2287
- } | undefined;
2288
- destinationAmountRequired?: {
2289
- baseUnits: string;
2290
- currency: string;
2291
- decimals: number;
2292
- formatted: string;
2293
- } | undefined;
2294
- destinationChain: {
2295
- addressFormat: "base58" | "base58check" | "hex";
2296
- id: string;
2297
- kind: "evm" | "solana" | "tron";
2298
- name: string;
2299
- };
2300
- destinationToken: {
2301
- address: string;
2302
- currency: string;
2303
- decimals: number;
2304
- name: string;
2305
- standard: string;
2306
- symbol: string;
2307
- tokenKey: string;
2308
- verified: boolean;
2309
- };
2310
- destinationTransactionHashes?: readonly string[] | undefined;
2311
- id: string;
2312
- provider: {
2313
- id: string;
2314
- name: string;
2315
- };
2316
- recipient: string;
2317
- refundAddress: string;
2318
- refundAmount?: {
2319
- baseUnits: string;
2320
- currency: string;
2321
- decimals: number;
2322
- formatted: string;
2323
- } | undefined;
2324
- refundTransactionHashes?: readonly string[] | undefined;
2325
- sender?: string | undefined;
2326
- sourceAmount?: {
2327
- baseUnits: string;
2328
- currency: string;
2329
- decimals: number;
2330
- formatted: string;
2331
- } | undefined;
2332
- sourceChain: {
2333
- addressFormat: "base58" | "base58check" | "hex";
2334
- id: string;
2335
- kind: "evm" | "solana" | "tron";
2336
- name: string;
2337
- };
2338
- sourceToken: {
2339
- address: string;
2340
- currency: string;
2341
- decimals: number;
2342
- name: string;
2343
- standard: string;
2344
- symbol: string;
2345
- tokenKey: string;
2346
- verified: boolean;
2347
- };
2348
- sourceTransactionHashes: readonly string[];
2349
- sourceTransferIndex?: number | undefined;
2350
- status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling";
2351
- statusReason?: {
2352
- code: "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
2353
- message: string;
2354
- } | undefined;
2355
- updatedAt: string;
2356
- }[];
2357
- nextCursor: string | null;
2358
- };
2359
- outputFormat: "json";
2360
- status: 200;
2361
- input: {
2362
- param: {
2363
- id: string;
2364
- };
2365
- } & {
2366
- query?: {
2367
- cursor?: string | string[];
2368
- limit?: string | string[];
2369
- } | undefined;
2370
- };
2371
- };
2372
- };
2373
2106
  } & {
2374
2107
  "/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}": {
2375
2108
  $get: {
@@ -2525,14 +2258,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
2525
2258
  } | {
2526
2259
  output: {
2527
2260
  error: {
2528
- code: "funding_deposit_address_not_found";
2261
+ code: "param_invalid";
2529
2262
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2530
2263
  message: string;
2531
2264
  };
2532
2265
  requestId: string;
2533
2266
  };
2534
2267
  outputFormat: "json";
2535
- status: 404;
2268
+ status: 400;
2536
2269
  input: {
2537
2270
  param: {
2538
2271
  id: string;
@@ -2541,14 +2274,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
2541
2274
  } | {
2542
2275
  output: {
2543
2276
  error: {
2544
- code: "param_invalid";
2277
+ code: "funding_deposit_address_not_found";
2545
2278
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2546
2279
  message: string;
2547
2280
  };
2548
2281
  requestId: string;
2549
2282
  };
2550
2283
  outputFormat: "json";
2551
- status: 400;
2284
+ status: 404;
2552
2285
  input: {
2553
2286
  param: {
2554
2287
  id: string;
@@ -2666,14 +2399,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
2666
2399
  } | {
2667
2400
  output: {
2668
2401
  error: {
2669
- code: "funding_deposit_address_not_found";
2402
+ code: "param_invalid";
2670
2403
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2671
2404
  message: string;
2672
2405
  };
2673
2406
  requestId: string;
2674
2407
  };
2675
2408
  outputFormat: "json";
2676
- status: 404;
2409
+ status: 400;
2677
2410
  input: {
2678
2411
  param: {
2679
2412
  id: string;
@@ -2682,14 +2415,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
2682
2415
  } | {
2683
2416
  output: {
2684
2417
  error: {
2685
- code: "param_invalid";
2418
+ code: "funding_deposit_address_not_found";
2686
2419
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2687
2420
  message: string;
2688
2421
  };
2689
2422
  requestId: string;
2690
2423
  };
2691
2424
  outputFormat: "json";
2692
- status: 400;
2425
+ status: 404;
2693
2426
  input: {
2694
2427
  param: {
2695
2428
  id: string;
@@ -2743,11 +2476,12 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
2743
2476
  outputFormat: "json";
2744
2477
  status: 400;
2745
2478
  input: {
2746
- query: {
2479
+ query?: {
2480
+ depositAddress?: string | string[];
2747
2481
  cursor?: string | string[];
2748
2482
  limit?: string | string[];
2749
- recipient: string | string[];
2750
- };
2483
+ recipient?: string | string[];
2484
+ } | undefined;
2751
2485
  };
2752
2486
  } | {
2753
2487
  output: {
@@ -2761,11 +2495,12 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
2761
2495
  outputFormat: "json";
2762
2496
  status: 401;
2763
2497
  input: {
2764
- query: {
2498
+ query?: {
2499
+ depositAddress?: string | string[];
2765
2500
  cursor?: string | string[];
2766
2501
  limit?: string | string[];
2767
- recipient: string | string[];
2768
- };
2502
+ recipient?: string | string[];
2503
+ } | undefined;
2769
2504
  };
2770
2505
  } | {
2771
2506
  output: {
@@ -2779,11 +2514,12 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
2779
2514
  outputFormat: "json";
2780
2515
  status: 403;
2781
2516
  input: {
2782
- query: {
2517
+ query?: {
2518
+ depositAddress?: string | string[];
2783
2519
  cursor?: string | string[];
2784
2520
  limit?: string | string[];
2785
- recipient: string | string[];
2786
- };
2521
+ recipient?: string | string[];
2522
+ } | undefined;
2787
2523
  };
2788
2524
  } | {
2789
2525
  output: {
@@ -2797,11 +2533,12 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
2797
2533
  outputFormat: "json";
2798
2534
  status: 429;
2799
2535
  input: {
2800
- query: {
2536
+ query?: {
2537
+ depositAddress?: string | string[];
2801
2538
  cursor?: string | string[];
2802
2539
  limit?: string | string[];
2803
- recipient: string | string[];
2804
- };
2540
+ recipient?: string | string[];
2541
+ } | undefined;
2805
2542
  };
2806
2543
  } | {
2807
2544
  output: {
@@ -2815,11 +2552,12 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
2815
2552
  outputFormat: "json";
2816
2553
  status: 400;
2817
2554
  input: {
2818
- query: {
2555
+ query?: {
2556
+ depositAddress?: string | string[];
2819
2557
  cursor?: string | string[];
2820
2558
  limit?: string | string[];
2821
- recipient: string | string[];
2822
- };
2559
+ recipient?: string | string[];
2560
+ } | undefined;
2823
2561
  };
2824
2562
  } | {
2825
2563
  output: {
@@ -2833,11 +2571,12 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
2833
2571
  outputFormat: "json";
2834
2572
  status: 502;
2835
2573
  input: {
2836
- query: {
2574
+ query?: {
2575
+ depositAddress?: string | string[];
2837
2576
  cursor?: string | string[];
2838
2577
  limit?: string | string[];
2839
- recipient: string | string[];
2840
- };
2578
+ recipient?: string | string[];
2579
+ } | undefined;
2841
2580
  };
2842
2581
  } | {
2843
2582
  output: {
@@ -2851,11 +2590,12 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
2851
2590
  outputFormat: "json";
2852
2591
  status: 401;
2853
2592
  input: {
2854
- query: {
2593
+ query?: {
2594
+ depositAddress?: string | string[];
2855
2595
  cursor?: string | string[];
2856
2596
  limit?: string | string[];
2857
- recipient: string | string[];
2858
- };
2597
+ recipient?: string | string[];
2598
+ } | undefined;
2859
2599
  };
2860
2600
  } | {
2861
2601
  output: {
@@ -2943,11 +2683,12 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
2943
2683
  outputFormat: "json";
2944
2684
  status: 200;
2945
2685
  input: {
2946
- query: {
2686
+ query?: {
2687
+ depositAddress?: string | string[];
2947
2688
  cursor?: string | string[];
2948
2689
  limit?: string | string[];
2949
- recipient: string | string[];
2950
- };
2690
+ recipient?: string | string[];
2691
+ } | undefined;
2951
2692
  };
2952
2693
  };
2953
2694
  };
@@ -1 +1 @@
1
- {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../src/apps/funding/App.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,GAAG,MAAM,cAAc,CAAA;AACxC,OAAO,KAAK,KAAK,qBAAqB,MAAM,0CAA0C,CAAA;AACtF,OAAO,KAAK,KAAK,eAAe,MAAM,oCAAoC,CAAA;AAQ1E;;;;;;;GAOG;AACH,wBAAgB,OAAO,CAAC,OAAO,GAAE,OAAO,CAAC,OAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAQpD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,2CAA2C;IAC3C,KAAK,OAAO,GAAG;QACb,oEAAoE;QACpE,sBAAsB,CAAC,EACnB,CAAC,CAAC,OAAO,EAAE,eAAe,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC,GAC1E,SAAS,CAAA;QACb,gEAAgE;QAChE,sBAAsB,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,qBAAqB,CAAC,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,SAAS,CAAA;KAChG,CAAA;CACF"}
@@ -24,22 +24,37 @@ export function funding(options = {}) {
24
24
  }
25
25
  const openapi = {
26
26
  tags: [
27
- { name: 'Chains', description: 'Source chains and stablecoins supported for funding.' },
27
+ {
28
+ name: 'Chains',
29
+ description: 'Source chains and stablecoins supported for funding.',
30
+ 'x-pagePath': 'funding/chains',
31
+ },
28
32
  {
29
33
  name: 'Deposit Addresses',
30
34
  description: 'Reusable funding addresses and deposits detected at those addresses.',
35
+ 'x-pagePath': 'funding/deposit-addresses',
36
+ },
37
+ {
38
+ name: 'Providers',
39
+ description: 'Providers available for inbound funding.',
40
+ 'x-pagePath': 'funding/providers',
41
+ },
42
+ {
43
+ name: 'Quotes',
44
+ description: 'Live quotes for funding Tempo from other chains.',
45
+ 'x-pagePath': 'funding/quotes',
31
46
  },
32
- { name: 'Providers', description: 'Providers available for inbound funding.' },
33
- { name: 'Quotes', description: 'Live quotes for funding Tempo from other chains.' },
34
47
  {
35
- name: 'Transfers',
48
+ name: 'Funding Transfers',
36
49
  description: 'Inbound funding transfers.',
50
+ 'x-displayName': 'Transfers',
51
+ 'x-pagePath': 'funding/transfers',
37
52
  },
38
53
  ],
39
54
  'x-tagGroups': [
40
55
  {
41
56
  name: 'Funding & Bridge API',
42
- tags: ['Chains', 'Deposit Addresses', 'Providers', 'Quotes', 'Transfers'],
57
+ tags: ['Chains', 'Deposit Addresses', 'Providers', 'Quotes', 'Funding Transfers'],
43
58
  },
44
59
  ],
45
60
  };
@@ -1 +1 @@
1
- {"version":3,"file":"App.js","sourceRoot":"","sources":["../../../src/apps/funding/App.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAK3B,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAA;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD;;;;;;;GAOG;AACH,MAAM,UAAU,OAAO,CAAC,OAAO,GAAoB,EAAE;IACnD,MAAM,GAAG,GAAG,IAAI,IAAI,EAAmB;SACpC,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC;SACpB,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC;SACpB,KAAK,CAAC,GAAG,EAAE,SAAS,EAAE,CAAC;SACvB,KAAK,CAAC,GAAG,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;SACrC,KAAK,CAAC,GAAG,EAAE,SAAS,EAAE,CAAC,CAAA;IAC1B,OAAO,QAAQ,CAAC,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,CAAA;AAC7D,CAAC;AAcD,MAAM,OAAO,GAAG;IACd,IAAI,EAAE;QACJ,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,sDAAsD,EAAE;QACv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