@merkl/api 0.10.295 → 0.10.296
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/src/eden/index.d.ts +12 -6
- package/dist/src/index.d.ts +4 -2
- package/dist/src/modules/v4/boost/boost.controller.d.ts +4 -2
- package/dist/src/modules/v4/boost/boost.service.d.ts +4 -1
- package/dist/src/modules/v4/boost/boost.service.js +1 -1
- package/dist/src/modules/v4/router.d.ts +4 -2
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
    
        package/dist/src/eden/index.d.ts
    CHANGED
    
    | @@ -2229,8 +2229,10 @@ declare const eden: { | |
| 2229 2229 | 
             
                                query?: Record<string, unknown> | undefined;
         | 
| 2230 2230 | 
             
                                fetch?: RequestInit | undefined;
         | 
| 2231 2231 | 
             
                            }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
         | 
| 2232 | 
            -
                                 | 
| 2233 | 
            -
             | 
| 2232 | 
            +
                                200: {
         | 
| 2233 | 
            +
                                    address: string;
         | 
| 2234 | 
            +
                                    boost: string;
         | 
| 2235 | 
            +
                                }[];
         | 
| 2234 2236 | 
             
                            }>>;
         | 
| 2235 2237 | 
             
                        };
         | 
| 2236 2238 | 
             
                    };
         | 
| @@ -5597,8 +5599,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa | |
| 5597 5599 | 
             
                                    authorization: string;
         | 
| 5598 5600 | 
             
                                };
         | 
| 5599 5601 | 
             
                                response: {
         | 
| 5600 | 
            -
                                     | 
| 5601 | 
            -
             | 
| 5602 | 
            +
                                    200: {
         | 
| 5603 | 
            +
                                        address: string;
         | 
| 5604 | 
            +
                                        boost: string;
         | 
| 5605 | 
            +
                                    }[];
         | 
| 5602 5606 | 
             
                                };
         | 
| 5603 5607 | 
             
                            };
         | 
| 5604 5608 | 
             
                        };
         | 
| @@ -8593,8 +8597,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa | |
| 8593 8597 | 
             
                                query?: Record<string, unknown> | undefined;
         | 
| 8594 8598 | 
             
                                fetch?: RequestInit | undefined;
         | 
| 8595 8599 | 
             
                            }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
         | 
| 8596 | 
            -
                                 | 
| 8597 | 
            -
             | 
| 8600 | 
            +
                                200: {
         | 
| 8601 | 
            +
                                    address: string;
         | 
| 8602 | 
            +
                                    boost: string;
         | 
| 8603 | 
            +
                                }[];
         | 
| 8598 8604 | 
             
                            }>>;
         | 
| 8599 8605 | 
             
                        };
         | 
| 8600 8606 | 
             
                    };
         | 
    
        package/dist/src/index.d.ts
    CHANGED
    
    
| @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            import axios from "axios";
         | 
| 2 2 | 
             
            export class BoostService {
         | 
| 3 3 | 
             
                static async getEulerBoost() {
         | 
| 4 | 
            -
                    return (await axios.get("https://points.euler.finance/integrations/merkl/usd0multipliers")).data;
         | 
| 4 | 
            +
                    return (await axios.get("https://points.euler.finance/integrations/merkl/usd0multipliers")).data.map(({ address, score }) => ({ address, boost: score }));
         | 
| 5 5 | 
             
                }
         | 
| 6 6 | 
             
            }
         |