{"_id":"@astrasyncai/adapter-edge","_rev":"9-e25c8e0bfd0c76a38d012c2191119927","name":"@astrasyncai/adapter-edge","dist-tags":{"latest":"1.6.0"},"versions":{"0.0.0":{"name":"@astrasyncai/adapter-edge","version":"0.0.0","license":"MIT","_id":"@astrasyncai/adapter-edge@0.0.0","maintainers":[{"name":"koolkishan","email":"kishansheth21@gmail.com"},{"name":"tim.astrasync","email":"astrasyncai@gmail.com"}],"dist":{"shasum":"2ff9525008741408455e3b7b2e0e9947f8f5cfed","tarball":"https://registry.npmjs.org/@astrasyncai/adapter-edge/-/adapter-edge-0.0.0.tgz","fileCount":1,"integrity":"sha512-XbQvgSo3n9jhDZf+HOSpNF6oSzaRlevBi1Y4Qhw/GGk67TIcximQTeV57OMdI3z9moQZYSDQZ7uaAqCEjJ9t2g==","signatures":[{"sig":"MEUCIQDor/cMgS/a7CgHYYqXBTDOTW83SmBtOqMn29Wm1hB4OAIgKy9XxAmAJwX8ULDDpWIHKq9MAEzCRYR5giJTN5x+XsA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":142},"_npmUser":{"name":"koolkishan","email":"kishansheth21@gmail.com"},"deprecated":"placeholder — use 1.0.0+","_npmVersion":"11.17.0","description":"placeholder — real release is 1.0.0","directories":{},"_nodeVersion":"26.5.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/adapter-edge_0.0.0_1784092962250_0.9587356374588674","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@astrasyncai/adapter-edge","version":"1.0.0","keywords":["astrasync","trusted-agent-gateway","kya","edge","cloudflare-workers","vercel-edge","fastly-compute","agent-verification","bot-detection"],"author":{"name":"AstraSync"},"license":"MIT","_id":"@astrasyncai/adapter-edge@1.0.0","maintainers":[{"name":"koolkishan","email":"kishansheth21@gmail.com"},{"name":"tim.astrasync","email":"astrasyncai@gmail.com"}],"homepage":"https://github.com/AstraSync-KYA/KYA-Platform#readme","bugs":{"url":"https://github.com/AstraSync-KYA/KYA-Platform/issues"},"dist":{"shasum":"177cc773fb29b738233b058bc99acafd04ac681c","tarball":"https://registry.npmjs.org/@astrasyncai/adapter-edge/-/adapter-edge-1.0.0.tgz","fileCount":16,"integrity":"sha512-U63VMW6tb8zV46QgcnBzkZL2FaEshq+LU4QUvwLn7H0i9QDQYuQutWVoAtOcHZcZBOHtFcunvqMRVLVsGyhBAA==","signatures":[{"sig":"MEYCIQCDZv6Km+lL/LDiBQw3IXVfWzN2OYpi7o9NLwzTyQ/6aAIhAMcsZC6inaEaxXBJvnyYzD7wWScgIO4/krd2S/hgF8z0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":105383},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./fastly":{"types":"./dist/fastly.d.ts","import":"./dist/fastly.js"},"./vercel":{"types":"./dist/vercel.d.ts","import":"./dist/vercel.js"},"./cloudflare":{"types":"./dist/cloudflare.d.ts","import":"./dist/cloudflare.js"}},"gitHead":"fe95712a5837e828f7ec57e9b10c2fabb98de368","scripts":{"lint":"eslint src --ext .ts","test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","test:watch":"vitest watch","prepublishOnly":"npm run clean && npm run typecheck && npm run build && npm run check:dts-leaks","check:dts-leaks":"node scripts/check-dts-leaks.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d14964b2-7a9e-46f9-b567-b89aa7f0808c"}},"repository":{"url":"git+https://github.com/AstraSync-KYA/KYA-Platform.git","type":"git","directory":"packages/adapter-edge"},"_npmVersion":"11.18.0","description":"AstraSync Trusted Agent Gateway — edge adapters for Vercel Edge, Cloudflare Workers, and Fastly Compute","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@astrasyncai/verification-gateway":"^4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^8.56.0","vitest":"^4.0.18","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-edge_1.0.0_1784094702992_0.3922896256084103","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@astrasyncai/adapter-edge","version":"1.1.0","keywords":["astrasync","trusted-agent-gateway","kya","edge","cloudflare-workers","vercel-edge","fastly-compute","agent-verification","bot-detection"],"author":{"name":"AstraSync"},"license":"MIT","_id":"@astrasyncai/adapter-edge@1.1.0","maintainers":[{"name":"koolkishan","email":"kishansheth21@gmail.com"},{"name":"tim.astrasync","email":"astrasyncai@gmail.com"}],"homepage":"https://github.com/AstraSync-KYA/KYA-Platform#readme","bugs":{"url":"https://github.com/AstraSync-KYA/KYA-Platform/issues"},"dist":{"shasum":"b11894cf8bdb64514d2051c93fdc7dbea42550c7","tarball":"https://registry.npmjs.org/@astrasyncai/adapter-edge/-/adapter-edge-1.1.0.tgz","fileCount":16,"integrity":"sha512-fQL+LZdA2aRyTkmKaJZNikhrErVzEU1yU2Pf0sPtl2P//wTCWj9hRdkkjmQIfaF5gguEdNATPEGHSv7aljcBrg==","signatures":[{"sig":"MEUCIAbB46xF9G0u6pPMZ0WMSzIwagnRzuBXbyqK158tBlBnAiEAzy5OzM+fWG2OFVSDfMWThcePc6c4j+FLFuHpu9srvcg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":110084},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./fastly":{"types":"./dist/fastly.d.ts","import":"./dist/fastly.js"},"./vercel":{"types":"./dist/vercel.d.ts","import":"./dist/vercel.js"},"./cloudflare":{"types":"./dist/cloudflare.d.ts","import":"./dist/cloudflare.js"}},"gitHead":"feb9adf460bd814e4cac5d738aab4cd38bc807d3","scripts":{"lint":"eslint src --ext .ts","test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","test:watch":"vitest watch","prepublishOnly":"npm run clean && npm run typecheck && npm run build && npm run check:dts-leaks","check:dts-leaks":"node scripts/check-dts-leaks.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d14964b2-7a9e-46f9-b567-b89aa7f0808c"}},"repository":{"url":"git+https://github.com/AstraSync-KYA/KYA-Platform.git","type":"git","directory":"packages/adapter-edge"},"_npmVersion":"11.18.0","description":"AstraSync Trusted Agent Gateway — edge adapters for Vercel Edge, Cloudflare Workers, and Fastly Compute","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@astrasyncai/verification-gateway":"^4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^8.56.0","vitest":"^4.0.18","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-edge_1.1.0_1784188927139_0.5133916926148434","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@astrasyncai/adapter-edge","version":"1.2.0","keywords":["astrasync","trusted-agent-gateway","kya","edge","cloudflare-workers","vercel-edge","fastly-compute","agent-verification","bot-detection"],"author":{"name":"AstraSync"},"license":"MIT","_id":"@astrasyncai/adapter-edge@1.2.0","maintainers":[{"name":"koolkishan","email":"kishansheth21@gmail.com"},{"name":"tim.astrasync","email":"astrasyncai@gmail.com"}],"homepage":"https://github.com/AstraSync-KYA/KYA-Platform#readme","bugs":{"url":"https://github.com/AstraSync-KYA/KYA-Platform/issues"},"dist":{"shasum":"cd48fb51e5b7ffe32985e8e13b21877a1f4a6700","tarball":"https://registry.npmjs.org/@astrasyncai/adapter-edge/-/adapter-edge-1.2.0.tgz","fileCount":16,"integrity":"sha512-3pr4PIhw58l2AMQsXvsT+lJ/H3PcnoESFAjrhP/vHz/N2bgAP1Ply+h6MAmKEbv5qkpqgIvbltnZItmvdkUK8g==","signatures":[{"sig":"MEQCIHYdE5qb8Du08V+iKEUCZoUC4j847GsmxK1a+NPXEUv/AiAQlpSTmzJvVZkqPAFnwne4aC00dfeWZEgk1YUdYeOOjQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":110084},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./fastly":{"types":"./dist/fastly.d.ts","import":"./dist/fastly.js"},"./vercel":{"types":"./dist/vercel.d.ts","import":"./dist/vercel.js"},"./cloudflare":{"types":"./dist/cloudflare.d.ts","import":"./dist/cloudflare.js"}},"gitHead":"433faddc4cfdc04a44a4d86542aa1c21a00af145","scripts":{"lint":"eslint src --ext .ts","test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","test:watch":"vitest watch","prepublishOnly":"npm run clean && npm run typecheck && npm run build && npm run check:dts-leaks","check:dts-leaks":"node scripts/check-dts-leaks.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d14964b2-7a9e-46f9-b567-b89aa7f0808c"}},"repository":{"url":"git+https://github.com/AstraSync-KYA/KYA-Platform.git","type":"git","directory":"packages/adapter-edge"},"_npmVersion":"11.18.0","description":"AstraSync Trusted Agent Gateway — edge adapters for Vercel Edge, Cloudflare Workers, and Fastly Compute","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@astrasyncai/verification-gateway":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^8.56.0","vitest":"^4.0.18","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-edge_1.2.0_1784883538355_0.5415847973814023","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@astrasyncai/adapter-edge","version":"1.3.0","keywords":["astrasync","trusted-agent-gateway","kya","edge","cloudflare-workers","vercel-edge","fastly-compute","agent-verification","bot-detection"],"author":{"name":"AstraSync"},"license":"MIT","_id":"@astrasyncai/adapter-edge@1.3.0","maintainers":[{"name":"koolkishan","email":"kishansheth21@gmail.com"},{"name":"tim.astrasync","email":"astrasyncai@gmail.com"}],"homepage":"https://github.com/AstraSync-KYA/KYA-Platform#readme","bugs":{"url":"https://github.com/AstraSync-KYA/KYA-Platform/issues"},"dist":{"shasum":"b82808ebdf1e28722dd7dd85d4cdb316f90c17c5","tarball":"https://registry.npmjs.org/@astrasyncai/adapter-edge/-/adapter-edge-1.3.0.tgz","fileCount":16,"integrity":"sha512-GpAFgxB+d+sDiBrwsFN/gvhIxtQWElyJ39UtQzmGYP3OTL+eOxf7LvUNp30aWc3BQbA1ZWXbfxfZ7vRTCNKN4w==","signatures":[{"sig":"MEQCIHb95+03BuIoXfqyB0FyM4zhi8+0ykciVVcY1BThXpYZAiBHM3YNjtP/QT8cdiQTktYqOHYAhYDjSFUbmlZnsNYJ1Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":110084},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./fastly":{"types":"./dist/fastly.d.ts","import":"./dist/fastly.js"},"./vercel":{"types":"./dist/vercel.d.ts","import":"./dist/vercel.js"},"./cloudflare":{"types":"./dist/cloudflare.d.ts","import":"./dist/cloudflare.js"}},"gitHead":"fe8a0d45aba17ec9ee498f0aa42cbe4447a3d48d","scripts":{"lint":"eslint src --ext .ts","test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","test:watch":"vitest watch","prepublishOnly":"npm run clean && npm run typecheck && npm run build && npm run check:dts-leaks","check:dts-leaks":"node scripts/check-dts-leaks.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d14964b2-7a9e-46f9-b567-b89aa7f0808c"}},"repository":{"url":"git+https://github.com/AstraSync-KYA/KYA-Platform.git","type":"git","directory":"packages/adapter-edge"},"_npmVersion":"11.19.0","description":"AstraSync Trusted Agent Gateway — edge adapters for Vercel Edge, Cloudflare Workers, and Fastly Compute","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@astrasyncai/verification-gateway":"^5.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^8.56.0","vitest":"^4.0.18","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-edge_1.3.0_1785819465961_0.7969689776476294","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@astrasyncai/adapter-edge","version":"1.4.0","keywords":["astrasync","trusted-agent-gateway","kya","edge","cloudflare-workers","vercel-edge","fastly-compute","agent-verification","bot-detection"],"author":{"name":"AstraSync"},"license":"MIT","_id":"@astrasyncai/adapter-edge@1.4.0","maintainers":[{"name":"koolkishan","email":"kishansheth21@gmail.com"},{"name":"tim.astrasync","email":"astrasyncai@gmail.com"}],"homepage":"https://github.com/AstraSync-KYA/KYA-Platform#readme","bugs":{"url":"https://github.com/AstraSync-KYA/KYA-Platform/issues"},"dist":{"shasum":"de49996cb963b38fdde54342b689a363f726e896","tarball":"https://registry.npmjs.org/@astrasyncai/adapter-edge/-/adapter-edge-1.4.0.tgz","fileCount":16,"integrity":"sha512-andIvcZ42vedaRm0cXV869uFEeYD4rfz+6S0UzPO2sh/sNy8vCan2h4ZC8NfUjv7Z+QckNwl3IFkX08aebcfxw==","signatures":[{"sig":"MEUCIQDpG5SeDUx1w1DJLx5hLZ1kBjeMObcK7d6cBgYV0/3BzQIgOdLP+RcCrqz7AB7Xgy6mGmOOQQTe4lhwyh5prpOP5B0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":111368},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./fastly":{"types":"./dist/fastly.d.ts","import":"./dist/fastly.js"},"./vercel":{"types":"./dist/vercel.d.ts","import":"./dist/vercel.js"},"./cloudflare":{"types":"./dist/cloudflare.d.ts","import":"./dist/cloudflare.js"}},"gitHead":"f391227db3baded866d12ec57e8eaf6fb677722f","scripts":{"lint":"eslint src --ext .ts","test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","test:watch":"vitest watch","prepublishOnly":"npm run clean && npm run typecheck && npm run build && npm run check:dts-leaks","check:dts-leaks":"node scripts/check-dts-leaks.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d14964b2-7a9e-46f9-b567-b89aa7f0808c"}},"repository":{"url":"git+https://github.com/AstraSync-KYA/KYA-Platform.git","type":"git","directory":"packages/adapter-edge"},"_npmVersion":"11.19.0","description":"AstraSync Trusted Agent Gateway — edge adapters for Vercel Edge, Cloudflare Workers, and Fastly Compute","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@astrasyncai/verification-gateway":"^5.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^8.56.0","vitest":"^4.0.18","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-edge_1.4.0_1785921513093_0.7230915949911985","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@astrasyncai/adapter-edge","version":"1.5.0","keywords":["astrasync","trusted-agent-gateway","kya","edge","cloudflare-workers","vercel-edge","fastly-compute","agent-verification","bot-detection"],"author":{"name":"AstraSync"},"license":"MIT","_id":"@astrasyncai/adapter-edge@1.5.0","maintainers":[{"name":"koolkishan","email":"kishansheth21@gmail.com"},{"name":"tim.astrasync","email":"astrasyncai@gmail.com"}],"homepage":"https://github.com/AstraSync-KYA/KYA-Platform#readme","bugs":{"url":"https://github.com/AstraSync-KYA/KYA-Platform/issues"},"dist":{"shasum":"8f3c495920a52132795916a96d1715980d20ccd2","tarball":"https://registry.npmjs.org/@astrasyncai/adapter-edge/-/adapter-edge-1.5.0.tgz","fileCount":16,"integrity":"sha512-/sWUjlmc2zItft3hQdxM9ujvz/zhm5N12RNeGJBWqnjCWekKPWQG5Jw4H/zfBa50ZU/EukiEef3E6ueI/VAWDg==","signatures":[{"sig":"MEQCIHke20iDp4N3JsibJoXwmSukhl0ZVX9JB3NHipgY8cMGAiAaaMds0/Av6Hi6+CnQ0mObcN7M7gWwg72V0uzLEQQMTA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":111368},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./fastly":{"types":"./dist/fastly.d.ts","import":"./dist/fastly.js"},"./vercel":{"types":"./dist/vercel.d.ts","import":"./dist/vercel.js"},"./cloudflare":{"types":"./dist/cloudflare.d.ts","import":"./dist/cloudflare.js"}},"gitHead":"132fcb5c6306e32cb32a7ea6c3ca2b9c29edaa7f","scripts":{"lint":"eslint src --ext .ts","test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","test:watch":"vitest watch","prepublishOnly":"npm run clean && npm run typecheck && npm run build && npm run check:dts-leaks","check:dts-leaks":"node scripts/check-dts-leaks.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d14964b2-7a9e-46f9-b567-b89aa7f0808c"}},"repository":{"url":"git+https://github.com/AstraSync-KYA/KYA-Platform.git","type":"git","directory":"packages/adapter-edge"},"_npmVersion":"11.19.0","description":"AstraSync Trusted Agent Gateway — edge adapters for Vercel Edge, Cloudflare Workers, and Fastly Compute","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@astrasyncai/verification-gateway":"^5.7.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^8.56.0","vitest":"^4.0.18","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-edge_1.5.0_1787200118510_0.9450185788555654","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"_id":"@astrasyncai/adapter-edge@1.6.0","bugs":{"url":"https://github.com/AstraSync-KYA/KYA-Platform/issues"},"dist":{"shasum":"c9f51159778a1fdf9f1f13dedc5b60bb95391f8e","tarball":"https://registry.npmjs.org/@astrasyncai/adapter-edge/-/adapter-edge-1.6.0.tgz","fileCount":16,"integrity":"sha512-p//513QCbxx7wRppAZNukwlCeV3whOXdTS0P9jEsXu9jM9zB0IZpVFcvs2/1LqK9IF7TYbUZFEfj1jLDr4Hk4g==","signatures":[{"sig":"MEYCIQCDBtf2RBRwmeKe9KwJ2oSmthrIcNFg16EZ/wg+MLQCtwIhAJ1jmQ1G70hpquJY14p38O3Cd7nIy0QtbtE2YL/z72li","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGObeyXmt54JPXJ2zfMpjic34NM9w2TsHAdOm23NsxJrAiASO77sahF+5ihCJ2tKzq8fjD+uHK/QyjlNry/fotbfEA=="}],"unpackedSize":111369},"name":"@astrasyncai/adapter-edge","type":"module","author":{"name":"AstraSync"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./fastly":{"types":"./dist/fastly.d.ts","import":"./dist/fastly.js"},"./vercel":{"types":"./dist/vercel.d.ts","import":"./dist/vercel.js"},"./cloudflare":{"types":"./dist/cloudflare.d.ts","import":"./dist/cloudflare.js"}},"gitHead":"371350c6ac50f7a652dcdc2050d5a23f0bd15d09","license":"MIT","scripts":{"lint":"eslint src --ext .ts","test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","test:watch":"vitest watch","prepublishOnly":"npm run clean && npm run typecheck && npm run build && npm run check:dts-leaks","check:dts-leaks":"node scripts/check-dts-leaks.mjs"},"version":"1.6.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d14964b2-7a9e-46f9-b567-b89aa7f0808c"}},"homepage":"https://github.com/AstraSync-KYA/KYA-Platform#readme","keywords":["astrasync","trusted-agent-gateway","kya","edge","cloudflare-workers","vercel-edge","fastly-compute","agent-verification","bot-detection"],"repository":{"url":"git+https://github.com/AstraSync-KYA/KYA-Platform.git","type":"git","directory":"packages/adapter-edge"},"_npmVersion":"11.20.0","description":"AstraSync Trusted Agent Gateway — edge adapters for Vercel Edge, Cloudflare Workers, and Fastly Compute","directories":{},"maintainers":[{"name":"koolkishan","email":"kishansheth21@gmail.com"},{"name":"tim.astrasync","email":"astrasyncai@gmail.com"}],"_nodeVersion":"20.20.2","dependencies":{"@astrasyncai/verification-gateway":"^5.10.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^8.56.0","vitest":"^4.1.11","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/adapter-edge_1.6.0_1790407389258_0.8493955701879503"}}},"time":{"created":"2026-07-15T05:22:42.053Z","modified":"2026-09-26T07:23:09.525Z","0.0.0":"2026-07-15T05:22:42.375Z","1.0.0":"2026-07-15T05:51:43.119Z","1.1.0":"2026-07-16T08:02:07.280Z","1.2.0":"2026-07-24T08:58:58.484Z","1.3.0":"2026-08-04T04:57:46.131Z","1.4.0":"2026-08-05T09:18:33.221Z","1.5.0":"2026-08-20T04:28:38.656Z","1.6.0":"2026-09-26T07:23:09.353Z"},"bugs":{"url":"https://github.com/AstraSync-KYA/KYA-Platform/issues"},"author":{"name":"AstraSync"},"license":"MIT","homepage":"https://github.com/AstraSync-KYA/KYA-Platform#readme","keywords":["astrasync","trusted-agent-gateway","kya","edge","cloudflare-workers","vercel-edge","fastly-compute","agent-verification","bot-detection"],"repository":{"url":"git+https://github.com/AstraSync-KYA/KYA-Platform.git","type":"git","directory":"packages/adapter-edge"},"description":"AstraSync Trusted Agent Gateway — edge adapters for Vercel Edge, Cloudflare Workers, and Fastly Compute","maintainers":[{"name":"koolkishan","email":"kishansheth21@gmail.com"},{"name":"tim.astrasync","email":"astrasyncai@gmail.com"}],"readme":"# @astrasyncai/adapter-edge\n\n**AstraSync Trusted Agent Gateway** — edge adapters for **Vercel Edge**,\n**Cloudflare Workers**, and **Fastly Compute**. The gateway classifies and\nverifies inbound AI-agent traffic in front of your existing site. Zero site\nchanges; **observe-only by default**.\n\nEvery request is classified into a visibility tier — verified AstraSync\nagents, identified-but-unregistered agents (payment-rail credentials such as\nVisa Intelligent Commerce, Mastercard Agent Pay, Visa TAP, Web Bot Auth,\nACP, UCP, AP2, MPP, x402, or platform-agent UAs like Claude and ChatGPT),\nanonymous bots, and humans. Humans and static assets are untouched — zero\nAPI calls, zero added latency. Cryptographic verification of rail\ncredentials happens **server-side** at AstraSync's verify-access; the edge\nonly sniffs and forwards raw artifacts.\n\n**Fail-open guarantee:** if the gateway can't reach AstraSync it always\nfalls back to observe + pass-through. An unreachable backend — or a\nmisconfigured gateway — can never break your site.\n\nAll three adapters share the same engine\n(`@astrasyncai/verification-gateway/edge-core`) as the Lambda@Edge adapter\n(`@astrasyncai/adapter-lambda`); use that package for CloudFront.\n\n## Install\n\n```bash\nnpm install @astrasyncai/adapter-edge\n```\n\n## Quickstart\n\n### Cloudflare Workers\n\n```ts\n// src/worker.ts\nimport { createGatewayHandler } from '@astrasyncai/adapter-edge/cloudflare';\n\nexport default { fetch: createGatewayHandler() };\n```\n\nSet the environment bindings on the worker (`wrangler.toml` vars +\n`wrangler secret put ASTRASYNC_API_KEY`):\n\n```toml\n[vars]\nASTRASYNC_COUNTERPARTY_ID = \"ASTRAE-…\"\nASTRASYNC_COUNTERPARTY_URL = \"https://example.shop\"\n```\n\nDeploy the worker on the routes you want covered. Pass traffic is forwarded\nto your origin with `fetch()`; telemetry runs in `ctx.waitUntil`, off the\nlatency path.\n\n### Vercel Edge Middleware\n\nThis package does not import `next`, so the middleware returns either a\n`Response` (return it as-is) or a **pass signal** you apply with the\nprovided helper — a two-line wrapper:\n\n```ts\n// middleware.ts\nimport { NextResponse, type NextRequest } from 'next/server';\nimport { createGatewayMiddleware, applyGatewayPass } from '@astrasyncai/adapter-edge/vercel';\n\nconst gateway = createGatewayMiddleware();\n\nexport async function middleware(request: NextRequest) {\n  const result = await gateway(request);\n  if (result instanceof Response) return result;\n  return NextResponse.next({ request: { headers: applyGatewayPass(request.headers, result) } });\n}\n```\n\nConfiguration comes from `process.env` (`ASTRASYNC_COUNTERPARTY_ID`,\n`ASTRASYNC_COUNTERPARTY_URL`, `ASTRASYNC_API_KEY`) or explicit options.\nAlternatively pass a `next` factory option to get back a plain\n`Response | undefined` middleware.\n\n### Fastly Compute (JavaScript)\n\nFastly requires every `fetch` to name a **configured backend**, so\n`originBackend` is required — create a backend for your origin (and one\nfor `astrasync.ai` so verification calls can leave the service):\n\n```ts\n// src/index.ts\nimport { createGatewayHandler } from '@astrasyncai/adapter-edge/fastly';\n\nconst gateway = createGatewayHandler({\n  originBackend: 'origin',\n  counterpartyId: 'ASTRAE-…',\n  counterpartyUrl: 'https://example.shop',\n  apiKey: '…', // e.g. from a Fastly secret store lookup at startup\n});\n\naddEventListener('fetch', (event) => event.respondWith(gateway(event)));\n```\n\nOptional geolocation enrichment (country/city/ASN) via the Fastly runtime\nis behind the `geo: true` flag; the `fastly:geolocation` import is dynamic,\nso the base build stays runtime-neutral.\n\n## Configuration\n\n| Option            | Env var                      | Default                    | Notes                                                                     |\n| ----------------- | ---------------------------- | -------------------------- | ------------------------------------------------------------------------- |\n| `counterpartyId`  | `ASTRASYNC_COUNTERPARTY_ID`  | —                          | Your property's `ASTRAE-…` endpoint id. Missing ⇒ fail-open pass-through. |\n| `counterpartyUrl` | `ASTRASYNC_COUNTERPARTY_URL` | —                          | Canonical public URL of the property.                                     |\n| `apiKey`          | `ASTRASYNC_API_KEY`          | —                          | Merchant `kya_*` key. Observe mode degrades gracefully without it.        |\n| `apiBaseUrl`      | `ASTRASYNC_API_BASE_URL`     | `https://astrasync.ai/api` |                                                                           |\n| `configTtlMs`     | —                            | 60 000                     | Dashboard edge-config refresh interval.                                   |\n| `budgets`         | —                            | 300 / 1500 / 3000 ms       | Beacon / observe-verify / enforce-verify time budgets.                    |\n| `maxBodyBytes`    | —                            | 1 MiB                      | Body read cap for commerce-protocol detection.                            |\n| `fallbackConfig`  | —                            | observe/classify           | Used before the first config fetch succeeds.                              |\n| `originBackend`   | —                            | —                          | **Fastly only, required.** Named backend for origin traffic.              |\n| `geo`             | —                            | `false`                    | **Fastly only.** Opt-in `fastly:geolocation` enrichment.                  |\n| `next`            | —                            | —                          | **Vercel only.** Continue-factory for pass outcomes.                      |\n\nMode (`observe`/`enforce`), check depth (`classify`/`authenticate`/\n`authorize`), per-path rules, and bot-telemetry sampling are configured on\nthe endpoint's **Edge verification** panel in the AstraSync dashboard — no\nredeploys. The gateway refreshes its config every ~60s, and configs stale\nfor more than 24h automatically degrade enforce back to observe.\n\n## Capture matrix\n\nBeyond the sanitized header capture (identical on every platform — secrets\nstripped, credential headers reduced to a safe format prefix), each\nplatform contributes the connection-layer signals it can see:\n\n| Signal             | Cloudflare Workers                                     | Vercel Edge                             | Fastly Compute          | (Lambda@Edge)                     |\n| ------------------ | ------------------------------------------------------ | --------------------------------------- | ----------------------- | --------------------------------- |\n| Client IP          | `CF-Connecting-IP`                                     | `x-real-ip`                             | `Fastly-Client-IP`      | viewer address                    |\n| Country            | `request.cf.country`                                   | `x-vercel-ip-country`                   | `geo` flag              | viewer headers                    |\n| Region/City        | `request.cf.regionCode` / `.city`                      | `x-vercel-ip-country-region` / `-city`  | `geo` flag              | viewer headers                    |\n| Continent          | `request.cf.continent`                                 | `x-vercel-ip-continent`                 | —                       | —                                 |\n| Time zone          | `request.cf.timezone`                                  | `x-vercel-ip-timezone`                  | `geo` flag (UTC offset) | viewer headers                    |\n| ASN / AS org       | `request.cf.asn` / `.asOrganization`                   | —                                       | `geo` flag              | viewer headers (ASN only)         |\n| TLS version/cipher | `request.cf.tlsVersion` / `.tlsCipher`                 | —                                       | —                       | viewer headers (ver+cipher)       |\n| HTTP version       | `request.cf.httpProtocol`                              | —                                       | —                       | viewer headers                    |\n| **JA3 / JA4**      | `request.cf.botManagement` (Bot Management zones only) | `x-vercel-ja4-digest` (BotID; JA4 only) | —                       | **viewer headers (both, 2.2.0+)** |\n| Header structure   | —                                                      | —                                       | —                       | viewer header-order/-count        |\n| PoP/colo, TCP RTT  | `request.cf.colo` / `.clientTcpRtt`                    | —                                       | —                       | —                                 |\n\nEverything captured surfaces on the endpoint's traffic feed in the\nAstraSync dashboard. For the cross-integration view (edge vs SDK-behind-CDN\nvs platform-managed CDN) see the canonical capture matrix in the\n[`@astrasyncai/verification-gateway` README](https://www.npmjs.com/package/@astrasyncai/verification-gateway).\nCloudFront (adapter-lambda) is currently the only platform yielding **both**\nJA3 and JA4 unconditionally — if fingerprint-based spoof resistance is the\ndeciding factor for your CDN choice, that's the row to read.\n\n## Enforce mode\n\nRequests that fail verification on enforced paths get a machine-readable\n`403` with registration guidance; human-approval flows return `202` with\nstep-up polling info. Allowed agent requests reach your origin with trust\nattestation headers (`X-AstraSync-Trust-Score`, `X-AstraSync-Agent-Id`,\n`X-AstraSync-Developer-Id`, `X-AstraSync-Permissions`) — inbound spoofs of\n`x-astrasync-*` headers are stripped in both modes.\n\n## License\n\nMIT © AstraSync\n","readmeFilename":"README.md"}