Skip to content

Commit 4ad6559

Browse files
committed
fix: export file validation callback types
Export FileValidationCallback and FileValidationResult types so consumers can implement file validation callbacks with proper TypeScript typing.
1 parent bdcaa24 commit 4ad6559

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
66

7+
## [3.0.1](https://github.com/SocketDev/socket-sdk-js/releases/tag/v3.0.1) - 2025-10-23
8+
9+
### Fixed
10+
11+
- Export `FileValidationCallback` and `FileValidationResult` types for consumers implementing file validation callbacks
12+
713
## [3.0.0](https://github.com/SocketDev/socket-sdk-js/releases/tag/v3.0.0) - 2025-10-23
814

915
### ⚠️ BREAKING CHANGES

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ export type {
6262
CustomResponseType,
6363
Entitlement,
6464
EntitlementsResponse,
65+
FileValidationCallback,
66+
FileValidationResult,
6567
GetOptions,
6668
GotOptions,
6769
HeadersRecord,

0 commit comments

Comments
 (0)