{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.mts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC;AAGxD;;;;;;;;;;GAUG;AACH,MAAM,WAAW,GAOb,EAAE,aAAa,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC;AAErD,eAAe,WAAW,CAAC","sourcesContent":["import { createInvoice, saveInvoice } from \"./easyinvoice.js\";\nimport { EasyInvoiceError } from \"./error.js\";\n\nexport { createInvoice, saveInvoice, EasyInvoiceError };\nexport type * from \"./types.js\";\n\n/**\n * Stateless invoice client for server-side Node.js applications.\n * The methods are also available as named exports from `easyinvoice`.\n *\n * @example\n * import easyinvoice from \"easyinvoice\";\n *\n * easyinvoice.createInvoice()\n *   .then((result) => console.log(result))\n *   .catch((error) => console.error(error));\n */\nconst easyinvoice: {\n  /** Creates a PDF through the hosted API. See {@link createInvoice} for parameters, errors, and examples. */\n  createInvoice: typeof createInvoice;\n  /** Streams an invoice's signed PDF URL to a local file. See {@link saveInvoice}. */\n  saveInvoice: typeof saveInvoice;\n  /** Error class for API and network failures, timeouts, and malformed responses. See {@link EasyInvoiceError}. */\n  EasyInvoiceError: typeof EasyInvoiceError;\n} = { createInvoice, saveInvoice, EasyInvoiceError };\n\nexport default easyinvoice;\n"]}