{"_id":"@aptos-labs/aptos-faucet-client","name":"@aptos-labs/aptos-faucet-client","dist-tags":{"latest":"0.2.0"},"versions":{"0.2.0":{"name":"@aptos-labs/aptos-faucet-client","description":"Generated client for the Aptos faucet","license":"Apache 2.0","engines":{"node":">=11.0.0"},"main":"./dist/index.js","module":"./dist/aptos.esm.js","types":"./dist/index.d.ts","scripts":{"prepack":"tsup","build":"tsup","test":"jest","generate-client":"openapi -i ../doc/spec.yaml -o ./src -c axios --name AptosFaucetClient --exportSchemas true --useOptions","checked-publish":"./checked_publish.sh"},"repository":{"type":"git","url":"git+https://github.com/aptos-labs/aptos-core.git"},"homepage":"https://github.com/aptos-labs/aptos-core","bugs":{"url":"https://github.com/aptos-labs/aptos-core/issues"},"author":{"name":"aptoslabs.com"},"keywords":["Aptos","Aptos Labs"],"dependencies":{"axios":"1.3.4","form-data":"^4.0.0"},"devDependencies":{"@types/jest":"29.4.1","@types/node":"18.15.3","@typescript-eslint/eslint-plugin":"5.55.0","@typescript-eslint/parser":"5.55.0","dotenv":"16.0.3","jest":"29.5.0","openapi-typescript-codegen":"https://github.com/aptos-labs/openapi-typescript-codegen/releases/download/v0.24.0-p1/openapi-typescript-codegen-v0.24.0-p1.tgz","ts-jest":"29.0.5","ts-loader":"9.4.2","ts-node":"10.9.1","tsup":"6.6.3","typescript":"4.9.5"},"version":"0.2.0","gitHead":"9eab0dd61d0ef75446ba9607a0d28edb57dd1004","_id":"@aptos-labs/aptos-faucet-client@0.2.0","_nodeVersion":"19.7.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-XknZirvqcMHJO3ju6gBBDMLRs2BXin7yajPlvhswd4kL+D7F1fDSKtwIzSAWx0NQM97MPgAe5WSGH4MkY40asg==","shasum":"3d27ac46c716f83a6cde06f1189d99cf8d0c789c","tarball":"https://registry.npmjs.org/@aptos-labs/aptos-faucet-client/-/aptos-faucet-client-0.2.0.tgz","fileCount":40,"unpackedSize":182930,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEO9+PoCT9SnJ2dsn36zeY45nyUp0wHmAxaEgqpIidpRAiBi1CpxQ+WuSDB3OHGkTSbtRuQ+WCQmur6RsEYm67f7ew=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEHDxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrN7Q//YBS1aYX/XAohFYtrEmgvILU+AZa5qVNNSoERAT3RnfkjgHBd\r\n5JFGY1ESQapSx+Jr5kG2b8ySwQnBz+yFCYlIqEifV9xeqZZRkFt0lzLX/HOk\r\nm6qJkktFhVMQ/THKg9b3BsVUxBw6AUjMdIMHEPZ9qUEG3PSUvm0c9jnmU7x+\r\nT9ucfkSzTM15k7wEb9TKtqQ3sPyMjrlW0pSK4oPt/3xNaI4R9b4jdALwWVqp\r\n5RRHY0X+vSm1UfeYO/OBa7EoQtCvxm2VtGgPmi05WUuO+KURXN/P9zP1keSa\r\nXFbWy2bqgMlhSKg4QIY1+75V+IzNBsW6vCYBRq/vCLXtcRQHa7vxy1GVh18D\r\n+WPRB/lw1wQ11ArXLTaKLwmc7g+P4SYyh4nzzuUEEVK+LEMvy1D+9ozZIUTE\r\nZPNPcxTxwGaoTFvJdvPM1/aLqZTPASsJODnFF9zB3xFOrwKZeMzUgK+cy5S/\r\nDe52snjniL5saFqg9M5wFx0Fdy+eAEDM9YJfgs/PU2HVPyVHQhaPr4B2bgAs\r\nXfHnfbMX6T5WIoOeqN64VBvx4ejAsLQX647KuOapRNwil6tFw7e099yzOPLo\r\n4dbVuanzdmZt8O5OWpfNJYB6QYMoty1tJIZfBgjNFvrVLiaizmzEHye84viz\r\nI5WRQbo2/AXeH+r5s5Gimbns+Ja0EnD6Jj8=\r\n=FzCO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},"directories":{},"maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/aptos-faucet-client_0.2.0_1678799089662_0.4273539946400442"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-14T13:04:49.583Z","0.2.0":"2023-03-14T13:04:49.823Z","modified":"2023-03-14T13:04:50.074Z"},"maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"}],"description":"Generated client for the Aptos faucet","homepage":"https://github.com/aptos-labs/aptos-core","keywords":["Aptos","Aptos Labs"],"repository":{"type":"git","url":"git+https://github.com/aptos-labs/aptos-core.git"},"author":{"name":"aptoslabs.com"},"bugs":{"url":"https://github.com/aptos-labs/aptos-core/issues"},"license":"Apache 2.0","readme":"# Generated TS client for the Aptos Faucet\n\n## Quickstart\n```bash\npnpm add @aptos-labs/aptos-faucet-client\n```\n\n## Usage\n\nFor Javascript or Typescript usage, check out the [`./examples`][examples] folder with ready-made `package.json` files to get you going quickly!\n\nIf you are using the types in a `commonjs` module, like in a Node app, you just have to enable `esModuleInterop`\nand `allowSyntheticDefaultImports` in your `tsconfig` for types compatibility:\n\n```json\n{\n  ...\n  \"compilerOptions\": {\n    \"allowSyntheticDefaultImports\": true,\n    \"esModuleInterop\": true\n    ...\n  }\n}\n```\n\n### Requirements\n\n- [Node.js](https://nodejs.org)\n- [pnpm](https://pnpm.io/)\n\n```bash\npnpm install\n```\n\n### Generating API client\nTo generate the client from the spec, run:\n\n```bash\npnpm generate-client\n```\n\n### Running tests\nRun a faucet locally. See the [README](../README.md) in the root for information on how to do that.\n\nRun the tests:\n```\npnpm test\n```\n\nIf you see strange behavior regarding HTTP clients, try running the tests with `--detectOpenHandles`.\n\n## Semantic versioning\n\nThis project follows [semver](https://semver.org/) as closely as possible.\n\n## Release process\n\nTo release a new version of the SDK do the following.\n\n1. Regenerate the client:\n\n```\npnpm generate-client\n```\n\n2. Test:\n\n```\npnpm test\n```\n\n3. Bump the version in `package.json` according to [semver](https://semver.org/).\n4. Add an entry in the CHANGELOG for the version. We adhere to [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).\n5. Once you're confident everything is correct, submit your PR.\n6. Once the PR is approved and on main, run `pnpm checked-publish` manually.\n\n","readmeFilename":"README.md"}