{"_id":"@aamp/protocol","_rev":"12-78288c4efed1bbae0c6c559dccc6d307","name":"@aamp/protocol","dist-tags":{"latest":"1.1.11"},"versions":{"1.1.0":{"name":"@aamp/protocol","version":"1.1.0","_id":"@aamp/protocol@1.1.0","maintainers":[{"name":"yogeshsingh","email":"sme50962@gmail.com"}],"homepage":"https://github.com/aamp-protocol/aamp#readme","bugs":{"url":"https://github.com/aamp-protocol/aamp/issues"},"dist":{"shasum":"cc86d39d62578e27706a681a48ab932c313b16a1","tarball":"https://registry.npmjs.org/@aamp/protocol/-/protocol-1.1.0.tgz","fileCount":29,"integrity":"sha512-0hQZAR7PybecbDALEyqkBJh/HHhcaXMlf8XbPqn27HsA6iCTpiLd3qUbPA5WYqV4oGm26yphaN9pzRIp3hRy/A==","signatures":[{"sig":"MEQCIB8tVvUGKV/FNs/JIVT5YkrxgZzn6wfLOgIAPKPD/+6OAiBuychBFdrw8893fWJGluIvMygQOoLoC0oHbCnIxYGi+w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":47562},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"d7702a85df38a08e49df0c113a05353b7e4a7a06","scripts":{"test":"ts-node test/handshake.spec.ts","build":"tsc","prepublishOnly":"npm run test && npm run build"},"_npmUser":{"name":"yogeshsingh","email":"sme50962@gmail.com"},"repository":{"url":"git+https://github.com/aamp-protocol/aamp.git","type":"git"},"_npmVersion":"10.2.3","description":"TypeScript reference implementation of AAMP","directories":{},"_nodeVersion":"20.10.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.0","typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/protocol_1.1.0_1769045665211_0.20620939468869404","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@aamp/protocol","version":"1.1.1","_id":"@aamp/protocol@1.1.1","maintainers":[{"name":"yogeshsingh","email":"sme50962@gmail.com"}],"homepage":"https://github.com/aamp-protocol/aamp#readme","bugs":{"url":"https://github.com/aamp-protocol/aamp/issues"},"dist":{"shasum":"788b597dd4a93d3a5e1186cd31263d567a6e3a57","tarball":"https://registry.npmjs.org/@aamp/protocol/-/protocol-1.1.1.tgz","fileCount":27,"integrity":"sha512-UFVXLh3e4VY01zobhBf2lT71mCPTIUhxS8fDcEZZX+cczaybv9kQxmy34ciL1NVj6Vui0UouUpPPZEaTOWgPKg==","signatures":[{"sig":"MEYCIQCtm5T1OoexJG+0xEFEGr8FwSaQfImvmG2jAKXeYNXKDQIhANINKbMc3I9nJEsv/M745d26nL/FEtS6QH/ib8C9SKnH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45827},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"568b2f96ab454748beda7f0c84861105a96b0239","scripts":{"test":"ts-node test/handshake.spec.ts","build":"tsc","prepublishOnly":"npm run test && npm run build"},"_npmUser":{"name":"yogeshsingh","email":"sme50962@gmail.com"},"repository":{"url":"git+https://github.com/aamp-protocol/aamp.git","type":"git"},"_npmVersion":"10.2.3","description":"TypeScript reference implementation of AAMP","directories":{},"_nodeVersion":"20.10.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.0","typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/protocol_1.1.1_1769047454373_0.5251932025037194","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@aamp/protocol","version":"1.1.2","_id":"@aamp/protocol@1.1.2","maintainers":[{"name":"yogeshsingh","email":"sme50962@gmail.com"}],"homepage":"https://github.com/aamp-protocol/aamp#readme","bugs":{"url":"https://github.com/aamp-protocol/aamp/issues"},"dist":{"shasum":"a93d48f46f846e886cdf627971addb75a18b173c","tarball":"https://registry.npmjs.org/@aamp/protocol/-/protocol-1.1.2.tgz","fileCount":27,"integrity":"sha512-wzcSYMhc7rfnf7ukLDX/PJM5RDiBWhaj/vNfcinKYrmuuSH0ToUxnsDLbwM3qt0EdbVcqtiHoag0on5vLTgMig==","signatures":[{"sig":"MEYCIQCTc2UcG1PPiHHFUpds75TjCKq7bbRUylfvabosToh2ZgIhANpNjyOF8swizpQfwJXBCBeOnqeNSl5jpNbDk3gCZe1T","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46731},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"568b2f96ab454748beda7f0c84861105a96b0239","scripts":{"test":"ts-node test/handshake.spec.ts","build":"tsc","prepublishOnly":"npm run test && npm run build"},"_npmUser":{"name":"yogeshsingh","email":"sme50962@gmail.com"},"repository":{"url":"git+https://github.com/aamp-protocol/aamp.git","type":"git"},"_npmVersion":"10.2.3","description":"TypeScript reference implementation of AAMP","directories":{},"_nodeVersion":"20.10.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.0","typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/protocol_1.1.2_1769047634449_0.7580278267351068","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@aamp/protocol","version":"1.1.3","_id":"@aamp/protocol@1.1.3","maintainers":[{"name":"yogeshsingh","email":"sme50962@gmail.com"}],"homepage":"https://github.com/aamp-protocol/aamp#readme","bugs":{"url":"https://github.com/aamp-protocol/aamp/issues"},"dist":{"shasum":"23038552f9f7a83e17a04647fd43a1f8838ab4bb","tarball":"https://registry.npmjs.org/@aamp/protocol/-/protocol-1.1.3.tgz","fileCount":27,"integrity":"sha512-9DHi5byzEUoZ36xiiM/SJmzHSGcD6+jybbFs+NelDoyOo6dTAEtCHIxbT+hIXakiwPqUbC6E+Ar2SyTjNm9/kQ==","signatures":[{"sig":"MEUCIQDLid8o/lw+D2+Th6fz+a5UB8Bkxqz6DHYFcz3gmoDDVgIgLQcdGCvHpL6f+U38gRj4ouynm/px9/oAaoOg6uVBfPw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59673},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"ts-node test/handshake.spec.ts","build":"tsc","prepublishOnly":"npm run test && npm run build"},"_npmUser":{"name":"yogeshsingh","email":"sme50962@gmail.com"},"repository":{"url":"git+https://github.com/aamp-protocol/aamp.git","type":"git"},"_npmVersion":"10.2.3","description":"TypeScript reference implementation of AAMP v1.1","directories":{},"_nodeVersion":"20.10.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.0","typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/protocol_1.1.3_1769102597450_0.3801161917256646","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@aamp/protocol","version":"1.1.4","_id":"@aamp/protocol@1.1.4","maintainers":[{"name":"yogeshsingh","email":"sme50962@gmail.com"}],"homepage":"https://github.com/aamp-protocol/aamp#readme","bugs":{"url":"https://github.com/aamp-protocol/aamp/issues"},"dist":{"shasum":"e814ddd886adbcb8492e56097d0278ef02b2aeee","tarball":"https://registry.npmjs.org/@aamp/protocol/-/protocol-1.1.4.tgz","fileCount":27,"integrity":"sha512-ytK9UBKW3+2BprtE43fioG1Ti5ywFBPkRDleGp9wAGltEtNEB5D+IA2rdoso/BOYmMnLIJH+9IZltFRPQov19g==","signatures":[{"sig":"MEQCIAJPXknavSId+vHuh7hdxM1inQlGV6n2i9OMeC/HzjNmAiB/GPa+pPwASxOgg7H8gjyw84sjU8DJenUysiCIinw4Kw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60029},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"ts-node test/handshake.spec.ts","build":"tsc","prepublishOnly":"npm run test && npm run build"},"_npmUser":{"name":"yogeshsingh","email":"sme50962@gmail.com"},"repository":{"url":"git+https://github.com/aamp-protocol/aamp.git","type":"git"},"_npmVersion":"10.2.3","description":"TypeScript reference implementation of AAMP v1.1","directories":{},"_nodeVersion":"20.10.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.0","typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/protocol_1.1.4_1769110502460_0.5930609451898212","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"@aamp/protocol","version":"1.1.5","_id":"@aamp/protocol@1.1.5","maintainers":[{"name":"yogeshsingh","email":"sme50962@gmail.com"}],"homepage":"https://github.com/aamp-protocol/aamp#readme","bugs":{"url":"https://github.com/aamp-protocol/aamp/issues"},"dist":{"shasum":"7a9ded560cd8e6446178f09e0aa18c77ffbe8fb5","tarball":"https://registry.npmjs.org/@aamp/protocol/-/protocol-1.1.5.tgz","fileCount":27,"integrity":"sha512-CwCPblyIM9Jxt4oBLtLFR4pIzBdUc7f4V1VGmBdLbsZtEurzFmCrqdbFs6/t+YNqMLAe/grJSRDmfVOVhvccig==","signatures":[{"sig":"MEUCIFDwMwiloaTJPA8vTFeSdrmD04vvn+4iTG8ubkpA1ValAiEAx3CYyByAOJc+aVmI1AKg4Ayf7pMqU1H8TDwVSJYuxRQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61744},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"ts-node test/handshake.spec.ts","build":"tsc","prepublishOnly":"npm run test && npm run build"},"_npmUser":{"name":"yogeshsingh","email":"sme50962@gmail.com"},"repository":{"url":"git+https://github.com/aamp-protocol/aamp.git","type":"git"},"_npmVersion":"10.2.3","description":"TypeScript reference implementation of AAMP v1.1","directories":{},"_nodeVersion":"20.10.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.0","typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/protocol_1.1.5_1769112537899_0.7273337879643873","host":"s3://npm-registry-packages-npm-production"}},"1.1.6":{"name":"@aamp/protocol","version":"1.1.6","_id":"@aamp/protocol@1.1.6","maintainers":[{"name":"yogeshsingh","email":"sme50962@gmail.com"}],"homepage":"https://github.com/aamp-protocol/aamp#readme","bugs":{"url":"https://github.com/aamp-protocol/aamp/issues"},"dist":{"shasum":"1d879af078899140c638e86375ef254a358d92d2","tarball":"https://registry.npmjs.org/@aamp/protocol/-/protocol-1.1.6.tgz","fileCount":31,"integrity":"sha512-juUs8BkfOFTj9FVoMbCaOM1U7mMpXBroLWcr49jkni5bgTfipZHzb65lFVkDjSGeIr3sGIIFfIAVI2h7qptldQ==","signatures":[{"sig":"MEUCIGVJ8uLNg0+mdovM1nz/NEmd770uFjvg9G2nGdPfsFvfAiEA09WIQ3CHkIkOaGDqE9KisJf9kwxP6o5wTvtGBIAe0ak=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":119923},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","scripts":{"test":"node --loader ts-node/esm test/handshake.spec.ts","build":"tsc"},"_npmUser":{"name":"yogeshsingh","email":"sme50962@gmail.com"},"repository":{"url":"git+https://github.com/aamp-protocol/aamp.git","type":"git"},"_npmVersion":"10.2.3","description":"TypeScript reference implementation of AAMP v1.1","directories":{},"_nodeVersion":"20.10.0","dependencies":{"jose":"^6.1.3","node-fetch":"^2.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/node-fetch":"^2.6.13"},"_npmOperationalInternal":{"tmp":"tmp/protocol_1.1.6_1769272065020_0.09052110048951878","host":"s3://npm-registry-packages-npm-production"}},"1.1.7":{"name":"@aamp/protocol","version":"1.1.7","_id":"@aamp/protocol@1.1.7","maintainers":[{"name":"yogeshsingh","email":"sme50962@gmail.com"}],"homepage":"https://github.com/aamp-protocol/aamp#readme","bugs":{"url":"https://github.com/aamp-protocol/aamp/issues"},"dist":{"shasum":"5479ab766af76cc8532a031e0e57d41928ecc7df","tarball":"https://registry.npmjs.org/@aamp/protocol/-/protocol-1.1.7.tgz","fileCount":31,"integrity":"sha512-quTWNXJYzTK/oz07h6ubov/zXcR/AXoAyrG9KnauuQ8zwQaWIvPLSfO4Xp5aiz/HrGJc9DvTNptMJkYe53jEtA==","signatures":[{"sig":"MEUCIG2KJsoi3zEv2sFItwEcpMoKV47M1ulnXyUpRyRAFyzHAiEAjnofLjJn06oRIuaO6vSmw6s8/SXDkukQBs/qhiWU3p8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":122987},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","scripts":{"test":"node --loader ts-node/esm test/handshake.spec.ts","build":"tsc"},"_npmUser":{"name":"yogeshsingh","email":"sme50962@gmail.com"},"repository":{"url":"git+https://github.com/aamp-protocol/aamp.git","type":"git"},"_npmVersion":"10.2.3","description":"TypeScript reference implementation of AAMP v1.1","directories":{},"_nodeVersion":"20.10.0","dependencies":{"jose":"^6.1.3","node-fetch":"^2.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/node-fetch":"^2.6.13"},"_npmOperationalInternal":{"tmp":"tmp/protocol_1.1.7_1769279107107_0.43281458615021173","host":"s3://npm-registry-packages-npm-production"}},"1.1.8":{"name":"@aamp/protocol","version":"1.1.8","_id":"@aamp/protocol@1.1.8","maintainers":[{"name":"yogeshsingh","email":"sme50962@gmail.com"}],"homepage":"https://github.com/aamp-protocol/aamp#readme","bugs":{"url":"https://github.com/aamp-protocol/aamp/issues"},"dist":{"shasum":"43a48aeff9398e14649c8544328fb3c5eaf16cf9","tarball":"https://registry.npmjs.org/@aamp/protocol/-/protocol-1.1.8.tgz","fileCount":12,"integrity":"sha512-VVIEGqgRE1qmC6En+wX3L0O/BcdIO3YDYWCuFSNrSJcXCRPPgu9gokP3snbb1o+AujQoH04zNlCnuFyBcQ+QRA==","signatures":[{"sig":"MEUCIF6AsNkthbZKwLAtMnmBixODBLN1hJIIGvQyLaIuNmywAiEArL5o6i+HtYMAOvzgrXpyI7sgxT5S7a09caqBcCZNntE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37142},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":"./dist/index.js","./dist/agent":"./dist/agent.js","./dist/types":"./dist/types.js","./dist/nextjs":"./dist/nextjs.js"},"scripts":{"test":"node --loader ts-node/esm test/handshake.spec.ts","build":"tsc"},"_npmUser":{"name":"yogeshsingh","email":"sme50962@gmail.com"},"repository":{"url":"git+https://github.com/aamp-protocol/aamp.git","type":"git"},"_npmVersion":"10.2.3","description":"TypeScript reference implementation of AAMP v1.1","directories":{},"_nodeVersion":"20.10.0","dependencies":{"jose":"^6.1.3","node-fetch":"^2.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/node-fetch":"^2.6.13"},"_npmOperationalInternal":{"tmp":"tmp/protocol_1.1.8_1769358467685_0.15395510839815674","host":"s3://npm-registry-packages-npm-production"}},"1.1.9":{"name":"@aamp/protocol","version":"1.1.9","_id":"@aamp/protocol@1.1.9","maintainers":[{"name":"yogeshsingh","email":"sme50962@gmail.com"}],"homepage":"https://github.com/aamp-protocol/aamp#readme","bugs":{"url":"https://github.com/aamp-protocol/aamp/issues"},"dist":{"shasum":"8c40a7e5a4b4ad157d00b0d169a8efad0848526e","tarball":"https://registry.npmjs.org/@aamp/protocol/-/protocol-1.1.9.tgz","fileCount":30,"integrity":"sha512-3Vy5UUTn3FP/DxqJXsl+Leq6C0oPb3zwagfYu7+khxEhxbDWl1pgFGUpKsXRMz+8XPqgB2rMHwnEhNb8JyR7Ww==","signatures":[{"sig":"MEQCIBWYNpVL+8m4munGyeOd/iACNorDyjKWqIHQUGN642XpAiBGMN5P8JM3+UTbzL6sjZh9NanTAcd/vhHMnpXjHf18zw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79958},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":"./dist/index.js","./dist/agent":"./dist/agent.js","./dist/types":"./dist/types.js","./dist/nextjs":"./dist/nextjs.js"},"gitHead":"e9355712e836ef6cdd7bb47795a4f852a942a65f","scripts":{"test":"node --loader ts-node/esm test/handshake.spec.ts","build":"tsc"},"_npmUser":{"name":"yogeshsingh","email":"sme50962@gmail.com"},"repository":{"url":"git+https://github.com/aamp-protocol/aamp.git","type":"git","license":"Apache-2.0"},"_npmVersion":"10.2.3","description":"TypeScript reference implementation of AAMP v1.1","directories":{},"_nodeVersion":"20.10.0","dependencies":{"jose":"^6.1.3","node-fetch":"^2.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/node-fetch":"^2.6.13"},"_npmOperationalInternal":{"tmp":"tmp/protocol_1.1.9_1769376759968_0.39362106130704766","host":"s3://npm-registry-packages-npm-production"}},"1.1.10":{"name":"@aamp/protocol","version":"1.1.10","license":"Apache-2.0","_id":"@aamp/protocol@1.1.10","maintainers":[{"name":"yogeshsingh","email":"sme50962@gmail.com"}],"homepage":"https://github.com/aamp-protocol/aamp#readme","bugs":{"url":"https://github.com/aamp-protocol/aamp/issues"},"dist":{"shasum":"6f3222c57579f69fa019e1cb0f1dc736b1ab0280","tarball":"https://registry.npmjs.org/@aamp/protocol/-/protocol-1.1.10.tgz","fileCount":30,"integrity":"sha512-w9L23NXZOGa0LhTxZgFg3TVBFAsJz+PaszOLqjjgLNoZ+yITAcyzBzMiErPR0rYD0KrXpUAADmVuPsGQyZRYlg==","signatures":[{"sig":"MEYCIQDOLdveMFctbyTi97N7HkHCn/0OjMTfadfL5Ck9NH64rQIhAJ/fai5tia6mGUKObveGVMv/YjeG8f4AZgF8F1SpyMKM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79957},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":"./dist/index.js","./dist/agent":"./dist/agent.js","./dist/types":"./dist/types.js","./dist/nextjs":"./dist/nextjs.js"},"gitHead":"e9355712e836ef6cdd7bb47795a4f852a942a65f","scripts":{"test":"node --loader ts-node/esm test/handshake.spec.ts","build":"tsc"},"_npmUser":{"name":"yogeshsingh","email":"sme50962@gmail.com"},"repository":{"url":"git+https://github.com/aamp-protocol/aamp.git","type":"git"},"_npmVersion":"10.2.3","description":"TypeScript reference implementation of AAMP v1.1","directories":{},"_nodeVersion":"20.10.0","dependencies":{"jose":"^6.1.3","node-fetch":"^2.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/node-fetch":"^2.6.13"},"_npmOperationalInternal":{"tmp":"tmp/protocol_1.1.10_1769377078388_0.8753993803424767","host":"s3://npm-registry-packages-npm-production"}},"1.1.11":{"name":"@aamp/protocol","version":"1.1.11","license":"Apache-2.0","description":"TypeScript reference implementation of AAMP v1.1","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":"./dist/index.js","./dist/nextjs":"./dist/nextjs.js","./dist/agent":"./dist/agent.js","./dist/types":"./dist/types.js"},"type":"module","scripts":{"build":"tsc","test":"node --loader ts-node/esm test/handshake.spec.ts"},"repository":{"type":"git","url":"git+https://github.com/aamp-protocol/aamp.git"},"publishConfig":{"access":"public"},"devDependencies":{"@types/node":"^20.0.0","@types/node-fetch":"^2.6.13","ts-node":"^10.9.0","typescript":"^5.0.0"},"dependencies":{"jose":"^6.1.3","node-fetch":"^2.7.0"},"_id":"@aamp/protocol@1.1.11","gitHead":"e9355712e836ef6cdd7bb47795a4f852a942a65f","bugs":{"url":"https://github.com/aamp-protocol/aamp/issues"},"homepage":"https://github.com/aamp-protocol/aamp#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-a1wUee2ww8eEwJ7UYIAIV9r3/m9FIK/80sje3vvTzNOVkCbdcn756SZ9C6T3+AyCYiZKGSkzL13wwbZ8wAr20A==","shasum":"020c0728ae54747d762586ca75be772348d499e2","tarball":"https://registry.npmjs.org/@aamp/protocol/-/protocol-1.1.11.tgz","fileCount":31,"unpackedSize":83024,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDkuZBSTAxnPkQMA0eN4uWxKDBFNkBU6q0j93lGDARKyQIgEU1fhUFSaVxwXb3mlb0sE1MwXSIkEYN97U35+VCIYs8="}]},"_npmUser":{"name":"yogeshsingh","email":"sme50962@gmail.com"},"directories":{},"maintainers":[{"name":"yogeshsingh","email":"sme50962@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/protocol_1.1.11_1769377583838_0.740679718009609"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-22T01:34:25.114Z","modified":"2026-01-25T21:46:24.103Z","1.1.0":"2026-01-22T01:34:25.401Z","1.1.1":"2026-01-22T02:04:14.526Z","1.1.2":"2026-01-22T02:07:14.610Z","1.1.3":"2026-01-22T17:23:17.584Z","1.1.4":"2026-01-22T19:35:02.613Z","1.1.5":"2026-01-22T20:08:58.108Z","1.1.6":"2026-01-24T16:27:45.181Z","1.1.7":"2026-01-24T18:25:07.265Z","1.1.8":"2026-01-25T16:27:47.850Z","1.1.9":"2026-01-25T21:32:40.098Z","1.1.10":"2026-01-25T21:37:58.535Z","1.1.11":"2026-01-25T21:46:23.983Z"},"bugs":{"url":"https://github.com/aamp-protocol/aamp/issues"},"license":"Apache-2.0","homepage":"https://github.com/aamp-protocol/aamp#readme","repository":{"type":"git","url":"git+https://github.com/aamp-protocol/aamp.git"},"description":"TypeScript reference implementation of AAMP v1.1","maintainers":[{"name":"yogeshsingh","email":"sme50962@gmail.com"}],"readme":"\r\n# @aamp/protocol\r\n\r\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\r\n[![NPM Version](https://img.shields.io/npm/v/@aamp/protocol.svg)](https://www.npmjs.com/package/@aamp/protocol)\r\n[![TypeScript](https://img.shields.io/badge/TypeScript-100%25-blue.svg)](https://www.typescriptlang.org/)\r\n\r\nThe official TypeScript reference implementation of the **Automated Agent Monetization Protocol (AAMP)**.\r\n\r\n**AAMP** is an open standard that enables \"Transactional Content Negotiation\" between AI Agents and Web Publishers. replacing `robots.txt` with cryptographic signatures and micro-payments.\r\n\r\n> **Website:** [https://aamp.dev](https://aamp.dev)  \r\n> **Repository:** [GitHub](https://github.com/aamp-protocol/aamp)\r\n\r\n---\r\n\r\n## 📦 Installation\r\n\r\n```bash\r\nnpm install @aamp/protocol\r\n# Optional: Install 'jose' for crypto signing if you are building a custom implementation\r\nnpm install jose\r\n```\r\n\r\n---\r\n\r\n## 🚀 Usage\r\n\r\n### 1. For AI Agents (Clients)\r\nUse `AAMPAgent` to crawl websites with automatic protocol negotiation.\r\n\r\n```typescript\r\nimport { AAMPAgent } from '@aamp/protocol';\r\n\r\nasync function main() {\r\n    // 1. Initialize Identity (Loads from AAMP_PRIVATE_KEY env var)\r\n    const agent = await AAMPAgent.init();\r\n\r\n    // 2. Fetch URL (Automatically signs request if AAMP is detected)\r\n    const response = await agent.fetch('https://example.com/article', {\r\n        purpose: 'RAG_RETRIEVAL'\r\n    });\r\n\r\n    if (response.status === 200) {\r\n        console.log('Success:', response.data);\r\n    } else {\r\n        console.error('Blocked:', response.status);\r\n    }\r\n}\r\n```\r\n\r\n### 2. For Publishers (Next.js Middleware)\r\nUse `AAMPNext` to protect your routes.\r\n\r\n```typescript\r\n// src/middleware.ts\r\nimport { AAMPNext } from '@aamp/protocol';\r\n\r\nconst aamp = AAMPNext.init({\r\n    policy: {\r\n        // Security: Verify DNS Binding\r\n        requireIdentityBinding: true, \r\n        \r\n        // Economics: Connect to Broker\r\n        monetization: {\r\n            brokerUrl: \"https://broker.aamp.network\"\r\n        }\r\n    }\r\n});\r\n\r\nexport const middleware = aamp.withProtection();\r\n\r\nexport const config = {\r\n    matcher: ['/api/premium/:path*', '/articles/:path*']\r\n};\r\n```\r\n\r\n---\r\n\r\n## 🔑 Key Features\r\n*   **Zero Dependencies**: The core logic is dependency-free.\r\n*   **Isomorphic**: Works in Node.js, Edge Runtime (Vercel/Cloudflare), and Browsers.\r\n*   **Cryptographically Secure**: Implements `ECDSA P-256` signatures and `JSON Web Tokens`.\r\n*   **Type Safe**: Written in strict TypeScript with full definition files included.\r\n\r\n---\r\n\r\n## 📚 API Reference\r\n\r\n### `AAMPAgent`\r\n*   `init(options?)`: Create a new agent instance.\r\n*   `fetch(url, options)`: AAMP-aware fetch wrapper.\r\n*   `sendFeedback(url, feedback)`: Send Quality/Spam reports.\r\n\r\n### `AAMPNext` (Adapter)\r\n*   `init(config)`: Configure the Publisher Policy Engine.\r\n*   `withProtection(handler)`: Wrap a Next.js Middleware or Route Handler.\r\n\r\n---\r\n\r\n## 📄 License\r\n**Apache 2.0**\r\n\r\nBy the AAMP Community.\r\n","readmeFilename":"README.md"}