{"_id":"@grantex/sdk","_rev":"38-d699b4096b1857537f781484cbf6676f","name":"@grantex/sdk","dist-tags":{"latest":"0.8.1"},"versions":{"0.1.0":{"name":"@grantex/sdk","version":"0.1.0","license":"Apache-2.0","_id":"@grantex/sdk@0.1.0","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://github.com/mishrasanjeev/grantex#readme","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"3db27bab41b4e560844c7419620762de70ce0afc","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.1.0.tgz","fileCount":73,"integrity":"sha512-uwdctKQfcbSvN+OqOXJVsSH2HDn0HylANAyv4ptjrh2HuJx5hi5zN/HU3qo9ZBeFhc/mW/rijEiorzx9IeZa4A==","signatures":[{"sig":"MEUCIEuLS4FlacErPaxL1Yz8SnZA4BtZ3W/87x1BjdW1KY+JAiEAk3rUATThjNzr2UleHm9eQoOrCMQsDVu17QmddJBViFo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":90634},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"7077d90f6d5c84d6bb49248c8fe3c4f8dc4c3f64","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0_1772181007285_0.7827760518012288","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@grantex/sdk","version":"0.1.1","license":"Apache-2.0","_id":"@grantex/sdk@0.1.1","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://github.com/mishrasanjeev/grantex#readme","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"81e546b99e43ab56689cde06c2c31f22e913c9e9","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.1.1.tgz","fileCount":74,"integrity":"sha512-ql13kDMnJsA5ejV2BCIpwnexYqcJJ9vLi6pHanyU+nA+zjWuvGOlmztGJBZmOT+Amb3bZA/6QT3AOLgu0/7loA==","signatures":[{"sig":"MEQCICgkMb4yHpfOxtYfMwWjrsSUgmKnJzMt+tzfMPyg36faAiAxNr1Mtw6KUbfJlL/5OsQo6/qZQ7VLK2B5hnus1PYaEg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":106610},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"137945a825c208e4a16af65ada136af086884128","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.1_1772182375649_0.015498741154641005","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@grantex/sdk","version":"0.1.2","license":"Apache-2.0","_id":"@grantex/sdk@0.1.2","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://github.com/mishrasanjeev/grantex#readme","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"cb018d31bef1af05d2e77e3141c4eee5d0b193a8","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.1.2.tgz","fileCount":74,"integrity":"sha512-gXBAV3p2/lROfTDJrLfcO3ZmgToLXPZy/HYYs/rODod3mUABSKcQ1+CCvFH/AAFP95sv6p+BU5vACvkdmxrw0w==","signatures":[{"sig":"MEUCIQDohXywNWXaTTdeSW9EmHHsE7Y/IpzknpkYAcTB0Ptv2gIgT3EEli60j6K7wozV41QpisHAvgxsqVGaBIwMnVZ4tHQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112239},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"fd69a1f0ca50cd50a69627ecf30919d8d9b36214","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.2_1772216317999_0.6499536685431826","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@grantex/sdk","version":"0.1.3","license":"Apache-2.0","_id":"@grantex/sdk@0.1.3","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://github.com/mishrasanjeev/grantex#readme","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"cb778965ddcdbdc208843080dac5f9540b0dd9be","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.1.3.tgz","fileCount":78,"integrity":"sha512-ov5f1IU0K+XfThvBRLVde1TtOQTRZe+asKJg9wmsvQ1rW0INbwuT61F1/2M6m/9sx9Vt+klVJGRFU6J/HGmloA==","signatures":[{"sig":"MEYCIQCKWalAzszl41FcZ7oq9dV27oRU2AG+fSOWg5z5FF2k4QIhAPxxc8T44U95zy7CBunK8N6wXbXUNdlGvX6Syuz0T9Zd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":115535},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"2343ef5772a808b20ce5de569a13a97baaed75e5","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.3_1772249017756_0.28522439777180697","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@grantex/sdk","version":"0.1.4","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token"],"license":"Apache-2.0","_id":"@grantex/sdk@0.1.4","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://github.com/mishrasanjeev/grantex#readme","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"4016e5e250e5a6013cee729aed693e02e2992531","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.1.4.tgz","fileCount":78,"integrity":"sha512-dgT1tOaN46pUEKOl0pnntvqVYgZQqFkNtDOJcCeVzKLgqIyiXppYaLGtRAHv85rDEEYPGsPz/dyRq66Z6NDpmA==","signatures":[{"sig":"MEQCIGj9sknw6bQosaQxU45fiNhtN02qCK9wuHbEebphffiHAiBQep0l6pKENNtj/aVtI1/Rv+LoUFi37Fl67JUxNEsxWw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":118367},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"6e6bfbdaecfbfe452323bef40cdd5b52f468363e","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.4_1772293560350_0.05733780358167606","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@grantex/sdk","version":"0.1.5","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token"],"license":"Apache-2.0","_id":"@grantex/sdk@0.1.5","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://github.com/mishrasanjeev/grantex#readme","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"1cfc7f66782ffa0fac1d7d7f44f912750035b63f","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.1.5.tgz","fileCount":82,"integrity":"sha512-Xc3k+ap0b4dM+LnNF9Dvhw8dnjittC3JFFruvLJvz3XRZTS6pCKTsZH68KWSYz1yCgaqS59Hr8A7dhC+svgTOA==","signatures":[{"sig":"MEUCIEerNlBFcwjI/q10iI23VUdXxh2Lyk9GuUsx1cdM83vkAiEAilip1eUmdWp4Of0eo+T7cJN/lIC7LO/lAeFRb2JRRIo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":120706},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"0ba042e9d6492054228c7582c1214b99ed4376a5","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.5_1772299087479_0.7736256704491629","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@grantex/sdk","version":"0.1.6","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token"],"license":"Apache-2.0","_id":"@grantex/sdk@0.1.6","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://github.com/mishrasanjeev/grantex#readme","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"ba34a8ad5af87d374023f4bc3ba39c2338c6d689","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.1.6.tgz","fileCount":82,"integrity":"sha512-sj2hLnLFdIN7Q/8XiRTnbXydrE7Sk2gm+goiLln9g36UA4yB4DkwtRs3XKLAfzwioPHSnXhp548O/u4jq+XgJw==","signatures":[{"sig":"MEQCIGUGNQq3lwpCD8UyxpRIBCWIztrB4+5R4umOEBAQ5L/PAiAOjTuQ8M0tccOOMw/yq4OVrDGpfEKWYJd32HrWgWPQJg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":123429},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"30e9a91f4377f39828d64ef9176dab5d8bc6f1e6","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.6_1772341498086_0.06763097750616698","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@grantex/sdk","version":"0.1.8","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token"],"license":"Apache-2.0","_id":"@grantex/sdk@0.1.8","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://github.com/mishrasanjeev/grantex#readme","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"e78ac71f5e09a5dafd5c4ac59524ab4080675990","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.1.8.tgz","fileCount":86,"integrity":"sha512-o/vfigwl8ItyNyLGdX9uc5Twx13aVlNC4sLq6QJgSEzhNmpA6plvaqVaW5IYhlIzeELE9BKy7gUJ8NrFIUna/w==","signatures":[{"sig":"MEQCIDqwO6/ro0A9qZ+hbgqa60hwQWbB7ws/cxSEe7V0XYVXAiAl0gQmOMiIJlBGtRlBD08bKvrxFga6shtIB1/Uv5HWJQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":132056},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"c82c493d52f7bcdbe31a904d25bb22523e14191b","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.8_1772379014589_0.07850946297663253","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@grantex/sdk","version":"0.1.9","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token"],"license":"Apache-2.0","_id":"@grantex/sdk@0.1.9","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://github.com/mishrasanjeev/grantex#readme","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"c282c63f0a7167e9e97a86d8a1c6972368439311","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.1.9.tgz","fileCount":94,"integrity":"sha512-9h155JD6KLrEM4rvPz4bLv550bRAy1St1YAU4Nv4qw/aHwQ/HkyWt/XxUrVz/vOcX3icAHV+olVUlu9dyuquyg==","signatures":[{"sig":"MEQCIFsGySe9klaFhnUHuENBtrUVfoIf5GGMDvaka8WGMtcPAiAouZMRYWnaeo35go52GLfved2JvHp2Gf1grtFs7KFpWA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":145386},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"18e9a02470a1c8dd131ca52b47d7ff6056e71b9b","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.9_1772388095915_0.829256595680415","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@grantex/sdk","version":"0.2.0","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token"],"license":"Apache-2.0","_id":"@grantex/sdk@0.2.0","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://github.com/mishrasanjeev/grantex#readme","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"14b8dfbda9108dbf6a2d7677ee70d46a2be08655","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.2.0.tgz","fileCount":102,"integrity":"sha512-gXSpRx1Z2ehoPh1b3nLRDWZeWP+N3AVOHei+ZQveIlTIV5q/HIUC2cFY54QU9j0ucEfs4ubuXct0jeap0NeGAg==","signatures":[{"sig":"MEUCIQCR+OF6gX1yInuaO+EdbxlPedgaXRXGKpnLnv7Iy7Pe5gIgGORkfBQQDXrsP16Ms7ZSQwG1UzDK7/Fx7F7DphYgCE0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":153045},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"ebe40532e0880871e6764a0e24d42e8427812af0","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.0_1772419723554_0.39233415758820933","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@grantex/sdk","version":"0.2.1","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token"],"license":"Apache-2.0","_id":"@grantex/sdk@0.2.1","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"eb6b4831101495cc170886f28e23d8943241e46d","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.2.1.tgz","fileCount":102,"integrity":"sha512-B0wiQDPH4UfoLFzNqhC49nC8zi37DF5P0I/GWLjYl23+FlCcg91FATCQpFPoDsShefP2OMvBSacIrmhExPA7BQ==","signatures":[{"sig":"MEUCIGR2FGdntQwaa24O0pFrKicoXwzeWq6Jce5xpy27+sfkAiEAk0qlDfmIsfoRLDQ5hq1YYSVmPfampLK4xUVAtUNsbqU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":153164},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"b7c76534ccc54447a2ef16c297ae79a16cf74c7b","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.1_1772637446911_0.9652065705789155","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@grantex/sdk","version":"0.2.2","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token"],"license":"Apache-2.0","_id":"@grantex/sdk@0.2.2","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"b2a601f6799c2cb23c559ff11a63a34220ac5dc6","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.2.2.tgz","fileCount":102,"integrity":"sha512-DUhkB/K6pdj8AKJ+QqKcExz1cJDdKnjramm14xAc57MKRB1cGh/0JsFDtJEEW4r/5sVAAsLgPtxcNmXim92ekw==","signatures":[{"sig":"MEQCICJ6TkxANXUR8iRJqmusJdqdcTZAZ+wKzyuugYoXcBzuAiA5uzcxBC+liH2cJ0EKB8uh4Qx8lpFnsFElljDI6CntmQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":153334},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"38e9e8a4d2579b8867b1d42cab852299efbd0993","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.2_1772938989597_0.15840819076794888","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@grantex/sdk","version":"0.2.3","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token"],"license":"Apache-2.0","_id":"@grantex/sdk@0.2.3","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"8dfef14612439b1630e6d47260820038c63ba086","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.2.3.tgz","fileCount":102,"integrity":"sha512-G/CaL7rKxlJShwyE2GBDF9Y6AQh/Rgrbw4LtPCheiFXgIOiqfX6wjE356tWIbVymkrhlT3LslmWW56psyDTXiA==","signatures":[{"sig":"MEYCIQDX8ZurzgI94qfYUIJGHxYadUVOl6cl0iwiy10tTBnOXQIhANLiiAprPi1Dee8gzSLruTHZxc6I9OLm+tYTpzQlo3Sl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":153313},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"c58499fc6605e350752f9c9615495e61b17b868d","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.0","@vitest/coverage-v8":"^1.6.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.3_1772978535787_0.14268332400982264","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@grantex/sdk","version":"0.2.4","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"license":"Apache-2.0","_id":"@grantex/sdk@0.2.4","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"95f6a1534290371a86d838b2743aea679b83b7c5","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.2.4.tgz","fileCount":114,"integrity":"sha512-c1xAsOX36bvHGIdcOB9jilUc8UsWcxIj5bLHr2IwRA9hEeA0a3QmZLIEVK4x0LVfcCbonahsla9DnsGPogetlw==","signatures":[{"sig":"MEQCIB5Q/WiCy+Yjs3E5RgArcOopjNQeB1FmGmulc8EXIskcAiAX9/ozmuBTWIUZZvWF/CdmX4jhMBEcpLJDT/yIIu3/ow==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":170730},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"76829b2f6111d18a490dce1766323a39552b15c7","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.0","@vitest/coverage-v8":"^1.6.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.4_1774288262404_0.02649146426885629","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"@grantex/sdk","version":"0.2.5","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"license":"Apache-2.0","_id":"@grantex/sdk@0.2.5","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"e41a107eb18e4bbc45980e2e4fc805ac7d605b45","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.2.5.tgz","fileCount":114,"integrity":"sha512-yQRvdKm+HEW5BSn2a2N02nRviuz3loQbWnzaoZ9aEoOQBhQVXChE3l/8NKkTJ0KSmvnR+UWdNwIVgnI++0pdqA==","signatures":[{"sig":"MEUCIAgl5Mti7y7CaqynreoyjSRro54ebk9scbNP3XeosQ+NAiEA7BAn35K4QaTp7aenHE8n/mVQLSo17Ix2Hw2UbJVdzYs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":170731},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"f13f96417f71fee93425013c35c246a7eb24aa13","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.0","@vitest/coverage-v8":"^1.6.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.5_1774683115954_0.8048813824424044","host":"s3://npm-registry-packages-npm-production"}},"0.2.6":{"name":"@grantex/sdk","version":"0.2.6","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"license":"Apache-2.0","_id":"@grantex/sdk@0.2.6","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"0db4dd00857dadfce36ac47d2a3f152b8110bf62","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.2.6.tgz","fileCount":114,"integrity":"sha512-b4aJ8ye715WQXuQlGwhv34w6rvR1PkYbmMOjhEeyGQcCVnTIJ9jYiKLRHULc7mpi+YfLbCayiv4Rl+8652RmHg==","signatures":[{"sig":"MEUCICt3rR4JrC5vsnZLVX4uIqQihVFV00T+KWzZZl59zyLcAiEAlL+NQFabVzMQcqh/lYrnyBxk9QgYxdsRNZXnPg3G4Ks=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":185499},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"3202738fb9c2279438d22de4239ec240b97a919e","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.0","@vitest/coverage-v8":"^1.6.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.6_1774782401063_0.5460295793793042","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@grantex/sdk","version":"0.3.0","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"license":"Apache-2.0","_id":"@grantex/sdk@0.3.0","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"d7d82435684037f63861f85e89598ad5db753909","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.3.0.tgz","fileCount":334,"integrity":"sha512-dHWWcLxYY+gcljKvIoD31uYd0XoFvgRq+fnZ4/c6N5x7/Gbzf1jsN0P+k/QG8/4nygOMC9cRsmXmapWAT8X4vg==","signatures":[{"sig":"MEUCIDoGl9VcATYppcUAq4TjQNHm/0vjLVDW82iHcUD5Lfk9AiEAkx2ggt672i1GOMD2g8J1kJSOqmWmV3bVN2typixfMt4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":290431},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"42655445338ac30abd3d934a7bee2b9758fd12a4","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.0","@vitest/coverage-v8":"^1.6.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.0_1775291411285_0.7368840534773691","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@grantex/sdk","version":"0.3.1","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"license":"Apache-2.0","_id":"@grantex/sdk@0.3.1","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"c0a3b91f5500af4793e6c80af11429ae0198c190","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.3.1.tgz","fileCount":334,"integrity":"sha512-zkO+iyb8r9JdsN4anp6fXNw9Lsw9zNtMN7SxB3V66/Oh0a1L+EsD7rTiho+at9alQkzvqcGhmWiEpeOIu7skPw==","signatures":[{"sig":"MEQCICdKTQzlF+a3935YN/TqnW4X3WA7ZRmKEhg+j3H/ej7nAiAL8XA4SRcrrGtgJ7/b/XNtfUhSJtuMMVneoGdCifzvqQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":300090},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"b4aeca830a2c391f3c9be4b71849c8dce15a3822","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.0","@vitest/coverage-v8":"^1.6.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.1_1775295420041_0.17858783169250425","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@grantex/sdk","version":"0.3.2","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"license":"Apache-2.0","_id":"@grantex/sdk@0.3.2","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"c6c35863142c8b6fb9395c05b9a615e11377f369","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.3.2.tgz","fileCount":334,"integrity":"sha512-sljVruMjM0lJzNKFYD4vSUd3C+FcMvFA4CfXqRtmaj2XxtkJn6adSN8K2wzrUAzBQJMY2j57srhWDbOOLTBmdw==","signatures":[{"sig":"MEUCIDztHWp+eqvvIaN1oTzFluGZoP1VKpu9RAfspv4WpfYNAiEA+VskFGInNEbrvkRU/ihMapK7XgKJNlhWTB0MyPh7X3M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":301510},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./manifests":{"types":"./dist/manifests/index.d.ts","import":"./dist/manifests/index.js"},"./manifests/*":{"types":"./dist/manifests/*.d.ts","import":"./dist/manifests/*.js"}},"gitHead":"cf8154a516a86ca1a2ce3488e10f03288dc95e13","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.0","@vitest/coverage-v8":"^1.6.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.2_1775298234855_0.7000194032054545","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"@grantex/sdk","version":"0.3.3","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"license":"Apache-2.0","_id":"@grantex/sdk@0.3.3","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"e79e6872aac234bde80f46c10b879276a3e64ee2","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.3.3.tgz","fileCount":334,"integrity":"sha512-TjOFGr02xqBwppmoscDzsgEda1cjbvy7Ro/pt52cXC11abit2smLXjoLb26WrZ2h18xc1snmU4G8N/MAnDY+ZQ==","signatures":[{"sig":"MEUCIQDZV372bIX8ffBDen3YODqqJefthFlDMrl7S1UtUzSb2wIgG0p2LyCrQJs+v5U5zUrevpYBHuIqabTBC8iQ1X0P75o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":305271},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./manifests":{"types":"./dist/manifests/index.d.ts","import":"./dist/manifests/index.js"},"./manifests/*":{"types":"./dist/manifests/*.d.ts","import":"./dist/manifests/*.js"}},"gitHead":"fdcb3260b2af070d9967dd98c217b7f4f22d660a","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.0","@vitest/coverage-v8":"^1.6.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.3_1775301581968_0.5552343937833519","host":"s3://npm-registry-packages-npm-production"}},"0.3.4":{"name":"@grantex/sdk","version":"0.3.4","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"license":"Apache-2.0","_id":"@grantex/sdk@0.3.4","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"6a74aba9f4cb1cceb568cc937f4b89520603c4b6","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.3.4.tgz","fileCount":334,"integrity":"sha512-+X0wMPk9kDyT3oiJriv6NSh7sCgkCd63gVyVH76kOho/TRqLyv+JFemTP2DodNyEwZ1oUIZVW1h25TvTvUiovQ==","signatures":[{"sig":"MEYCIQCuSzVvTE11n540DuVzRvequ0bmfQoFiGJrE2U6ZUsrrAIhAJlZyViv+zKVhcTT7ay+jom1FReCTXiHYYDJVPpIa2DL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":305963},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./manifests":{"types":"./dist/manifests/index.d.ts","import":"./dist/manifests/index.js"},"./manifests/*":{"types":"./dist/manifests/*.d.ts","import":"./dist/manifests/*.js"}},"gitHead":"785ec2017c83bc37b73217df60a26d5ccc99deab","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.0","@vitest/coverage-v8":"^1.6.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.4_1775376544050_0.4902658761470666","host":"s3://npm-registry-packages-npm-production"}},"0.3.5":{"name":"@grantex/sdk","version":"0.3.5","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"license":"Apache-2.0","_id":"@grantex/sdk@0.3.5","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"4bcf827cf4a1b194b0922bd834271a20d1140e7d","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.3.5.tgz","fileCount":334,"integrity":"sha512-YSmGKe2fbE8rVInafXompCLvj+Aosp7Fa3qLI3pxZlC+vX6W90OtOymXWD6+Te9lLm+opIlAm95ynGUVeV1lzA==","signatures":[{"sig":"MEYCIQDixDy0LgHuJvMVemOpLq7jpgHP4MeKHMDr7dkLOmVEbQIhAMAyQiVAJ7QHTWvGZZhtwU7M2dI1IdPGP3PD97oaCO9H","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":310159},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./manifests":{"types":"./dist/manifests/index.d.ts","import":"./dist/manifests/index.js"},"./manifests/*":{"types":"./dist/manifests/*.d.ts","import":"./dist/manifests/*.js"}},"gitHead":"e47efc9f24488ff4a22a54f4848f366e6cee27ee","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.3.1","typescript":"^5.3.3","@types/node":"^20.11.0","@vitest/coverage-v8":"^1.6.1"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.5_1775469944386_0.8483161482188648","host":"s3://npm-registry-packages-npm-production"}},"0.3.6":{"name":"@grantex/sdk","version":"0.3.6","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"license":"Apache-2.0","_id":"@grantex/sdk@0.3.6","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"4b114eb8e12ceebbdffc654e90389a24a04988a0","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.3.6.tgz","fileCount":334,"integrity":"sha512-j1oz1Hc/CfmA9y6HojgEDAsOJ0ZHjqh/XuDOto2N8O1Xz3JxqmmtP2meYrojhRGBuJVX5dUAKrj3IP/C1lHNlQ==","signatures":[{"sig":"MEYCIQCoqP7FliZNj96uwc+9tIcpt+wR4v4yEim8EKN5EJC2UQIhAMRbWs5zbgmnM54OlCjComBnY7vKVn77bcinu3CeEXSJ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":310081},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./manifests":{"types":"./dist/manifests/index.d.ts","import":"./dist/manifests/index.js"},"./manifests/*":{"types":"./dist/manifests/*.d.ts","import":"./dist/manifests/*.js"}},"gitHead":"f3cf142c2f3bd223e943322c3f5f2cd82a28a119","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.2","typescript":"^5.3.3","@types/node":"^20.11.0","@vitest/coverage-v8":"^4.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.6_1775616661728_0.8605752505909421","host":"s3://npm-registry-packages-npm-production"}},"0.3.7":{"name":"@grantex/sdk","version":"0.3.7","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"license":"Apache-2.0","_id":"@grantex/sdk@0.3.7","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"50a34f6d4eb9d28c480ff1ecef9eb8a5890b7cff","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.3.7.tgz","fileCount":338,"integrity":"sha512-9vv8ui9LB0a5+1YvvKnttJrUDZ+beupmYpBPQvU1SZx9psqSN8TkIgaTysjNt4A0JLIV+a7ia4FjxZaksWTNbA==","signatures":[{"sig":"MEQCIFM92G+yL2lRbTQGEwxMK7bMtDnA5f9JeeUww2yI+m4BAiADo7W7xuC0OayxSwNgrQ777Mgy8nzlvbcYIlACayRuEQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":323241},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./manifests":{"types":"./dist/manifests/index.d.ts","import":"./dist/manifests/index.js"},"./manifests/*":{"types":"./dist/manifests/*.d.ts","import":"./dist/manifests/*.js"}},"gitHead":"b2feb7438fdad4170b6f4b7a7e1dce923c9259f5","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.2","typescript":"^5.3.3","@types/node":"^20.11.0","@vitest/coverage-v8":"^4.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.7_1775638550790_0.15436024798499348","host":"s3://npm-registry-packages-npm-production"}},"0.3.8":{"name":"@grantex/sdk","version":"0.3.8","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"license":"Apache-2.0","_id":"@grantex/sdk@0.3.8","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"2158978e6fe12b7cac70ab0dd4628e722ccda74f","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.3.8.tgz","fileCount":338,"integrity":"sha512-Ma59mNMbCQz6rcJ/PLm3joeJPHdPRR+U3v1Z7rg808wqu8JQyEH0wi0j6VA8FS4YXJiFwZlfvi74+8WRH7xzqw==","signatures":[{"sig":"MEYCIQCxILix4awx+y4/ktXGTD40gTUa/BGXYhu42cPsxKxdTQIhAL8Z2d6Op49kPwFQmTTN5GrxURD5kBwSAV7Yfojtpfp+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":324754},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./manifests":{"types":"./dist/manifests/index.d.ts","import":"./dist/manifests/index.js"},"./manifests/*":{"types":"./dist/manifests/*.d.ts","import":"./dist/manifests/*.js"}},"gitHead":"d2d98c7a489c0a110e83d9f8b1f7211b7a587af7","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jose":"^5.2.4"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.2","typescript":"^5.3.3","@types/node":"^20.11.0","@vitest/coverage-v8":"^4.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.8_1776146439472_0.8372747159303857","host":"s3://npm-registry-packages-npm-production"}},"0.3.9":{"name":"@grantex/sdk","version":"0.3.9","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"license":"Apache-2.0","_id":"@grantex/sdk@0.3.9","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"80cc8baeae89f6070565e18af216cc6e655dce35","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.3.9.tgz","fileCount":342,"integrity":"sha512-93I6+r0QiPrIeHuln0YpDqyx5SJu48eVsJm6WALaEwXM/gc24YpznIbqB7crghtrGLW5BRs5elIThER1rGFDGA==","signatures":[{"sig":"MEYCIQC0rhHtm6aRx6TI5XOTmmVspGTCxhzCDVFppJbsxzowxQIhAMCbKYeNqo8MgcFkSrmu9lxsCoXxwnK/bdVXJYYn6hXa","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":369344},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./manifests":{"types":"./dist/manifests/index.d.ts","import":"./dist/manifests/index.js"},"./manifests/*":{"types":"./dist/manifests/*.d.ts","import":"./dist/manifests/*.js"}},"gitHead":"52d6856e05462e365dddd9c344ea79f4427c734d","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"11.12.1","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"24.15.0","dependencies":{"jose":"^6.2.3"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.2","typescript":"^6.0.3","@types/node":"^25.9.1","@vitest/coverage-v8":"^4.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.9_1781428325516_0.598227877758644","host":"s3://npm-registry-packages-npm-production"}},"0.3.11":{"name":"@grantex/sdk","version":"0.3.11","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"license":"Apache-2.0","_id":"@grantex/sdk@0.3.11","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"b9d910088be126b9b7d836388ef00787ab35bf8c","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.3.11.tgz","fileCount":342,"integrity":"sha512-F3U23T7YOUrVrBNeT0qPtVvv+iPUbq7rgEsHDz3k9yDNx4qpvowMNbHzLOpcm3aNWdaCpkkhl2O47pIC8J/qnQ==","signatures":[{"sig":"MEQCIHr5p60gIET4kXeZOIgFZp+NJpvbHJwEPA27qOzjDmb5AiB/+UfSHEK4utrBmOFFHlx3Jk/xa1b6MwmMGyIKBzRLIw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":369368},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./manifests":{"types":"./dist/manifests/index.d.ts","import":"./dist/manifests/index.js"},"./manifests/*":{"types":"./dist/manifests/*.d.ts","import":"./dist/manifests/*.js"}},"gitHead":"ee44699dbf4a4ba4ac3b4ae592f79115c94686a6","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"11.12.1","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"24.15.0","dependencies":{"jose":"^6.2.3"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.2","typescript":"^6.0.3","@types/node":"^25.9.1","@vitest/coverage-v8":"^4.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.11_1781430315480_0.39285935090097834","host":"s3://npm-registry-packages-npm-production"}},"0.3.12":{"name":"@grantex/sdk","version":"0.3.12","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"license":"Apache-2.0","_id":"@grantex/sdk@0.3.12","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"4efda1ad77efcd25a3676bc6c842908380afcb0b","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.3.12.tgz","fileCount":342,"integrity":"sha512-Y6gLhAuFN7b64PwO+qxggwI+THH9vmL3+7zIeOkrpu5H9TkT7BnsEsmm7D4EZqelMWnSXeVzwsUWAa2hHlVhfA==","signatures":[{"sig":"MEQCIH0vrJ598xME9a+Q0Y7fCCWlS9SJARq9iJv0c+Cxui++AiB/VVGFZYFlYtKDYbx85ujYy6T1zKOd71R2K1MUz40Slw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":369392},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./manifests":{"types":"./dist/manifests/index.d.ts","import":"./dist/manifests/index.js"},"./manifests/*":{"types":"./dist/manifests/*.d.ts","import":"./dist/manifests/*.js"}},"gitHead":"a99bb501d0817f2c56e1f5451226040eca5e6c97","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"11.12.1","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"24.15.0","dependencies":{"jose":"^6.2.3","yaml":"^2.9.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.2","typescript":"^6.0.3","@types/node":"^26.0.0","@vitest/coverage-v8":"^4.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.12_1782401676982_0.16222465882593595","host":"s3://npm-registry-packages-npm-production"}},"0.3.13":{"name":"@grantex/sdk","version":"0.3.13","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"license":"Apache-2.0","_id":"@grantex/sdk@0.3.13","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"459420e5aba17bed3cc5756110497918913c3c36","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.3.13.tgz","fileCount":342,"integrity":"sha512-H6Wwz2wPsLNOPM3xcxo7d0iGbv40gQHD4fZoaRFwHPsIHfMhkAh8gli4FGPeFmSWin+ic0xU5MA+l2IkHL0rYg==","signatures":[{"sig":"MEUCIBbHKrmjyv9I4oHkC/7iCdBFi/nKv4RGrh72KBYfQaSfAiEAsE6e79p+jUnrrr+KyITuggyw7aeq+xT39o0M+Kz492w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":375447},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./manifests":{"types":"./dist/manifests/index.d.ts","import":"./dist/manifests/index.js"},"./manifests/*":{"types":"./dist/manifests/*.d.ts","import":"./dist/manifests/*.js"}},"gitHead":"16eceaae49c93a1262c4017fac10b3d0b81ab6d4","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"11.12.1","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"24.15.0","dependencies":{"jose":"^6.2.3"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.2","typescript":"^7.0.2","@types/node":"^26.0.0","@vitest/coverage-v8":"^4.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.13_1783737670569_0.3399990277100995","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@grantex/sdk","version":"0.4.0","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"author":{"name":"Sanjeev Kumar","email":"sanjeev@orchestrum.in"},"license":"Apache-2.0","_id":"@grantex/sdk@0.4.0","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"109a423ba6a0b99ab80d421fb0b134897205ee86","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.4.0.tgz","fileCount":350,"integrity":"sha512-X8Tj2aJ6RuMeayb01UvZsmCv8BvRcUIE0pO90436TkroFDY6H904eUN45EJjic6iLlQz0JU5d5mc32H9uwNmBg==","signatures":[{"sig":"MEUCIQCan8CMTJSarECUEaklufUZJRHZNXmmCQ+b+RbhhigJygIgLsBpC0W4KdDfbA08NEt5qNkg/5P/hnfNoIoNzCC9eWM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":450341},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./manifests":{"types":"./dist/manifests/index.d.ts","import":"./dist/manifests/index.js"},"./manifests/*":{"types":"./dist/manifests/*.d.ts","import":"./dist/manifests/*.js"}},"gitHead":"2c7be6de40a42af45d628edb02e9df00fc519948","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"copyright":"Copyright 2026 Orchestrum Technologies LLP. Grantex inventor and owner: Sanjeev Kumar.","overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"11.12.1","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"24.15.0","dependencies":{"jose":"^6.2.3"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.2","typescript":"^7.0.2","@types/node":"^26.0.0","@vitest/coverage-v8":"^4.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.4.0_1788108530014_0.19245657356711154","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@grantex/sdk","version":"0.4.1","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"author":{"name":"Sanjeev Kumar","email":"sanjeev@orchestrum.in"},"license":"Apache-2.0","_id":"@grantex/sdk@0.4.1","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"55bd0b28aabcb0f71a14890d89afc4e3283ea136","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.4.1.tgz","fileCount":350,"integrity":"sha512-672lxIy00Q/CWU7g89mm5oSDJz4P/X43AVPpKyCOAT34kw/4DlAPAtrYAhk3n3K5BKo7d8lgF5b/aNQjr7oJDw==","signatures":[{"sig":"MEUCIEqqBsMOzpsvAQg5dD5MbkA8uoTjs8/vZFg1UedADIFVAiEAukyWf3yOziCO1Ax0XFsyE4ZI6ky1y+egpWq1tEs9nYg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":450340},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./manifests":{"types":"./dist/manifests/index.d.ts","import":"./dist/manifests/index.js"},"./manifests/*":{"types":"./dist/manifests/*.d.ts","import":"./dist/manifests/*.js"}},"gitHead":"6ea61798f93d16fe36f1c6ac5bd259b85ff6eb5f","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"copyright":"Copyright 2026 Orchestrum Technologies LLP. Grantex inventor and owner: Sanjeev Kumar.","overrides":{"esbuild":">=0.25.0"},"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"11.12.1","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"24.15.0","dependencies":{"jose":"^6.2.3"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.2","typescript":"^7.0.2","@types/node":"^26.0.0","@vitest/coverage-v8":"^4.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.4.1_1788110198415_0.6099661634244382","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@grantex/sdk","version":"0.5.0","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"author":{"name":"Sanjeev Kumar","email":"sanjeev@orchestrum.in"},"license":"Apache-2.0","_id":"@grantex/sdk@0.5.0","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"123ba626a25c8fe224ee7ea9327149814d352493","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.5.0.tgz","fileCount":350,"integrity":"sha512-NhYMP8tNODubZDozGkTKeTthnHZI3yK8yyh3ddLvtfqr2cCZ8VzVgetZz261HgajYzj09BrPEIhfIQRkx97G4w==","signatures":[{"sig":"MEYCIQCN16ElayLFtqxZ+jL0roaRtXWurTUr6aHOySeIEU+jEgIhAIn3YXQwwBOjlGZz1G8zLuekmVFOpEgnsp6oDqGn6gOK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":466686},"main":"./dist/index.js","type":"module","_from":"file:C:/Users/mishr/AppData/Local/Temp/grantex-npm-artifacts-20260831-114433/grantex-sdk-0.5.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./manifests":{"types":"./dist/manifests/index.d.ts","import":"./dist/manifests/index.js"},"./manifests/*":{"types":"./dist/manifests/*.d.ts","import":"./dist/manifests/*.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"_resolved":"C:\\Users\\mishr\\AppData\\Local\\Temp\\grantex-npm-artifacts-20260831-114433\\grantex-sdk-0.5.0.tgz","copyright":"Copyright 2026 Orchestrum Technologies LLP. Grantex inventor and owner: Sanjeev Kumar.","overrides":{"esbuild":">=0.25.0"},"_integrity":"sha512-NhYMP8tNODubZDozGkTKeTthnHZI3yK8yyh3ddLvtfqr2cCZ8VzVgetZz261HgajYzj09BrPEIhfIQRkx97G4w==","repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"11.12.1","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"24.15.0","dependencies":{"jose":"^6.2.3"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.2","typescript":"^7.0.2","@types/node":"^26.0.0","@vitest/coverage-v8":"^4.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.5.0_1788179733056_0.27096040699713364","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@grantex/sdk","version":"0.5.1","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"author":{"name":"Sanjeev Kumar","email":"sanjeev@orchestrum.in"},"license":"Apache-2.0","_id":"@grantex/sdk@0.5.1","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"979368bc85c6758f28b73695026401ec749cd50c","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.5.1.tgz","fileCount":350,"integrity":"sha512-ulrRKqx/Y3RaT6iDoCW0awmDtRRE9wASElbRu/yJGxAaP1t3xTa8olq6k9XEmPe+xSOCFd7eKIjT4jziMY9Bog==","signatures":[{"sig":"MEUCIQCj62IwJ+PFuImrWT/03fWb0FQkYur86U5fEZ+cNfXuNAIgCYI6BoWgIhtbaJY/m1qVMxX2bS+g3wXE+Nxt8LbRuP8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":470156},"main":"./dist/index.js","type":"module","_from":"file:C:/tmp/grantex-primary-sdk-33444414826/npm/grantex-sdk-0.5.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./manifests":{"types":"./dist/manifests/index.d.ts","import":"./dist/manifests/index.js"},"./manifests/*":{"types":"./dist/manifests/*.d.ts","import":"./dist/manifests/*.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"_resolved":"C:\\tmp\\grantex-primary-sdk-33444414826\\npm\\grantex-sdk-0.5.1.tgz","copyright":"Copyright 2026 Orchestrum Technologies LLP. Grantex inventor and owner: Sanjeev Kumar.","overrides":{"esbuild":">=0.25.0"},"_integrity":"sha512-ulrRKqx/Y3RaT6iDoCW0awmDtRRE9wASElbRu/yJGxAaP1t3xTa8olq6k9XEmPe+xSOCFd7eKIjT4jziMY9Bog==","repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"11.12.1","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"24.15.0","dependencies":{"jose":"^6.2.3"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.2","typescript":"^7.0.2","@types/node":"^26.0.0","@vitest/coverage-v8":"^4.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.5.1_1788227332910_0.5631639863155171","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@grantex/sdk","version":"0.6.0","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"author":{"name":"Sanjeev Kumar","email":"sanjeev@orchestrum.in"},"license":"Apache-2.0","_id":"@grantex/sdk@0.6.0","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"2fc081bf2ce444396167103af3bf866b53d282a6","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.6.0.tgz","fileCount":352,"integrity":"sha512-qpdvgB8/U1bL1tNk+hhAb/du/lwv3CjJnl4UW6p6iBwd/1Igcq5sxFT/jqYzAs5QTV0AqE4+TWNBppb8BarGnw==","signatures":[{"sig":"MEUCIFrTFcETgOowN8C419FQ/AysmSFwiFrV8JPXj76bDyG1AiEAzq3arTVbd/9mJ5yV7BOGl4/G3HyUa3T7t88mkr+k7RM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":484597},"main":"./dist/index.js","type":"module","_from":"file:release-artifacts/npm/grantex-sdk-0.6.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./manifests":{"types":"./dist/manifests/index.d.ts","import":"./dist/manifests/index.js"},"./manifests/*":{"types":"./dist/manifests/*.d.ts","import":"./dist/manifests/*.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"_resolved":"C:\\Users\\mishr\\AppData\\Local\\Temp\\grantex-sdk-release-20260907\\release-artifacts\\npm\\grantex-sdk-0.6.0.tgz","copyright":"Copyright 2026 Orchestrum Technologies LLP. Grantex inventor and owner: Sanjeev Kumar.","overrides":{"esbuild":">=0.25.0"},"_integrity":"sha512-qpdvgB8/U1bL1tNk+hhAb/du/lwv3CjJnl4UW6p6iBwd/1Igcq5sxFT/jqYzAs5QTV0AqE4+TWNBppb8BarGnw==","repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"11.12.1","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"24.15.0","dependencies":{"jose":"^6.2.3"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.2","typescript":"^7.0.2","@types/node":"^26.0.0","@vitest/coverage-v8":"^4.1.2"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.6.0_1788751127126_0.12675866836436267","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@grantex/sdk","version":"0.7.0","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"author":{"name":"Sanjeev Kumar","email":"sanjeev@orchestrum.in"},"license":"Apache-2.0","_id":"@grantex/sdk@0.7.0","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"8e399d07ed37214ba652a9b49f71cbe3fbf7c78d","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.7.0.tgz","fileCount":472,"integrity":"sha512-cl60uVSPyiwZjSlNomhRMOS5Sdnyd1qC3tY7+7HsI+O3k17HQHD88FUFQ1GGSj51wC9WhIkIkbITr+4etfo24g==","signatures":[{"sig":"MEUCIEaLr4klwhUDHAg7O9jg36i8Dn2w1eplKzKw0CIjkrA2AiEA2XNEicPgPpQFXUmjs0Grz1geOxHkkfBwt3AefLdVRDY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQC7958Z1gou5GQSS6hqwO1DJ/MybbQSucbYBtEL+Oi4kQIhAPXdc1qWn7Xfb11ggzU3fxhOU9Xxf31RKaiad7Y06VUx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1129015},"main":"./dist/index.js","type":"module","_from":"file:C:/tmp/grantex-sdk-release-verified-36288990463/npm/grantex-sdk-0.7.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./evidence":{"types":"./dist/evidence/index.d.ts","import":"./dist/evidence/index.js"},"./manifests":{"types":"./dist/manifests/index.d.ts","import":"./dist/manifests/index.js"},"./manifests/*":{"types":"./dist/manifests/*.d.ts","import":"./dist/manifests/*.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"_resolved":"C:\\tmp\\grantex-sdk-release-verified-36288990463\\npm\\grantex-sdk-0.7.0.tgz","copyright":"Copyright 2026 Orchestrum Technologies LLP. Grantex inventor and owner: Sanjeev Kumar.","overrides":{"esbuild":">=0.25.0"},"_integrity":"sha512-cl60uVSPyiwZjSlNomhRMOS5Sdnyd1qC3tY7+7HsI+O3k17HQHD88FUFQ1GGSj51wC9WhIkIkbITr+4etfo24g==","repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"11.12.1","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"24.15.0","dependencies":{"jose":"^6.2.3"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.23.0","ajv":"^8.20.0","vitest":"^5.0.0","ioredis":"^6.0.0","@types/pg":"^8.23.1","typescript":"^7.0.2","@types/node":"^26.0.0","@vitest/coverage-v8":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.7.0_1790491777112_0.07501690293288465","host":"s3://npm-registry-packages-npm-production"}},"0.7.1":{"name":"@grantex/sdk","version":"0.7.1","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"author":{"name":"Sanjeev Kumar","email":"sanjeev@orchestrum.in"},"license":"Apache-2.0","_id":"@grantex/sdk@0.7.1","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"c5948fccbc52d16cfaa24c7c403d57d76899a4b3","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.7.1.tgz","fileCount":476,"integrity":"sha512-bG8e4nEm+fVG9BD6ZaKkNilTrZSQNSMBztogDTyNPuNfoWDqPfel/k26/L3XNUvznAxN9tjDfkxb3vV4gPLX9g==","signatures":[{"sig":"MEUCIEMJHE4Ch0OO9nt6hZzLpn0GEyDo0IM0mkeozQN5PyW/AiEA9mzK9YUJVpOUzS1ZBP//q/R15LAcPk4afFZ23F8uE88=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDETN0/IJeMn/4qedwJT3LZ3KSENpr7QlssjmapOZFZWgIhAMgHrHL6QvSR2fEmlA2JpPSGJQgziyzftS3S8Hbh7xVH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1169385},"main":"./dist/index.js","type":"module","_from":"file:C:/tmp/grantex-passkey-sdk-main-artifacts/npm/grantex-sdk-0.7.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./evidence":{"types":"./dist/evidence/index.d.ts","import":"./dist/evidence/index.js"},"./manifests":{"types":"./dist/manifests/index.d.ts","import":"./dist/manifests/index.js"},"./manifests/*":{"types":"./dist/manifests/*.d.ts","import":"./dist/manifests/*.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"_resolved":"C:\\tmp\\grantex-passkey-sdk-main-artifacts\\npm\\grantex-sdk-0.7.1.tgz","copyright":"Copyright 2026 Orchestrum Technologies LLP. Grantex inventor and owner: Sanjeev Kumar.","overrides":{"esbuild":">=0.25.0"},"_integrity":"sha512-bG8e4nEm+fVG9BD6ZaKkNilTrZSQNSMBztogDTyNPuNfoWDqPfel/k26/L3XNUvznAxN9tjDfkxb3vV4gPLX9g==","repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"11.12.1","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"24.15.0","dependencies":{"jose":"^6.2.3"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.23.0","ajv":"^8.20.0","vitest":"^5.0.0","ioredis":"^6.0.0","@types/pg":"^8.23.1","typescript":"^7.0.2","@types/node":"^26.0.0","@vitest/coverage-v8":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.7.1_1790556662076_0.4418693683295336","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@grantex/sdk","version":"0.8.0","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"author":{"name":"Sanjeev Kumar","email":"sanjeev@orchestrum.in"},"license":"Apache-2.0","_id":"@grantex/sdk@0.8.0","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"homepage":"https://grantex.dev","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"a6339e42e08be356c283cb6e31eb91b82852f3e6","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.8.0.tgz","fileCount":476,"integrity":"sha512-pMF8HJmnZWxSJy6CZM+h+8G94n1y8STQRHHxlsu6hTM9o+jxJliiTuWlZ4TLZgkXhV5eBWXxgwjOfmaAXrmAAA==","signatures":[{"sig":"MEYCIQDS44HpVHbAuwDpiu2cLz5fF7nbKfc3KnBzjPW0H51w8wIhAMRqZotbW5NfIYeaOvcS8VlrhMUKofnRyMlZSwNSpcA3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIA6lRcHno6i8BsttbIbPC/zpPn/bopXSAowk6Cxv+EVfAiEAgwkfpzd53XMScrkV48MP4AYYPHEBELlCnqdPb2rjA1k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1191611},"main":"./dist/index.js","type":"module","_from":"file:C:/tmp/grantex-enforcement-artifacts-20260928/npm/grantex-sdk-0.8.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.12.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./evidence":{"types":"./dist/evidence/index.d.ts","import":"./dist/evidence/index.js"},"./manifests":{"types":"./dist/manifests/index.d.ts","import":"./dist/manifests/index.js"},"./manifests/*":{"types":"./dist/manifests/*.d.ts","import":"./dist/manifests/*.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"_resolved":"C:\\tmp\\grantex-enforcement-artifacts-20260928\\npm\\grantex-sdk-0.8.0.tgz","copyright":"Copyright 2026 Orchestrum Technologies LLP. Grantex inventor and owner: Sanjeev Kumar.","overrides":{"esbuild":">=0.25.0"},"_integrity":"sha512-pMF8HJmnZWxSJy6CZM+h+8G94n1y8STQRHHxlsu6hTM9o+jxJliiTuWlZ4TLZgkXhV5eBWXxgwjOfmaAXrmAAA==","repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"11.12.1","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"_nodeVersion":"24.15.0","dependencies":{"jose":"^6.2.3"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.23.0","ajv":"^8.20.0","vitest":"^5.0.0","ioredis":"^6.0.0","@types/pg":"^8.23.1","typescript":"^7.0.2","@types/node":"^26.0.0","@vitest/coverage-v8":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.8.0_1790597649442_0.9099997078149835","host":"s3://npm-registry-packages-npm-production"}},"0.8.1":{"_id":"@grantex/sdk@0.8.1","bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"dist":{"shasum":"008ecc34657353f7af5ce62fbd7bb0a65f3e1bcc","tarball":"https://registry.npmjs.org/@grantex/sdk/-/sdk-0.8.1.tgz","fileCount":476,"integrity":"sha512-9oiRKEDjfXi8cE3atWqxEs4RN5VDsggn3fmDNa3ZkJquvRHxtU4wJzWvqRkQG7/5Dbq5e/O/BPRwK9bNkj/mAw==","signatures":[{"sig":"MEUCIQCzz10HZ+RnRVAM7XPUpDwensP2R2REZl3lJ4M7bCLkiAIgPnqnKFNo7SB1D94TvcZP2q39LNI0Eu1DfwdG39OoeEI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC32g4r8GG+9Uo+2byc82z2VRJHqW/LwByQ52G/bqC6sAIhAJPPV8lsXZlLFjCgdXbeE/FGAkN6gkMHXnZj0eE2ZnsL"}],"unpackedSize":1197532},"main":"./dist/index.js","name":"@grantex/sdk","type":"module","_from":"file:C:/tmp/grantex-sdk-authority-results-20260928/grantex-sdk-0.8.1.tgz","types":"./dist/index.d.ts","author":{"name":"Sanjeev Kumar","email":"sanjeev@orchestrum.in"},"engines":{"node":">=22.12.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./evidence":{"types":"./dist/evidence/index.d.ts","import":"./dist/evidence/index.js"},"./manifests":{"types":"./dist/manifests/index.d.ts","import":"./dist/manifests/index.js"},"./manifests/*":{"types":"./dist/manifests/*.d.ts","import":"./dist/manifests/*.js"}},"license":"Apache-2.0","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test:watch":"vitest"},"version":"0.8.1","_npmUser":{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"},"homepage":"https://grantex.dev","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"_resolved":"C:\\tmp\\grantex-sdk-authority-results-20260928\\grantex-sdk-0.8.1.tgz","copyright":"Copyright 2026 Orchestrum Technologies LLP. Grantex inventor and owner: Sanjeev Kumar.","overrides":{"esbuild":">=0.25.0"},"_integrity":"sha512-9oiRKEDjfXi8cE3atWqxEs4RN5VDsggn3fmDNa3ZkJquvRHxtU4wJzWvqRkQG7/5Dbq5e/O/BPRwK9bNkj/mAw==","repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"_npmVersion":"11.12.1","description":"TypeScript SDK for the Grantex delegated authorization protocol","directories":{},"maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"_nodeVersion":"24.15.0","dependencies":{"jose":"^6.2.3"},"_hasShrinkwrap":false,"devDependencies":{"pg":"^8.23.0","ajv":"^8.20.0","vitest":"^5.0.0","ioredis":"^6.0.0","@types/pg":"^8.23.1","typescript":"^7.0.2","@types/node":"^26.0.0","@vitest/coverage-v8":"^5.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_0.8.1_1790642151304_0.7159090852435477"}}},"time":{"created":"2026-02-27T08:30:07.150Z","modified":"2026-09-29T00:35:51.577Z","0.1.0":"2026-02-27T08:30:07.475Z","0.1.1":"2026-02-27T08:52:55.793Z","0.1.2":"2026-02-27T18:18:38.150Z","0.1.3":"2026-02-28T03:23:37.944Z","0.1.4":"2026-02-28T15:46:00.491Z","0.1.5":"2026-02-28T17:18:07.645Z","0.1.6":"2026-03-01T05:04:58.234Z","0.1.8":"2026-03-01T15:30:14.729Z","0.1.9":"2026-03-01T18:01:36.071Z","0.2.0":"2026-03-02T02:48:43.716Z","0.2.1":"2026-03-04T15:17:27.066Z","0.2.2":"2026-03-08T03:03:09.770Z","0.2.3":"2026-03-08T14:02:15.946Z","0.2.4":"2026-03-23T17:51:02.537Z","0.2.5":"2026-03-28T07:31:56.110Z","0.2.6":"2026-03-29T11:06:41.219Z","0.3.0":"2026-04-04T08:30:11.435Z","0.3.1":"2026-04-04T09:37:00.215Z","0.3.2":"2026-04-04T10:23:55.006Z","0.3.3":"2026-04-04T11:19:42.162Z","0.3.4":"2026-04-05T08:09:04.214Z","0.3.5":"2026-04-06T10:05:44.537Z","0.3.6":"2026-04-08T02:51:01.899Z","0.3.7":"2026-04-08T08:55:50.955Z","0.3.8":"2026-04-14T06:00:39.664Z","0.3.9":"2026-06-14T09:12:05.641Z","0.3.11":"2026-06-14T09:45:15.623Z","0.3.12":"2026-06-25T15:34:37.157Z","0.3.13":"2026-07-11T02:41:10.791Z","0.4.0":"2026-08-30T16:48:50.268Z","0.4.1":"2026-08-30T17:16:38.589Z","0.5.0":"2026-08-31T12:35:33.261Z","0.5.1":"2026-09-01T01:48:53.068Z","0.6.0":"2026-09-07T03:18:47.301Z","0.7.0":"2026-09-27T06:49:37.214Z","0.7.1":"2026-09-28T00:51:02.168Z","0.8.0":"2026-09-28T12:14:09.563Z","0.8.1":"2026-09-29T00:35:51.384Z"},"bugs":{"url":"https://github.com/mishrasanjeev/grantex/issues"},"author":{"name":"Sanjeev Kumar","email":"sanjeev@orchestrum.in"},"license":"Apache-2.0","homepage":"https://grantex.dev","keywords":["grantex","ai-agents","authorization","oauth","jwt","delegated-auth","sdk","agent-permissions","grant-token","agent-identity","verifiable-credentials","webauthn","fido2","did","sd-jwt","mpp","machine-payments","agent-delegation","revocation","scoped-permissions"],"repository":{"url":"git+https://github.com/mishrasanjeev/grantex.git","type":"git"},"description":"TypeScript SDK for the Grantex delegated authorization protocol","maintainers":[{"name":"mishrasanjeev","email":"mishra.sanjeev@gmail.com"}],"readme":"# @grantex/sdk\r\n\r\nTypeScript SDK for the [Grantex](https://grantex.dev) delegated authorization protocol — OAuth 2.0 for AI agents.\r\n\r\n[![npm version](https://img.shields.io/npm/v/@grantex/sdk)](https://www.npmjs.com/package/@grantex/sdk)\r\n[![License](https://img.shields.io/npm/l/@grantex/sdk)](https://github.com/mishrasanjeev/grantex/blob/main/LICENSE)\r\n\r\n> **[Homepage](https://grantex.dev)** | **[Docs](https://docs.grantex.dev)** | **[API Reference](https://docs.grantex.dev/api-reference)** | **[Sign Up Free](https://grantex.dev/dashboard/signup)** | **[GitHub](https://github.com/mishrasanjeev/grantex)**\r\n\r\n## Installation\r\n\r\n**Version 0.8.0:** `enforce()` checks the grant audience,\r\nrequires an amount for capped scopes, and checks current revocation online by\r\ndefault. Per-call revocation settings cannot weaken the client setting.\r\nNode.js 22.12+ is required; Node.js 24 LTS is recommended. These are breaking\r\nchanges: follow the [enforcement migration guide](https://docs.grantex.dev/migration-enforcement).\r\n`verifyGrantToken()` alone remains cryptographic verification, not a current\r\nrevocation check. Verify publication in Release Status before installing.\r\n\r\n**Version 0.7.1:** exposes the signed WebAuthn evidence reference on verified\r\ngrants and the `webauthnVerified` VC attestation response. A reference is not\r\nthe raw assertion or a current revocation check; verify the issuer, RP ID,\r\norigin, evidence digest, and current credential status. The server controls\r\nissuance separately with `PORTABLE_WEBAUTHN_EVIDENCE_ENABLED`; see the\r\n[passkey guide](https://docs.grantex.dev/features/fido-webauthn).\r\n\r\n**Version 0.7.0:** adds hosted passkey enrollment sessions and\r\naccount-level irregularity response policy methods. The server must enable the\r\ncorresponding feature flags; this SDK does not register a passkey without an\r\nauthenticated customer handoff. Version 0.6.0 added wallet clients that preserve the\r\nserver's Base USDC `evmPayment` payload and expose `reconcileReservation()` for\r\nfinalized settlement/expiry. Use `@grantex/x402@0.4.0` or later for\r\nthe automatic 402/payment/retry flow. Confirm the published SDK version in\r\n[Release Status](https://docs.grantex.dev/release-status) before installing.\r\nSee [Base custody setup](https://docs.grantex.dev/guides/base-usdc-custody).\r\n\r\n```bash\r\nnpm install @grantex/sdk@0.8.0\r\n```\r\n\r\n## Quick Start\r\n\r\n```typescript\r\nimport { Grantex, verifyGrantToken } from '@grantex/sdk';\r\n\r\nconst grantex = new Grantex({ apiKey: 'YOUR_API_KEY', audience: 'https://api.merchant.example' });\r\n\r\n// 1. Register an agent\r\nconst agent = await grantex.agents.register({\r\n  name: 'Email Assistant',\r\n  description: 'Reads and sends email on behalf of users',\r\n  scopes: ['email:read', 'email:send'],\r\n});\r\n\r\n// 2. Request authorization\r\nconst { consentUrl } = await grantex.authorize({\r\n  agentId: agent.agentId,\r\n  userId: 'usr_01J...',\r\n  scopes: ['email:read', 'email:send'],\r\n  resourceServers: ['https://api.merchant.example'],\r\n  audience: 'https://api.merchant.example',\r\n});\r\n// Redirect the user to consentUrl — they approve in plain language\r\n\r\n// 3. Exchange authorization code for a grant token\r\n// (your redirect callback receives the `code` after user approves)\r\nconst token = await grantex.tokens.exchange({ code, agentId: agent.agentId });\r\n// Treat token.grantToken as a bearer credential; do not log it.\r\nconsole.log(token.scopes);     // ['email:read', 'email:send']\r\nconsole.log(token.grantId);    // 'grnt_01J...'\r\n\r\n// 4. Verify locally using keys retrieved from the issuer's JWKS\r\nconst grant = await verifyGrantToken(token.grantToken, {\r\n  jwksUri: 'https://api.grantex.dev/.well-known/jwks.json',\r\n  audience: 'https://api.merchant.example',\r\n});\r\nconsole.log(grant.principalId);  // 'usr_01J...'\r\n\r\n// 5. Revoke when done\r\nawait grantex.tokens.revoke(grant.tokenId);\r\n```\r\n\r\n## Configuration\r\n\r\n```typescript\r\nconst grantex = new Grantex({\r\n  apiKey: 'gx_....',              // or set GRANTEX_API_KEY env var\r\n  baseUrl: 'https://api.grantex.dev', // default\r\n  issuer: 'https://grantex.dev',  // optional when token issuer differs from API host\r\n  jwksUri: 'https://api.grantex.dev/.well-known/jwks.json', // optional JWKS override\r\n  timeout: 30000,                 // request timeout in ms (default: 30s)\r\n});\r\n```\r\n\r\n| Option | Type | Default | Description |\r\n|--------|------|---------|-------------|\r\n| `apiKey` | `string` | `process.env.GRANTEX_API_KEY` | API key for authentication |\r\n| `baseUrl` | `string` | `https://api.grantex.dev` | Base URL of the Grantex API |\r\n| `issuer` | `string` | derived from `jwksUri` | Expected JWT issuer for local signature verification |\r\n| `jwksUri` | `string` | `${baseUrl}/.well-known/jwks.json` | URL from which the verifier retrieves signing keys |\r\n| `timeout` | `number` | `30000` | Request timeout in milliseconds |\r\n\r\n## OAuth Agent Profile Client\r\n\r\n`OAuthAgentClient` implements the client role in the prepared\r\n`draft-mishra-oauth-agent-grants-03` profile. It discovers and validates RFC\r\n8414 metadata, creates an ES256 DPoP key by default, uses PAR and PKCE S256,\r\nvalidates `state` and the RFC 9207 `iss` response parameter, rotates refresh\r\ntokens, performs same-resource RFC 8693 attenuation, and creates DPoP proofs\r\nfor protected-resource requests.\r\n\r\n```typescript\r\nimport { OAuthAgentClient } from '@grantex/sdk';\r\n\r\nconst client = await OAuthAgentClient.create({\r\n  issuer: 'https://grantex.dev',\r\n  clientId: 'ag_01J...',\r\n  redirectUri: 'https://agent.example/callback',\r\n  resource: 'https://api.example/resource',\r\n});\r\n\r\nconst pending = await client.beginAuthorization({\r\n  scopes: ['grantex.resource.read'],\r\n  principalHint: 'principal@example.com',\r\n});\r\n\r\n// Redirect the Principal to pending.authorizationUrl. In the callback:\r\nconst tokens = await client.completeAuthorization(callbackUrl);\r\n\r\nconst response = await client.fetch(\r\n  'https://api.example/resource',\r\n  tokens.access_token,\r\n);\r\n\r\nconst narrower = await client.attenuate(tokens.access_token, [\r\n  'grantex.resource.read',\r\n]);\r\nconst refreshAttempt = crypto.randomUUID();\r\nconst rotated = await client.refresh(tokens.refresh_token!, {\r\n  idempotencyKey: refreshAttempt,\r\n});\r\nawait client.revoke(rotated.refresh_token!, 'refresh_token');\r\n```\r\n\r\nPersist the idempotency key with the old refresh token when lost-response\r\nrecovery must survive a caller restart. Repeating both within 300 seconds uses\r\na fresh DPoP proof and returns the exact committed token values with a\r\nrecalculated, non-extended `expires_in`. A\r\ndifferent key or DPoP identity is treated as refresh-token reuse and revokes\r\nthe token family. When no key is supplied, the client generates and retains one\r\nfor the old refresh token for five minutes in the current process.\r\n\r\nPersist the generated key securely if an instance must survive process\r\nrestarts. Supply the matching `privateKey` and `publicJwk` to `create`; both are\r\nrequired together. `principalHint` is optional account-discovery input and is\r\nnot proof of the Principal's identity; live approval still requires the\r\nauthorization server's passkey authentication. Plain HTTP endpoints are rejected unless\r\n`allowInsecureLoopback` is enabled for local loopback testing. Revision `-02`\r\nof the draft family is published as an active individual Internet-Draft;\r\nrevision `-03` is the working candidate implemented here. Neither is an\r\nIETF-endorsed or independently certified standard.\r\n\r\n## Agent prepaid wallets (SDK 0.5+)\r\n\r\n`PrepaidWalletAgentClient` uses an `OAuthAgentClient` and DPoP access token to\r\nlist assigned wallets, reserve payments, and request threshold reloads.\r\n`PrincipalPrepaidWalletClient` uses a short-lived principal-session token to\r\ncreate and fund wallets, assign safe-default policy, manage layered spend\r\npolicies and exact payment approvals, approve reloads, inspect activity, and\r\nblock an assignment, wallet, or all wallets for one agent.\r\n`DeveloperPrepaidWalletPolicyClient` manages tenant-level policy with the\r\ndeveloper API key.\r\n\r\nThe access token must include `wallet:spend` and each action scope used in a\r\npayment (for example `weather:read`). Agent wallet listings intentionally omit\r\ncustody-provider IDs, wallet addresses, principal IDs, and wallet metadata.\r\n\r\n```typescript\r\nimport {\r\n  PrepaidWalletAgentClient,\r\n  PrincipalPrepaidWalletClient,\r\n} from '@grantex/sdk';\r\n\r\nconst agentWallets = new PrepaidWalletAgentClient({\r\n  oauthClient,\r\n  accessToken,\r\n});\r\n\r\nconst principalWallets = new PrincipalPrepaidWalletClient({\r\n  baseUrl: 'https://api.grantex.dev',\r\n  sessionToken,\r\n});\r\n\r\nawait principalWallets.createSpendPolicy({\r\n  name: 'Shared research budget',\r\n  scopeType: 'group',\r\n  scopeId: 'research-agents',\r\n  effect: 'limit',\r\n  maxAmount: '1000000',\r\n  windowType: 'month',\r\n  onExceed: 'require_approval',\r\n  purposes: ['research'],\r\n});\r\n\r\nconst authorization = await agentWallets.authorizePayment({\r\n  amount: '1000',\r\n  asset: 'USDC',\r\n  network: 'grantex:prepaid',\r\n  recipient: 'merchant:weather-api',\r\n  resource: 'https://merchant.example/weather',\r\n  scope: 'weather:read',\r\n  merchantId: 'merchant:weather-api',\r\n  purpose: 'research',\r\n  projectId: 'climate-2026',\r\n  costCenter: 'engineering',\r\n  maxTimeoutSeconds: 120,\r\n  idempotencyKey: crypto.randomUUID(),\r\n});\r\n```\r\n\r\n`authorizePayment` returns either a signed reservation or an\r\n`approval_required` response. After the principal approves that exact request,\r\nretry with its `approvalRequestId`, the same wallet, idempotency key, and all\r\noriginal payment fields. Approval is short-lived and single-use.\r\n\r\nAmounts are atomic-unit integer strings. Layered policy and exact approval are\r\navailable in `@grantex/sdk` 0.5.0 and later.\r\n\r\nSelf-hosted wallet deployments must also provide correct public resource\r\nrouting, migrations `091` and `092`, durable notification delivery, merchant-side\r\nidempotency, and any external custody/provider integration. See [Prepaid Wallet\r\nProduction\r\nReadiness](https://docs.grantex.dev/guides/prepaid-wallet-production);\r\ninstalling the SDK alone does not provide those dependencies.\r\n\r\n## Commerce V1 / OACP\r\n\r\nThe SDK includes a `commerce` resource for the Grantex Commerce V1 control\r\nplane and OACP live-pilot flow.\r\n\r\n```typescript\r\nimport { Grantex } from '@grantex/sdk';\r\n\r\nconst grantex = new Grantex({ apiKey: process.env.GRANTEX_API_KEY! });\r\n\r\n// Public merchant publishing profile\r\nconst profile = await grantex.commerce.getProfile({\r\n  merchantId: 'mch_shopify_mgx0n6_22',\r\n});\r\nconsole.log(profile.merchant?.merchant_id);\r\n\r\n// Catalog grounding\r\nconst catalog = await grantex.commerce.searchCatalog({\r\n  merchant_id: 'mch_shopify_mgx0n6_22',\r\n  query: 'shirt',\r\n  limit: 5,\r\n});\r\n\r\n// Agent cart creation. Commerce write paths require Idempotency-Key.\r\nconst cart = await grantex.commerce.createCart({\r\n  idempotencyKey: crypto.randomUUID(),\r\n  merchant_id: 'mch_shopify_mgx0n6_22',\r\n  currency: 'INR',\r\n  line_items: [\r\n    { variant_id: String(catalog.items[0]?.['variant_id']), quantity: 1 },\r\n  ],\r\n});\r\n\r\n// Consent request and Commerce Passport exchange\r\nconst consent = await grantex.commerce.createConsentRequest({\r\n  merchant_id: 'mch_shopify_mgx0n6_22',\r\n  passport_type: 'checkout',\r\n  max_amount: Number(cart.data['total_amount']),\r\n  currency: 'INR',\r\n});\r\n\r\n// Redirect the buyer to consent.data['consent_url'], then exchange after\r\n// the consent request is granted.\r\nconst passport = await grantex.commerce.exchangeConsentForPassport({\r\n  consent_request_id: String(consent.data['consent_request_id']),\r\n});\r\n\r\nconst payment = await grantex.commerce.createPaymentIntent({\r\n  idempotencyKey: crypto.randomUUID(),\r\n  merchant_id: 'mch_shopify_mgx0n6_22',\r\n  cart_id: String(cart.data['cart_id']),\r\n  passport_jwt: String(passport.data['passport_jwt']),\r\n  amount_minor_units: Number(cart.data['total_amount']),\r\n  currency: 'INR',\r\n  provider_key: 'plural',\r\n});\r\n\r\nconst checkout = await grantex.commerce.createCheckoutLink(\r\n  String(payment.data['payment_intent_id']),\r\n  {\r\n    idempotencyKey: crypto.randomUUID(),\r\n    passport_jwt: String(passport.data['passport_jwt']),\r\n    success_url: 'https://buyer.example/success',\r\n    cancel_url: 'https://buyer.example/cancel',\r\n  },\r\n);\r\n```\r\n\r\nPlural webhook intake is available at\r\n`https://api.grantex.dev/v1/webhooks/providers/plural`. Provider webhooks are\r\nnormally called by the provider dashboard, not by application code. The SDK\r\nalso exposes `grantex.commerce.getOpsHealth()` and\r\n`grantex.commerce.listProviderWebhookEvents()` for operator health checks.\r\n\r\n## PKCE Support\r\n\r\nThe SDK includes built-in PKCE (Proof Key for Code Exchange) support using the S256 method for secure authorization flows:\r\n\r\n```typescript\r\nimport { Grantex, generatePkce } from '@grantex/sdk';\r\n\r\nconst grantex = new Grantex({ apiKey: 'YOUR_API_KEY' });\r\n\r\n// 1. Generate a PKCE challenge\r\nconst pkce = generatePkce();\r\n// pkce.codeVerifier       — random 43-char string (keep secret)\r\n// pkce.codeChallenge      — SHA-256 hash of verifier (send to server)\r\n// pkce.codeChallengeMethod — 'S256'\r\n\r\n// 2. Pass the challenge when requesting authorization\r\nconst { consentUrl } = await grantex.authorize({\r\n  agentId: 'ag_01J...',\r\n  userId: 'usr_01J...',\r\n  scopes: ['files:read'],\r\n  codeChallenge: pkce.codeChallenge,\r\n  codeChallengeMethod: pkce.codeChallengeMethod,\r\n});\r\n\r\n// 3. Exchange the code with the verifier\r\nconst token = await grantex.tokens.exchange({\r\n  code: 'auth_code_from_redirect',\r\n  agentId: 'ag_01J...',\r\n  codeVerifier: pkce.codeVerifier,\r\n});\r\n```\r\n\r\n---\r\n\r\n## API Reference\r\n\r\n### Authorization\r\n\r\n#### `grantex.authorize(params)`\r\n\r\nInitiate the delegated authorization flow. Returns a consent URL to redirect the user to.\r\n\r\n```typescript\r\nconst request = await grantex.authorize({\r\n  agentId: 'ag_01J...',\r\n  userId: 'usr_01J...',\r\n  scopes: ['files:read', 'email:send'],\r\n  audience: 'https://api.example.com', // optional; becomes the JWT aud claim\r\n  expiresIn: '24h',          // optional\r\n  redirectUri: 'https://...' // optional\r\n});\r\n\r\nconsole.log(request.consentUrl);     // redirect user here\r\nconsole.log(request.authRequestId);  // track the request\r\nconsole.log(request.expiresAt);      // ISO 8601 timestamp\r\n```\r\n\r\n**Returns**: `AuthorizationRequest`\r\n\r\n| Field | Type | Description |\r\n|-------|------|-------------|\r\n| `authRequestId` | `string` | Unique ID for this authorization request |\r\n| `consentUrl` | `string` | URL to redirect the user to for consent |\r\n| `agentId` | `string` | The agent requesting authorization |\r\n| `principalId` | `string` | The user being asked for consent |\r\n| `scopes` | `string[]` | Requested scopes |\r\n| `expiresAt` | `string` | When the request expires (ISO 8601) |\r\n| `status` | `string` | `'pending'`, `'approved'`, `'denied'`, or `'expired'` |\r\n\r\n---\r\n\r\n### Agents\r\n\r\n#### `grantex.agents.register(params)`\r\n\r\nRegister a new AI agent.\r\n\r\n```typescript\r\nconst agent = await grantex.agents.register({\r\n  name: 'Code Review Bot',\r\n  description: 'Reviews pull requests and suggests improvements',\r\n  scopes: ['repo:read', 'pr:comment'],\r\n});\r\n```\r\n\r\n#### `grantex.agents.get(agentId)`\r\n\r\n```typescript\r\nconst agent = await grantex.agents.get('ag_01J...');\r\n```\r\n\r\n#### `grantex.agents.list()`\r\n\r\n```typescript\r\nconst { agents } = await grantex.agents.list();\r\n```\r\n\r\n#### `grantex.agents.update(agentId, params)`\r\n\r\n```typescript\r\nconst agent = await grantex.agents.update('ag_01J...', {\r\n  name: 'Updated Name',\r\n  scopes: ['repo:read', 'pr:comment', 'pr:approve'],\r\n});\r\n```\r\n\r\n#### `grantex.agents.delete(agentId)`\r\n\r\n```typescript\r\nawait grantex.agents.delete('ag_01J...');\r\n```\r\n\r\n---\r\n\r\n### Grants\r\n\r\n#### `grantex.grants.get(grantId)`\r\n\r\n```typescript\r\nconst grant = await grantex.grants.get('grnt_01J...');\r\n```\r\n\r\n#### `grantex.grants.list(params?)`\r\n\r\n```typescript\r\nconst { grants } = await grantex.grants.list({\r\n  agentId: 'ag_01J...',       // optional filter\r\n  principalId: 'usr_01J...',  // optional filter\r\n  status: 'active',           // 'active' | 'revoked' | 'expired'\r\n  page: 1,\r\n  pageSize: 20,\r\n});\r\n```\r\n\r\n#### `grantex.grants.revoke(grantId)`\r\n\r\n```typescript\r\nawait grantex.grants.revoke('grnt_01J...');\r\n```\r\n\r\n#### `grantex.grants.delegate(params)`\r\n\r\nCreate a delegated sub-agent grant (per [SPEC Section 9](https://github.com/mishrasanjeev/grantex/blob/main/SPEC.md)).\r\n\r\n```typescript\r\nconst delegation = await grantex.grants.delegate({\r\n  parentGrantToken: 'eyJhbG...',\r\n  subAgentId: 'ag_02K...',\r\n  scopes: ['files:read'],         // must be subset of parent scopes\r\n  expiresIn: '1h',                // optional, cannot exceed parent\r\n});\r\n\r\n// Deliver delegation.grantToken securely to the sub-agent; do not log it.\r\nconsole.log(delegation.grantId);\r\n```\r\n\r\n#### `grantex.grants.verify(token)`\r\n\r\nVerify a grant token via the API (online verification with real-time revocation check).\r\n\r\n```typescript\r\nconst verified = await grantex.grants.verify('eyJhbG...');\r\nconsole.log(verified.principalId);\r\nconsole.log(verified.scopes);\r\n```\r\n\r\nThrows `GrantexTokenError` when the token is inactive, revoked, expired, or otherwise unusable.\r\n\r\n---\r\n\r\n### Tokens\r\n\r\n#### `grantex.tokens.exchange(params)`\r\n\r\nExchange an authorization code for a grant token. This is the standard way to obtain a grant token after the user approves the consent request.\r\n\r\n```typescript\r\nconst token = await grantex.tokens.exchange({\r\n  code: 'auth_code_from_redirect',  // from your redirect callback\r\n  agentId: 'ag_01J...',\r\n});\r\n\r\n// Deliver token.grantToken securely to the agent; do not log it.\r\nconsole.log(token.grantId);      // grant record ID\r\nconsole.log(token.scopes);       // granted scopes\r\nconsole.log(token.expiresAt);    // ISO 8601 expiry\r\n// Store token.refreshToken securely for refresh; do not log it.\r\n```\r\n\r\n**Returns**: `ExchangeTokenResponse`\r\n\r\n| Field | Type | Description |\r\n|-------|------|-------------|\r\n| `grantToken` | `string` | Signed RS256 JWT — the agent's bearer credential |\r\n| `grantId` | `string` | Grant record ID |\r\n| `scopes` | `string[]` | Scopes the user approved |\r\n| `expiresAt` | `string` | Underlying grant expiry (ISO 8601) |\r\n| `refreshToken` | `string` | Refresh token for rotating credentials while the grant remains active |\r\n\r\nFor a new passkey-approved grant, `verifyGrantToken()` and grant API responses\r\nexpose a compact `webauthnEvidence` reference. Request\r\n`credentialFormat: 'vc-jwt'` to receive an opt-in VC with the full assertion in\r\n`vc.evidence`; `grantex.credentials.verify(vcJwt)` returns\r\n`{ valid, vcId?, payload?, revoked?, expired?, error?, webauthnVerified? }`.\r\nVerify the issuer and revocation status, pin the expected RP ID/origin, and\r\nmatch the evidence digest to the grant reference. The raw credential public\r\nkey can correlate VC presentations.\r\n\r\nRefresh tokens are single-use and rotate on every accepted refresh. If a response is lost after commit, retry the same previous refresh token and idempotency key. The SDK retains an omitted key for five minutes in the current process; persist an explicit `idempotencyKey` with the old token when recovery must survive restart or failover. Grantex returns the already-rotated pair without extending `expiresAt`; after grant expiry, re-authorize.\r\n\r\n---\r\n\r\n#### `grantex.tokens.verify(token)`\r\n\r\nOnline token verification with revocation status.\r\n\r\n```typescript\r\nconst result = await grantex.tokens.verify('eyJhbG...');\r\nif (result.valid) {\r\n  console.log(result.scopes);     // ['files:read']\r\n  console.log(result.principal);  // 'usr_01J...'\r\n  console.log(result.agent);      // 'ag_01J...'\r\n  console.log(result.grantId);\r\n  console.log(result.expiresAt);\r\n}\r\n```\r\n\r\n#### `grantex.tokens.revoke(tokenId)`\r\n\r\nRevoke a token by its JTI. Blocklisted in Redis immediately; all sub-delegated tokens are also invalidated.\r\n\r\n```typescript\r\nawait grantex.tokens.revoke('tok_01J...');\r\n```\r\n\r\n---\r\n\r\n### Local Token Verification\r\n\r\n#### `verifyGrantToken(token, options)`\r\n\r\nVerify a grant token locally with RS256 signing keys retrieved from the published JWKS URL. A bounded process-level resolver cache reuses valid keys for each normalized JWKS URI; initial retrieval and key-rotation refreshes may require network access.\r\n\r\n```typescript\r\nimport { verifyGrantToken } from '@grantex/sdk';\r\n\r\nconst grant = await verifyGrantToken('eyJhbG...', {\r\n  jwksUri: 'https://api.grantex.dev/.well-known/jwks.json',\r\n  issuer: 'https://grantex.dev',   // optional when issuer differs from JWKS host\r\n  requiredScopes: ['files:read'],   // optional — rejects if missing\r\n  audience: 'https://myapp.com',    // optional — validates aud claim\r\n});\r\n```\r\n\r\nIf you call a deployment through a raw Cloud Run URL or another internal host, but the service signs tokens for a canonical public domain, pass `issuer` explicitly. Otherwise issuer validation will reject a valid token because the JWT `iss` claim will not match the transport host.\r\n\r\n**Returns**: `VerifiedGrant`\r\n\r\n| Field | Type | Description |\r\n|-------|------|-------------|\r\n| `tokenId` | `string` | Unique token ID (JWT `jti` claim) |\r\n| `grantId` | `string` | Grant record ID |\r\n| `principalId` | `string` | User who authorized the grant (`sub` claim) |\r\n| `agentDid` | `string` | Agent's DID (`agt` claim) |\r\n| `developerId` | `string` | Developer org ID (`dev` claim) |\r\n| `scopes` | `string[]` | Granted scopes (`scp` claim) |\r\n| `issuedAt` | `number` | Issued-at timestamp (seconds since epoch) |\r\n| `expiresAt` | `number` | Expiry timestamp (seconds since epoch) |\r\n| `parentAgentDid` | `string?` | Parent agent DID (delegation only) |\r\n| `parentGrantId` | `string?` | Parent grant ID (delegation only) |\r\n| `delegationDepth` | `number?` | Delegation depth (0 = root) |\r\n\r\n---\r\n\r\n### Audit\r\n\r\n#### `grantex.audit.log(params)`\r\n\r\nLog an auditable action taken by an agent.\r\n\r\n```typescript\r\nconst entry = await grantex.audit.log({\r\n  agentId: 'ag_01J...',\r\n  agentDid: 'did:grantex:ag_01J...',\r\n  grantId: 'grnt_01J...',\r\n  principalId: 'usr_01J...',\r\n  action: 'email:send',\r\n  metadata: { to: 'user@example.com', subject: 'Hello' },\r\n  status: 'success',   // 'success' | 'failure' | 'blocked'\r\n});\r\n```\r\n\r\n#### `grantex.audit.list(params?)`\r\n\r\n```typescript\r\nconst { entries } = await grantex.audit.list({\r\n  agentId: 'ag_01J...',\r\n  action: 'email:send',\r\n  since: '2026-01-01T00:00:00Z',\r\n  until: '2026-02-28T23:59:59Z',\r\n  page: 1,\r\n  pageSize: 50,\r\n});\r\n```\r\n\r\n#### `grantex.audit.get(entryId)`\r\n\r\n```typescript\r\nconst entry = await grantex.audit.get('alog_01J...');\r\nconsole.log(entry.hash);      // SHA-256 hash for tamper evidence\r\nconsole.log(entry.prevHash);   // previous entry hash (chain integrity)\r\n```\r\n\r\n---\r\n\r\n### Webhooks\r\n\r\n#### `grantex.webhooks.create(params)`\r\n\r\n```typescript\r\nconst webhook = await grantex.webhooks.create({\r\n  url: 'https://myapp.com/webhooks/grantex',\r\n  events: ['grant.created', 'grant.revoked', 'token.issued'],\r\n});\r\nconsole.log(webhook.secret); // HMAC secret for signature verification\r\n```\r\n\r\n#### `grantex.webhooks.list()`\r\n\r\n```typescript\r\nconst { webhooks } = await grantex.webhooks.list();\r\n```\r\n\r\n#### `grantex.webhooks.delete(webhookId)`\r\n\r\n```typescript\r\nawait grantex.webhooks.delete('wh_01J...');\r\n```\r\n\r\n#### Webhook Signature Verification\r\n\r\n```typescript\r\nimport { verifyWebhookSignature } from '@grantex/sdk';\r\n\r\n// In your webhook handler\r\nverifyWebhookSignature(requestBody, signatureHeader, webhookSecret);\r\n```\r\n\r\n---\r\n\r\n### Policies\r\n\r\nDefine fine-grained access control rules for agents.\r\n\r\n#### `grantex.policies.create(params)`\r\n\r\n```typescript\r\nconst policy = await grantex.policies.create({\r\n  name: 'Block after hours',\r\n  effect: 'deny',\r\n  priority: 10,\r\n  scopes: ['email:send'],\r\n  timeOfDayStart: '18:00',\r\n  timeOfDayEnd: '08:00',\r\n});\r\n```\r\n\r\n#### `grantex.policies.list()`\r\n\r\n```typescript\r\nconst { policies, total } = await grantex.policies.list();\r\n```\r\n\r\n#### `grantex.policies.get(policyId)` / `update(policyId, params)` / `delete(policyId)`\r\n\r\n```typescript\r\nconst policy = await grantex.policies.get('pol_01J...');\r\n\r\nawait grantex.policies.update('pol_01J...', { effect: 'allow' });\r\n\r\nawait grantex.policies.delete('pol_01J...');\r\n```\r\n\r\n---\r\n\r\n### Compliance\r\n\r\n#### `grantex.compliance.getSummary(params?)`\r\n\r\n```typescript\r\nconst summary = await grantex.compliance.getSummary({\r\n  since: '2026-01-01T00:00:00Z',\r\n  until: '2026-02-28T23:59:59Z',\r\n});\r\nconsole.log(summary.agents);        // { total, active, suspended, revoked }\r\nconsole.log(summary.grants);        // { total, active, revoked, expired }\r\nconsole.log(summary.auditEntries);  // { total, success, failure, blocked }\r\n```\r\n\r\n#### `grantex.compliance.exportGrants(params?)`\r\n\r\n```typescript\r\nconst { grants, total } = await grantex.compliance.exportGrants({\r\n  status: 'active',\r\n});\r\n```\r\n\r\n#### `grantex.compliance.exportAudit(params?)`\r\n\r\n```typescript\r\nconst { entries, total } = await grantex.compliance.exportAudit({\r\n  since: '2026-01-01T00:00:00Z',\r\n  agentId: 'ag_01J...',\r\n});\r\n```\r\n\r\n#### `grantex.compliance.evidencePack(params?)`\r\n\r\nGenerate a full SOC 2 / GDPR evidence pack with audit chain integrity verification.\r\n\r\n```typescript\r\nconst pack = await grantex.compliance.evidencePack({\r\n  framework: 'soc2',   // 'soc2' | 'gdpr' | 'all'\r\n  since: '2026-01-01T00:00:00Z',\r\n});\r\n\r\nconsole.log(pack.chainIntegrity.valid);          // true\r\nconsole.log(pack.chainIntegrity.checkedEntries);  // 1042\r\nconsole.log(pack.summary);\r\nconsole.log(pack.grants);\r\nconsole.log(pack.auditEntries);\r\nconsole.log(pack.policies);\r\n```\r\n\r\n---\r\n\r\n### Anomaly Detection\r\n\r\nIn version 0.7.0, `grantex.anomalies.getResponsePolicy()` and\r\n`grantex.anomalies.setResponsePolicy('alert_only')` control the account-wide\r\nresponse of the legacy detector when the server operator enables\r\n`IRREGULARITY_RESPONSE_POLICY_ENABLED=true`. Default behavior revokes active\r\ngrants for a high/critical finding's agent. Alert-only retains findings and\r\nevents without that automatic revocation. This setting does not disable other\r\nsecurity controls.\r\n\r\nVersion 0.7.0 also supports\r\n`grantex.webauthn.createEnrollmentSession({ principalId, authRequestId? })`.\r\nCall it only on your server after authenticating the customer. Deliver the\r\nreturned one-use hosted link to that exact customer; never expose the API key\r\nor log the link. Hosted enrollment requires the server's default-off\r\n`PASSKEY_ENROLLMENT_ENABLED=true` setting. Live consent has no password or\r\nsandbox fallback.\r\n\r\n#### `grantex.anomalies.detect()`\r\n\r\nRun anomaly detection across all agents.\r\n\r\n```typescript\r\nconst { anomalies, total } = await grantex.anomalies.detect();\r\n// anomaly types: 'rate_spike' | 'high_failure_rate' | 'new_principal' | 'off_hours_activity'\r\n```\r\n\r\n#### `grantex.anomalies.list(params?)`\r\n\r\n```typescript\r\nconst { anomalies } = await grantex.anomalies.list({\r\n  unacknowledged: true,  // only open anomalies\r\n});\r\n```\r\n\r\n#### `grantex.anomalies.acknowledge(anomalyId)`\r\n\r\n```typescript\r\nconst anomaly = await grantex.anomalies.acknowledge('anom_01J...');\r\n```\r\n\r\n---\r\n\r\n### Billing\r\n\r\n#### `grantex.billing.getSubscription()`\r\n\r\n```typescript\r\nconst sub = await grantex.billing.getSubscription();\r\nconsole.log(sub.plan);             // 'free' | 'pro' | 'enterprise'\r\nconsole.log(sub.status);           // 'active' | 'past_due' | 'canceled'\r\nconsole.log(sub.currentPeriodEnd); // ISO 8601 or null\r\n```\r\n\r\n#### `grantex.billing.createCheckout(params)`\r\n\r\n```typescript\r\nconst { checkoutUrl } = await grantex.billing.createCheckout({\r\n  plan: 'pro',\r\n  successUrl: 'https://myapp.com/billing/success',\r\n  cancelUrl: 'https://myapp.com/billing/cancel',\r\n});\r\n// Redirect user to checkoutUrl\r\n```\r\n\r\n#### `grantex.billing.createPortal(params)`\r\n\r\n```typescript\r\nconst { portalUrl } = await grantex.billing.createPortal({\r\n  returnUrl: 'https://myapp.com/settings',\r\n});\r\n```\r\n\r\n---\r\n\r\n### SCIM 2.0 Provisioning\r\n\r\nSync users from your identity provider.\r\n\r\n#### Token Management\r\n\r\n```typescript\r\n// Create a SCIM bearer token\r\nconst { token, id, label } = await grantex.scim.createToken({\r\n  label: 'Okta SCIM integration',\r\n});\r\n// token is returned once — store it securely\r\n\r\nconst { tokens } = await grantex.scim.listTokens();\r\n\r\nawait grantex.scim.revokeToken('scimtok_01J...');\r\n```\r\n\r\n#### User Operations\r\n\r\n```typescript\r\n// List provisioned users\r\nconst { Resources, totalResults } = await grantex.scim.listUsers({\r\n  startIndex: 1,\r\n  count: 100,\r\n});\r\n\r\n// Create a user\r\nconst user = await grantex.scim.createUser({\r\n  userName: 'alice@example.com',\r\n  displayName: 'Alice',\r\n  emails: [{ value: 'alice@example.com', primary: true }],\r\n});\r\n\r\n// Get / Replace / Patch / Delete\r\nconst user = await grantex.scim.getUser('scimusr_01J...');\r\n\r\nawait grantex.scim.replaceUser('scimusr_01J...', { userName: 'alice@new.com' });\r\n\r\nawait grantex.scim.updateUser('scimusr_01J...', [\r\n  { op: 'replace', path: 'active', value: false },\r\n]);\r\n\r\nawait grantex.scim.deleteUser('scimusr_01J...');\r\n```\r\n\r\n---\r\n\r\n### SSO (OIDC)\r\n\r\n#### `grantex.sso.createConfig(params)`\r\n\r\n```typescript\r\nconst config = await grantex.sso.createConfig({\r\n  issuerUrl: 'https://accounts.google.com',\r\n  clientId: 'xxx.apps.googleusercontent.com',\r\n  clientSecret: 'GOCSPX-...',\r\n  redirectUri: 'https://myapp.com/auth/callback',\r\n});\r\n```\r\n\r\n#### `grantex.sso.getConfig()` / `deleteConfig()`\r\n\r\n```typescript\r\nconst config = await grantex.sso.getConfig();\r\nawait grantex.sso.deleteConfig();\r\n```\r\n\r\n#### `grantex.sso.getLoginUrl(org)`\r\n\r\n```typescript\r\nconst { authorizeUrl } = await grantex.sso.getLoginUrl('dev_01J...');\r\n// Redirect user to authorizeUrl\r\n```\r\n\r\n#### `grantex.sso.handleCallback(code, state)`\r\n\r\n```typescript\r\nconst { email, name, sub, developerId } = await grantex.sso.handleCallback(code, state);\r\n```\r\n\r\n---\r\n\r\n## Error Handling\r\n\r\nAll errors extend `GrantexError`:\r\n\r\n```typescript\r\nimport {\r\n  GrantexError,          // base class\r\n  GrantexApiError,       // API returned an error (has statusCode, body, requestId)\r\n  GrantexAuthError,      // 401/403 — invalid or missing API key\r\n  GrantexTokenError,     // token verification failed (invalid signature, expired, etc.)\r\n  GrantexNetworkError,   // network failure (timeout, DNS, connection refused)\r\n} from '@grantex/sdk';\r\n\r\ntry {\r\n  await grantex.agents.get('ag_invalid');\r\n} catch (err) {\r\n  if (err instanceof GrantexAuthError) {\r\n    console.error('Auth failed:', err.statusCode);     // 401 or 403\r\n    console.error('Request ID:', err.requestId);\r\n  } else if (err instanceof GrantexApiError) {\r\n    console.error('API error:', err.statusCode, err.body);\r\n  } else if (err instanceof GrantexNetworkError) {\r\n    console.error('Network error:', err.message, err.cause);\r\n  }\r\n}\r\n```\r\n\r\n---\r\n\r\n## Requirements\r\n\r\n- Node.js 18+\r\n- ESM (`\"type\": \"module\"` in your package.json, or use dynamic `import()`)\r\n\r\n## Links\r\n\r\n- [GitHub](https://github.com/mishrasanjeev/grantex)\r\n- [Protocol Specification](https://github.com/mishrasanjeev/grantex/blob/main/SPEC.md)\r\n- [Python SDK](https://pypi.org/project/grantex/)\r\n- [API Reference](https://api.grantex.dev/.well-known/jwks.json)\r\n\r\n## Scope Enforcement (v0.3.1)\r\n\r\nEnforce tool-level permissions on **any connector** — define your own manifests or use the 53 pre-built ones.\r\n\r\n```typescript\r\nimport { Grantex, ToolManifest, Permission } from '@grantex/sdk';\r\n\r\nconst grantex = new Grantex({ apiKey: 'gx_...' });\r\n\r\n// Define a manifest for any connector — no dependency on Grantex to add support\r\ngrantex.loadManifest(new ToolManifest({\r\n  connector: 'my-crm',\r\n  tools: { search: Permission.READ, create_deal: Permission.WRITE, delete_account: Permission.DELETE },\r\n}));\r\n\r\nconst result = await grantex.enforce({ grantToken: token, connector: 'my-crm', tool: 'delete_account' });\r\n// result.allowed = false — \"write scope does not permit delete operations\"\r\n```\r\n\r\n**Features:**\r\n- `enforce()` — verify JWT + check tool permission via manifest, <1ms\r\n- `wrapTool()` — auto-enforce on LangChain tools\r\n- `enforceMiddleware()` — Express/Fastify HTTP middleware\r\n- Define custom manifests for any connector: inline, from JSON, or auto-generated via CLI\r\n- 53 pre-built manifests included (Salesforce, HubSpot, Jira, Stripe, SAP, S3, and 47 more)\r\n- Permission hierarchy: `admin > delete > write > read`\r\n- Permissive mode for migration (`enforceMode: 'permissive'`)\r\n\r\n[Full Guide](https://docs.grantex.dev/guides/scope-enforcement) | [API Reference](https://docs.grantex.dev/sdks/typescript/enforce)\r\n\r\n## Grantex Ecosystem\r\n\r\n| Package | Description |\r\n|---|---|\r\n| [`grantex`](https://pypi.org/project/grantex/) | Python SDK |\r\n| [`@grantex/langchain`](https://www.npmjs.com/package/@grantex/langchain) | LangChain integration |\r\n| [`@grantex/autogen`](https://www.npmjs.com/package/@grantex/autogen) | AutoGen integration |\r\n| [`@grantex/vercel-ai`](https://www.npmjs.com/package/@grantex/vercel-ai) | Vercel AI SDK integration |\r\n| [`grantex-crewai`](https://pypi.org/project/grantex-crewai/) | CrewAI integration |\r\n| [`grantex-openai-agents`](https://pypi.org/project/grantex-openai-agents/) | OpenAI Agents SDK integration |\r\n| [`grantex-adk`](https://pypi.org/project/grantex-adk/) | Google ADK integration |\r\n| [`@grantex/mcp`](https://www.npmjs.com/package/@grantex/mcp) | MCP server for Claude Desktop / Cursor / Windsurf |\r\n| [`@grantex/cli`](https://www.npmjs.com/package/@grantex/cli) | Command-line tool |\r\n\r\n## License\r\n\r\n[Apache 2.0](https://github.com/mishrasanjeev/grantex/blob/main/LICENSE)\r\n\r\n## Ownership\r\n\r\nGrantex is owned by Orchestrum Technologies LLP. Inventor and owner: Sanjeev Kumar. Ownership contact: [sanjeev@orchestrum.in](mailto:sanjeev@orchestrum.in) or [mishra.sanjeev@gmail.com](mailto:mishra.sanjeev@gmail.com).\r\n\r\n## Source Development\r\n\r\nUse Node.js 24 LTS and `npm ci` to build or test this checkout with Vitest 5.\r\nRepository validation steps are in [the dependency upgrade guide](https://docs.grantex.dev/guides/dependency-updates).\r\nSource-tooling requirements are separate from published package runtime support.\r\n> Authority hardening requires TypeScript SDK 0.8.1 (`currentAuthority`),\n> not just a valid JWT signature. Bind the audience and trusted human/agent\n> identities, and check the issuer before every execution. This does not\n> create human consent or automatically consume action decisions/spend caps.\n> Existing offline defaults remain offline. Verify registry availability before installation.\n> See the [SDK execution authority guide](../../docs/guides/sdk-execution-authority.mdx).\n","readmeFilename":"README.md"}