diff --git a/src/ecdsa/ecdsa.zig b/src/ecdsa/ecdsa.zig index 35bb7c6..e9e96bb 100644 --- a/src/ecdsa/ecdsa.zig +++ b/src/ecdsa/ecdsa.zig @@ -8,7 +8,7 @@ const secp256k1 = @cImport({ const secp = @import("../secp256k1.zig"); const serialized_signature = @import("serialized_signature.zig"); -const SerializedSignature = @import("serialized_signature.zig").SerializedSignature; +pub const SerializedSignature = @import("serialized_signature.zig").SerializedSignature; const Error = secp.Error; const ErrorParseHex = secp.ErrorParseHex; diff --git a/src/secp256k1.zig b/src/secp256k1.zig index e102c75..e6fdb17 100644 --- a/src/secp256k1.zig +++ b/src/secp256k1.zig @@ -38,6 +38,9 @@ pub const Error = error{ pub const ecdsa = struct { pub const Signature = ecdsa_lib.Signature; + pub const SerializedSignature = ecdsa_lib.SerializedSignature; + pub const RecoverableSignature = recovery_lib.RecoverableSignature; + pub const RecoveryId = recovery_lib.RecoveryId; }; pub const schnorr = struct {