{"_id":"@alogram/payrisk","_rev":"10-6a5a9ee2b0a56578c67f8378ca992bd6","name":"@alogram/payrisk","dist-tags":{"latest":"0.3.3"},"versions":{"0.1.6":{"name":"@alogram/payrisk","version":"0.1.6","author":{"name":"Alogram Inc.","email":"support@alogram.ai"},"license":"Apache-2.0","_id":"@alogram/payrisk@0.1.6","maintainers":[{"name":"dartagnan-osborne","email":"dosborne@alogramtech.com"},{"name":"alogram-publish","email":"packages@alogram.ai"}],"homepage":"https://www.alogram.ai","bugs":{"url":"https://github.com/alogram/alogram-typescript/issues"},"dist":{"shasum":"e7f0c805b2a3c57224f119f19d69f7ee9d42874f","tarball":"https://registry.npmjs.org/@alogram/payrisk/-/payrisk-0.1.6.tgz","fileCount":152,"integrity":"sha512-oHhEZNt+N9oR/rVdSSDZc9oRyA/N2RJ1Me5o1gCte5oz8ihgcRe6ZhQoJCYmW7XzIXgq6sKh/hv8jLDbRQx7TA==","signatures":[{"sig":"MEUCIFXP8+WAZz+jnWPeF8y1iczrzaXNQdVvxWJYOOyIBIO7AiEAo41NeiD9+tBbJqZtJo2DoZHAhmuh8XbHXRw2HbuvqfQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alogram%2fpayrisk@0.1.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":353238},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"6d0cd43d265a7b2726d81ee2957f34ec639aef5b","scripts":{"lint":"eslint src/**/*.ts","test":"vitest run","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"alogram-publish","email":"packages@alogram.ai"},"repository":{"url":"git+https://github.com/alogram/alogram-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"The official 'Smart' TypeScript client for the Alogram Payrisk API.","directories":{},"_nodeVersion":"20.20.0","dependencies":{"uuid":"^9.0.1","async-retry":"^1.3.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/uuid":"^9.0.0","@opentelemetry/api":"^1.7.0","@types/async-retry":"^1.4.0","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"peerDependencies":{"@opentelemetry/api":">=1.0.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/payrisk_0.1.6_1770888013535_0.3433269560468126","host":"s3://npm-registry-packages-npm-production"}},"0.2.8":{"name":"@alogram/payrisk","version":"0.2.8","author":{"name":"Alogram Inc.","email":"support@alogram.ai"},"license":"Apache-2.0","_id":"@alogram/payrisk@0.2.8","maintainers":[{"name":"dartagnan-osborne","email":"dosborne@alogramtech.com"},{"name":"alogram-publish","email":"packages@alogram.ai"}],"homepage":"https://www.alogram.ai","bugs":{"url":"https://github.com/alogram/alogram-typescript/issues"},"dist":{"shasum":"9037a46da3b9fbeb3e697b30af56233e0144138e","tarball":"https://registry.npmjs.org/@alogram/payrisk/-/payrisk-0.2.8.tgz","fileCount":162,"integrity":"sha512-iudiZuAKSQzbviA48XJjPuaGJm53swtWHm/lfOtAFa1bg8O0fvlr3KCVvJqv2Gzq/us0cnycEaH+v6IXU57p4Q==","signatures":[{"sig":"MEQCIFK3tE8vV59kCpHWZJ+gbr7bsa1EMJTUZ3/ibXusTY93AiAbnDrh7pYqVHxJ+b1B7wUx3ThAAXky3gEN1h+kTa3+Ww==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alogram%2fpayrisk@0.2.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":406317},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"51ced6baf9a1d6710a1d138eb13e035a856003b3","scripts":{"lint":"eslint src/**/*.ts","test":"vitest run","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"alogram-publish","email":"packages@alogram.ai"},"repository":{"url":"git+https://github.com/alogram/alogram-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"The official 'Smart' TypeScript client for the Alogram Payrisk API.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"uuid":"^9.0.1","async-retry":"^1.3.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/uuid":"^9.0.0","@opentelemetry/api":"^1.7.0","@types/async-retry":"^1.4.0","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"peerDependencies":{"@opentelemetry/api":">=1.0.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/payrisk_0.2.8_1775949647145_0.25671080109400846","host":"s3://npm-registry-packages-npm-production"}},"0.2.9":{"name":"@alogram/payrisk","version":"0.2.9","author":{"name":"Alogram Inc.","email":"support@alogram.ai"},"license":"Apache-2.0","_id":"@alogram/payrisk@0.2.9","maintainers":[{"name":"dartagnan-osborne","email":"dosborne@alogramtech.com"},{"name":"alogram-publish","email":"packages@alogram.ai"}],"homepage":"https://www.alogram.ai","bugs":{"url":"https://github.com/alogram/alogram-typescript/issues"},"dist":{"shasum":"075a5590bed33c94ff016c5cecdd8c36cb14b4d9","tarball":"https://registry.npmjs.org/@alogram/payrisk/-/payrisk-0.2.9.tgz","fileCount":165,"integrity":"sha512-Gflt2W4dQzWHSV7f7jmCKNUEBz20JpAF/15UhGmbv1+i2a0AocNFplxFGlPA08hEvSdaIoTMrCtOShzHiz2Ztg==","signatures":[{"sig":"MEYCIQDXsxxm6pSk4PYCHTjmSlniz2qQBvvxy03Ct147ulEyPAIhALXB4BWUnjfeDKLjnvDbSJnfEldAPN/qwWjGcEHxinNA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alogram%2fpayrisk@0.2.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":585746},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"d27af7ca9e431afbd6160a984fe3b09285388519","scripts":{"lint":"eslint src/**/*.ts","test":"vitest run","build":"tsc","simulate":"tsx src/simulate.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"alogram-publish","email":"packages@alogram.ai"},"repository":{"url":"git+https://github.com/alogram/alogram-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"The official 'Smart' TypeScript client for the Alogram Payrisk API.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"uuid":"^14.0.0","async-retry":"^1.3.3"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","eslint":"^8.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/uuid":"^9.0.0","@opentelemetry/api":"^1.7.0","@types/async-retry":"^1.4.0","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"peerDependencies":{"@opentelemetry/api":">=1.0.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/payrisk_0.2.9_1777017608245_0.5427537615797611","host":"s3://npm-registry-packages-npm-production"}},"0.2.10":{"name":"@alogram/payrisk","version":"0.2.10","author":{"name":"Alogram Inc.","email":"support@alogram.ai"},"license":"Apache-2.0","_id":"@alogram/payrisk@0.2.10","maintainers":[{"name":"dartagnan-osborne","email":"dosborne@alogramtech.com"},{"name":"alogram-publish","email":"packages@alogram.ai"}],"homepage":"https://www.alogram.ai","bugs":{"url":"https://github.com/alogram/alogram-typescript/issues"},"dist":{"shasum":"2cfd5bf1cf0a04a2f486879d1a771e7719b962b5","tarball":"https://registry.npmjs.org/@alogram/payrisk/-/payrisk-0.2.10.tgz","fileCount":165,"integrity":"sha512-T4dWeVa4sbYEdBK/7vne6qW1dm+0cwqUTOlYIOw6kw4WcvLai+Kkzh23nIXBFjHf+pMmxTDiYyPeP5A90zOzPw==","signatures":[{"sig":"MEYCIQD1vbZMCSDU5a5WJ34k50ogipPOasJD9OK4yLCa4IaKfAIhAJv42sLJyha2J37oD8PZQotbSQbGNU2xqo06izMRqC8y","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alogram%2fpayrisk@0.2.10","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":585886},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"9bbf08caba7c32e5e2be7ea12f17ca7c44dd77fe","scripts":{"lint":"eslint src/**/*.ts","test":"vitest run","build":"tsc","simulate":"tsx src/simulate.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"alogram-publish","email":"packages@alogram.ai"},"repository":{"url":"git+https://github.com/alogram/alogram-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"The official 'Smart' TypeScript client for the Alogram Payrisk API.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"uuid":"^14.0.0","async-retry":"^1.3.3"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","eslint":"^8.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/uuid":"^9.0.0","@opentelemetry/api":"^1.7.0","@types/async-retry":"^1.4.0","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"peerDependencies":{"@opentelemetry/api":">=1.0.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/payrisk_0.2.10_1777104810079_0.4196197825202721","host":"s3://npm-registry-packages-npm-production"}},"0.2.21":{"name":"@alogram/payrisk","version":"0.2.21","author":{"name":"Alogram Inc.","email":"support@alogram.ai"},"license":"Apache-2.0","_id":"@alogram/payrisk@0.2.21","maintainers":[{"name":"dartagnan-osborne","email":"dosborne@alogramtech.com"},{"name":"alogram-publish","email":"packages@alogram.ai"}],"homepage":"https://www.alogram.ai","bugs":{"url":"https://github.com/alogram/alogram-typescript/issues"},"dist":{"shasum":"9a70c48c7e38b9b55f5b67d87ead72c47c6f1c94","tarball":"https://registry.npmjs.org/@alogram/payrisk/-/payrisk-0.2.21.tgz","fileCount":173,"integrity":"sha512-VZ8CybKoxFiYYU4isFpFwUpy6gm1aMPA4HJrCIPMq5twZIx0T5rUW2kXlzgPrDj1MdAhWhouvhgNiQnPFr1+Yg==","signatures":[{"sig":"MEQCIDSnaUYA2EsZ/5iPQIuIBJSVULsxQ9qrIyjEeZGqq5kfAiBRiM7qkxkywsmcLvfO1BW7nt5d9+aaQFmyl3184FN/lA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alogram%2fpayrisk@0.2.21","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":614893},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"f48c94840af3410b248f485571f92bc6e0901447","scripts":{"lint":"eslint src/**/*.ts","test":"vitest run","build":"tsc","simulate":"tsx src/simulate.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"alogram-publish","email":"packages@alogram.ai"},"repository":{"url":"git+https://github.com/alogram/alogram-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"The official 'Smart' TypeScript client for the Alogram Payrisk API.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"uuid":"^14.0.0","async-retry":"^1.3.3"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","eslint":"^8.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/uuid":"^9.0.0","@opentelemetry/api":"^1.7.0","@types/async-retry":"^1.4.0","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"peerDependencies":{"@opentelemetry/api":">=1.0.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/payrisk_0.2.21_1780259922632_0.976071223704803","host":"s3://npm-registry-packages-npm-production"}},"0.2.23":{"name":"@alogram/payrisk","version":"0.2.23","author":{"name":"Alogram Inc.","email":"support@alogram.ai"},"license":"Apache-2.0","_id":"@alogram/payrisk@0.2.23","maintainers":[{"name":"dartagnan-osborne","email":"dosborne@alogramtech.com"},{"name":"alogram-publish","email":"packages@alogram.ai"}],"homepage":"https://www.alogram.ai","bugs":{"url":"https://github.com/alogram/alogram-typescript/issues"},"dist":{"shasum":"8776483833937de38b39b39f65f568359aaf44fb","tarball":"https://registry.npmjs.org/@alogram/payrisk/-/payrisk-0.2.23.tgz","fileCount":179,"integrity":"sha512-OP4FcwOw7Wgcmw9iNdOA/VMUeIUT/fh/MRCv505Gbx+xkTRGJYgW6nwUb63vIR1N0Mpol2Fy2nA579KJapAw2A==","signatures":[{"sig":"MEUCIHIfLmfBnP3nH+GOesHz2YmlJefk40LW/s47hnx4c3ANAiEA587zT639625joAYsQZOzeaoOySqnWioWYpDHYWS8OZE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alogram%2fpayrisk@0.2.23","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":644817},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"821ea63bb564fc8b19f3ec4d2e52cd4b343bc167","scripts":{"lint":"eslint src/**/*.ts","test":"vitest run","build":"tsc","simulate":"tsx src/simulate.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"alogram-publish","email":"packages@alogram.ai"},"repository":{"url":"git+https://github.com/alogram/alogram-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"The official 'Smart' TypeScript client for the Alogram Payrisk API.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"uuid":"^14.0.0","async-retry":"^1.3.3"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","eslint":"^8.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/uuid":"^9.0.0","@opentelemetry/api":"^1.7.0","@types/async-retry":"^1.4.0","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"peerDependencies":{"@opentelemetry/api":">=1.0.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/payrisk_0.2.23_1780603859185_0.16132913408897043","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@alogram/payrisk","version":"0.3.0","author":{"name":"Alogram Inc.","email":"support@alogram.ai"},"license":"Apache-2.0","_id":"@alogram/payrisk@0.3.0","maintainers":[{"name":"dartagnan-osborne","email":"dosborne@alogramtech.com"},{"name":"alogram-publish","email":"packages@alogram.ai"}],"homepage":"https://www.alogram.ai","bugs":{"url":"https://github.com/alogram/alogram-typescript/issues"},"dist":{"shasum":"ecfd4094c2ccd3fff29e1e58c41713396e743c8a","tarball":"https://registry.npmjs.org/@alogram/payrisk/-/payrisk-0.3.0.tgz","fileCount":183,"integrity":"sha512-wvmmR9IGkfxTp589PQBt+FXcpRud2YMs42z2fIgx4fiYoXkgA0ChK6SMDug2j4mJSIlpGVWCmCb5IVXnvHYnuQ==","signatures":[{"sig":"MEQCIF+L98ewbIr45PnXxpUkgBvEM19ACYzWawxB3sSh1CQRAiAeYhyo3zVkkkfEOFXkyTXz/itNhNyXvfH3KLmd5iD5dA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alogram%2fpayrisk@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":653537},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"f1f8c9ba2b588db3bcc74bc3bb160c7ce5facb7c","scripts":{"lint":"eslint src/**/*.ts","test":"vitest run","build":"tsc","simulate":"tsx src/simulate.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"alogram-publish","email":"packages@alogram.ai"},"repository":{"url":"git+https://github.com/alogram/alogram-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"The official 'Smart' TypeScript client for the Alogram Payrisk API.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"uuid":"^14.0.0","async-retry":"^1.3.3"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","eslint":"^8.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/uuid":"^9.0.0","@opentelemetry/api":"^1.7.0","@types/async-retry":"^1.4.0","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"peerDependencies":{"@opentelemetry/api":">=1.0.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/payrisk_0.3.0_1780810439894_0.13619517218141453","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@alogram/payrisk","version":"0.3.1","author":{"name":"Alogram Inc.","email":"support@alogram.ai"},"license":"Apache-2.0","_id":"@alogram/payrisk@0.3.1","maintainers":[{"name":"dartagnan-osborne","email":"dosborne@alogramtech.com"},{"name":"alogram-publish","email":"packages@alogram.ai"}],"homepage":"https://www.alogram.ai","bugs":{"url":"https://github.com/alogram/alogram-typescript/issues"},"dist":{"shasum":"ff45cd0b45866c4c7f93b025f7dd699787f78c65","tarball":"https://registry.npmjs.org/@alogram/payrisk/-/payrisk-0.3.1.tgz","fileCount":183,"integrity":"sha512-JfhDo/cAQ14MrrTCW7vgsPfAkUeb1KSEPXK82CLL0ekDl7gjd/PaHhDfg4VhEaF++eIUkEivoKBTD/vtgaO6UQ==","signatures":[{"sig":"MEQCIEYrVVu7frMxYUy4ckVMXUrXBe5nB7pj2RugDsfAc2qqAiBo0zGcyT3E49RJeCN1XVyj/ssGIm/sf0HUpI6+xjMeew==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alogram%2fpayrisk@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":653499},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"4c35b6b1b431bd73b8b5f4fedc11e54f937a2b12","scripts":{"lint":"eslint src/**/*.ts","test":"vitest run","build":"tsc","simulate":"tsx src/simulate.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"alogram-publish","email":"packages@alogram.ai"},"repository":{"url":"git+https://github.com/alogram/alogram-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"The official 'Smart' TypeScript client for the Alogram Payrisk API.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"uuid":"^14.0.0","async-retry":"^1.3.3"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","eslint":"^8.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/uuid":"^9.0.0","@opentelemetry/api":"^1.7.0","@types/async-retry":"^1.4.0","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"peerDependencies":{"@opentelemetry/api":">=1.0.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/payrisk_0.3.1_1782357645034_0.0940852338711824","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@alogram/payrisk","version":"0.3.2","author":{"name":"Alogram Inc.","email":"support@alogram.ai"},"license":"Apache-2.0","_id":"@alogram/payrisk@0.3.2","maintainers":[{"name":"dartagnan-osborne","email":"dosborne@alogramtech.com"},{"name":"alogram-publish","email":"packages@alogram.ai"}],"homepage":"https://www.alogram.ai","bugs":{"url":"https://github.com/alogram/alogram-typescript/issues"},"dist":{"shasum":"c007c32d40c8ca2a38ccdb555cf257a610ec95df","tarball":"https://registry.npmjs.org/@alogram/payrisk/-/payrisk-0.3.2.tgz","fileCount":183,"integrity":"sha512-IQxzEMVxQw9LFcXcr94Jsge5x3GsOAJVz0lBj3FLAmsECxuWLSeanp1qAIfG5UhEAzsLKw+6kwS2PI2fmrTNww==","signatures":[{"sig":"MEQCIA7X+XY1MDZmLRJXdFrMWKP6IiZ1uk2KJaim1Ep4X+29AiBace2CzMVKcHHGVd5j72TR3qFFPlypFXfrMz0F0kA2YQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alogram%2fpayrisk@0.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":653583},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"26917de31052ee36c7320b94e24a76c37ec73d56","scripts":{"lint":"eslint src/**/*.ts","test":"vitest run","build":"tsc","simulate":"tsx src/simulate.ts","prepublishOnly":"npm run build"},"_npmUser":{"name":"alogram-publish","email":"packages@alogram.ai"},"repository":{"url":"git+https://github.com/alogram/alogram-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"The official 'Smart' TypeScript client for the Alogram Payrisk API.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"uuid":"^14.0.0","async-retry":"^1.3.3"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","eslint":"^8.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/uuid":"^9.0.0","@opentelemetry/api":"^1.7.0","@types/async-retry":"^1.4.0","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"peerDependencies":{"@opentelemetry/api":">=1.0.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/payrisk_0.3.2_1782438722938_0.2810422186788659","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"@alogram/payrisk","version":"0.3.3","description":"The official 'Smart' TypeScript client for the Alogram Payrisk API.","author":{"name":"Alogram Inc.","email":"support@alogram.ai"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/alogram/alogram-typescript.git"},"homepage":"https://www.alogram.ai","bugs":{"url":"https://github.com/alogram/alogram-typescript/issues"},"engines":{"node":">=18"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js","types":"./dist/index.d.ts"}},"scripts":{"build":"tsc","test":"vitest run","lint":"eslint src/**/*.ts","simulate":"tsx src/simulate.ts","prepublishOnly":"npm run build"},"dependencies":{"async-retry":"^1.3.3","uuid":"^14.0.0"},"peerDependencies":{"@opentelemetry/api":">=1.0.0"},"peerDependenciesMeta":{"@opentelemetry/api":{"optional":true}},"devDependencies":{"@opentelemetry/api":"^1.7.0","@types/async-retry":"^1.4.0","@types/node":"^20.0.0","@types/uuid":"^9.0.0","@typescript-eslint/eslint-plugin":"^6.0.0","@typescript-eslint/parser":"^6.0.0","eslint":"^8.0.0","tsx":"^4.7.1","typescript":"^5.0.0","vitest":"^1.0.0"},"_id":"@alogram/payrisk@0.3.3","gitHead":"4f68f8ff00015c12c764e7c43fb6c3cc070d1459","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-+Rf5ItZKOe9J2RMroMcuW0i1k9Og+/KmBiJVFWjjhJupGGCPC1/W69ztMbrmVk0BfdiRp3FNWH+voO7jfdu4Zg==","shasum":"36401fc6642778d17eebd9938dbe623e7d550100","tarball":"https://registry.npmjs.org/@alogram/payrisk/-/payrisk-0.3.3.tgz","fileCount":183,"unpackedSize":653583,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alogram%2fpayrisk@0.3.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHpqKWkB/DQ2QjbpaebO+hHSTi27PmRqQ+1/tLSx3LaFAiAIZfYo8/+4xJiazIx3xN7UFWO1wEaZb4s2GUjr2/KWzQ=="}]},"_npmUser":{"name":"alogram-publish","email":"packages@alogram.ai"},"directories":{},"maintainers":[{"name":"dartagnan-osborne","email":"dosborne@alogramtech.com"},{"name":"alogram-publish","email":"packages@alogram.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/payrisk_0.3.3_1785178825385_0.269920185993763"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-12T09:20:13.450Z","modified":"2026-07-27T19:00:25.938Z","0.1.6":"2026-02-12T09:20:13.681Z","0.2.8":"2026-04-11T23:20:47.326Z","0.2.9":"2026-04-24T08:00:08.391Z","0.2.10":"2026-04-25T08:13:30.295Z","0.2.21":"2026-05-31T20:38:42.784Z","0.2.23":"2026-06-04T20:10:59.368Z","0.3.0":"2026-06-07T05:34:00.197Z","0.3.1":"2026-06-25T03:20:45.189Z","0.3.2":"2026-06-26T01:52:03.115Z","0.3.3":"2026-07-27T19:00:25.527Z"},"bugs":{"url":"https://github.com/alogram/alogram-typescript/issues"},"author":{"name":"Alogram Inc.","email":"support@alogram.ai"},"license":"Apache-2.0","homepage":"https://www.alogram.ai","repository":{"type":"git","url":"git+https://github.com/alogram/alogram-typescript.git"},"description":"The official 'Smart' TypeScript client for the Alogram Payrisk API.","maintainers":[{"name":"dartagnan-osborne","email":"dosborne@alogramtech.com"},{"name":"alogram-publish","email":"packages@alogram.ai"}],"readme":"<p align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/alogram/alogram-typescript/main/.github/assets/logo.png\" width=\"200\" alt=\"Alogram PayRisk Logo\">\n</p>\n\n# Alogram PayRisk SDK for TypeScript & JavaScript\n\n[![NPM version](https://img.shields.io/npm/v/@alogram/payrisk.svg)](https://www.npmjs.com/package/@alogram/payrisk)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nThe official TypeScript/Node.js client for the **Alogram PayRisk Engine**. \n\nAlogram PayRisk is a decision management and risk orchestration engine for global commerce. It fuses machine learning, behavioral analytics, and deterministic business rules into a high-fidelity scoring pipeline designed for enterprise scale and auditability.\n## 🧠 The Three-Expert Architecture\n\nThe SDK provides unified access to three specialized risk experts:\n\n-   **Risk Scoring**: Real-time assessment and decision orchestration for purchases.\n-   **Signal Intelligence**: Ingestion of behavioral telemetry and payment lifecycle events.\n-   **Forensic Data**: Deep visibility into historical assessments and decision transparency.\n\n---\n\n## 🔐 Security: Trust Boundaries\n\nAlogram enforces a strict separation between client-side telemetry and server-side decisioning.\n\n| Client Type | Key Prefix | Environment | Capabilities |\n| :--- | :--- | :--- | :--- |\n| **`AlogramPublicClient`** | `pk_...` | Browser / Mobile | **Ingestion only.** Restricted to behavioral signals. |\n| **`AlogramRiskClient`** | `sk_...` | Secure Backend | **Full access.** Authorized for risk decisions and forensics. |\n\n> [!WARNING]\n> **Never** use a Secret Key (`sk_...`) in a client-side environment. This will expose your tenant's sensitive forensic data and violate Alogram's security mandates.\n\n---\n\n## 🔄 Full Lifecycle Integration\n\nA complete integration spans from the shopper's browser to your secure backend.\n\n### 1. Frontend: Behavioral Signals\nIn your browser-side application, use the **Public Client** to ingest telemetry:\n```typescript\nimport { AlogramPublicClient } from '@alogram/payrisk';\n\nconst publicClient = new AlogramPublicClient({ \n  apiKey: 'pk_live_...', \n  tenantId: 'tid_mycorp' \n});\n\n// Ingest a login or checkout-start signal\nawait publicClient.ingestSignals({\n  signalType: 'interaction',\n  entities: { endCustomerId: 'user_123' },\n  interactions: [{ interactionType: 'checkout_start', timestamp: new Date().toISOString() }]\n});\n```\n\n### 2. Backend: Risk Check & Events\nIn your secure server, use the **Risk Client** to perform the assessment and log the outcome:\n```typescript\nimport { AlogramRiskClient, PaymentEventType } from '@alogram/payrisk';\n\nconst client = new AlogramRiskClient({ \n  apiKey: 'sk_live_...', \n  tenantId: 'tid_mycorp' \n});\n\n// Assessment: Before you charge the card\nconst decision = await client.checkRisk({\n  entities: { endCustomerId: 'user_123', deviceId: '...' },\n  purchase: { amount: 99.00, currency: 'USD', ... }\n});\n\nif (decision.decision === 'approve') {\n  // 3. Lifecycle: Confirm the authorization success\n  await client.ingestEvent({\n    paymentIntentId: decision.paymentIntentId,\n    eventType: PaymentEventType.Authorization,\n    outcome: { authorization: { approved: true } },\n    // ...\n  });\n}\n```\n\n---\n\n## 🚀 High-Performance Integration\n-   **🏢 Smart Client Architecture**: Specialized clients for server-side (`AlogramRiskClient`) and browser (`AlogramPublicClient`).\n-   **🛡️ Automated Identity**: Automatic injection of `x-api-key`, `Authorization`, and tenant headers.\n-   **🔄 Built-in Resiliency**: Transparent exponential backoff and jittered retries (3 retries on 429/5xx).\n-   **🕵️ Native Observability**: Built-in OpenTelemetry tracing for monitoring risk outcomes and latency.\n-   **📐 Type Safe**: Deeply typed models for all request/response payloads.\n\n## 📦 Installation\n\n```bash\nnpm install @alogram/payrisk\n```\n\n## 🛠️ Quick Start\n\n### 1. Evaluate Risk (Risk Scoring Expert)\n\nAssess a purchase in real-time. This invokes the authoritative scoring pipeline.\n\n```typescript\nimport { AlogramRiskClient } from '@alogram/payrisk';\n\nconst client = new AlogramRiskClient({\n  apiKey: 'sk_live_...',\n  tenantId: 'tenant_123'\n});\n\nasync function runCheck() {\n  const decision = await client.checkRisk({\n    purchase: { amount: 99.99, currency: 'USD' },\n    identity: { email: 'customer@example.com' }\n  });\n  \n  console.log(`Decision: ${decision.decision} | Score: ${decision.decisionScore}`);\n}\n```\n\n### 2. Ingest Lifecycle Events (Signal Intelligence Expert)\n\nStream payment lifecycle updates to the Engine for continuous model training.\n\n```typescript\nawait client.ingestEvent({\n  eventType: 'authorization',\n  paymentIntentId: 'pi_123...',\n  amount: 99.99,\n  currency: 'USD',\n  outcome: { authorization: { approved: true, responseCode: '00' } }\n});\n```\n\n### 🔄 3. Full Lifecycle Workflow\n\nFor a complete end-to-end example showing how to correlate **client-side signals**, **risk scoring**, and **fraud labeling**, see:\n👉 [examples/fullLifecycleWorkflow.ts](examples/fullLifecycleWorkflow.ts)\n\nThis workflow demonstrates how to:\n1.  **Anchor** pre-order signals using `sessionId` and `deviceId`.\n2.  **Correlate** those signals during the `checkRisk` call.\n3.  **Handoff** to the server-minted `paymentIntentId` for post-order events (Auth, Capture, Chargeback).\n\n---\n\n## 🚀 High-Performance Integration\n\nTo ensure sub-second risk assessment latencies and handle high-volume signal telemetry efficiently, please adhere to these network best practices:\n\n-   **Persistent Client:** Maintain a single instance of the client in your application lifecycle. \n    -   *Why:* Creating a new client for every request forces a fresh TCP/TLS handshake.\n    -   *Best Practice:* Reuse the client to leverage persistent connection pools and keep the pipe \"hot.\"\n-   **HTTP/2 Support:** Node.js 18+ and modern browsers natively support HTTP/2. By reusing the client, multiple telemetry signals are automatically multiplexed over a single pipe, significantly reducing latency for high-throughput instrumentation.\n\n## 🛡️ Error Handling & Resiliency\n\nThe SDK distinguishes between transient network issues and validation errors.\n\n```typescript\nimport { ValidationError, AlogramError } from '@alogram/payrisk';\n\ntry {\n  const decision = await client.checkRisk(request);\n} catch (error) {\n  if (error instanceof ValidationError) {\n    // ❌ Handle invalid input data\n    console.error(`Validation Failed: ${error.message}`);\n  } else if (error instanceof AlogramError) {\n    // 🚨 Generic API or Authentication error\n  }\n}\n```\n\n## 🕵️ Observability (OpenTelemetry)\n\nThe SDK automatically integrates with `@opentelemetry/api` if installed.\n\n```typescript\nimport { trace } from '@opentelemetry/api';\n\n// Spans will automatically include 'alogram.decision' and 'alogram.trace_id'\nawait trace.getTracer('checkout').startActiveSpan('process', async (span) => {\n  const decision = await client.checkRisk(request);\n  span.end();\n});\n```\n\n## 🏗️ Environments\n\n| Environment | Base URL | Key Type |\n| :--- | :--- | :--- |\n| **Production** | `https://api.alogram.ai` | `sk_live_...` |\n| **Sandbox** | `https://api-sandbox.alogram.ai` | `sk_test_...` |\n| **Local** | `http://localhost:8080` | `test` |\n\n---\n\n## 🤖 For AI Agents\n\nIf using an AI agent (ChatGPT, Claude, Gemini) for integration, provide this context:\n> \"Use the Alogram PayRisk TypeScript SDK. Always prefer the `AlogramRiskClient` for backend operations. Access the authoritative blended score via the `decisionScore` attribute of the response. Use the `idempotencyKey` parameter for all write operations.\"\n\n---\n\n## ⚖️ License\n\nApache License 2.0. See [LICENSE](LICENSE) for details.\n","readmeFilename":"README.md"}