{"_id":"@convex-localfirst/core","_rev":"5-a4a7614bca0b30c13ca08c9d2d6f2166","name":"@convex-localfirst/core","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"name":"@convex-localfirst/core","version":"0.1.0","keywords":["convex","local-first","offline","sync","optimistic"],"license":"MIT","_id":"@convex-localfirst/core@0.1.0","maintainers":[{"name":"fanzzzd","email":"fanzzzd@outlook.com"}],"dist":{"shasum":"ea520751d12b50a7424450121a3cbc9a747b10aa","tarball":"https://registry.npmjs.org/@convex-localfirst/core/-/core-0.1.0.tgz","fileCount":47,"integrity":"sha512-AcAp5IiJfPH+ojoa3ZxJGX2trf+7b7d/tPwaGo8GYDP5g7MvFokDJXjXJXHjhf6eqLkoGD30Dco6zwyUtKvC3A==","signatures":[{"sig":"MEUCIG3TYLp8OLPXQFhubGgvSsmReqZ37MsDAsL/0GxaOfN5AiEA1h+u+iM+uDsoINgI7XaA5BY8r45brzjwC5hDU0ScSn0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":159947},"main":"./dist/index.js","type":"module","_from":"file:convex-localfirst-core-0.1.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./internal":{"types":"./dist/internal.d.ts","import":"./dist/internal.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json --noEmit false --emitDeclarationOnly false","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"fanzzzd","email":"fanzzzd@outlook.com"},"_resolved":"/private/var/folders/2b/3_lqmflj4qx3nl8cf287333r0000gn/T/122733017d3dc45a52259bf66b7ee77e/convex-localfirst-core-0.1.0.tgz","_integrity":"sha512-AcAp5IiJfPH+ojoa3ZxJGX2trf+7b7d/tPwaGo8GYDP5g7MvFokDJXjXJXHjhf6eqLkoGD30Dco6zwyUtKvC3A==","_npmVersion":"11.17.0","description":"Local-first engine, store contract, and sync protocol for Convex — optimistic writes, offline cache, rebase/replay.","directories":{},"_nodeVersion":"22.21.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.1.0","typescript":"^5.7.0","fake-indexeddb":"^6.2.5"},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.0_1782715460593_0.6000606787562883","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved into convex-localfirst (one package). Install convex-localfirst and import convex-localfirst/<subpath> instead."},"0.1.1":{"name":"@convex-localfirst/core","version":"0.1.1","keywords":["convex","local-first","offline","sync","optimistic"],"author":{"name":"Fanzzzd"},"license":"MIT","_id":"@convex-localfirst/core@0.1.1","maintainers":[{"name":"fanzzzd","email":"fanzzzd@outlook.com"}],"homepage":"https://github.com/Fanzzzd/convex-localfirst#readme","bugs":{"url":"https://github.com/Fanzzzd/convex-localfirst/issues"},"dist":{"shasum":"7b426f9029a6adb5e5bb2a2475509d727f4831a6","tarball":"https://registry.npmjs.org/@convex-localfirst/core/-/core-0.1.1.tgz","fileCount":47,"integrity":"sha512-NtydLoxFTy2F1nYtgAxYx/aqgoKpKPFgZRyWGcrSWvu+jm1VOvjkddS1ZGtix3YSbgVo/disNSus00GzqD4EJg==","signatures":[{"sig":"MEUCIE9Fzxixzu60wBUg7iPVhpbjpsf+tw4sSgr6V5JwbFN4AiEA1ZDkEJ6HDtAEYY80yiBEStMoI6mH0VeblarmjjFojiE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@convex-localfirst%2fcore@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":160302},"main":"./dist/index.js","type":"module","_from":"file:convex-localfirst-core-0.1.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./internal":{"types":"./dist/internal.d.ts","import":"./dist/internal.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json --noEmit false --emitDeclarationOnly false","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"fanzzzd","email":"fanzzzd@outlook.com"},"_resolved":"/tmp/6112163fe441bb6f74ff29648793885a/convex-localfirst-core-0.1.1.tgz","_integrity":"sha512-NtydLoxFTy2F1nYtgAxYx/aqgoKpKPFgZRyWGcrSWvu+jm1VOvjkddS1ZGtix3YSbgVo/disNSus00GzqD4EJg==","repository":{"url":"git+https://github.com/Fanzzzd/convex-localfirst.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"Local-first engine, store contract, and sync protocol for Convex — optimistic writes, offline cache, rebase/replay.","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.1.0","typescript":"^5.7.0","fake-indexeddb":"^6.2.5"},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.1_1782748210329_0.4445687570310317","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved into convex-localfirst (one package). Install convex-localfirst and import convex-localfirst/<subpath> instead."},"0.2.0":{"name":"@convex-localfirst/core","version":"0.2.0","keywords":["convex","local-first","offline","sync","optimistic"],"author":{"name":"Fanzzzd"},"license":"MIT","_id":"@convex-localfirst/core@0.2.0","maintainers":[{"name":"fanzzzd","email":"fanzzzd@outlook.com"}],"homepage":"https://github.com/Fanzzzd/convex-localfirst#readme","bugs":{"url":"https://github.com/Fanzzzd/convex-localfirst/issues"},"dist":{"shasum":"58c6d613c0ac8f975ddd0059e1c89eeaf552c04d","tarball":"https://registry.npmjs.org/@convex-localfirst/core/-/core-0.2.0.tgz","fileCount":47,"integrity":"sha512-fE7torMkwkkdXJjatrmWvaaOmvpGCHKfIaxhvvWuw9rXX1JC4lKCLhe09hIKLYRbl6MzQtBQrcLLUMPC6TnkBg==","signatures":[{"sig":"MEUCIQDZFfQgz00rmhVi/+x8b+gJbaEugtg8QjkzSADt2M5EfAIgH7TiQzF/VylNIVWgAmEVOdZSJ9p1nHJtf3LaMNiHQnA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@convex-localfirst%2fcore@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":176788},"main":"./dist/index.js","type":"module","_from":"file:convex-localfirst-core-0.2.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./internal":{"types":"./dist/internal.d.ts","import":"./dist/internal.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json --noEmit false --emitDeclarationOnly false","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"fanzzzd","email":"fanzzzd@outlook.com"},"_resolved":"/tmp/cf58d852aca58dd18d749c3246af7729/convex-localfirst-core-0.2.0.tgz","_integrity":"sha512-fE7torMkwkkdXJjatrmWvaaOmvpGCHKfIaxhvvWuw9rXX1JC4lKCLhe09hIKLYRbl6MzQtBQrcLLUMPC6TnkBg==","repository":{"url":"git+https://github.com/Fanzzzd/convex-localfirst.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"Local-first engine, store contract, and sync protocol for Convex — optimistic writes, offline cache, rebase/replay.","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.1.0","typescript":"^5.7.0","fake-indexeddb":"^6.2.5"},"_npmOperationalInternal":{"tmp":"tmp/core_0.2.0_1784389733760_0.9244468119590254","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved into convex-localfirst (one package). Install convex-localfirst and import convex-localfirst/<subpath> instead."},"0.2.1":{"name":"@convex-localfirst/core","version":"0.2.1","keywords":["convex","local-first","offline","sync","optimistic"],"author":{"name":"Fanzzzd"},"license":"MIT","_id":"@convex-localfirst/core@0.2.1","maintainers":[{"name":"fanzzzd","email":"fanzzzd@outlook.com"}],"homepage":"https://github.com/Fanzzzd/convex-localfirst#readme","bugs":{"url":"https://github.com/Fanzzzd/convex-localfirst/issues"},"dist":{"shasum":"02fefa6e9bb547718d547382877caf4a9a7e4862","tarball":"https://registry.npmjs.org/@convex-localfirst/core/-/core-0.2.1.tgz","fileCount":47,"integrity":"sha512-0qg7dJh0iVc00TisvxBfsPEvCNhT8Y18L+utsy440tWSsv++eVQcWwhRVBFiA8jlPWTqIC2x5e5L2lUxGfBGbw==","signatures":[{"sig":"MEQCIFowSEkqtcuvXJL/65VXg3fmkxyHlhSRWKAh5E3QwrRrAiB6lof7BICUjqmtGCQfd8mkjrrYtEKPQY2iOY1AF1rpMg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@convex-localfirst%2fcore@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":176788},"main":"./dist/index.js","type":"module","_from":"file:convex-localfirst-core-0.2.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./internal":{"types":"./dist/internal.d.ts","import":"./dist/internal.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.json --noEmit false --emitDeclarationOnly false","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6f5aa7f3-87c0-4557-be0a-f5a53ce2f1f3"}},"_resolved":"/tmp/b2847b326ce7e4c3a3bf4b1853190c7c/convex-localfirst-core-0.2.1.tgz","_integrity":"sha512-0qg7dJh0iVc00TisvxBfsPEvCNhT8Y18L+utsy440tWSsv++eVQcWwhRVBFiA8jlPWTqIC2x5e5L2lUxGfBGbw==","repository":{"url":"git+https://github.com/Fanzzzd/convex-localfirst.git","type":"git","directory":"packages/core"},"_npmVersion":"11.16.0","description":"Local-first engine, store contract, and sync protocol for Convex — optimistic writes, offline cache, rebase/replay.","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.1.0","typescript":"^5.7.0","fake-indexeddb":"^6.2.5"},"_npmOperationalInternal":{"tmp":"tmp/core_0.2.1_1784445127790_0.13609259082697234","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved into convex-localfirst (one package). Install convex-localfirst and import convex-localfirst/<subpath> instead."}},"time":{"created":"2026-06-29T06:44:20.440Z","modified":"2026-07-19T08:04:17.250Z","0.1.0":"2026-06-29T06:44:20.735Z","0.1.1":"2026-06-29T15:50:10.486Z","0.2.0":"2026-07-18T15:48:53.914Z","0.2.1":"2026-07-19T07:12:07.931Z"},"bugs":{"url":"https://github.com/Fanzzzd/convex-localfirst/issues"},"author":{"name":"Fanzzzd"},"license":"MIT","homepage":"https://github.com/Fanzzzd/convex-localfirst#readme","keywords":["convex","local-first","offline","sync","optimistic"],"repository":{"url":"git+https://github.com/Fanzzzd/convex-localfirst.git","type":"git","directory":"packages/core"},"description":"Local-first engine, store contract, and sync protocol for Convex — optimistic writes, offline cache, rebase/replay.","maintainers":[{"name":"fanzzzd","email":"fanzzzd@outlook.com"}],"readme":"# @convex-localfirst/core\n\nThe local-first engine for [Convex](https://convex.dev): a canonical-centric store\nwhere the live view is derived (`canonical + replay(pending)`), so server changes never\nclobber pending local ops. Includes the sync protocol, deterministic op ordering, an\nIndexedDB adapter with migrations, Web Locks multi-tab leadership, and opt-in convergent\nmerges (set / counter / timestamp-LWW).\n\nMost apps use [`@convex-localfirst/react`](https://www.npmjs.com/package/@convex-localfirst/react)\nor [`@convex-localfirst/server`](https://www.npmjs.com/package/@convex-localfirst/server)\nrather than this package directly.\n\n```bash\nnpm install @convex-localfirst/core\n```\n\nMIT\n","readmeFilename":"README.md"}