{"_id":"@ait-kit/api-client","_rev":"9-eeaf7f6e8731f96b2150e2ff6ea1709d","name":"@ait-kit/api-client","dist-tags":{"latest":"0.5.0"},"versions":{"0.1.0":{"name":"@ait-kit/api-client","version":"0.1.0","_id":"@ait-kit/api-client@0.1.0","maintainers":[{"name":"imjlk","email":"i@m.junglei.kim"}],"dist":{"shasum":"d7ec8fb7e5f6cdc43af66cd0f6ed7bdcbba18813","tarball":"https://registry.npmjs.org/@ait-kit/api-client/-/api-client-0.1.0.tgz","fileCount":4,"integrity":"sha512-01MomO65KULOyKIhNttHuA4MjQphW3jOUCKTMHd71NOO64TqIWEbQSk1l2vfHMWbV7xrv0zEKlMAbFOYA7/p5A==","signatures":[{"sig":"MEUCIQDQn5wDb0mrqp2MHf4Ua3zBCnQCKd8DGWNV3h6653CzvwIgCMunKffnvW59w7BxwbwADa+doDgRYOlqGzNhlOqvZhk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6435},"type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"f5e586c6abb92295fae5e8602d0b80169fb99d3d","scripts":{"build":"rm -rf dist && tsc -p tsconfig.build.json && bun build src/index.ts --outfile dist/index.js --format esm --target browser --packages external","prepack":"bun run build","typecheck":"tsc -p tsconfig.json"},"_npmUser":{"name":"imjlk","email":"i@m.junglei.kim"},"_npmVersion":"10.9.2","directories":{},"sideEffects":false,"_nodeVersion":"23.7.0","dependencies":{"@ait-kit/api-core":"0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/api-client_0.1.0_1782904100327_0.6196319811501181","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@ait-kit/api-client","version":"0.1.1","_id":"@ait-kit/api-client@0.1.1","maintainers":[{"name":"imjlk","email":"i@m.junglei.kim"}],"homepage":"https://github.com/imjlk/ait-kit#readme","bugs":{"url":"https://github.com/imjlk/ait-kit/issues"},"dist":{"shasum":"59199f68092debb1a1401500f0a17f1ef5103136","tarball":"https://registry.npmjs.org/@ait-kit/api-client/-/api-client-0.1.1.tgz","fileCount":4,"integrity":"sha512-aDa2fxqKk46sIU/OLnhQE40T7CdY/RO6ltPRaSwGzezHAvPH1wPuANmQqIliWVPSOPYTqtD1CxlFmS1gBxXAQg==","signatures":[{"sig":"MEQCIF3mcQTh7rF7oVKkhK/216BaQN28dLB9PIfVKRpJv6c6AiA/oeu3RkwgrsjMyz1N0jiPJHa67aq7RPOXh7h9sZVJtQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ait-kit%2fapi-client@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7902},"type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"b104891f6ff9389e3de0f2a77585ac3d2138ba51","scripts":{"build":"rm -rf dist && tsc -p tsconfig.build.json && bun build src/index.ts --outfile dist/index.js --format esm --target browser --packages external","prepack":"bun run build","typecheck":"tsc -p tsconfig.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0802ff16-6d54-486b-a304-949eda3ee296"}},"repository":{"url":"git+https://github.com/imjlk/ait-kit.git","type":"git"},"_npmVersion":"11.13.0","directories":{},"sideEffects":false,"_nodeVersion":"24.17.0","dependencies":{"@ait-kit/api-core":"0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/api-client_0.1.1_1782910478642_0.7303040963406249","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@ait-kit/api-client","version":"0.1.2","_id":"@ait-kit/api-client@0.1.2","maintainers":[{"name":"imjlk","email":"i@m.junglei.kim"}],"homepage":"https://github.com/imjlk/ait-kit#readme","bugs":{"url":"https://github.com/imjlk/ait-kit/issues"},"dist":{"shasum":"2e96f0452663911d2612ee370378a92d76f8828a","tarball":"https://registry.npmjs.org/@ait-kit/api-client/-/api-client-0.1.2.tgz","fileCount":4,"integrity":"sha512-bp1/6/OTri0/SObxPJikZ6iK9LD6gPa5EH0ZW4C0OYrylID9+gU9bn9Fq3eoTZ503v+vysiENxkwE8euSg50TQ==","signatures":[{"sig":"MEQCIFMkNRmyEISEJrAnf9ARrkbnWYt24B4er3LW7KBtr98WAiAZaOz0ZVeBNKRUP43l8qK+VTbfvPxop8jMGm+lpswwsw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ait-kit%2fapi-client@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7902},"type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"310a89a99fd1bcdbd37b5eaf2f9fc673c2ab49e1","scripts":{"build":"rm -rf dist && tsc -p tsconfig.build.json && bun build src/index.ts --outfile dist/index.js --format esm --target browser --packages external","prepack":"bun run build","typecheck":"tsc -p tsconfig.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0802ff16-6d54-486b-a304-949eda3ee296"}},"repository":{"url":"git+https://github.com/imjlk/ait-kit.git","type":"git"},"_npmVersion":"11.13.0","directories":{},"sideEffects":false,"_nodeVersion":"24.17.0","dependencies":{"@ait-kit/api-core":"0.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/api-client_0.1.2_1782923061136_0.7206173450007725","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@ait-kit/api-client","version":"0.2.0","keywords":["apps-in-toss","toss","mtls","http-client","typescript"],"license":"MIT","_id":"@ait-kit/api-client@0.2.0","maintainers":[{"name":"imjlk","email":"i@m.junglei.kim"}],"homepage":"https://github.com/imjlk/ait-kit#readme","bugs":{"url":"https://github.com/imjlk/ait-kit/issues"},"dist":{"shasum":"dd56419b11a3d28fbe2bfda4cbc1cbcefc68a58c","tarball":"https://registry.npmjs.org/@ait-kit/api-client/-/api-client-0.2.0.tgz","fileCount":6,"integrity":"sha512-Qko4YjkXDmRajl6+v3QblMkSg8bRywcguAyGfTsT1vtHczhSaTvtdIDHjIWDfG/IxC7FUmQ3QA9bfh9Lxem/rA==","signatures":[{"sig":"MEYCIQDlJFs/qgSfcrw/e6fTOrQy/neL+GqJ8X/2u8R49twvZAIhAJYF3ADiTnIt0YkHgMTdfxu4yUlq5ZuAwZaz1TKYXvvg","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ait-kit%2fapi-client@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11244},"type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"7be148dcf1b2fcf48193684d264cecb9c0296207","scripts":{"build":"rm -rf dist && tsc -p tsconfig.build.json && bun build src/index.ts --outfile dist/index.js --format esm --target browser --packages external","prepack":"bun run build","typecheck":"tsc -p tsconfig.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0802ff16-6d54-486b-a304-949eda3ee296"}},"repository":{"url":"git+https://github.com/imjlk/ait-kit.git","type":"git","directory":"packages/api-client"},"_npmVersion":"11.16.0","description":"Typed HTTP client helpers for Apps in Toss mTLS proxy services.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","dependencies":{"@ait-kit/api-core":"0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/api-client_0.2.0_1783936016860_0.45339607388227443","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@ait-kit/api-client","version":"0.3.0","keywords":["apps-in-toss","toss","mtls","http-client","typescript"],"license":"MIT","_id":"@ait-kit/api-client@0.3.0","maintainers":[{"name":"imjlk","email":"i@m.junglei.kim"}],"homepage":"https://github.com/imjlk/ait-kit#readme","bugs":{"url":"https://github.com/imjlk/ait-kit/issues"},"dist":{"shasum":"ddd8dad3d04b9456fbbc6e9a17e6277b80877c7b","tarball":"https://registry.npmjs.org/@ait-kit/api-client/-/api-client-0.3.0.tgz","fileCount":11,"integrity":"sha512-7sJA/pgxv7PCLIh2TWdRCx1+XxJALxF2w5ARnzvj/IY9POlm/PxoaScbe9aMoDNo8RrzQwzIyWPgsDs4n3SzQw==","signatures":[{"sig":"MEUCICeEIaEoLEIKPbSF14L5wBYhErgN5lGRzdgbdJbE9clmAiEA5u9aIXBDjTzL6Bp4brfK+hvtUF7tVIlQBpFi6SYbWKE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ait-kit%2fapi-client@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27449},"type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./node":{"types":"./dist/node/index.d.ts","import":"./dist/node/index.js"}},"gitHead":"17574608ab580ca41441cea4cc12a3c4c5c7564c","scripts":{"test":"bun test test","build":"rm -rf dist && tsc -p tsconfig.build.json && bun build src/index.ts --outfile dist/index.js --format esm --target browser --packages external && bun build src/node/index.ts --outfile dist/node/index.js --format esm --target node --packages external","prepack":"bun run build","typecheck":"tsc -p tsconfig.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0802ff16-6d54-486b-a304-949eda3ee296"}},"repository":{"url":"git+https://github.com/imjlk/ait-kit.git","type":"git","directory":"packages/api-client"},"_npmVersion":"11.19.0","description":"Typed HTTP client helpers for Apps in Toss mTLS proxy services.","directories":{},"sideEffects":["./src/node/**"],"_nodeVersion":"24.20.0","dependencies":{"@ait-kit/api-core":"0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/api-client_0.3.0_1789476415017_0.3541550305542931","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@ait-kit/api-client","version":"0.4.0","keywords":["apps-in-toss","toss","mtls","http-client","typescript"],"license":"MIT","_id":"@ait-kit/api-client@0.4.0","maintainers":[{"name":"imjlk","email":"i@m.junglei.kim"}],"homepage":"https://github.com/imjlk/ait-kit#readme","bugs":{"url":"https://github.com/imjlk/ait-kit/issues"},"dist":{"shasum":"72faed4dddd290f22be01e04ab2714e8cc69c549","tarball":"https://registry.npmjs.org/@ait-kit/api-client/-/api-client-0.4.0.tgz","fileCount":11,"integrity":"sha512-nx/B+ezs3YqFRQddNMh0EZzABtt1i3by/hHhomxRy7oSSCwgvVmaT8zDFp53k9TQ2Pd45LLgUDQmrZ+Fo4zzXw==","signatures":[{"sig":"MEQCIDypMBo94VNzBV10+oYwBHqOV7NUQClOR3iojhZRCOzqAiBfyp3kNj7iXW7ux/qxDTH08Aus1OvbSM2lUGzztiOaGQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ait-kit%2fapi-client@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27449},"type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./node":{"types":"./dist/node/index.d.ts","import":"./dist/node/index.js"}},"gitHead":"0365625b8981cbe95e9ab6af48f53775580f2591","scripts":{"test":"bun test test","build":"rm -rf dist && tsc -p tsconfig.build.json && bun build src/index.ts --outfile dist/index.js --format esm --target browser --packages external && bun build src/node/index.ts --outfile dist/node/index.js --format esm --target node --packages external","prepack":"bun run build","typecheck":"tsc -p tsconfig.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0802ff16-6d54-486b-a304-949eda3ee296"}},"repository":{"url":"git+https://github.com/imjlk/ait-kit.git","type":"git","directory":"packages/api-client"},"_npmVersion":"11.19.0","description":"Typed HTTP client helpers for Apps in Toss mTLS proxy services.","directories":{},"sideEffects":["./src/node/**"],"_nodeVersion":"24.20.0","dependencies":{"@ait-kit/api-core":"0.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/api-client_0.4.0_1789509994953_0.5025821184840369","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@ait-kit/api-client","version":"0.4.1","keywords":["apps-in-toss","toss","mtls","http-client","typescript"],"license":"MIT","_id":"@ait-kit/api-client@0.4.1","maintainers":[{"name":"imjlk","email":"i@m.junglei.kim"}],"homepage":"https://github.com/imjlk/ait-kit#readme","bugs":{"url":"https://github.com/imjlk/ait-kit/issues"},"dist":{"shasum":"3337d1b8410154e753f2908c16b11ffaff0d119e","tarball":"https://registry.npmjs.org/@ait-kit/api-client/-/api-client-0.4.1.tgz","fileCount":11,"integrity":"sha512-g4H7KkYcL0D9BDt3ZYJxbwte3j/JudO6tV8wGypRDBaoosN1DOx8+EqbMzgdbxlFBRJw43ycoHzK+gaFRrkkog==","signatures":[{"sig":"MEUCIQD1DSkvEs5h48G4UCl086RyqYvF+otQ7qAqyPytmOZIRQIgPR6oWFyDJq4z01a7oyKaomqK6YRnNrzVWcgfXw4E3zE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ait-kit%2fapi-client@0.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28312},"type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./node":{"types":"./dist/node/index.d.ts","import":"./dist/node/index.js"}},"gitHead":"490c5902d18b0a3dd9caeae9a1e17cf3818639c5","scripts":{"test":"bun run --filter '@ait-kit/api-core' build && bun run build && bun test test","build":"rm -rf dist && tsc -p tsconfig.build.json && bun build src/index.ts --outfile dist/index.js --format esm --target browser --packages external && bun build src/node/index.ts --outfile dist/node/index.js --format esm --target node --packages external","prepack":"bun run build","typecheck":"tsc -p tsconfig.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0802ff16-6d54-486b-a304-949eda3ee296"}},"repository":{"url":"git+https://github.com/imjlk/ait-kit.git","type":"git","directory":"packages/api-client"},"_npmVersion":"11.19.0","description":"Typed HTTP client helpers for Apps in Toss mTLS proxy services.","directories":{},"sideEffects":["./src/node/**"],"_nodeVersion":"24.20.0","dependencies":{"@ait-kit/api-core":"0.4.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/api-client_0.4.1_1789553023374_0.8899903960068887","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"@ait-kit/api-client","version":"0.4.2","keywords":["apps-in-toss","toss","mtls","http-client","typescript"],"license":"MIT","_id":"@ait-kit/api-client@0.4.2","maintainers":[{"name":"imjlk","email":"i@m.junglei.kim"}],"homepage":"https://github.com/imjlk/ait-kit#readme","bugs":{"url":"https://github.com/imjlk/ait-kit/issues"},"dist":{"shasum":"43e5dcbe70c0b0e383a04991f1e1dd1f27458039","tarball":"https://registry.npmjs.org/@ait-kit/api-client/-/api-client-0.4.2.tgz","fileCount":11,"integrity":"sha512-R9ambMXRYA9Ry7Uputa87LtaxcoXLZBPCOOiMyIzdHKIIhAm6TeseSmtGnSUje5iWoe238+XnAZkbrllKRijHQ==","signatures":[{"sig":"MEQCIGSY3ItJgUqPAdLC4LGHc8mXaycJfXDUryjCAdqVpX5AAiAZUub7hg6drEFFt5fR29XDlRJ2y2BoJY/7AHYvHMUwZQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ait-kit%2fapi-client@0.4.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":30030},"type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./node":{"types":"./dist/node/index.d.ts","import":"./dist/node/index.js"}},"gitHead":"566a2ac220cba19e1aa11c909624a5c3576da625","scripts":{"test":"bun run --filter '@ait-kit/api-core' build && bun run build && bun test test","build":"rm -rf dist && tsc -p tsconfig.build.json && bun build src/index.ts --outfile dist/index.js --format esm --target browser --packages external && bun build src/node/index.ts --outfile dist/node/index.js --format esm --target node --packages external","prepack":"bun run build","typecheck":"tsc -p tsconfig.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0802ff16-6d54-486b-a304-949eda3ee296"}},"repository":{"url":"git+https://github.com/imjlk/ait-kit.git","type":"git","directory":"packages/api-client"},"_npmVersion":"11.19.0","description":"Typed HTTP client helpers for Apps in Toss mTLS proxy services.","directories":{},"sideEffects":["./src/node/**"],"_nodeVersion":"24.20.0","dependencies":{"@ait-kit/api-core":"0.4.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/api-client_0.4.2_1789576811824_0.6712546432419604","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@ait-kit/api-client","version":"0.5.0","description":"Typed HTTP client helpers for Apps in Toss mTLS proxy services.","type":"module","license":"MIT","repository":{"type":"git","url":"git+https://github.com/imjlk/ait-kit.git","directory":"packages/api-client"},"homepage":"https://github.com/imjlk/ait-kit#readme","bugs":{"url":"https://github.com/imjlk/ait-kit/issues"},"keywords":["apps-in-toss","toss","mtls","http-client","typescript"],"sideEffects":["./src/node/**"],"types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./node":{"types":"./dist/node/index.d.ts","import":"./dist/node/index.js"}},"scripts":{"typecheck":"tsc -p tsconfig.json","build":"rm -rf dist && tsc -p tsconfig.build.json && bun build src/index.ts --outfile dist/index.js --format esm --target browser --packages external && bun build src/node/index.ts --outfile dist/node/index.js --format esm --target node --packages external","test":"bun run --filter '@ait-kit/api-core' build && bun run build && bun test test","prepack":"bun run build"},"dependencies":{"@ait-kit/api-core":"0.5.0"},"publishConfig":{"access":"public"},"gitHead":"349a359c9fa613e71903946203a6ac2aff1ae2ac","_id":"@ait-kit/api-client@0.5.0","_nodeVersion":"24.20.0","_npmVersion":"11.19.0","dist":{"integrity":"sha512-cRU97hyxfgATpfLSk9mE6mWh+Wm7/tCO7o1+0OY3Nyi4TQwbVml0GRnb/VyOsLNgn6nOgGj1DmuqCxTrgPOGag==","shasum":"1826e8a2555fffa1d9e6a81a9f388a13cd4fbcf7","tarball":"https://registry.npmjs.org/@ait-kit/api-client/-/api-client-0.5.0.tgz","fileCount":11,"unpackedSize":30030,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ait-kit%2fapi-client@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFWjvv/AiaBWj50e3sjUT4+Wyan1E1WYp0jMbh39mp/BAiEA6Lh1BAajASa/ff49q3zCF3ck+ruGpDjZ5lYY3iF1VnI="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0802ff16-6d54-486b-a304-949eda3ee296"}},"directories":{},"maintainers":[{"name":"imjlk","email":"i@m.junglei.kim"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/api-client_0.5.0_1789611752594_0.98035727180054"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T11:08:20.187Z","modified":"2026-09-17T02:22:32.995Z","0.1.0":"2026-07-01T11:08:20.493Z","0.1.1":"2026-07-01T12:54:38.780Z","0.1.2":"2026-07-01T16:24:21.284Z","0.2.0":"2026-07-13T09:46:57.003Z","0.3.0":"2026-09-15T12:46:55.179Z","0.4.0":"2026-09-15T22:06:35.099Z","0.4.1":"2026-09-16T10:03:43.509Z","0.4.2":"2026-09-16T16:40:11.976Z","0.5.0":"2026-09-17T02:22:32.721Z"},"bugs":{"url":"https://github.com/imjlk/ait-kit/issues"},"license":"MIT","homepage":"https://github.com/imjlk/ait-kit#readme","keywords":["apps-in-toss","toss","mtls","http-client","typescript"],"repository":{"type":"git","url":"git+https://github.com/imjlk/ait-kit.git","directory":"packages/api-client"},"description":"Typed HTTP client helpers for Apps in Toss mTLS proxy services.","maintainers":[{"name":"imjlk","email":"i@m.junglei.kim"}],"readme":"# @ait-kit/api-client\n\nTyped HTTP client helpers for calling an AIT Kit mTLS proxy.\n\n```bash\nnpm install @ait-kit/api-client\n```\n\n## Two entry points, two jobs\n\n| Entry | Use it for |\n|---|---|\n| `@ait-kit/api-client` (root) | Calling the **authenticated proxy routes** (`/internal/...`) of a deployed AIT Kit Worker over plain HTTPS with a bearer token. Browser/edge safe: no Node APIs. |\n| `@ait-kit/api-client/node` | Building an **mTLS transport** (`MtlsClient`) you inject into `@ait-kit/api-core` so api-core itself talks to the Toss partner API over TLS with your client certificate. Node/Bun only. |\n\n### Root: proxy HTTP client\n\n```ts\nimport { createTossMtlsHttpClient } from \"@ait-kit/api-client\";\n\nconst tossApi = createTossMtlsHttpClient({\n  baseUrl: \"https://internal-api.example.com\",\n  token: process.env.TOSS_HTTP_BEARER_TOKEN\n});\n```\n\n### `/node`: mTLS transport for api-core\n\n```ts\nimport { createNodeMtlsTransport } from \"@ait-kit/api-client/node\";\nimport { createAppsInTossApiRpcFromOptions } from \"@ait-kit/api-core\";\n\nconst tossApi = createAppsInTossApiRpcFromOptions({\n  mode: \"forward\",\n  mtlsClient: createNodeMtlsTransport({\n    cert: process.env.TOSS_CERT_PEM!, // PEM contents, not file paths\n    key: process.env.TOSS_KEY_PEM!,\n    ca: process.env.TOSS_CA_PEM, // optional extra CA bundle\n    timeoutMs: 10_000,           // one budget: DNS + connect + TLS + headers + full body\n    maxResponseBytes: 4 * 1024 * 1024\n  })\n});\n```\n\nCertificate and key materials are injected as PEM strings (or bytes); file\ndiscovery, environment parsing, and TLS server setup stay in your\napplication. Server certificate verification is always on — there is no\nopt-out. The transport performs exactly one attempt per request: it never\nretries grants or message sends, and a transport failure never implies the\nupstream did not apply the request — recover with the promotion status flow.\n\nFailure behavior: the whole request (through the last body byte) shares one\ndeadline; caller `AbortSignal`s cancel immediately and tear down the request;\nresponse bodies are buffered up to `maxResponseBytes` and responses that\nbreak, exceed the limit, or never complete reject with a typed\n`NodeMtlsTransportError` (`code`: `TIMEOUT`, `ABORTED`, `RESPONSE_TOO_LARGE`,\n`REQUEST_FAILED`, `INVALID_URL`, `UNSUPPORTED_BODY`, `ALREADY_ABORTED`).\n`REQUEST_FAILED` also covers failures to convert a fully received response\ninto a fetch `Response` — for example a raw status outside the Fetch status\nrange (600), which the `Response` constructor rejects: the request rejects\nwith the original conversion exception preserved as `cause`, valid 4xx/5xx\nresponses still resolve as HTTP responses, and an already-settled timeout or\nabort outcome is never overwritten by a late conversion error.\n\nSupported runtimes for `/node`: verified with Bun 1.4.0 (test suite) and\nNode.js 26.4.0 (test-suite child processes plus tarball consumer checks);\nCI pins Bun 1.4.2 and Node.js 24 for the same checks.\n\n## Verifying a published release (repository tooling)\n\nFrom the [AIT Kit repository](https://github.com/imjlk/ait-kit), the mTLS\ncontract of an **npm-published** release can be re-verified end to end. The\ncommand accepts an exact version only (ranges and dist-tags are rejected),\ninstalls that release from the npm registry into an isolated throwaway\nconsumer project, resolves `@ait-kit/api-client/node` from that project's\nown `node_modules`, and runs the same five-scenario mTLS contract used for\nrepository builds and tarball checks (normal 200 with client-certificate\nverification, overall deadline, broken body, status-600 conversion failure\nwith `cause` preserved, reuse after failure):\n\n```bash\nbun run verify:published:node -- --version 0.4.1 --report ./verify-report.json\n```\n\n`--report <path>` (optional) writes a JSON report that survives cleanup:\nrequested and actually-installed `api-client`/`api-core` versions, the\nresolved module path with proof it lives inside the installed package,\nruntime versions, per-scenario outcomes, child exit code/signal, and the\nverification tooling's own commit (kept separate from the release commit,\nwhich npm metadata cannot confirm — it is reported as `unknown` when not\nindependently established). Registry propagation delay right after a\npublish is retried within a finite budget; the command only installs and\nverifies — it never publishes or modifies repository build output.\n\nInterpretation: a passing run proves the mTLS transport contract of that\nexact published version against a local loopback test server. It is not a\ncheck against the real Toss production API, and it says nothing about\nserver-side ledgers or SDK integrations consuming this package.\n\nSee the [AIT Kit repository](https://github.com/imjlk/ait-kit) for proxy configuration and API\nexamples.\n","readmeFilename":"README.md"}