From e959409c14e7e00a85a37a3c353fe5a51e92b297 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Tue, 25 Nov 2025 22:20:52 -0300 Subject: [PATCH] fix classifyKind() test. --- jsr.json | 2 +- kinds.test.ts | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jsr.json b/jsr.json index 55efa49..7b90ddb 100644 --- a/jsr.json +++ b/jsr.json @@ -1,6 +1,6 @@ { "name": "@nostr/tools", - "version": "2.18.1", + "version": "2.18.2", "exports": { ".": "./index.ts", "./core": "./core.ts", diff --git a/kinds.test.ts b/kinds.test.ts index 9f64914..4eb7abc 100644 --- a/kinds.test.ts +++ b/kinds.test.ts @@ -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', () => { diff --git a/package.json b/package.json index ed91856..2ee2f54 100644 --- a/package.json +++ b/package.json @@ -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",