{"_id":"@arbidocs/core","_rev":"12-24c83d68e3a9baf038a4c3381efbb3e8","name":"@arbidocs/core","dist-tags":{"latest":"0.3.9"},"versions":{"0.1.0":{"name":"@arbidocs/core","version":"0.1.0","keywords":["arbi","core","operations","api","typescript"],"license":"MIT","_id":"@arbidocs/core@0.1.0","maintainers":[{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"}],"homepage":"https://github.com/arbitrationcity/ARBI-frontend#readme","bugs":{"url":"https://github.com/arbitrationcity/ARBI-frontend/issues"},"dist":{"shasum":"142030fd772f84f1758441b818b7395243b0c763","tarball":"https://registry.npmjs.org/@arbidocs/core/-/core-0.1.0.tgz","fileCount":7,"integrity":"sha512-mK+c26XwQDfKImVVKGNR1AZi5oMg1Ouc6RzSEIfKuvixS5NnUctCWRnmzzC1oNg4Lc7E0VjvdJGb1RfJDYExFw==","signatures":[{"sig":"MEUCIQD/ZQnbD/miF7QlpENin8PdYgmwrf3I9Lul0GULxJgcnwIgXsAgNHxEDN8eEmTL/FCnrEtca1MytB5GPj3w6NvHSok=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":264452},"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"}},"gitHead":"81c1341dbb15079a15f1ad01571b35f4d36985b2","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"},"repository":{"url":"git+https://github.com/arbitrationcity/ARBI-frontend.git","type":"git","directory":"packages/arbi-core"},"_npmVersion":"11.6.2","description":"Shared operations layer for ARBI — auth, config, SSE, WebSocket, and API operations","directories":{},"_nodeVersion":"24.13.0","dependencies":{"@arbidocs/sdk":"^0.1.0","fake-indexeddb":"^6.2.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^24.9.2"},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.0_1770673676970_0.11363253282653929","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@arbidocs/core","version":"0.2.0","keywords":["arbi","core","operations","api","typescript"],"license":"MIT","_id":"@arbidocs/core@0.2.0","maintainers":[{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"}],"homepage":"https://github.com/arbitrationcity/ARBI-frontend#readme","bugs":{"url":"https://github.com/arbitrationcity/ARBI-frontend/issues"},"dist":{"shasum":"0fc1781233a5ebddca49fd61810c589122326afe","tarball":"https://registry.npmjs.org/@arbidocs/core/-/core-0.2.0.tgz","fileCount":14,"integrity":"sha512-JU/QHFnna8JMFxGXnOL+zPGBV7Ltkx6W3VQr+R93bt95Kbr8Y0fwFDnLSg1I0df3qdnmtmB+GtclHywZX69iPg==","signatures":[{"sig":"MEQCIE8xcJdjEKsdekoEpSH1Ys2CRuUQENaqaO1lpW5UixjRAiAlQ/ioqiotcXXpvXPWn5276QpZlvcGZS7yTace5mVUaw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":720475},"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/browser.d.ts","import":"./dist/browser.js","require":"./dist/browser.cjs"}},"scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run src/integration.test.ts"},"_npmUser":{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"},"repository":{"url":"git+https://github.com/arbitrationcity/ARBI-frontend.git","type":"git","directory":"packages/arbi-core"},"_npmVersion":"11.6.2","description":"Shared operations layer for ARBI — auth, config, SSE, WebSocket, and API operations","directories":{},"_nodeVersion":"24.13.0","dependencies":{"@arbidocs/sdk":"^0.1.0"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"browser":["dist/browser.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^24.9.2","fake-indexeddb":"^6.2.5"},"_npmOperationalInternal":{"tmp":"tmp/core_0.2.0_1770812920131_0.8877634401858896","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@arbidocs/core","version":"0.3.0","keywords":["arbi","core","operations","api","typescript"],"license":"MIT","_id":"@arbidocs/core@0.3.0","maintainers":[{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"}],"homepage":"https://github.com/arbitrationcity/ARBI-frontend#readme","bugs":{"url":"https://github.com/arbitrationcity/ARBI-frontend/issues"},"dist":{"shasum":"93639a17a4a5f5371bc1ae51c3f74297263654e7","tarball":"https://registry.npmjs.org/@arbidocs/core/-/core-0.3.0.tgz","fileCount":14,"integrity":"sha512-DTUU++N7/bwNo/ZtDvbMQmNpYs0sQL2qJernec2z3ophJRjpWy6c/sgMQFCFmhggI+3oc401ryGZCtLJlxG0Hg==","signatures":[{"sig":"MEQCICwOCeEHGbw2QZOCi3dJKDZCyj2S/Jr7pET9riD5qvEXAiBKInas9S1CymyNu5Qy9Egfib0vjcA9CLl5TE3B9GKGqA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":720490},"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/browser.d.ts","import":"./dist/browser.js","require":"./dist/browser.cjs"}},"scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run src/integration.test.ts"},"_npmUser":{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"},"repository":{"url":"git+https://github.com/arbitrationcity/ARBI-frontend.git","type":"git","directory":"packages/arbi-core"},"_npmVersion":"11.6.2","description":"Shared operations layer for ARBI — auth, config, SSE, WebSocket, and API operations","directories":{},"_nodeVersion":"24.13.0","dependencies":{"@arbidocs/sdk":"0.3.0"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"browser":["dist/browser.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^24.9.2","fake-indexeddb":"^6.2.5"},"_npmOperationalInternal":{"tmp":"tmp/core_0.3.0_1770813819090_0.9781032906762115","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@arbidocs/core","version":"0.3.1","keywords":["arbi","core","operations","api","typescript"],"license":"MIT","_id":"@arbidocs/core@0.3.1","maintainers":[{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"}],"homepage":"https://github.com/arbitrationcity/ARBI-frontend#readme","bugs":{"url":"https://github.com/arbitrationcity/ARBI-frontend/issues"},"dist":{"shasum":"225167c540bd2ff2aeba19d40dbffaa6cf718101","tarball":"https://registry.npmjs.org/@arbidocs/core/-/core-0.3.1.tgz","fileCount":14,"integrity":"sha512-gFmeLkQY12OKZtlUJAyZ5f4SSPzIHVIXGIjCFDh1Seq5BNelxQlaaa8K6NY/YgT1MdMU/xLAs2B1+HIEZewxpw==","signatures":[{"sig":"MEUCIQDoq7BtcoG3pkfA7ULd9PxN7t2Tdd6L9zkrH/jzqCfHSgIgBFVX7Uebblz9cHSsJw+9vDjW/C7WxBLCzXun8uW9SDI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":727508},"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/browser.d.ts","import":"./dist/browser.js","require":"./dist/browser.cjs"}},"scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run src/integration.test.ts"},"_npmUser":{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"},"repository":{"url":"git+https://github.com/arbitrationcity/ARBI-frontend.git","type":"git","directory":"packages/arbi-core"},"_npmVersion":"11.6.2","description":"Shared operations layer for ARBI — auth, config, SSE, WebSocket, and API operations","directories":{},"_nodeVersion":"24.13.0","dependencies":{"@arbidocs/sdk":"0.3.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"browser":["dist/browser.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^24.9.2","fake-indexeddb":"^6.2.5"},"_npmOperationalInternal":{"tmp":"tmp/core_0.3.1_1770816214669_0.01838524157497412","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@arbidocs/core","version":"0.3.2","keywords":["arbi","core","operations","api","typescript"],"license":"MIT","_id":"@arbidocs/core@0.3.2","maintainers":[{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"}],"homepage":"https://github.com/arbitrationcity/ARBI-frontend#readme","bugs":{"url":"https://github.com/arbitrationcity/ARBI-frontend/issues"},"dist":{"shasum":"cf1eff86bb424784f82f0f09b128c8e3d6e49084","tarball":"https://registry.npmjs.org/@arbidocs/core/-/core-0.3.2.tgz","fileCount":14,"integrity":"sha512-XHfFCtllZoYtELAET6ou+UANMdsFFaXmdTu9VP0gPMEx5DT5GS0bY75oQPSTwlPP/CDbP3T/iB8TCG44bJTuqQ==","signatures":[{"sig":"MEYCIQCqr6dyNx+l2f5q2d6DHvxqpQX/VypFW2dKKVWzt1ys4gIhAK8MBeq900hGwwzcRckLwzhecHakeZng9aZMNTaSrtTB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":727608},"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/browser.d.ts","import":"./dist/browser.js","require":"./dist/browser.cjs"}},"scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run src/integration.test.ts"},"_npmUser":{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"},"repository":{"url":"git+https://github.com/arbitrationcity/ARBI-frontend.git","type":"git","directory":"packages/arbi-core"},"_npmVersion":"11.6.2","description":"Shared operations layer for ARBI — auth, config, SSE, WebSocket, and API operations","directories":{},"_nodeVersion":"24.13.0","dependencies":{"@arbidocs/sdk":"0.3.2"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"browser":["dist/browser.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^24.9.2","fake-indexeddb":"^6.2.5"},"_npmOperationalInternal":{"tmp":"tmp/core_0.3.2_1770818977123_0.2746400848809787","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"@arbidocs/core","version":"0.3.3","keywords":["arbi","core","operations","api","typescript"],"license":"MIT","_id":"@arbidocs/core@0.3.3","maintainers":[{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"}],"homepage":"https://github.com/arbitrationcity/ARBI-frontend#readme","bugs":{"url":"https://github.com/arbitrationcity/ARBI-frontend/issues"},"dist":{"shasum":"ad4986a5b148b9990bdac8e362cfd0d2c7152ef1","tarball":"https://registry.npmjs.org/@arbidocs/core/-/core-0.3.3.tgz","fileCount":14,"integrity":"sha512-9AYZZ3qtBAkrpHJowvfdjvlZqibStdB1AiUraRSt89jWalGV142M+7eHOod+0dqnR0Jmxe92h/9xDWk4XmDH2A==","signatures":[{"sig":"MEUCICOEu/wBWbLcrdITxE5vkh/bdgOD0hsq+fhCdHZUdsuyAiEAjce3YiNN8ZQ16Yuwl9tgLKc87o2rBF0z1FFhF7+BHpw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":727608},"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/browser.d.ts","import":"./dist/browser.js","require":"./dist/browser.cjs"}},"scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run src/integration.test.ts"},"_npmUser":{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"},"repository":{"url":"git+https://github.com/arbitrationcity/ARBI-frontend.git","type":"git","directory":"packages/arbi-core"},"_npmVersion":"11.6.2","description":"Shared operations layer for ARBI — auth, config, SSE, WebSocket, and API operations","directories":{},"_nodeVersion":"24.13.0","dependencies":{"@arbidocs/sdk":"0.3.3"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"browser":["dist/browser.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^24.9.2","fake-indexeddb":"^6.2.5"},"_npmOperationalInternal":{"tmp":"tmp/core_0.3.3_1770820697293_0.913570181795919","host":"s3://npm-registry-packages-npm-production"}},"0.3.4":{"name":"@arbidocs/core","version":"0.3.4","keywords":["arbi","core","operations","api","typescript"],"license":"MIT","_id":"@arbidocs/core@0.3.4","maintainers":[{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"}],"homepage":"https://github.com/arbitrationcity/ARBI-frontend#readme","bugs":{"url":"https://github.com/arbitrationcity/ARBI-frontend/issues"},"dist":{"shasum":"d50f398529e1a8fdb9add717e4718105de6eadb7","tarball":"https://registry.npmjs.org/@arbidocs/core/-/core-0.3.4.tgz","fileCount":14,"integrity":"sha512-cxeyHr7IHaLxOdNYcxloSFrg5pj4mdCQAht/1J0vq3qcE2iLXjJZgGHsgvqANJmZ8BqjoJ/w1/BJqxhuJuCVHA==","signatures":[{"sig":"MEUCIQDy4AFyUrYW5IcTEre5oVi2KaRb83Y16BPB8r7JlHytOAIgPaQFC4HETMZbzHiJey07s2kbfQ+sZR4Cys3q2ZiAVJU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":727608},"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/browser.d.ts","import":"./dist/browser.js","require":"./dist/browser.cjs"}},"gitHead":"d4fac5baaafc720f6268d8170109006ac9add492","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run src/integration.test.ts"},"_npmUser":{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"},"repository":{"url":"git+https://github.com/arbitrationcity/ARBI-frontend.git","type":"git","directory":"packages/arbi-core"},"_npmVersion":"11.6.2","description":"Shared operations layer for ARBI — auth, config, SSE, WebSocket, and API operations","directories":{},"_nodeVersion":"24.13.0","dependencies":{"@arbidocs/sdk":"0.3.4"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"browser":["dist/browser.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^24.9.2","fake-indexeddb":"^6.2.5"},"_npmOperationalInternal":{"tmp":"tmp/core_0.3.4_1770824861729_0.6852129209033349","host":"s3://npm-registry-packages-npm-production"}},"0.3.5":{"name":"@arbidocs/core","version":"0.3.5","keywords":["arbi","core","operations","api","typescript"],"license":"MIT","_id":"@arbidocs/core@0.3.5","maintainers":[{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"}],"homepage":"https://github.com/arbitrationcity/ARBI-frontend#readme","bugs":{"url":"https://github.com/arbitrationcity/ARBI-frontend/issues"},"dist":{"shasum":"89cd394c99b87686e1f63c81e967215086bb8db1","tarball":"https://registry.npmjs.org/@arbidocs/core/-/core-0.3.5.tgz","fileCount":14,"integrity":"sha512-RgYTQXdb04B31whYy6RsZVofjdKNNQwfdxCYZMVONN77v5UTDPcY4Rcs6zKXcphVWqTONZE1f6BEfJ9C3nzkpw==","signatures":[{"sig":"MEUCIQD0O7VS5OL10xXwZA5kAN67+Li83XZL4p0aT0VibXcLegIgFubMX4OdICFgVSQ92exDPNpU7Se/f2xlCH7uBeMwD6Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":742368},"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/browser.d.ts","import":"./dist/browser.js","require":"./dist/browser.cjs"}},"gitHead":"e4b58d05c95964c5c32041cc864f456d02dbdf17","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run src/integration.test.ts"},"_npmUser":{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"},"repository":{"url":"git+https://github.com/arbitrationcity/ARBI-frontend.git","type":"git","directory":"packages/arbi-core"},"_npmVersion":"11.6.2","description":"Shared operations layer for ARBI — auth, config, SSE, WebSocket, and API operations","directories":{},"_nodeVersion":"24.13.0","dependencies":{"@arbidocs/sdk":"0.3.5"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"browser":["dist/browser.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^24.9.2","fake-indexeddb":"^6.2.5"},"_npmOperationalInternal":{"tmp":"tmp/core_0.3.5_1770826688077_0.23965393961238735","host":"s3://npm-registry-packages-npm-production"}},"0.3.6":{"name":"@arbidocs/core","version":"0.3.6","keywords":["arbi","core","operations","api","typescript"],"license":"MIT","_id":"@arbidocs/core@0.3.6","maintainers":[{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"}],"homepage":"https://github.com/arbitrationcity/ARBI-frontend#readme","bugs":{"url":"https://github.com/arbitrationcity/ARBI-frontend/issues"},"dist":{"shasum":"28c61527067c7b8e33358288d4417fc0a077ced5","tarball":"https://registry.npmjs.org/@arbidocs/core/-/core-0.3.6.tgz","fileCount":14,"integrity":"sha512-PrYDZAab/bxjowbZH/tI0bVM6yD6BaCMFD4qc8U9E82f/dcchtLGKUNHMx6IoYS3FegzDxo276JvDsG4SNzhFQ==","signatures":[{"sig":"MEYCIQCmfXwWVS2mvPggn/7ya1Ci3KdEiwOZfbFNv76nk9HjvQIhANxpAoCDHvx/A8xqjl3kYPP5Mk4Lqk5R8fu812yWHxjC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":743934},"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/browser.d.ts","import":"./dist/browser.js","require":"./dist/browser.cjs"}},"gitHead":"03f9183aa04d7c39fd7c1d9371e738f89352aa27","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run src/integration.test.ts"},"_npmUser":{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"},"repository":{"url":"git+https://github.com/arbitrationcity/ARBI-frontend.git","type":"git","directory":"packages/arbi-core"},"_npmVersion":"11.6.2","description":"Shared operations layer for ARBI — auth, config, SSE, WebSocket, and API operations","directories":{},"_nodeVersion":"24.13.0","dependencies":{"@arbidocs/sdk":"0.3.6"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"browser":["dist/browser.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^24.9.2","fake-indexeddb":"^6.2.5"},"_npmOperationalInternal":{"tmp":"tmp/core_0.3.6_1771003600474_0.9754304825032629","host":"s3://npm-registry-packages-npm-production"}},"0.3.7":{"name":"@arbidocs/core","version":"0.3.7","keywords":["arbi","core","operations","api","typescript"],"license":"MIT","_id":"@arbidocs/core@0.3.7","maintainers":[{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"}],"homepage":"https://github.com/arbitrationcity/ARBI-frontend#readme","bugs":{"url":"https://github.com/arbitrationcity/ARBI-frontend/issues"},"dist":{"shasum":"172b324672e80fb67a1766d3e131e2beb707320e","tarball":"https://registry.npmjs.org/@arbidocs/core/-/core-0.3.7.tgz","fileCount":14,"integrity":"sha512-ttDzv0reUG2lmUsqwMRLdU6KY9b/JENIQ5I6bpcMfj/O0HzGxwttPdym28tGdzMyM7VBqBmFE9dOxM/6FGC+Ag==","signatures":[{"sig":"MEUCIBeX3EHGt82Wcpnw1ZT3twhn4/TxmzF0levA5J3YZhfqAiEAuhE3pomkZytc+0OfUR3iGR/gKGxwBCh5pG5FYpr+3UA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":743934},"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/browser.d.ts","import":"./dist/browser.js","require":"./dist/browser.cjs"}},"gitHead":"18d44cfa60ab4e107ba3679c5cb079a532c30dd8","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run src/integration.test.ts"},"_npmUser":{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"},"repository":{"url":"git+https://github.com/arbitrationcity/ARBI-frontend.git","type":"git","directory":"packages/arbi-core"},"_npmVersion":"11.6.2","description":"Shared operations layer for ARBI — auth, config, SSE, WebSocket, and API operations","directories":{},"_nodeVersion":"24.13.0","dependencies":{"@arbidocs/sdk":"0.3.7"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"browser":["dist/browser.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^24.9.2","fake-indexeddb":"^6.2.5"},"_npmOperationalInternal":{"tmp":"tmp/core_0.3.7_1771004052427_0.49362708945333345","host":"s3://npm-registry-packages-npm-production"}},"0.3.8":{"name":"@arbidocs/core","version":"0.3.8","keywords":["arbi","core","operations","api","typescript"],"license":"MIT","_id":"@arbidocs/core@0.3.8","maintainers":[{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"}],"homepage":"https://github.com/arbitrationcity/ARBI-frontend#readme","bugs":{"url":"https://github.com/arbitrationcity/ARBI-frontend/issues"},"dist":{"shasum":"4384a93094b521c667f110c9d115ec59dd4013e5","tarball":"https://registry.npmjs.org/@arbidocs/core/-/core-0.3.8.tgz","fileCount":14,"integrity":"sha512-9hKXGwgQhh68GEruvk7B8l9odRWPLNsPo0bCIqtDR+KU7rgU3smFW+xZYMct7zUX5C8mmJhXdO1OplLsC2jndw==","signatures":[{"sig":"MEUCIAUPCrKg1FESjI1ME9fRLYdQ9UpaCSDHD0pEtI/D2w4jAiEA47H3YUvSDZA7BMmCOUVphrLbX2IAX6l1jGeinVKoMoM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":743934},"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/browser.d.ts","import":"./dist/browser.js","require":"./dist/browser.cjs"}},"gitHead":"570d013d6dea326c6d994128d5d57f4e5e83cd5a","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:integration":"vitest run src/integration.test.ts"},"_npmUser":{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"},"repository":{"url":"git+https://github.com/arbitrationcity/ARBI-frontend.git","type":"git","directory":"packages/arbi-core"},"_npmVersion":"11.6.2","description":"Shared operations layer for ARBI — auth, config, SSE, WebSocket, and API operations","directories":{},"_nodeVersion":"24.13.0","dependencies":{"@arbidocs/sdk":"0.3.8"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"browser":["dist/browser.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^4.0.18","typescript":"^5.9.3","@types/node":"^24.9.2","fake-indexeddb":"^6.2.5"},"_npmOperationalInternal":{"tmp":"tmp/core_0.3.8_1771004231357_0.7019557689245919","host":"s3://npm-registry-packages-npm-production"}},"0.3.9":{"name":"@arbidocs/core","version":"0.3.9","description":"Shared operations layer for ARBI — auth, config, SSE, WebSocket, and API operations","type":"module","main":"dist/index.cjs","module":"dist/index.js","types":"dist/index.d.ts","typesVersions":{"*":{"browser":["dist/browser.d.ts"]}},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./browser":{"types":"./dist/browser.d.ts","import":"./dist/browser.js","require":"./dist/browser.cjs"}},"scripts":{"build":"tsup","test":"vitest run","test:integration":"vitest run src/integration.test.ts","typecheck":"tsc --noEmit"},"dependencies":{"@arbidocs/sdk":"0.3.9"},"devDependencies":{"@types/node":"^24.9.2","fake-indexeddb":"^6.2.5","tsup":"^8.4.0","typescript":"^5.9.3","vitest":"^4.0.18"},"license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/arbicity/ARBI-frontend.git","directory":"packages/arbi-core"},"keywords":["arbi","core","operations","api","typescript"],"_id":"@arbidocs/core@0.3.9","gitHead":"ae85943d7c714380f85371ac99a3bfc03ec56d9f","bugs":{"url":"https://github.com/arbicity/ARBI-frontend/issues"},"homepage":"https://github.com/arbicity/ARBI-frontend#readme","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-6Ill9Y1lHPMYyzeSpL69+uylkuDamNmSND2hyU6idOZSBQUQ6OxrZkx2sywzAnJkfQrfRP7nLDNyXiSKcIN3zw==","shasum":"890fc0501e8ac7ca5bb72a10eceb0b1d08945ab4","tarball":"https://registry.npmjs.org/@arbidocs/core/-/core-0.3.9.tgz","fileCount":14,"unpackedSize":789034,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHUGHigt/rXqzHwsNdQb1/VzMm7e5WZcwXYpn+AYlWGWAiAGwOycLOItRGuJxwXnot2qmuDAXFb2hepXksKnOq4uMw=="}]},"_npmUser":{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"},"directories":{},"maintainers":[{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_0.3.9_1771184931187_0.159690535219571"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-09T21:47:56.881Z","modified":"2026-02-15T19:48:51.539Z","0.1.0":"2026-02-09T21:47:57.122Z","0.2.0":"2026-02-11T12:28:40.267Z","0.3.0":"2026-02-11T12:43:39.271Z","0.3.1":"2026-02-11T13:23:34.881Z","0.3.2":"2026-02-11T14:09:37.321Z","0.3.3":"2026-02-11T14:38:17.509Z","0.3.4":"2026-02-11T15:47:41.946Z","0.3.5":"2026-02-11T16:18:08.249Z","0.3.6":"2026-02-13T17:26:40.681Z","0.3.7":"2026-02-13T17:34:12.602Z","0.3.8":"2026-02-13T17:37:11.534Z","0.3.9":"2026-02-15T19:48:51.389Z"},"bugs":{"url":"https://github.com/arbicity/ARBI-frontend/issues"},"license":"MIT","homepage":"https://github.com/arbicity/ARBI-frontend#readme","keywords":["arbi","core","operations","api","typescript"],"repository":{"type":"git","url":"git+https://github.com/arbicity/ARBI-frontend.git","directory":"packages/arbi-core"},"description":"Shared operations layer for ARBI — auth, config, SSE, WebSocket, and API operations","maintainers":[{"name":"arbi-dev","email":"dmitri.evseev@arbi.city"}],"readme":"# @arbidocs/core\n\nHigh-level TypeScript SDK for the ARBI platform. Wraps authentication, workspace encryption, and all API operations into a single `Arbi` class.\n\n## Install\n\n```bash\nnpm install @arbidocs/core\n```\n\nFor Node.js, also install the IndexedDB polyfill:\n\n```bash\nnpm install fake-indexeddb\n```\n\n## Quick Start\n\n```typescript\nimport 'fake-indexeddb/auto' // Node.js only\nimport { Arbi } from '@arbidocs/core'\n\nconst arbi = new Arbi({ url: 'https://arbi.mycompany.com' })\n\n// Login\nawait arbi.login('user@example.com', 'password')\n\n// Pick a workspace\nconst workspaces = await arbi.workspaces.list()\nawait arbi.selectWorkspace(workspaces[0].external_id)\n\n// Use it\nconst docs = await arbi.documents.list()\nconst tags = await arbi.tags.list()\nconst conversations = await arbi.conversations.list()\n```\n\n## Streaming AI Queries\n\n```typescript\nconst result = await arbi.assistant.query('What does section 3 say?', {\n  docIds: [docs[0].external_id],\n  onToken: (token) => process.stdout.write(token),\n  onStreamStart: ({ assistant_message_ext_id }) => {\n    console.log('Stream started:', assistant_message_ext_id)\n  },\n  onComplete: () => console.log('\\nDone'),\n})\n```\n\n## Session Recovery\n\nAfter login, the SDK automatically persists your signing key (encrypted) in IndexedDB. You can also recover a session using the raw private key:\n\n```typescript\n// Save the key after first login (e.g. the recovery key download)\nconst signingKeyBase64 = '...'\n\n// Later, recover without password:\nawait arbi.loginWithKey('user@example.com', signingKeyBase64)\n```\n\n## API Reference\n\n### Constructor\n\n```typescript\nconst arbi = new Arbi({\n  url: 'https://arbi.mycompany.com',     // Required: backend URL\n  deploymentDomain: 'arbi.mycompany.com', // Optional: defaults to URL hostname\n  credentials: 'omit',                    // Optional: 'omit' | 'include' | 'same-origin'\n})\n```\n\n### Lifecycle\n\n| Method | Description |\n|--------|-------------|\n| `login(email, password)` | Authenticate with email and password |\n| `loginWithKey(email, signingKeyBase64)` | Authenticate with a stored signing key |\n| `selectWorkspace(workspaceId)` | Select a workspace (decrypts workspace key) |\n| `logout()` | Log out and securely clear key material |\n\n### Properties\n\n| Property | Type | Description |\n|----------|------|-------------|\n| `isLoggedIn` | `boolean` | Whether the user is authenticated |\n| `hasWorkspace` | `boolean` | Whether a workspace is selected |\n\n### Operations\n\nAll operations are namespaced and require a workspace to be selected (except `workspaces` and `health`).\n\n| Namespace | Methods |\n|-----------|---------|\n| `arbi.workspaces` | `list()`, `create()`, `update()`, `delete()`, `listUsers()`, `addUsers()`, `removeUsers()`, `setUserRole()` |\n| `arbi.documents` | `list()`, `get()`, `upload()`, `update()`, `delete()` |\n| `arbi.conversations` | `list()`, `getThreads()`, `updateTitle()`, `share()`, `delete()` |\n| `arbi.assistant` | `query(question, options)`, `retrieve(messageExtId)` |\n| `arbi.tags` | `list()`, `create()`, `update()`, `delete()` |\n| `arbi.doctags` | `assign()`, `remove()` |\n| `arbi.contacts` | `list()`, `search()` |\n| `arbi.health` | `check()` |\n\n### Browser Entry Point\n\nFor browser environments (no Node.js APIs like `fs`), import from the browser entry:\n\n```typescript\nimport { Arbi } from '@arbidocs/core/browser'\n```\n\n## Security\n\n- **Zero-knowledge auth**: Passwords never leave the client. Ed25519 keys are derived locally via Argon2id.\n- **E2E workspace encryption**: Each workspace has a symmetric key, wrapped with your public key.\n- **Encrypted key storage**: Private keys in IndexedDB are encrypted with a non-extractable Web Crypto AES-GCM key.\n- **Key zeroing on logout**: Signing and session keys are scrubbed from memory on logout.\n\n## Examples\n\n- **[Node.js Hello World](../../examples/node-hello-world/)** — Login, list docs, ask a streaming question (~40 lines)\n- **[React Chat App](../../examples/react-chat/)** — Login form, workspace selector, document picker, streaming chat\n\n## Requirements\n\n- **Browser**: Any modern browser with Web Crypto API\n- **Node.js**: v18+ (needs `fetch`, `FormData`, `Blob` globals). Install `fake-indexeddb`.\n- **TypeScript**: 5.0+ (optional)\n","readmeFilename":"README.md"}