We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad9758d commit 8ecf5a1Copy full SHA for 8ecf5a1
1 file changed
bindings/napi/blst.zig
@@ -544,12 +544,12 @@ pub fn register(env: napi.Env, exports: napi.Value) !void {
544
&[_]napi.c.napi_property_descriptor{
545
method(0, Signature_toBytes),
546
method(0, Signature_toBytesCompress),
547
- .{ .utf8name = "validate", .method = napi.wrapCallback(1, Signature_validate) },
+ method(1, Signature_validate),
548
},
549
);
550
try sig_ctor.defineProperties(&[_]napi.c.napi_property_descriptor{
551
- .{ .utf8name = "fromBytes", .method = napi.wrapCallback(1, Signature_fromBytes) },
552
- .{ .utf8name = "aggregate", .method = napi.wrapCallback(1, Signature_aggregate) },
+ method(1, Signature_fromBytes),
+ method(1, Signature_aggregate),
553
});
554
555
try blst_obj.setNamedProperty("SecretKey", sk_ctor);
0 commit comments