{"_id":"@adaskothebeast/typewriter-http-axios","_rev":"5-f7cb9fe19f24626ff255f8da7e518564","name":"@adaskothebeast/typewriter-http-axios","dist-tags":{"latest":"11.0.1"},"versions":{"10.0.0":{"name":"@adaskothebeast/typewriter-http-axios","version":"10.0.0","keywords":["typewriter","axios","typescript","json","hydration"],"author":{"url":"https://github.com/adaskothebeast","name":"Adam Pluciński","email":"adaskothebeast@gmail.com"},"license":"MIT","_id":"@adaskothebeast/typewriter-http-axios@10.0.0","maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"homepage":"https://github.com/AdaskoTheBeAsT/date-interceptors#readme","bugs":{"url":"https://github.com/AdaskoTheBeAsT/date-interceptors/issues"},"dist":{"shasum":"782850bd1e6f4d850fd90ae2167cb75c4b27c148","tarball":"https://registry.npmjs.org/@adaskothebeast/typewriter-http-axios/-/typewriter-http-axios-10.0.0.tgz","fileCount":14,"integrity":"sha512-1YWGclWgQCsj9JV1PDODmKHg667AcGi4ITBvOh8bngeNIP8+HfrtIEAxDDOQU3QeXQyRcTr4yZsoUg6wTZg2QA==","signatures":[{"sig":"MEQCICJiL3J37CgCj7U/GIahrwBQvU3C7Et/u3LgJzEIK/EkAiBij9U8o6bZudtG0q+2kZd3zQwB3aLNsXtZ0Ja2c3LY/Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16950},"main":"./index.esm.js","module":"./index.esm.js","gitHead":"d939a562c5f5947e98df253b28d384399481063e","_npmUser":{"name":"adasko","email":"adaskothebeast@gmail.com"},"repository":{"url":"git+https://github.com/AdaskoTheBeAsT/date-interceptors.git","type":"git","directory":"libs/typewriter-http-axios"},"_npmVersion":"11.16.0","description":"Axios request and response interceptors for Typewriter runtime schemas.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","dependencies":{"@adaskothebeast/typewriter-schema":"10.0.0","@adaskothebeast/typewriter-runtime":"10.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"axios":"^1.18.1"},"_npmOperationalInternal":{"tmp":"tmp/typewriter-http-axios_10.0.0_1785247026299_0.9823525445278127","host":"s3://npm-registry-packages-npm-production"}},"10.0.1":{"name":"@adaskothebeast/typewriter-http-axios","version":"10.0.1","keywords":["typewriter","axios","typescript","json","hydration"],"author":{"url":"https://github.com/adaskothebeast","name":"Adam Pluciński","email":"adaskothebeast@gmail.com"},"license":"MIT","_id":"@adaskothebeast/typewriter-http-axios@10.0.1","maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"homepage":"https://github.com/AdaskoTheBeAsT/date-interceptors#readme","bugs":{"url":"https://github.com/AdaskoTheBeAsT/date-interceptors/issues"},"dist":{"shasum":"c95fb71819080c1fa09feab5f5362a2257881648","tarball":"https://registry.npmjs.org/@adaskothebeast/typewriter-http-axios/-/typewriter-http-axios-10.0.1.tgz","fileCount":7,"integrity":"sha512-cV2poM5CEk11giDAeV3mdDkfiSvACo1nrEWvOJycLJpnY1rqho/LvDNe+rbuC+eL4EaRMZjlmJrrVq9dINepYg==","signatures":[{"sig":"MEUCIGC4G3q+nd8QE6ylUWif7RYKq7nxJ8ys+hRkt0JrbWKCAiEA5z6izinx39MRUwO989RHM7rF5c4o9VgClCDNkEMGoLA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adaskothebeast%2ftypewriter-http-axios@10.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":6353},"main":"./index.esm.js","type":"module","types":"./index.d.ts","module":"./index.esm.js","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b6ec8da5-78ba-41fa-ba06-b00472f56097"}},"repository":{"url":"git+https://github.com/AdaskoTheBeAsT/date-interceptors.git","type":"git","directory":"libs/typewriter-http-axios"},"_npmVersion":"11.16.0","description":"Axios request and response interceptors for Typewriter runtime schemas.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","dependencies":{"@adaskothebeast/typewriter-schema":"^10.0.0","@adaskothebeast/typewriter-runtime":"^10.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"axios":"^1.18.1"},"_npmOperationalInternal":{"tmp":"tmp/typewriter-http-axios_10.0.1_1785250693201_0.8430997706727976","host":"s3://npm-registry-packages-npm-production"}},"10.0.2":{"name":"@adaskothebeast/typewriter-http-axios","version":"10.0.2","keywords":["typewriter","axios","typescript","json","hydration"],"author":{"url":"https://github.com/adaskothebeast","name":"Adam Pluciński","email":"adaskothebeast@gmail.com"},"license":"MIT","_id":"@adaskothebeast/typewriter-http-axios@10.0.2","maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"homepage":"https://github.com/AdaskoTheBeAsT/date-interceptors#readme","bugs":{"url":"https://github.com/AdaskoTheBeAsT/date-interceptors/issues"},"dist":{"shasum":"df954d3d088dd8b4fdfae6889f3a576f4412b311","tarball":"https://registry.npmjs.org/@adaskothebeast/typewriter-http-axios/-/typewriter-http-axios-10.0.2.tgz","fileCount":7,"integrity":"sha512-+ymvPyX93SLp0WDeUwJZhFPSl01r5avGc1oPRwigvszl/iv0AiSAzk4v5LKRjKG80/RoFiiUlxXOxwiYSXQFhA==","signatures":[{"sig":"MEQCICx6KatlxP2b2RZ84BUHMQ2fySLxtgOVdl32MB4TU9AsAiBSglMCsBUlCIqG0nBh16Z82Rdh4X1AtSd30xBSo+K1yw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adaskothebeast%2ftypewriter-http-axios@10.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":6353},"main":"./index.esm.js","type":"module","types":"./index.d.ts","module":"./index.esm.js","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b6ec8da5-78ba-41fa-ba06-b00472f56097"}},"repository":{"url":"git+https://github.com/AdaskoTheBeAsT/date-interceptors.git","type":"git","directory":"libs/typewriter-http-axios"},"_npmVersion":"11.16.0","description":"Axios request and response interceptors for Typewriter runtime schemas.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","dependencies":{"@adaskothebeast/typewriter-schema":"^10.0.0","@adaskothebeast/typewriter-runtime":"^10.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"axios":"^1.18.1"},"_npmOperationalInternal":{"tmp":"tmp/typewriter-http-axios_10.0.2_1785252312088_0.3082691147624206","host":"s3://npm-registry-packages-npm-production"}},"11.0.0":{"name":"@adaskothebeast/typewriter-http-axios","version":"11.0.0","keywords":["typewriter","axios","typescript","json","hydration"],"author":{"url":"https://github.com/adaskothebeast","name":"Adam Pluciński","email":"adaskothebeast@gmail.com"},"license":"MIT","_id":"@adaskothebeast/typewriter-http-axios@11.0.0","maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"homepage":"https://github.com/AdaskoTheBeAsT/date-interceptors/tree/main/libs/typewriter-http-axios#readme","bugs":{"url":"https://github.com/AdaskoTheBeAsT/date-interceptors/issues"},"dist":{"shasum":"3e57ea34771330724456c783203fd2b98316d453","tarball":"https://registry.npmjs.org/@adaskothebeast/typewriter-http-axios/-/typewriter-http-axios-11.0.0.tgz","fileCount":13,"integrity":"sha512-DhS/F7ESeuyh7QoGP4JpP/7tVx5lppRHlRLaJ+rJdlL68YDyMb0TlD3ynRHgyiHWYgj+e1JZtOH28UPw3kZ/qg==","signatures":[{"sig":"MEYCIQCXtPwmwRPb1nEZIjNASbyyMPxvdtHK8FBai944MXGqewIhAOEaiSelfNrNDpgNkv4rvAy2NT3gD78k/0R7CWxT9Vv+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIFyMNY5BiVbIub5p9KAWEJOYy113dZMJnO/oABNs4zu7AiEA0eMMImjeHgirRBeFD8gosCoTBdYJzRSx+vgvRWGOhsg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adaskothebeast%2ftypewriter-http-axios@11.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25366},"main":"./index.cjs","type":"module","types":"./index.d.ts","module":"./index.esm.js","engines":{"node":">=22.12"},"exports":{".":{"import":{"types":"./index.d.ts","default":"./index.esm.js"},"require":{"types":"./index.d.cts","default":"./index.cjs"}},"./package.json":"./package.json"},"gitHead":"23dc193eb4d8d834b51de51e1900225a26c143ff","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b6ec8da5-78ba-41fa-ba06-b00472f56097"}},"repository":{"url":"git+https://github.com/AdaskoTheBeAsT/date-interceptors.git","type":"git","directory":"libs/typewriter-http-axios"},"_npmVersion":"11.19.0","description":"Axios interceptor that hydrates and serializes JSON with Typewriter runtime schemas.","directories":{},"sideEffects":false,"_nodeVersion":"26.10.0","dependencies":{"@adaskothebeast/hierarchical-convert-core":"^11.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"axios":"^1.18.1","@adaskothebeast/typewriter-runtime":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/typewriter-http-axios_11.0.0_1790551359255_0.3926896378579505","host":"s3://npm-registry-packages-npm-production"}},"11.0.1":{"_id":"@adaskothebeast/typewriter-http-axios@11.0.1","bugs":{"url":"https://github.com/AdaskoTheBeAsT/date-interceptors/issues"},"dist":{"shasum":"b064ea21ccfd1ef7c618e1bd026445e9e77c017d","tarball":"https://registry.npmjs.org/@adaskothebeast/typewriter-http-axios/-/typewriter-http-axios-11.0.1.tgz","fileCount":13,"integrity":"sha512-m+GGsTfzdRk/S5QHvJ0jVobGYcVIlORUAh+oJKwFh4TeC/EfC3ykJ8XF5gjFHcvhpurxviexgSaNuSD+anWojQ==","signatures":[{"sig":"MEQCIHQww/YsMIXXFFfqjX2LUokce9sazTXUOROB4PULeKPSAiBeYEAMGYM6BraISOtowaoNPILc1/kmFgoz4GyRFUroEA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDjvuWZIRLprhrNckzzLO5nYykoZuhmEFHVN3TH8BHlbAIgBmXa4iZ4ah5rAJncn8/lPAghqWcpQUHgVkA8BdHYEGQ="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adaskothebeast%2ftypewriter-http-axios@11.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25366},"main":"./index.cjs","name":"@adaskothebeast/typewriter-http-axios","type":"module","types":"./index.d.ts","author":{"url":"https://github.com/adaskothebeast","name":"Adam Pluciński","email":"adaskothebeast@gmail.com"},"module":"./index.esm.js","engines":{"node":">=22.12"},"exports":{".":{"import":{"types":"./index.d.ts","default":"./index.esm.js"},"require":{"types":"./index.d.cts","default":"./index.cjs"}},"./package.json":"./package.json"},"gitHead":"f9edf319c5e23bf1a17f5ec4eb8dac0008b9fd26","license":"MIT","version":"11.0.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"b6ec8da5-78ba-41fa-ba06-b00472f56097"}},"homepage":"https://github.com/AdaskoTheBeAsT/date-interceptors/tree/main/libs/typewriter-http-axios#readme","keywords":["typewriter","axios","typescript","json","hydration"],"repository":{"url":"git+https://github.com/AdaskoTheBeAsT/date-interceptors.git","type":"git","directory":"libs/typewriter-http-axios"},"_npmVersion":"11.19.0","description":"Axios interceptor that hydrates and serializes JSON with Typewriter runtime schemas.","directories":{},"maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"sideEffects":false,"_nodeVersion":"26.10.0","dependencies":{"@adaskothebeast/hierarchical-convert-core":"^11.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"axios":"^1.18.1","@adaskothebeast/typewriter-runtime":"^11.0.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/typewriter-http-axios_11.0.1_1790749911976_0.2215483801155511"}}},"time":{"created":"2026-07-28T13:57:06.092Z","modified":"2026-09-30T06:31:52.409Z","10.0.0":"2026-07-28T13:57:06.413Z","10.0.1":"2026-07-28T14:58:13.361Z","10.0.2":"2026-07-28T15:25:12.220Z","11.0.0":"2026-09-27T23:22:39.347Z","11.0.1":"2026-09-30T06:31:52.056Z"},"bugs":{"url":"https://github.com/AdaskoTheBeAsT/date-interceptors/issues"},"author":{"url":"https://github.com/adaskothebeast","name":"Adam Pluciński","email":"adaskothebeast@gmail.com"},"license":"MIT","homepage":"https://github.com/AdaskoTheBeAsT/date-interceptors/tree/main/libs/typewriter-http-axios#readme","keywords":["typewriter","axios","typescript","json","hydration"],"repository":{"url":"git+https://github.com/AdaskoTheBeAsT/date-interceptors.git","type":"git","directory":"libs/typewriter-http-axios"},"description":"Axios interceptor that hydrates and serializes JSON with Typewriter runtime schemas.","maintainers":[{"name":"adasko","email":"adaskothebeast@gmail.com"}],"readme":"# Typewriter Axios\n\nAxios request and response interceptors for Typewriter runtime schemas.\n\n```bash\nnpm install @adaskothebeast/typewriter-http-axios axios\n```\n\n```ts\nimport { installTypewriterAxiosInterceptor, installTypewriterAxiosRequestInterceptor, requestWithSchema } from '@adaskothebeast/typewriter-http-axios';\nimport axios from 'axios';\n\nconst api = axios.create();\ninstallTypewriterAxiosRequestInterceptor(api);\ninstallTypewriterAxiosInterceptor(api);\n\nconst response = await requestWithSchema(api, InvoiceSchema, {\n  method: 'GET',\n  url: '/api/invoices/1',\n  responseSchemaRegistry: apiTypeRegistry,\n});\n```\n\nGenerated clients can set `responseSchema`, `responseSchemaRegistry`, and `responseTransformOptions` in `AxiosRequestConfig`. For outgoing bodies, use `requestSchema`, `requestSchemaRegistry`, and `requestSerializeOptions`.\n\nJSON Problem Details (`application/problem+json`) bypass success conversion, including HTTP 200 responses. Use the exported `isProblemDetailsError(error)` guard to read `httpStatus`, typed `problem` members, and the original decoded `body`. Extension members such as `errors` and `traceId` are preserved. See the repository [conversion contract](https://github.com/AdaskoTheBeAsT/date-interceptors/blob/main/docs/conversion-contract.md#json-problem-details) for transport-specific behavior.\n","readmeFilename":"README.md"}