{"_id":"@avsbhq/js","_rev":"6-ede1349032ce4bea4a0687a62efe555b","name":"@avsbhq/js","dist-tags":{"latest":"1.0.2"},"versions":{"0.2.0":{"name":"@avsbhq/js","version":"0.2.0","_id":"@avsbhq/js@0.2.0","maintainers":[{"name":"main1479","email":"m.main2402@gmail.com"}],"homepage":"https://github.com/main1479/a-vs-b/tree/main/packages/avsb-js#readme","bugs":{"url":"https://github.com/main1479/a-vs-b/issues"},"dist":{"shasum":"4c11dff094e4daf3e13a9759f26b6f7a30866843","tarball":"https://registry.npmjs.org/@avsbhq/js/-/js-0.2.0.tgz","fileCount":12,"integrity":"sha512-GT4gABkpESoOrKah8qrqYC1rxZ3wefXq2FeKrs3f2FgIxD+0lSPtpRzyRBrEskell+YCWApUEt+NDIydgeNOrQ==","signatures":[{"sig":"MEYCIQDwkHuZ0OOA8cV0jT6Lv2iHAfTz2cOJKQjC9bUSIMLhCAIhAL2U/5KhDBp90iT4JuXWq6b146A7gu59GG9mBUwBZgiR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":74741},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"},"./server":{"import":"./dist/server.js","require":"./dist/server.cjs"}},"gitHead":"209824b8ce9ccc7a40e9cc12658a090ebed580c9","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"main1479","email":"m.main2402@gmail.com"},"repository":{"url":"git+https://github.com/main1479/a-vs-b.git","type":"git","directory":"packages/avsb-js"},"_npmVersion":"11.8.0","description":"Vanilla JavaScript / TypeScript client SDK for the [A vs B](https://app.avsb.cloud) platform.","directories":{},"_nodeVersion":"24.13.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.5.0"},"_npmOperationalInternal":{"tmp":"tmp/js_0.2.0_1776368175634_0.25408424308755073","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@avsbhq/js","version":"0.3.0","_id":"@avsbhq/js@0.3.0","maintainers":[{"name":"main1479","email":"m.main2402@gmail.com"}],"homepage":"https://github.com/main1479/a-vs-b/tree/main/packages/avsb-js#readme","bugs":{"url":"https://github.com/main1479/a-vs-b/issues"},"dist":{"shasum":"7ee38e0104e9a0cb10ded9994f0402826c8c52c8","tarball":"https://registry.npmjs.org/@avsbhq/js/-/js-0.3.0.tgz","fileCount":12,"integrity":"sha512-UWIhYbMyGaX0si1OcvbvB0+8u84m0+7nz7PIOwDJpoRPtu1SwgAhGfYMIx0tncpnnmrO003gJJM2+WeMcK3EaA==","signatures":[{"sig":"MEUCIQCziAfmN2UE/KzQc07Tgz89wbj8+U5vRA+Vj9KpZej2KQIgDeNzTAskm6WefrV38GRMxuvLVx42FhxtkkWLnRlTzvY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75582},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"},"./server":{"import":"./dist/server.js","require":"./dist/server.cjs"}},"gitHead":"0dd07855a85dc3f9357fda444576d5998a0d18c9","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"main1479","email":"m.main2402@gmail.com"},"repository":{"url":"git+https://github.com/main1479/a-vs-b.git","type":"git","directory":"packages/avsb-js"},"_npmVersion":"11.8.0","description":"Vanilla JavaScript / TypeScript client SDK for the [A vs B](https://app.avsb.cloud) platform.","directories":{},"_nodeVersion":"24.13.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.5.0"},"_npmOperationalInternal":{"tmp":"tmp/js_0.3.0_1776487884590_0.6090486654980207","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@avsbhq/js","version":"0.4.0","_id":"@avsbhq/js@0.4.0","maintainers":[{"name":"main1479","email":"m.main2402@gmail.com"}],"homepage":"https://github.com/main1479/a-vs-b/tree/main/packages/avsb-js#readme","bugs":{"url":"https://github.com/main1479/a-vs-b/issues"},"dist":{"shasum":"5329ada02f39773c1bf10438ef396af911d8d482","tarball":"https://registry.npmjs.org/@avsbhq/js/-/js-0.4.0.tgz","fileCount":12,"integrity":"sha512-8toleqlZkHn1mghW++BTplI/oMtVjAmORRE1eDsJpVDNCzBU4GpDP2mtnkkztI3jC/10k+7svtE1uUlNHXkbaw==","signatures":[{"sig":"MEYCIQDWZN7g4kqv79KFJtulg6WI0ejxAPEmQeI1hauy2fjkqwIhALL4/cfuzFY5JiL+BhA38KsZZls3XvmzOVm5vrwCVd4w","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":77260},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"},"./server":{"import":"./dist/server.js","require":"./dist/server.cjs"}},"gitHead":"7f2906f59fe0b17b56f5a1b041f66893a05c3fc7","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"main1479","email":"m.main2402@gmail.com"},"repository":{"url":"git+https://github.com/main1479/a-vs-b.git","type":"git","directory":"packages/avsb-js"},"_npmVersion":"10.9.2","description":"Vanilla JavaScript / TypeScript client SDK for the [A vs B](https://app.avsb.cloud) platform.","directories":{},"_nodeVersion":"22.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.5.0"},"_npmOperationalInternal":{"tmp":"tmp/js_0.4.0_1778092570834_0.606037705588663","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@avsbhq/js","version":"1.0.0","_id":"@avsbhq/js@1.0.0","maintainers":[{"name":"main1479","email":"m.main2402@gmail.com"}],"homepage":"https://github.com/main1479/a-vs-b/tree/main/packages/avsb-js#readme","bugs":{"url":"https://github.com/main1479/a-vs-b/issues"},"dist":{"shasum":"026d185fea1eef8fdfa91a6c1ecc1770936253a3","tarball":"https://registry.npmjs.org/@avsbhq/js/-/js-1.0.0.tgz","fileCount":10,"integrity":"sha512-JPAtSBtibNJWQxnpGjf/Dka5aZ16dsQzaOpJu+T9i+/F/p+hkfnrSKGo1xlj3rl5iuxf8zyn1ycBolc//CIhCA==","signatures":[{"sig":"MEQCIEhP+othlzjGqwRZyqVDzHg6GIiyOidBiovjRG3ZYDbzAiAnq0rl6aG54sybudOqCijc1TaG2/+ItcpTMsfLw5llkA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5717},"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"},"./server":{"types":"./dist/server.d.ts","import":"./dist/server.js","require":"./dist/server.cjs"}},"gitHead":"8cd6226e120fe67c198b2f1db0087cd38b4a4060","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"main1479","email":"m.main2402@gmail.com"},"repository":{"url":"git+https://github.com/main1479/a-vs-b.git","type":"git","directory":"packages/avsb-js"},"_npmVersion":"10.9.2","description":"This package has been renamed to [`@avsbhq/browser`](https://www.npmjs.com/package/@avsbhq/browser).","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@avsbhq/browser":"1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.5.0"},"_npmOperationalInternal":{"tmp":"tmp/js_1.0.0_1780034379404_0.7288847655785657","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@avsbhq/js","version":"1.0.1","_id":"@avsbhq/js@1.0.1","maintainers":[{"name":"main1479","email":"m.main2402@gmail.com"}],"homepage":"https://github.com/main1479/a-vs-b/tree/main/packages/avsb-js#readme","bugs":{"url":"https://github.com/main1479/a-vs-b/issues"},"dist":{"shasum":"d372ed857d32dba860452a9e97f267b22830b185","tarball":"https://registry.npmjs.org/@avsbhq/js/-/js-1.0.1.tgz","fileCount":10,"integrity":"sha512-hQn//shV2YlaBjb+Iw0fa8QctLieRtBqFQ+85QU89fotWrFFmio+YbB3z0RHEUzG6Lwm7QKPPCd7W9RZ/1895Q==","signatures":[{"sig":"MEUCIFY0qJLBg+KhGnE7Ska/FX1xX0cMwy8t5kPNdP3qjv+UAiEAmV8EADzsVsUJ8/jmUT2b0yL+AgmWo6ILkO/f9qYS/uE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5708},"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"},"./server":{"types":"./dist/server.d.ts","import":"./dist/server.js","require":"./dist/server.cjs"}},"scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"main1479","email":"m.main2402@gmail.com"},"repository":{"url":"git+https://github.com/main1479/a-vs-b.git","type":"git","directory":"packages/avsb-js"},"_npmVersion":"10.9.8","description":"This package has been renamed to [`@avsbhq/browser`](https://www.npmjs.com/package/@avsbhq/browser).","directories":{},"_nodeVersion":"22.22.3","dependencies":{"@avsbhq/browser":"1.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.5.0"},"_npmOperationalInternal":{"tmp":"tmp/js_1.0.1_1785346469843_0.636647772167374","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@avsbhq/js","version":"1.0.2","type":"module","main":"dist/index.cjs","module":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./server":{"types":"./dist/server.d.ts","import":"./dist/server.js","require":"./dist/server.cjs"}},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/main1479/a-vs-b.git","directory":"packages/avsb-js"},"homepage":"https://github.com/main1479/a-vs-b/tree/main/packages/avsb-js#readme","scripts":{"build":"tsup","dev":"tsup --watch"},"dependencies":{"@avsbhq/browser":"1.3.1"},"devDependencies":{"tsup":"^8.0.0","typescript":"^5.5.0"},"_id":"@avsbhq/js@1.0.2","description":"This package has been renamed to [`@avsbhq/browser`](https://www.npmjs.com/package/@avsbhq/browser).","bugs":{"url":"https://github.com/main1479/a-vs-b/issues"},"_nodeVersion":"22.22.3","_npmVersion":"10.9.8","dist":{"integrity":"sha512-TNVjohogfOe7Fl/uOf7eYIInP+vtuQD65FNVkN8rkm8DmMOOnaTIjdH5fWnRSM+s7dtaFduztrCztutT6akZYw==","shasum":"a04020dd8e6a4ccac372d6984b3ddcf90570a193","tarball":"https://registry.npmjs.org/@avsbhq/js/-/js-1.0.2.tgz","fileCount":10,"unpackedSize":5708,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFgWKgvtHsKIC6riXKK6PZcvy/OBF0/NgWoLNY6+rkW3AiAh0BbfCHVOUKji+1t77l+FJNVb0k2efaxey/OwkGKofg=="}]},"_npmUser":{"name":"main1479","email":"m.main2402@gmail.com"},"directories":{},"maintainers":[{"name":"main1479","email":"m.main2402@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/js_1.0.2_1785347982983_0.15643641308327738"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-16T19:36:15.513Z","modified":"2026-07-29T17:59:43.401Z","0.2.0":"2026-04-16T19:36:15.776Z","0.3.0":"2026-04-18T04:51:24.746Z","0.4.0":"2026-05-06T18:36:11.021Z","1.0.0":"2026-05-29T05:59:39.551Z","1.0.1":"2026-07-29T17:34:29.997Z","1.0.2":"2026-07-29T17:59:43.140Z"},"bugs":{"url":"https://github.com/main1479/a-vs-b/issues"},"homepage":"https://github.com/main1479/a-vs-b/tree/main/packages/avsb-js#readme","repository":{"type":"git","url":"git+https://github.com/main1479/a-vs-b.git","directory":"packages/avsb-js"},"description":"This package has been renamed to [`@avsbhq/browser`](https://www.npmjs.com/package/@avsbhq/browser).","maintainers":[{"name":"main1479","email":"m.main2402@gmail.com"}],"readme":"# @avsbhq/js: Renamed\n\nThis package has been renamed to [`@avsbhq/browser`](https://www.npmjs.com/package/@avsbhq/browser).\n\nUpdate your dependency now:\n\n```bash\nnpm uninstall @avsbhq/js\nnpm install @avsbhq/browser\n```\n\n---\n\n## Why the rename?\n\n`@avsbhq/js` implied \"JavaScript only\" but the package has always been a browser client: it uses `fetch`, `EventSource`, `localStorage`, and `navigator.sendBeacon`. The new name `@avsbhq/browser` reflects that accurately and avoids confusion with the server SDK (`@avsbhq/node`) or the edge runtime (`@avsbhq/edge`).\n\n---\n\n## Migration: 12-line change list\n\n| Old | New |\n|---|---|\n| `npm install @avsbhq/js` | `npm install @avsbhq/browser` |\n| `import { AvsbClient } from '@avsbhq/js'` | `import { AvsbClient } from '@avsbhq/browser'` |\n| `import type { ... } from '@avsbhq/js'` | `import type { ... } from '@avsbhq/browser'` |\n| `client.setAttributes(attrs)` | `client.updateAttributes(attrs)` |\n| `client.getFlag('key', default)` → `T` | `client.getBoolFlag('key', default)` → `Flag<T>` |\n| `client.getFlagDetails('key')` | `client.getFlag('key', default)` (returns `Flag<T>` directly) |\n| `client.track('event', { revenue })` | `client.track('event', { value })` |\n| `client.onReady(): Promise<void>` | `client.onReady(): Promise<InitResult>` |\n| `evaluateFlag` (from this package) | `import { evaluateFlag } from '@avsbhq/core/engine'` |\n| `evaluateAudience` (from this package) | `import { evaluateAudience } from '@avsbhq/core/engine'` |\n| `murmurhash3` (from this package) | `import { murmurhash3 } from '@avsbhq/core/engine'` |\n\nThis stub re-exports the `@avsbhq/browser` surface with a `console.warn` on import. It will be removed in a future release, so migrate now.\n\n---\n\n## Full documentation\n\nSee [`@avsbhq/browser` on npm](https://www.npmjs.com/package/@avsbhq/browser) for the complete API reference.\n","readmeFilename":"README.md"}