diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b95ce4..c562d3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ All notable changes to this package are documented in this file. The format foll ## [Unreleased] +## [1.0.1] - 2026-10-01 + +### Fixed + +- Published as 1.0.1. Version 1.0.0 remained an unfinished npm publish and could not be installed. The library code is unchanged. + ## [1.0.0] - 2026-09-30 ### Added diff --git a/package-lock.json b/package-lock.json index 8bdae8f..83b2f9e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@shieldlabs-ai/node", - "version": "1.0.0", + "version": "1.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@shieldlabs-ai/node", - "version": "1.0.0", + "version": "1.0.1", "license": "MIT", "devDependencies": { "@eslint/js": "^9.39.5", diff --git a/package.json b/package.json index dd110f8..defedc9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@shieldlabs-ai/node", - "version": "1.0.0", + "version": "1.0.1", "description": "ShieldLabs server SDK for Node.js and edge runtimes: History API and Management API clients, webhook signature verification, typed identifications and risk helpers.", "license": "MIT", "author": "ShieldLabs Inc. ", diff --git a/src/version.ts b/src/version.ts index 202bc3d..e752df1 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1,2 +1,2 @@ /** Version of this SDK. Sent in the User-Agent header of every request. */ -export const VERSION = '1.0.0'; +export const VERSION = '1.0.1'; diff --git a/test/entries.test.ts b/test/entries.test.ts index 82c37b4..799d4a3 100644 --- a/test/entries.test.ts +++ b/test/entries.test.ts @@ -65,7 +65,7 @@ describe('public exports', () => { version: string; }; expect(node.VERSION).toBe(pkg.version); - expect(node.VERSION).toBe('1.0.0'); + expect(node.VERSION).toBe('1.0.1'); }); it('expose frozen webhook helpers', () => { @@ -159,7 +159,7 @@ describe('User-Agent', () => { }); it('names the SDK, its version and the runtime', () => { - expect(userAgent()).toBe(`shieldlabs-node/1.0.0 node/${process.versions.node}`); + expect(userAgent()).toBe(`shieldlabs-node/1.0.1 node/${process.versions.node}`); }); it('detects other runtimes', () => {