type-guardians 1.2.3 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
1
+ # 1.2.1 (Thu Aug 21 2025)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - feat: add error type guard [#5](https://github.com/pchalupa/type-guardians/pull/5) ([@pchalupa](https://github.com/pchalupa))
6
+ - chore: setup auto release [#4](https://github.com/pchalupa/type-guardians/pull/4) ([@pchalupa](https://github.com/pchalupa))
7
+
8
+ #### ⚠️ Pushed to `main`
9
+
10
+ - docs: add error ([@pchalupa](https://github.com/pchalupa))
11
+ - ci: needs ([@pchalupa](https://github.com/pchalupa))
12
+ - docs: add description and keywords ([@pchalupa](https://github.com/pchalupa))
13
+
14
+ #### Authors: 1
15
+
16
+ - Petr Chalupa ([@pchalupa](https://github.com/pchalupa))
17
+
18
+ ---
19
+
1
20
  # 1.2.1 (Wed Aug 20 2025)
2
21
 
3
22
  #### 🐛 Bug Fix
package/README.md CHANGED
@@ -60,3 +60,8 @@ function double(value: unknown) {
60
60
 
61
61
  - `isNumber(value: unknown): value is number`
62
62
  - `assertNumber(value: unknown, message?: string): asserts value is number`
63
+
64
+ ### Error
65
+
66
+ - `isError(value: unknown): value is Error`
67
+ - `assertError(value: unknown, message?: string): asserts value is Error`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "type-guardians",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "A lightweight, zero-dependency TypeScript library providing type guards and assertions for safer and more readable code",
5
5
  "keywords": [
6
6
  "typescript",