fix classifyKind() test.

This commit is contained in:
fiatjaf
2025-11-25 22:20:52 -03:00
parent 8a76c4e329
commit e959409c14
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@nostr/tools",
"version": "2.18.1",
"version": "2.18.2",
"exports": {
".": "./index.ts",
"./core": "./core.ts",

View File

@@ -18,7 +18,7 @@ test('kind classification', () => {
expect(classifyKind(30000)).toBe('parameterized')
expect(classifyKind(39999)).toBe('parameterized')
expect(classifyKind(40000)).toBe('unknown')
expect(classifyKind(255)).toBe('unknown')
expect(classifyKind(255)).toBe('regular')
})
test('kind type guard', () => {

View File

@@ -1,7 +1,7 @@
{
"type": "module",
"name": "nostr-tools",
"version": "2.18.1",
"version": "2.18.2",
"description": "Tools for making a Nostr client.",
"repository": {
"type": "git",