0.3.3 • Published 5 months ago
family-moments-common v0.3.3
Family Moments - common lib
Common lib for family moments, written in typescript.
Introduction
Family Moments is a private project. \
This package isn't private to prevent npm Pro
costs and there are no secrets. \
You can use the package if you like the features and don't mind the specific name.
Plus, you can fork it and build on top of it.
Contains
Crypto Lib
- AES-GCM-256 file encryption, via webcrypto api.
- AES-Key-Wrap key encryption, via webcrypto api.
- Argon2id LoginHash creation and key derivation, via argon2-browser
Common types
- Comment
- CommentFileItem
- IdNameMapping
- User
- UserCrypto
- VideoIndex
- VideoItem
- Types for Crypto Lib
Tooling
install
Run:
npm run inst
Audit
Run:
npm run audit
Lint
Run:
npm run lint
Tests
Run:
npm run test
Build
Run:
npm run build
Changelog
0.3.3 (2023-12-29)
- Fixes:
- Fixes PasswordKey length from 16 to 32 bytes.
0.3.2 (2023-12-29)
- Fixes
- Removes
configureWebpack
- It is causing trouble
- So it can and must be part of the project, using this lib
- Removes
- Security
- Adds guard for masterKey length. MasterKey must have 32 bytes.
0.3.1 (2023-12-28)
- Docs
- Fixes typo in README.md
0.3.0 (2023-12-28)
Initial Release