@@ -222,7 +222,7 @@ export class PythLazerClient {
222222 * @param params - Optional query parameters to filter symbols
223223 * @returns Promise resolving to array of symbol information
224224 */
225- async get_symbols ( params ?: SymbolsQueryParams ) : Promise < SymbolResponse [ ] > {
225+ async getSymbols ( params ?: SymbolsQueryParams ) : Promise < SymbolResponse [ ] > {
226226 const url = new URL ( `${ this . metadataServiceUrl } /v1/symbols` ) ;
227227
228228 if ( params ?. query ) {
@@ -252,12 +252,12 @@ export class PythLazerClient {
252252 * @param params - Parameters for the latest price request
253253 * @returns Promise resolving to JsonUpdate with current price data
254254 */
255- async get_latest_price ( params : LatestPriceRequest ) : Promise < JsonUpdate > {
255+ async getLatestPrice ( params : LatestPriceRequest ) : Promise < JsonUpdate > {
256256 const url = `${ this . priceServiceUrl } /v1/latest_price` ;
257257
258258 try {
259259 const body = JSON . stringify ( params ) ;
260- this . logger . debug ( "get_latest_price " , { url, body } ) ;
260+ this . logger . debug ( "getLatestPrice " , { url, body } ) ;
261261 const response = await this . authenticatedFetch ( url , {
262262 method : "POST" ,
263263 headers : {
@@ -283,12 +283,12 @@ export class PythLazerClient {
283283 * @param params - Parameters for the price request including timestamp
284284 * @returns Promise resolving to JsonUpdate with price data at the specified time
285285 */
286- async get_price ( params : PriceRequest ) : Promise < JsonUpdate > {
286+ async getPrice ( params : PriceRequest ) : Promise < JsonUpdate > {
287287 const url = `${ this . priceServiceUrl } /v1/price` ;
288288
289289 try {
290290 const body = JSON . stringify ( params ) ;
291- this . logger . debug ( "get_price " , { url, body } ) ;
291+ this . logger . debug ( "getPrice " , { url, body } ) ;
292292 const response = await this . authenticatedFetch ( url , {
293293 method : "POST" ,
294294 headers : {
0 commit comments