Skip to content

Commit e4b9fa4

Browse files
committed
fix: Restructure HashComputation to root level for proper exports
Moved HashComputation types from nested Algorithms/Cryptography/ directory to root Sources/DesignAlgorithmsKit/ directory. This makes types directly accessible as DesignAlgorithmsKit.HashComputation without needing @_exported. Swift's module system doesn't support @_exported import for same-module enums, so moving to root level is the proper solution. Changes: - Moved Sources/DesignAlgorithmsKit/Algorithms/Cryptography/HashComputation.swift to Sources/DesignAlgorithmsKit/HashComputation.swift - Moved Tests/DesignAlgorithmsKitTests/Algorithms/Cryptography/HashComputationTests.swift to Tests/DesignAlgorithmsKitTests/HashComputationTests.swift - Updated version: 1.2.0 → 1.2.1 - All 149 tests passing Fixes FileSystemKit integration issue where types weren't accessible. Version: 1.2.1
1 parent f8585e2 commit e4b9fa4

3 files changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/DesignAlgorithmsKit/DesignAlgorithmsKit.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ import Foundation
5151
/// - WASM (limited - excludes hash/crypto types that require NSLock)
5252
public struct DesignAlgorithmsKit {
5353
/// Library version
54-
public static let version = "1.2.0"
54+
public static let version = "1.2.1"
5555
}
5656

5757
// Re-export all modules

Sources/DesignAlgorithmsKit/Algorithms/Cryptography/HashComputation.swift renamed to Sources/DesignAlgorithmsKit/HashComputation.swift

File renamed without changes.

Tests/DesignAlgorithmsKitTests/Algorithms/Cryptography/HashComputationTests.swift renamed to Tests/DesignAlgorithmsKitTests/HashComputationTests.swift

File renamed without changes.

0 commit comments

Comments
 (0)