add support for v2 hashing algorithm.

update README.md and demo file to be more in sync.
update to v0.10.0.
This commit is contained in:
2026-03-29 22:34:43 -04:00
parent d5363c3960
commit c776b5df6a
33 changed files with 2255 additions and 1524 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "twtxt-lib",
"version": "0.9.4",
"version": "0.10.0",
"description": "An isomorphic TypeScript library of utility functions for parsing and interacting with twtxt.txt files.",
"license": "MIT",
"author": {
@@ -33,7 +33,6 @@
"preview": "vite preview",
"prepublishOnly": "yarn build",
"postpublish": "git push && git push --tags",
"publish": "npm publish",
"publish:jsr": "npx jsr publish",
"publish:all": "npm publish && npx jsr publish",
"test": "vitest"
@@ -41,17 +40,17 @@
"dependencies": {
"@exodus/blakejs": "^1.1.1-exodus.0",
"base32.js": "^0.1.0",
"dayjs": "^1.11.19"
"dayjs": "^1.11.20"
},
"devDependencies": {
"@types/node": "^25.3.5",
"@types/node": "^25.5.0",
"prettier": "^3.8.1",
"typescript": "^5.9.3",
"unplugin-dts": "1.0.0-beta.6",
"vite": "^7.3.1",
"vite-plugin-no-bundle": "^4.0.0",
"vite-plugin-node-polyfills": "^0.25.0",
"vitest": "^4.0.18"
"vite-plugin-node-polyfills": "^0.26.0",
"vitest": "^4.1.2"
},
"packageManager": "yarn@4.13.0"
}