File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @pythnetwork/price-pusher" ,
3- "version" : " 8.3.3 " ,
3+ "version" : " 9.0.0 " ,
44 "description" : " Pyth Price Pusher" ,
55 "homepage" : " https://pyth.network" ,
66 "main" : " lib/index.js" ,
2424 "format" : " prettier --write \" src/**/*.ts\" " ,
2525 "test:lint" : " eslint src/" ,
2626 "start" : " node lib/index.js" ,
27- "test" : " jest" ,
2827 "dev" : " ts-node src/index.ts" ,
2928 "prepublishOnly" : " pnpm run build && pnpm run test:lint" ,
3029 "preversion" : " pnpm run test:lint" ,
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ import { PriceItem } from "./interface";
44export type PctNumber = number ;
55export type DurationInSeconds = number ;
66export const txSpeeds = [ "slow" , "standard" , "fast" ] as const ;
7- export type TxSpeed = typeof txSpeeds [ number ] ;
7+ export type TxSpeed = ( typeof txSpeeds ) [ number ] ;
88export const customGasChainIds = [ 137 ] as const ;
9- export type CustomGasChainId = typeof customGasChainIds [ number ] ;
9+ export type CustomGasChainId = ( typeof customGasChainIds ) [ number ] ;
1010
1111export async function sleep ( ms : number ) : Promise < void > {
1212 return new Promise ( ( resolve ) => setTimeout ( resolve , ms ) ) ;
You can’t perform that action at this time.
0 commit comments