{"version":3,"sources":["../../src/ethpm.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,MAAM,iBAAqB;AACvC,OAAO,KAAK,OAAO,kBAAsB;AAEzC;;;;;;;;;GASG;AACH,yBAAiB,KAAK,CAAC;IACrB;;;;;;;;;;;;;;;;OAgBG;IACH,SAAgB,SAAS,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAC/C,MAAM,EAAE,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,GAC1B,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAEpB;CACF","file":"ethpm.d.ts","sourcesContent":["/**\n * @module \"ethpm\"\n */\n\nimport * as config from 'ethpm/config';\nimport * as session from 'ethpm/session';\n\n/**\n * This module provides the external interface for configuring an EthPM\n * session object.\n *\n * Usage:\n * ```javascript\n * import EthPM from \"ethpm\";\n *\n * ```\n */\nexport namespace EthPM {\n  /**\n   * Configure EthPM with specified Node modules to load for various\n   * services\n   *\n   * Example Usage:\n   * ```javascript\n   * import EthPM from \"ethpm\";\n   * const builder = EthPM.configure({\n   *   manifests: \"ethpm/manifests/v3\",\n   *   storage: \"ethpm/storage/ipfs\",\n   *   registries: \"ethpm/registries/web3\"\n   * })\n   * ```\n   *\n   * EthPM.js will `require()` the specified modules from your project's\n   * `node_modules/` folder.\n   */\n  export function configure<T extends config.Config>(\n    config: config.RawConfig<T>,\n  ): session.Builder<T> {\n    return new session.Builder(config);\n  }\n}\n"]}