{"version":3,"file":"pumpFun.types.cjs","sources":["../../../src/pumpFun.types.ts"],"sourcesContent":["import { Keypair, VersionedTransactionResponse } from \"@solana/web3.js\";\r\n\r\nexport type CreateTokenMetadata = {\r\n  name: string;\r\n  symbol: string;\r\n  description: string;\r\n  file: Blob;\r\n  twitter?: string;\r\n  telegram?: string;\r\n  website?: string;\r\n};\r\nexport type PriorityFee = {\r\n  unitLimit: number;\r\n  unitPrice: number;\r\n};\r\n\r\nexport type TransactionResult = {\r\n  signature?: string;\r\n  error?: unknown;\r\n  results?: VersionedTransactionResponse;\r\n  success: boolean;\r\n};\r\n\r\nexport type PumpOptions = {\r\n  jitoUrl?: string;\r\n  authKeypair?: Keypair;\r\n  providerRegion?: Region;\r\n  shouldKeepAlive?: boolean;\r\n  astraKey?: string;\r\n  slotKey?: string;\r\n  nextBlockKey?: string;\r\n  nodeOneKey?: string;\r\n};\r\n\r\nexport type JitoResult = {\r\n  bundleId?: string;\r\n  error?: unknown;\r\n  success: boolean;\r\n};\r\nexport type HostKey = \"slot\" | \"node\" | \"nextBlock\" | \"astra\";\r\n\r\nexport enum Region {\r\n  Frankfurt = \"fra\",\r\n  NY = \"ny\",\r\n  Tokyo = \"tokyo\",\r\n  Amsterdam = \"ams\",\r\n  LosAngeles = \"la\",\r\n}\r\n"],"names":["Region"],"mappings":";;AAyCYA;AAAZ,CAAA,UAAY,MAAM,EAAA;AAChB,IAAA,MAAA,CAAA,WAAA,CAAA,GAAA,KAAiB;AACjB,IAAA,MAAA,CAAA,IAAA,CAAA,GAAA,IAAS;AACT,IAAA,MAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,MAAA,CAAA,WAAA,CAAA,GAAA,KAAiB;AACjB,IAAA,MAAA,CAAA,YAAA,CAAA,GAAA,IAAiB;AACnB,CAAC,EANWA,cAAM,KAANA,cAAM,GAAA,EAAA,CAAA,CAAA;;"}