{"_id":"@arirocha/openrisk-client","_rev":"3-60f29029ab9a11fd5fd9f20b7f248114","name":"@arirocha/openrisk-client","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@arirocha/openrisk-client","version":"0.1.0","_id":"@arirocha/openrisk-client@0.1.0","maintainers":[{"name":"ari-rocha","email":"contact@arirocha.com"}],"dist":{"shasum":"6f8cfdada7ef66132475f6d2ddf8067c41dd97bf","tarball":"https://registry.npmjs.org/@arirocha/openrisk-client/-/openrisk-client-0.1.0.tgz","fileCount":46,"integrity":"sha512-E1VLtGpTJn40qW3j4ysUCTWyix/GUBf0fj1n0aYWeOEEkHBdxWS6K6/xhOFyvcmzwpmG9P+msh5YRs7cXQkntQ==","signatures":[{"sig":"MEUCICvmvcPOLgHe8VKC62uV/Uj2KOtE2pE2bozUDgf9T9/BAiEA70w53WiUJij/fiUfYXAmiCJprEcjxLcbS8Gd8NZ3y+o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32463},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./browser":{"types":"./dist/index.d.ts","import":"./dist/openrisk.js"}},"gitHead":"3eaa4dac36db5a648a68d553af02cff14fb39689","private":false,"scripts":{"dev":"bun build src/index.ts --outfile=../dist/openrisk.js --target=browser --format=esm --watch","test":"bun test","build":"bun run build:esm && bun run build:cjs && bun run build:browser && bun run build:types","test:e2e":"npm run build && playwright test","build:cjs":"bun build src/index.ts --outdir=dist --target=browser --format=cjs","build:esm":"bun build src/index.ts --outdir=dist --target=browser --format=esm","build:types":"bunx tsc -p tsconfig.json --emitDeclarationOnly","test:e2e:ui":"playwright test --ui","build:browser":"bun build src/index.ts --outfile=dist/openrisk.js --target=browser --format=esm","test:e2e:debug":"playwright test --debug","test:e2e:headed":"playwright test --headed"},"_npmUser":{"name":"ari-rocha","email":"contact@arirocha.com"},"_npmVersion":"11.7.0","description":"To install dependencies:","directories":{},"sideEffects":false,"_nodeVersion":"25.2.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^27.4.0","@types/bun":"latest","typescript":"^5.5.4","@playwright/test":"^1.58.0"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/openrisk-client_0.1.0_1769625945706_0.5726243780533367","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@arirocha/openrisk-client","version":"0.1.1","_id":"@arirocha/openrisk-client@0.1.1","maintainers":[{"name":"ari-rocha","email":"contact@arirocha.com"}],"dist":{"shasum":"42a8b32748925c76bbfb9001ce65d47597487723","tarball":"https://registry.npmjs.org/@arirocha/openrisk-client/-/openrisk-client-0.1.1.tgz","fileCount":46,"integrity":"sha512-nnyZjakxj4RAIp3gd72EsVXkze7yu9tiVF5iG9efO+P3c2Y1l/8eiQ6iGDsc6i4TL0OG/kJpqWUyydVg5c4kfw==","signatures":[{"sig":"MEUCIAx7IP+zHZqaONN1ANUXvh0Ja+/6imgO2Ls6jsLrA4B5AiEAvTi8cQpabbOWSwxQHPaN7jeRwwrMIDnikj8fli4hDRk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32794},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./browser":{"types":"./dist/index.d.ts","import":"./dist/openrisk.js"}},"gitHead":"3eaa4dac36db5a648a68d553af02cff14fb39689","private":false,"scripts":{"dev":"bun build src/index.ts --outfile=../dist/openrisk.js --target=browser --format=esm --watch","test":"bun test","build":"bun run build:esm && bun run build:cjs && bun run build:browser && bun run build:types","test:e2e":"npm run build && playwright test","build:cjs":"bun build src/index.ts --outdir=dist --target=browser --format=cjs","build:esm":"bun build src/index.ts --outdir=dist --target=browser --format=esm","build:types":"bunx tsc -p tsconfig.json --emitDeclarationOnly","test:e2e:ui":"playwright test --ui","build:browser":"bun build src/index.ts --outfile=dist/openrisk.js --target=browser --format=esm","test:e2e:debug":"playwright test --debug","test:e2e:headed":"playwright test --headed"},"_npmUser":{"name":"ari-rocha","email":"contact@arirocha.com"},"_npmVersion":"11.7.0","description":"Browser SDK for OpenRisk. Collects client signals and sends them to your OpenRisk ingest endpoint.","directories":{},"sideEffects":false,"_nodeVersion":"25.2.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^27.4.0","@types/bun":"latest","typescript":"^5.5.4","@playwright/test":"^1.58.0"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/openrisk-client_0.1.1_1769626158029_0.3256466980630801","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@arirocha/openrisk-client","version":"0.1.2","type":"module","main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./browser":{"types":"./dist/index.d.ts","import":"./dist/openrisk.js"}},"publishConfig":{"access":"public"},"sideEffects":false,"private":false,"devDependencies":{"@types/bun":"latest","@playwright/test":"^1.58.0","jsdom":"^27.4.0","typescript":"^5.5.4"},"scripts":{"dev":"bun build src/index.ts --outfile=../dist/openrisk.js --target=browser --format=esm --watch","build:esm":"bun build src/index.ts --outfile=dist/index.mjs --target=browser --format=esm","build:cjs":"bun build src/index.ts --outfile=dist/index.cjs --target=browser --format=cjs","build:browser":"bun build src/index.ts --outfile=dist/openrisk.js --target=browser --format=esm","build:types":"bunx tsc -p tsconfig.json --emitDeclarationOnly","build":"bun run build:esm && bun run build:cjs && bun run build:browser && bun run build:types","test":"bun test","test:e2e":"npm run build && playwright test","test:e2e:ui":"playwright test --ui","test:e2e:headed":"playwright test --headed","test:e2e:debug":"playwright test --debug"},"peerDependencies":{"typescript":"^5"},"gitHead":"3eaa4dac36db5a648a68d553af02cff14fb39689","_id":"@arirocha/openrisk-client@0.1.2","description":"Browser SDK for OpenRisk. Collects client signals and sends them to your OpenRisk ingest endpoint.","_nodeVersion":"25.2.1","_npmVersion":"11.7.0","dist":{"integrity":"sha512-3zAFG1FjTJU2+H+XeNlYtix48R8nzZMfayCp7U14ZzmDiVoP6SFSlNfbbTQRM8LlC4KPEFaVNEDFF6nt7bOKyg==","shasum":"40522f447e363fd95fe9d25688957537f9a74438","tarball":"https://registry.npmjs.org/@arirocha/openrisk-client/-/openrisk-client-0.1.2.tgz","fileCount":48,"unpackedSize":53408,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCR0BCpaIOic9j2zelFGuAcC8aRCE/sy4cQMkUWa55+DgIgdwR1Dt+VzEiG3dhhjJuG8uwu7U7WuGSaiHCG+jRl8fs="}]},"_npmUser":{"name":"ari-rocha","email":"contact@arirocha.com"},"directories":{},"maintainers":[{"name":"ari-rocha","email":"contact@arirocha.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/openrisk-client_0.1.2_1769626925179_0.504320647028172"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-28T18:45:44.365Z","modified":"2026-01-28T19:02:05.523Z","0.1.0":"2026-01-28T18:45:45.857Z","0.1.1":"2026-01-28T18:49:18.174Z","0.1.2":"2026-01-28T19:02:05.388Z"},"description":"Browser SDK for OpenRisk. Collects client signals and sends them to your OpenRisk ingest endpoint.","maintainers":[{"name":"ari-rocha","email":"contact@arirocha.com"}],"readme":"# @arirocha/openrisk-client\n\nBrowser SDK for OpenRisk. Collects client signals and sends them to your OpenRisk ingest endpoint.\n\n## Install\n\n```bash\nnpm i @arirocha/openrisk-client\n```\n\n## Usage\n\n```ts\nimport { OpenRiskClient } from \"@arirocha/openrisk-client\";\n\nconst client = new OpenRiskClient({\n  projectKey: \"pk_test\",\n  endpoint: \"https://your-server.com/ingest\",\n  debug: true,\n});\n```\n\n## Browser bundle\n\nIf you prefer a plain browser import:\n\n```ts\nimport { OpenRiskClient } from \"@arirocha/openrisk-client/browser\";\n```\n\n## Repo\n\nOpenRisk monorepo: https://github.com/ari-rocha/openrisk\n","readmeFilename":"README.md"}