{"_id":"@archon-research/http-client-msw","_rev":"10-cffbcaf5a2dd20595f6f4ed50adba88e","name":"@archon-research/http-client-msw","dist-tags":{"latest":"0.11.0","dev":"0.11.0-rohit-synced-tooltip-readout.1"},"versions":{"0.10.0-rohit-pre-release-consumer-fixes.1":{"name":"@archon-research/http-client-msw","version":"0.10.0-rohit-pre-release-consumer-fixes.1","_id":"@archon-research/http-client-msw@0.10.0-rohit-pre-release-consumer-fixes.1","maintainers":[{"name":"r0hitsh","email":"rs@rohit.sh"}],"dist":{"shasum":"b93016e7685ab7022b8d113738680b4a4c3e65a7","tarball":"https://registry.npmjs.org/@archon-research/http-client-msw/-/http-client-msw-0.10.0-rohit-pre-release-consumer-fixes.1.tgz","fileCount":47,"integrity":"sha512-SZndYzkfFuZQGCI4esMMBPvPvceEtCmVRkjOuD9jj0qUKGbiu80bWyAPbE0275My7qZTSKYb5Sa0TiZLFjrpSA==","signatures":[{"sig":"MEQCIFoEzD+JqhdONox65+JUXH0pRViVAyVOOHSeITKD0UiVAiAkBgqF2VNrQUFNQmhFYMG7DNi0rhpdQ/+0dgVBJDleUw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":121439},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./node":{"types":"./dist/node.d.ts","default":"./dist/node.js"},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"}},"scripts":{"lint":"oxlint -c oxlint.config.ts src","test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","format":"oxfmt -c oxfmt.config.ts --write src","prepare":"npm run build","lint:fix":"oxlint -c oxlint.config.ts --fix src","type:check":"tsc -p tsconfig.json --noEmit","format:check":"oxfmt -c oxfmt.config.ts --check src"},"_npmUser":{"name":"r0hitsh","email":"rs@rohit.sh"},"_npmVersion":"11.16.0","description":"Typed [msw](https://mswjs.io) mocks for `@archon-research/http-client-core`.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"openapi-msw":"2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"2.14.6","oxfmt":"0.61.0","oxlint":"1.76.0","vitest":"^4.1.9","@types/node":"24.13.3","@archon-research/tsconfig":"*","@archon-research/oxfmt-config":"*","@archon-research/oxlint-config":"*"},"peerDependencies":{"msw":"^2.10.5"},"_npmOperationalInternal":{"tmp":"tmp/http-client-msw_0.10.0-rohit-pre-release-consumer-fixes.1_1787235090125_0.22982412667935503","host":"s3://npm-registry-packages-npm-production"}},"0.10.0-rohit-pre-release-consumer-fixes.3":{"name":"@archon-research/http-client-msw","version":"0.10.0-rohit-pre-release-consumer-fixes.3","_id":"@archon-research/http-client-msw@0.10.0-rohit-pre-release-consumer-fixes.3","maintainers":[{"name":"r0hitsh","email":"rs@rohit.sh"}],"homepage":"https://github.com/archon-research/uikit#readme","bugs":{"url":"https://github.com/archon-research/uikit/issues"},"dist":{"shasum":"c6ddedef8e476756eee1b8f41d58833c5e1e1409","tarball":"https://registry.npmjs.org/@archon-research/http-client-msw/-/http-client-msw-0.10.0-rohit-pre-release-consumer-fixes.3.tgz","fileCount":41,"integrity":"sha512-SrdDtgBbM7YmhZ0KVX2CXMbpxDiEUfbDKc4ntOg5L5V6MxDeUtpsRoMpg1GSC1ThTf0OqYD/siFgU//BOAiWtQ==","signatures":[{"sig":"MEYCIQC3xrP/sF8yy1huBNf4S2K+gQDZJVGRhi334QLo6exXrwIhALYhcPhedgaEs4bd4gWccSiHyNnOnnZ3h10SiUN/yMdA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@archon-research%2fhttp-client-msw@0.10.0-rohit-pre-release-consumer-fixes.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":119874},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./node":{"types":"./dist/node.d.ts","default":"./dist/node.js"},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"}},"gitHead":"cad22a209afe1250b6564f60134acf160a465c29","scripts":{"lint":"oxlint -c oxlint.config.ts src","test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","format":"oxfmt -c oxfmt.config.ts --write src","prepare":"npm run build","lint:fix":"oxlint -c oxlint.config.ts --fix src","type:check":"tsc -p tsconfig.json --noEmit","format:check":"oxfmt -c oxfmt.config.ts --check src"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dfc6e587-61c8-4cf7-aacc-0a0cd3877b9b"}},"repository":{"url":"git+https://github.com/archon-research/uikit.git"},"_npmVersion":"11.16.0","description":"Typed [msw](https://mswjs.io) mocks for `@archon-research/http-client-core`.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","dependencies":{"openapi-msw":"2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"msw":"2.14.6","oxfmt":"0.62.0","oxlint":"1.77.0","vitest":"^4.1.9","@types/node":"24.13.3","@archon-research/tsconfig":"*","@archon-research/oxfmt-config":"*","@archon-research/oxlint-config":"*"},"peerDependencies":{"msw":"^2.10.5"},"_npmOperationalInternal":{"tmp":"tmp/http-client-msw_0.10.0-rohit-pre-release-consumer-fixes.3_1787320126668_0.3997803676620031","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"name":"@archon-research/http-client-msw","version":"0.10.0","_id":"@archon-research/http-client-msw@0.10.0","maintainers":[{"name":"r0hitsh","email":"rs@rohit.sh"}],"homepage":"https://github.com/archon-research/uikit#readme","bugs":{"url":"https://github.com/archon-research/uikit/issues"},"dist":{"shasum":"695ac4e86e708692fd1e4b7b1d933727ba35a896","tarball":"https://registry.npmjs.org/@archon-research/http-client-msw/-/http-client-msw-0.10.0.tgz","fileCount":41,"integrity":"sha512-SeoVMKcPR4EI6s5YmBS9XYg3UiI/5z7j1qr6V8iUKWqJ/MsSlMjuqun4tAiz9qok7oI0G5qnyGRa6VLbEqVmPw==","signatures":[{"sig":"MEUCIQCi5r5sAbKdTSIOirOcmCq5jbGFWFpT0xF2vF6RzKwXOQIgJ2S+AInHjgbSxNlgYuPGrSE2aK9Zq23N84Nczrto1Lg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@archon-research%2fhttp-client-msw@0.10.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":119839},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./node":{"types":"./dist/node.d.ts","default":"./dist/node.js"},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"}},"gitHead":"3a7a4f261aaea5fe1cf1e292d61e603a2b48da4a","scripts":{"lint":"oxlint -c oxlint.config.ts src","test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","format":"oxfmt -c oxfmt.config.ts --write src","prepare":"npm run build","lint:fix":"oxlint -c oxlint.config.ts --fix src","type:check":"tsc -p tsconfig.json --noEmit","format:check":"oxfmt -c oxfmt.config.ts --check src"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dfc6e587-61c8-4cf7-aacc-0a0cd3877b9b"}},"repository":{"url":"git+https://github.com/archon-research/uikit.git"},"_npmVersion":"11.16.0","description":"Typed [msw](https://mswjs.io) mocks for `@archon-research/http-client-core`.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","dependencies":{"openapi-msw":"2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"2.14.6","oxfmt":"0.62.0","oxlint":"1.77.0","vitest":"^4.1.9","@types/node":"24.13.3","@archon-research/tsconfig":"*","@archon-research/oxfmt-config":"*","@archon-research/oxlint-config":"*"},"peerDependencies":{"msw":"^2.10.5"},"_npmOperationalInternal":{"tmp":"tmp/http-client-msw_0.10.0_1787569794674_0.8848177614232731","host":"s3://npm-registry-packages-npm-production"}},"0.11.0-rohit-publish-only-affected-packages.1":{"name":"@archon-research/http-client-msw","version":"0.11.0-rohit-publish-only-affected-packages.1","_id":"@archon-research/http-client-msw@0.11.0-rohit-publish-only-affected-packages.1","maintainers":[{"name":"r0hitsh","email":"rs@rohit.sh"}],"homepage":"https://github.com/archon-research/uikit#readme","bugs":{"url":"https://github.com/archon-research/uikit/issues"},"dist":{"shasum":"3c06c5384b93ec9428cbb6e2e466330669febcfd","tarball":"https://registry.npmjs.org/@archon-research/http-client-msw/-/http-client-msw-0.11.0-rohit-publish-only-affected-packages.1.tgz","fileCount":41,"integrity":"sha512-dDblnUAbtud2Led8n9UHeJtBJPHeKdVhUQtnjaxCD8eCR52jntTSUVWCekT0Zt8MB9vdC4RGnDDe9jY2XL+RJg==","signatures":[{"sig":"MEUCIQDWpAUZG00ccSXsN0aIRz06NazOpxGzotHQNva5VhyiBAIgXtg5YBxImdbBG1+uCTALnReqEcPHcPc37WhmP0QbAJ8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@archon-research%2fhttp-client-msw@0.11.0-rohit-publish-only-affected-packages.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":119878},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./node":{"types":"./dist/node.d.ts","default":"./dist/node.js"},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"}},"gitHead":"9f7ef8dae868fa1668d7d98f801716eadb85e5c2","scripts":{"lint":"oxlint -c oxlint.config.ts src","test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","format":"oxfmt -c oxfmt.config.ts --write src","prepare":"npm run build","lint:fix":"oxlint -c oxlint.config.ts --fix src","type:check":"tsc -p tsconfig.json --noEmit","format:check":"oxfmt -c oxfmt.config.ts --check src"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dfc6e587-61c8-4cf7-aacc-0a0cd3877b9b"}},"repository":{"url":"git+https://github.com/archon-research/uikit.git"},"_npmVersion":"12.0.2","description":"Typed [msw](https://mswjs.io) mocks for `@archon-research/http-client-core`.","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"openapi-msw":"2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"msw":"2.14.6","oxfmt":"0.62.0","oxlint":"1.77.0","vitest":"^4.1.9","@types/node":"24.13.3","@archon-research/tsconfig":"*","@archon-research/oxfmt-config":"*","@archon-research/oxlint-config":"*"},"peerDependencies":{"msw":"^2.10.5"},"_npmOperationalInternal":{"tmp":"tmp/http-client-msw_0.11.0-rohit-publish-only-affected-packages.1_1787856356409_0.11624854064616441","host":"s3://npm-registry-packages-npm-production"}},"0.10.1-rohit-publish-only-affected-packages.1":{"name":"@archon-research/http-client-msw","version":"0.10.1-rohit-publish-only-affected-packages.1","_id":"@archon-research/http-client-msw@0.10.1-rohit-publish-only-affected-packages.1","maintainers":[{"name":"r0hitsh","email":"rs@rohit.sh"}],"homepage":"https://github.com/archon-research/uikit#readme","bugs":{"url":"https://github.com/archon-research/uikit/issues"},"dist":{"shasum":"e6db9e82ba052d38272cbd2ff1adc13a44601f21","tarball":"https://registry.npmjs.org/@archon-research/http-client-msw/-/http-client-msw-0.10.1-rohit-publish-only-affected-packages.1.tgz","fileCount":41,"integrity":"sha512-mVRIBIJT/rBN/FCf4OSGv9nVDj71Dtxyn0HDWYQP1H7tjzIv6P90kVq7Zvim1b6bg/FUUTGfxIUexTAaDlaPDA==","signatures":[{"sig":"MEQCIAgRDmQ1J1fThQsUzyUQq/XvntYiGPGn8NO/r+Y/gWM6AiBZZldB1FOLTU5t6BGA44J70yP8shE5MmySU1GDAPPe9w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@archon-research%2fhttp-client-msw@0.10.1-rohit-publish-only-affected-packages.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":119878},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./node":{"types":"./dist/node.d.ts","default":"./dist/node.js"},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"}},"gitHead":"a391960fe1d643570c0e953df209509436ea0fc4","scripts":{"lint":"oxlint -c oxlint.config.ts src","test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","format":"oxfmt -c oxfmt.config.ts --write src","prepare":"npm run build","lint:fix":"oxlint -c oxlint.config.ts --fix src","type:check":"tsc -p tsconfig.json --noEmit","format:check":"oxfmt -c oxfmt.config.ts --check src"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dfc6e587-61c8-4cf7-aacc-0a0cd3877b9b"}},"repository":{"url":"git+https://github.com/archon-research/uikit.git"},"_npmVersion":"12.0.2","description":"Typed [msw](https://mswjs.io) mocks for `@archon-research/http-client-core`.","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"openapi-msw":"2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"msw":"2.14.6","oxfmt":"0.62.0","oxlint":"1.77.0","vitest":"^4.1.9","@types/node":"24.13.3","@archon-research/tsconfig":"*","@archon-research/oxfmt-config":"*","@archon-research/oxlint-config":"*"},"peerDependencies":{"msw":"^2.10.5"},"_npmOperationalInternal":{"tmp":"tmp/http-client-msw_0.10.1-rohit-publish-only-affected-packages.1_1787860722583_0.5530436452299217","host":"s3://npm-registry-packages-npm-production"}},"0.10.1-rohit-publish-only-affected-packages.2":{"name":"@archon-research/http-client-msw","version":"0.10.1-rohit-publish-only-affected-packages.2","_id":"@archon-research/http-client-msw@0.10.1-rohit-publish-only-affected-packages.2","maintainers":[{"name":"r0hitsh","email":"rs@rohit.sh"}],"homepage":"https://github.com/archon-research/uikit#readme","bugs":{"url":"https://github.com/archon-research/uikit/issues"},"dist":{"shasum":"f2504340dfa296b41b69202678a9579314106838","tarball":"https://registry.npmjs.org/@archon-research/http-client-msw/-/http-client-msw-0.10.1-rohit-publish-only-affected-packages.2.tgz","fileCount":41,"integrity":"sha512-EHo++ef0XJFOSQB6eEavzIxHSGBpRPKEs851TUj+FzC2yZEAoMlt8nb1XLjax/kYkK0DO7uIK8NTkWj6p1LZoQ==","signatures":[{"sig":"MEYCIQDFsqYlcg1FLnhxAwTHKl0fBovW/T7scknYHfPioSL43QIhAMLrLbaoniwPY/5dHF4sD62ihOtKLBfUZDz4Ju0cXehd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@archon-research%2fhttp-client-msw@0.10.1-rohit-publish-only-affected-packages.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":119878},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./node":{"types":"./dist/node.d.ts","default":"./dist/node.js"},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"}},"gitHead":"fa84dc595f35f199ed5022d2adfbfd35a4488eca","scripts":{"lint":"oxlint -c oxlint.config.ts src","test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","format":"oxfmt -c oxfmt.config.ts --write src","prepare":"npm run build","lint:fix":"oxlint -c oxlint.config.ts --fix src","type:check":"tsc -p tsconfig.json --noEmit","format:check":"oxfmt -c oxfmt.config.ts --check src"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dfc6e587-61c8-4cf7-aacc-0a0cd3877b9b"}},"repository":{"url":"git+https://github.com/archon-research/uikit.git"},"_npmVersion":"12.0.2","description":"Typed [msw](https://mswjs.io) mocks for `@archon-research/http-client-core`.","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"openapi-msw":"2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"msw":"2.14.6","oxfmt":"0.62.0","oxlint":"1.77.0","vitest":"^4.1.9","@types/node":"24.13.3","@archon-research/tsconfig":"*","@archon-research/oxfmt-config":"*","@archon-research/oxlint-config":"*"},"peerDependencies":{"msw":"^2.10.5"},"_npmOperationalInternal":{"tmp":"tmp/http-client-msw_0.10.1-rohit-publish-only-affected-packages.2_1787863228093_0.8500824189121021","host":"s3://npm-registry-packages-npm-production"}},"0.10.1-rohit-static-analysis-preset-coverage.1":{"name":"@archon-research/http-client-msw","version":"0.10.1-rohit-static-analysis-preset-coverage.1","_id":"@archon-research/http-client-msw@0.10.1-rohit-static-analysis-preset-coverage.1","maintainers":[{"name":"r0hitsh","email":"rs@rohit.sh"}],"homepage":"https://github.com/archon-research/uikit#readme","bugs":{"url":"https://github.com/archon-research/uikit/issues"},"dist":{"shasum":"e2e34f1e55b3ecb35c0ff8af4657efacea4068d8","tarball":"https://registry.npmjs.org/@archon-research/http-client-msw/-/http-client-msw-0.10.1-rohit-static-analysis-preset-coverage.1.tgz","fileCount":41,"integrity":"sha512-HBQGrJPHCpx/aPQfVApLvsMJu9d997mv/X015U2pGDfX+kZ+GokoA1RbEX8WTlr/cBrRlgCgzPsn9zrIqBr7DA==","signatures":[{"sig":"MEYCIQCrkUnvEgXdkhnfEWUZjVdNcQ4jC6j3dq009NW1B80oGQIhAN8c4Sob1gxYmPJpEYDVc7L+vbGrEYjrF5VpgHQwVG82","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@archon-research%2fhttp-client-msw@0.10.1-rohit-static-analysis-preset-coverage.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":120725},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./node":{"types":"./dist/node.d.ts","default":"./dist/node.js"},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"}},"gitHead":"390b3a9c9790cd8d16c3ab9bdc1fbfa79ed205c2","scripts":{"lint":"oxlint -c oxlint.config.ts src","test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","format":"oxfmt -c oxfmt.config.ts --write src","prepare":"npm run build","lint:fix":"oxlint -c oxlint.config.ts --fix src","type:check":"tsc -p tsconfig.json --noEmit","format:check":"oxfmt -c oxfmt.config.ts --check src"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dfc6e587-61c8-4cf7-aacc-0a0cd3877b9b"}},"repository":{"url":"git+https://github.com/archon-research/uikit.git"},"_npmVersion":"12.0.2","description":"Typed [msw](https://mswjs.io) mocks for `@archon-research/http-client-core`.","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"openapi-msw":"2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"msw":"2.14.6","oxfmt":"0.62.0","oxlint":"1.77.0","vitest":"^4.1.9","@types/node":"24.13.3","@archon-research/tsconfig":"*","@archon-research/oxfmt-config":"*","@archon-research/oxlint-config":"*"},"peerDependencies":{"msw":"^2.10.5"},"_npmOperationalInternal":{"tmp":"tmp/http-client-msw_0.10.1-rohit-static-analysis-preset-coverage.1_1787909429041_0.25072562029722856","host":"s3://npm-registry-packages-npm-production"}},"0.10.1":{"name":"@archon-research/http-client-msw","version":"0.10.1","_id":"@archon-research/http-client-msw@0.10.1","maintainers":[{"name":"r0hitsh","email":"rs@rohit.sh"}],"homepage":"https://github.com/archon-research/uikit#readme","bugs":{"url":"https://github.com/archon-research/uikit/issues"},"dist":{"shasum":"b08c1dc132d4b1afc16cb55c9a118af2fbaa6eb3","tarball":"https://registry.npmjs.org/@archon-research/http-client-msw/-/http-client-msw-0.10.1.tgz","fileCount":41,"integrity":"sha512-pPI+mRykN1N2G1oHON304MUJ2eyceCdjWZA5KPv7AgForhuTNDYQFnEkvXQMIUEn6IC4ZQNy0j1uGWmjVyrrMw==","signatures":[{"sig":"MEUCIQD7yDp3spwAwOhIGbpEVfKyJaZhSacKf1PBXHtMISLGiQIgSi0ZL3SWngFu26BJDJwtEWLXo3Cdv/kWmifBSZJ0nuc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@archon-research%2fhttp-client-msw@0.10.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":122161},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./node":{"types":"./dist/node.d.ts","default":"./dist/node.js"},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"}},"gitHead":"1a3806d230e3ccd4ca2938c408f3216444954eeb","scripts":{"lint":"oxlint -c oxlint.config.ts --max-warnings=0 src","test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","format":"oxfmt -c oxfmt.config.ts --write src","prepare":"npm run build","lint:fix":"oxlint -c oxlint.config.ts --fix src","type:check":"tsc -p tsconfig.json --noEmit","format:check":"oxfmt -c oxfmt.config.ts --check src"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dfc6e587-61c8-4cf7-aacc-0a0cd3877b9b"}},"repository":{"url":"git+https://github.com/archon-research/uikit.git"},"_npmVersion":"12.0.2","description":"Typed [msw](https://mswjs.io) mocks for `@archon-research/http-client-core`.","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"openapi-msw":"2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"2.15.0","oxfmt":"0.62.0","oxlint":"1.77.0","vitest":"^4.1.9","@types/node":"24.13.3","@archon-research/tsconfig":"*","@archon-research/oxfmt-config":"*","@archon-research/oxlint-config":"*"},"peerDependencies":{"msw":"^2.10.5"},"_npmOperationalInternal":{"tmp":"tmp/http-client-msw_0.10.1_1788163334084_0.6568331345576006","host":"s3://npm-registry-packages-npm-production"}},"0.11.0-rohit-synced-tooltip-readout.1":{"name":"@archon-research/http-client-msw","version":"0.11.0-rohit-synced-tooltip-readout.1","_id":"@archon-research/http-client-msw@0.11.0-rohit-synced-tooltip-readout.1","maintainers":[{"name":"r0hitsh","email":"rs@rohit.sh"}],"homepage":"https://github.com/archon-research/uikit#readme","bugs":{"url":"https://github.com/archon-research/uikit/issues"},"dist":{"shasum":"51533cd4fdaf57febf29a2fc3f0b15e0914cb4dc","tarball":"https://registry.npmjs.org/@archon-research/http-client-msw/-/http-client-msw-0.11.0-rohit-synced-tooltip-readout.1.tgz","fileCount":41,"integrity":"sha512-s/WR9b2tEqkfiMDl8mXj5Y2ZqloHAYMFZYX3gBGEvkCGt5ulRc+wN38BOmkyUioewEnxytwztste6fgM8Z9JOA==","signatures":[{"sig":"MEUCIQChncN+Y8A/MeoTBHsICBrGGdUOgL+K8ukCZgWYwOnSbgIgId5EShAOrNflX3Oh9CjMGDY5knFlwyWBJMWliuCHLVo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIHujjY3R+fpYTjDmKcGUNiZiTyWpq0NgstxrWWKYLRMCAiBkklwGlt+GpghpF6u46HIpm/VWI/KIN37yY56eKqcFTQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@archon-research%2fhttp-client-msw@0.11.0-rohit-synced-tooltip-readout.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":122192},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./node":{"types":"./dist/node.d.ts","default":"./dist/node.js"},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"}},"gitHead":"b2a7afc91e801d10385309dc479149188c80c34b","scripts":{"lint":"oxlint -c oxlint.config.ts --max-warnings=0 src","test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","format":"oxfmt -c oxfmt.config.ts --write src","prepare":"npm run build","lint:fix":"oxlint -c oxlint.config.ts --fix src","type:check":"tsc -p tsconfig.json --noEmit","format:check":"oxfmt -c oxfmt.config.ts --check src"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dfc6e587-61c8-4cf7-aacc-0a0cd3877b9b"}},"repository":{"url":"git+https://github.com/archon-research/uikit.git"},"_npmVersion":"12.0.2","description":"Typed [msw](https://mswjs.io) mocks for `@archon-research/http-client-core`.","directories":{},"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"openapi-msw":"2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"msw":"2.15.0","oxfmt":"0.65.0","oxlint":"1.80.0","vitest":"^4.1.9","@types/node":"24.13.3","@archon-research/tsconfig":"*","@archon-research/oxfmt-config":"*","@archon-research/oxlint-config":"*"},"peerDependencies":{"msw":"^2.10.5"},"_npmOperationalInternal":{"tmp":"tmp/http-client-msw_0.11.0-rohit-synced-tooltip-readout.1_1789472500092_0.9587529754323965","host":"s3://npm-registry-packages-npm-production"}},"0.11.0":{"_id":"@archon-research/http-client-msw@0.11.0","bugs":{"url":"https://github.com/archon-research/uikit/issues"},"dist":{"shasum":"54fe47eb3e39027028ed98c28a6844a8cf3b5ee4","tarball":"https://registry.npmjs.org/@archon-research/http-client-msw/-/http-client-msw-0.11.0.tgz","fileCount":41,"integrity":"sha512-VFWEyYqtga6zXNCA/fmwEY5dv+6CCmpe53LIp/ZW3I7zhJ5+rPG6x1psni3c+5r0efWS+SKyO7vjTC0eiNzp5Q==","signatures":[{"sig":"MEUCIEP32+8ZFwQbuF/h5qYIbW+3Izfo/S+5vYPPyDvcinBkAiEA61V3EtUkoptK1ciceJ9wLvOX3BcZ21bs1mInDQTofJs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHDxabtrwOr94UqylMOqa4prkrcFObWBjtdY7eV54aVXAiEAwr5aHAKBmhar7prsf7KXW3MtuYLWgE5UiCSEowDMvQg="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@archon-research%2fhttp-client-msw@0.11.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":122161},"main":"dist/index.js","name":"@archon-research/http-client-msw","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./node":{"types":"./dist/node.d.ts","default":"./dist/node.js"},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"}},"gitHead":"ac3b8ae8fa3f561a78f8e1b4c6eca8d1140d06c3","scripts":{"lint":"oxlint -c oxlint.config.ts --max-warnings=0 src","test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","format":"oxfmt -c oxfmt.config.ts --write src","prepare":"npm run build","lint:fix":"oxlint -c oxlint.config.ts --fix src","type:check":"tsc -p tsconfig.json --noEmit","format:check":"oxfmt -c oxfmt.config.ts --check src"},"version":"0.11.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dfc6e587-61c8-4cf7-aacc-0a0cd3877b9b"}},"homepage":"https://github.com/archon-research/uikit#readme","repository":{"url":"git+https://github.com/archon-research/uikit.git"},"_npmVersion":"12.0.2","description":"Typed [msw](https://mswjs.io) mocks for `@archon-research/http-client-core`.","directories":{},"maintainers":[{"name":"r0hitsh","email":"rs@rohit.sh"}],"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"openapi-msw":"2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"msw":"2.15.0","oxfmt":"0.65.0","oxlint":"1.80.0","vitest":"^4.1.9","@types/node":"24.13.3","@archon-research/tsconfig":"*","@archon-research/oxfmt-config":"*","@archon-research/oxlint-config":"*"},"peerDependencies":{"msw":"^2.10.5"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/http-client-msw_0.11.0_1789503762531_0.820247125104234"}}},"time":{"created":"2026-08-20T14:11:29.906Z","modified":"2026-09-15T20:22:42.954Z","0.10.0-rohit-pre-release-consumer-fixes.1":"2026-08-20T14:11:30.276Z","0.10.0-rohit-pre-release-consumer-fixes.3":"2026-08-21T13:48:46.809Z","0.10.0":"2026-08-24T11:09:54.808Z","0.11.0-rohit-publish-only-affected-packages.1":"2026-08-27T18:45:56.574Z","0.10.1-rohit-publish-only-affected-packages.1":"2026-08-27T19:58:42.743Z","0.10.1-rohit-publish-only-affected-packages.2":"2026-08-27T20:40:28.240Z","0.10.1-rohit-static-analysis-preset-coverage.1":"2026-08-28T09:30:29.203Z","0.10.1":"2026-08-31T08:02:14.242Z","0.11.0-rohit-synced-tooltip-readout.1":"2026-09-15T11:41:40.178Z","0.11.0":"2026-09-15T20:22:42.609Z"},"bugs":{"url":"https://github.com/archon-research/uikit/issues"},"homepage":"https://github.com/archon-research/uikit#readme","repository":{"url":"git+https://github.com/archon-research/uikit.git"},"description":"Typed [msw](https://mswjs.io) mocks for `@archon-research/http-client-core`.","maintainers":[{"name":"r0hitsh","email":"rs@rohit.sh"}],"readme":"# @archon-research/http-client-msw\n\nTyped [msw](https://mswjs.io) mocks for `@archon-research/http-client-core`.\n\nThe generated OpenAPI `paths` type **is** the endpoint definition. The same type\nthat drives `createApiClient` and `createQueryApi` drives the mock handlers, so a\nhandler path, its params, and the body it answers with are checked against the\ncontract — a fixture that no longer matches the API fails to typecheck instead of\nquietly making every test that reads it a false pass. See\n[DESIGN.md](./DESIGN.md) for the contract, the `openapi-msw` verdict, and the\ndeliberate limits.\n\n## Installation\n\n```bash\nnpm install -D @archon-research/http-client-msw msw\n```\n\n`msw` is a peer dependency: the service worker script is generated from the\ninstalled msw and version-checked at start, so the app has to own the version.\n\nGenerate the worker script once and commit it:\n\n```bash\nnpx msw init public --save\n```\n\n`public/mockServiceWorker.js` is a build artifact that belongs in git — the app\nserves it, and `--save` records the path in `package.json` so msw warns when an\nupgrade leaves it stale. Adjust `public` if the bundler serves static files from\nelsewhere.\n\n## Usage\n\n### 1. Generate types\n\n```bash\nnpx uikit-openapi-generate --schema openapi.json --output src/api.types.ts\n```\n\nThe same `src/api.types.ts` the client and query layer already use. Nothing about\nthe mocks is described twice.\n\n### 2. Write the handlers\n\nKeep them in one module — a `src/mocks/` folder in the app, or a workspace\npackage (`@your-scope/api-mocks`) when a Playwright suite and a unit-test suite\nboth consume them:\n\n```ts\n// src/mocks/index.ts\nimport {\n  createMockApi,\n  createMockStore,\n  createSeededRng,\n  mockDelay,\n  setupMocks,\n} from '@archon-research/http-client-msw';\n\nimport type { paths } from '../api.types';\n\n// The same baseUrl the app passes to `createApiClient`.\nconst mock = createMockApi<paths>({ baseUrl: '/api' });\n\nconst rng = createSeededRng(1337);\nconst positions = createMockStore(() =>\n  Array.from({ length: 8 }, (_, index) => ({\n    id: `p${index + 1}`,\n    label: `Position ${index + 1}`,\n    health: rng.int(50, 200) / 100,\n  })),\n);\n\nexport const mocks = setupMocks(\n  [\n    mock.get('/positions', async ({ query, response }) => {\n      await mockDelay(300);\n      const limit = Number(query.get('limit') ?? '25');\n\n      return response(200).json(positions.list().slice(0, limit));\n    }),\n\n    mock.get('/positions/{id}', ({ params, response }) => {\n      const position = positions.get(params.id);\n\n      // Both branches are checked: 200 takes a Position, 404 takes the\n      // operation's own error body.\n      return position\n        ? response(200).json(position)\n        : response(404).json({ message: `no position ${params.id}` });\n    }),\n\n    mock.post('/positions/{id}/close', ({ params, response }) =>\n      positions.remove(params.id)\n        ? response(204).empty()\n        : response(404).json({ message: 'already closed' }),\n    ),\n  ],\n  // Everything a handler writes to is restored by `reset()`. Order matters:\n  // callbacks run as declared, and the store's seed function draws from the rng,\n  // so the rng has to be rewound first or each reset re-seeds from a different\n  // point in the sequence.\n  { onReset: [rng.reset, positions.reset] },\n);\n```\n\nFor a route the OpenAPI document does not describe at all — an auth callback on\nanother host, say — `mock.untyped` is msw's own `http` object, and\n`response.untyped(new Response(...))` returns an arbitrary response from a typed\nhandler.\n\n### 3. Run them in the browser (dev, and Playwright)\n\nStart the worker **before** rendering, so no component can fire a request the\nworker is not yet intercepting:\n\n```tsx\n// src/main.tsx\nimport { createRoot } from 'react-dom/client';\n\nimport { App } from './App';\n\nif (import.meta.env.VITE_API_MOCKS === '1') {\n  const { setupMockWorker } = await import(\n    '@archon-research/http-client-msw/browser'\n  );\n  const { mocks } = await import('./mocks');\n\n  // `baseUrl` here is the app's public base path, not the API base: it locates\n  // `mockServiceWorker.js` for a subpath deployment.\n  const mockWorker = setupMockWorker(mocks, {\n    baseUrl: import.meta.env.BASE_URL,\n  });\n\n  // Reachable from a Playwright test; see below.\n  Object.assign(window, { resetMocks: () => mockWorker.reset() });\n\n  await mockWorker.start();\n}\n\ncreateRoot(document.getElementById('root')!).render(<App />);\n```\n\n```bash\nVITE_API_MOCKS=1 npm run dev\n```\n\nThe gate matters as much as the mocks. Vite replaces `import.meta.env.VITE_*`\nstatically, so with the flag unset the whole branch is dead code and neither msw\nnor the fixtures reach a production bundle — which is only true because both\nimports are dynamic and behind the check. A runtime `process.env` read or a\nstatic `import` of the mocks module would bundle them either way.\n\n`start()` is idempotent, so a hot reload or a test fixture may call it again\nwithout re-registering the worker. `stop()` releases that, so a later `start()`\nregisters again rather than resolving into a stopped worker.\n\nFor a Playwright suite, serve the app with the same flag on — the browser worker\nanswers from the same handlers — and reset between tests through the hook the\nentry exposed:\n\n```ts\n// tests/positions.spec.ts\ndeclare global {\n  interface Window {\n    resetMocks?: () => void;\n  }\n}\n\ntest.beforeEach(async ({ page }) => {\n  await page.goto('/');\n  await page.evaluate(() => window.resetMocks?.());\n});\n```\n\nA full reload re-runs the entry and re-seeds the stores anyway; the explicit\n`resetMocks()` matters when a test navigates within the app instead.\n\n### 4. Run them in vitest\n\nSame handler array, node interceptors:\n\n```ts\n// src/test-setup.ts\nimport { setupMockServer } from '@archon-research/http-client-msw/node';\nimport { afterAll, afterEach, beforeAll } from 'vitest';\n\nimport { mocks } from './mocks';\n\nconst mockServer = setupMockServer(mocks);\n\n// `onUnhandledRequest` defaults to 'error': an unmocked request in a suite is a\n// hole in the fixtures, not something to warn about and scroll past.\nbeforeAll(() => mockServer.listen());\nafterEach(() => mockServer.reset());\nafterAll(() => mockServer.close());\n```\n\n```ts\n// vitest.config.ts\nexport default defineConfig({\n  test: { setupFiles: ['./src/test-setup.ts'] },\n});\n```\n\n`reset()` covers both kinds of leakage between tests: state a handler wrote, and\nhandlers a test installed with `mockServer.server.use(...)`.\n\nAn origin-relative `baseUrl` works in both environments because handler paths are\nmatched on any origin by default — msw would otherwise leave a relative path\nunmatched under `setupServer`, where every request URL is absolute. Pass\n`origin: 'exact'` to `createMockApi` to opt out; see\n[DESIGN.md](./DESIGN.md#handler-path-and-origin-matching).\n\n## API surface\n\n| Export | What it does |\n| --- | --- |\n| `createMockApi<TPaths>(options?)` | Typed handler factories per method, plus `untyped` |\n| `setupMocks(handlers, options?)` | Bundles handlers with their state resets, environment-neutral |\n| `setupMockWorker(mocks, options?)` | **`/browser`.** Serves them from a service worker; idempotent `start()` |\n| `setupMockServer(mocks)` | **`/node`.** Serves them from msw's node interceptors |\n| `createMockStore(seedFn, options?)` | In-memory collection so a write shows up in the next read |\n| `createSeededRng(seed)` | Deterministic PRNG for reproducible generated fixtures |\n| `mockDelay(ms \\| { test, dev })` | Env-aware latency; no delay under test by default |\n| `resolveMockDelay` / `isTestEnvironment` | The delay decision, for a consumer's own helpers |\n| `resolveWorkerScriptUrl` / `normalizeApiBaseUrl` / `resolveHandlerBase` / `isAbsoluteUrl` | The URL primitives |\n| `buildWorkerStartOptions` / `createIdempotentStart` | **`/browser`.** The start decisions, unit-testable |\n\nHandler and resolver types are re-exported as `MockHandler`,\n`MockResponseResolver`, `MockPathsFor`, `MockRequestBodyFor`, and\n`MockResponseBodyFor`, so a helper written around a resolver types against the\nsame msw copy this package resolves.\n\n## Not in v1\n\nHandlers generated from the OpenAPI document, runtime request-body validation,\nnamed scenario switching, GraphQL/websocket typing, per-test handler isolation\nvia msw's `boundary`, and fault injection are deliberately out of scope — see\n[DESIGN.md](./DESIGN.md#deliberately-out-of-v1).\n\n## Peer dependencies\n\n- `msw` (`^2.10.5`)\n\n## See also\n\n- [http-client-core](../http-client-core) for the client factory, the OpenAPI\n  type generator, and the zod helpers\n- [http-client-react](../http-client-react) for the TanStack Query layer keyed off\n  the same `paths` type\n","readmeFilename":"README.md"}