{"_id":"@always-coder/shared","_rev":"2-608ba7eefbfffeeebdc536ef71011641","name":"@always-coder/shared","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@always-coder/shared","version":"1.0.0","keywords":["always-coder","shared","crypto","e2e-encryption"],"author":{"name":"tyyzqmf"},"license":"MIT","_id":"@always-coder/shared@1.0.0","maintainers":[{"name":"mingfeiq","email":"tyyzqmf@gmail.com"}],"homepage":"https://github.com/tyyzqmf/always-coder#readme","bugs":{"url":"https://github.com/tyyzqmf/always-coder/issues"},"dist":{"shasum":"9526769be6f35bbf5a96f6d86f15c2efc86295c5","tarball":"https://registry.npmjs.org/@always-coder/shared/-/shared-1.0.0.tgz","fileCount":34,"integrity":"sha512-P93vslJ0wahovEFnkBNXWPTgqIoqSH8stxdD2W/2N2DCd2oUtrewLv1WiPwQL80QWIk1B7C7Wl8JxCcLXbDgpQ==","signatures":[{"sig":"MEQCIGwJ/VG4mXS8zOYwf/KOcM2+LylvFa3BLDisx09/N5p/AiAsDZzeX7qBSV5ls97FOaq9LCL421fOgowKhrybCa4gEg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37269},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js"},"./crypto":{"types":"./dist/crypto/index.d.ts","import":"./dist/crypto/index.js"},"./protocol":{"types":"./dist/protocol/index.d.ts","import":"./dist/protocol/index.js"}},"gitHead":"42ebfe9c232507e12b96a2ded4ae16fb57bbb41f","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","clean":"rm -rf dist","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mingfeiq","email":"tyyzqmf@gmail.com"},"repository":{"url":"git+https://github.com/tyyzqmf/always-coder.git","type":"git","directory":"packages/shared"},"_npmVersion":"10.8.2","description":"Shared types, crypto, and protocol definitions for Always Coder","directories":{},"_nodeVersion":"20.20.0","dependencies":{"tweetnacl":"^1.0.3","tweetnacl-util":"^0.15.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.2.0","typescript":"^5.3.3","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/shared_1.0.0_1770016217740_0.5883927022888829","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@always-coder/shared","version":"1.1.0","description":"Shared types, crypto, and protocol definitions for Always Coder","type":"module","publishConfig":{"access":"public"},"keywords":["always-coder","shared","crypto","e2e-encryption"],"repository":{"type":"git","url":"git+https://github.com/tyyzqmf/always-coder.git","directory":"packages/shared"},"author":{"name":"tyyzqmf"},"license":"MIT","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js"},"./crypto":{"types":"./dist/crypto/index.d.ts","import":"./dist/crypto/index.js"},"./protocol":{"types":"./dist/protocol/index.d.ts","import":"./dist/protocol/index.js"},"./input":{"types":"./dist/input/index.d.ts","import":"./dist/input/index.js"}},"scripts":{"build":"tsc","dev":"tsc --watch","clean":"rm -rf dist","typecheck":"tsc --noEmit","test":"vitest run","test:watch":"vitest"},"dependencies":{"tweetnacl":"^1.0.3","tweetnacl-util":"^0.15.1"},"devDependencies":{"@types/node":"^20.11.0","typescript":"^5.3.3","vitest":"^1.2.0"},"_id":"@always-coder/shared@1.1.0","gitHead":"bf10da088c0f34237570334d86ad61e1ea5597fa","bugs":{"url":"https://github.com/tyyzqmf/always-coder/issues"},"homepage":"https://github.com/tyyzqmf/always-coder#readme","_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-dBnLF/TfPunRB2gaN0gO5x9lO3v9viP3Lflib0GpJ0lbxA9ksrk9uTWXjHVo902WdTRfYs7SqW2bddIb2o5bbA==","shasum":"4ff78d780229a657c756b24658981207d6aebd5d","tarball":"https://registry.npmjs.org/@always-coder/shared/-/shared-1.1.0.tgz","fileCount":42,"unpackedSize":47905,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD7hF8BlohKXjrdFdEG93PY4niJwEY7CpMd9kf1Rsi0nwIhAMTIHiKRcfdDM6ZQJeUEboEN7MejMvH28TXuSBEnHJ6D"}]},"_npmUser":{"name":"mingfeiq","email":"tyyzqmf@gmail.com"},"directories":{},"maintainers":[{"name":"mingfeiq","email":"tyyzqmf@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/shared_1.1.0_1770087702318_0.7516836584191584"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-02T07:10:17.635Z","modified":"2026-02-03T03:01:42.596Z","1.0.0":"2026-02-02T07:10:17.914Z","1.1.0":"2026-02-03T03:01:42.448Z"},"bugs":{"url":"https://github.com/tyyzqmf/always-coder/issues"},"author":{"name":"tyyzqmf"},"license":"MIT","homepage":"https://github.com/tyyzqmf/always-coder#readme","keywords":["always-coder","shared","crypto","e2e-encryption"],"repository":{"type":"git","url":"git+https://github.com/tyyzqmf/always-coder.git","directory":"packages/shared"},"description":"Shared types, crypto, and protocol definitions for Always Coder","maintainers":[{"name":"mingfeiq","email":"tyyzqmf@gmail.com"}],"readme":"# @always-coder/shared\n\nShared types, crypto, and protocol definitions for Always Coder.\n\n## Installation\n\n```bash\nnpm install @always-coder/shared\n```\n\n## Features\n\n- E2E encryption using X25519 key exchange and XSalsa20-Poly1305\n- WebSocket message protocol types\n- Shared TypeScript types\n\n## Usage\n\n```typescript\nimport { generateKeyPair, encrypt, decrypt } from '@always-coder/shared/crypto';\nimport { MessageType } from '@always-coder/shared/protocol';\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}