Add context to NewPublisher, improve logging levels, dispatch events on publish, and refine envelope handling

fixes a panic from the nil context
This commit is contained in:
2025-09-03 00:10:36 +01:00
parent 5d04afd748
commit 898aa0cb63
6 changed files with 11 additions and 15 deletions

View File

@@ -40,7 +40,7 @@ var Ok = OKs{
params ...any,
) (err error) {
return okenvelope.NewFrom(
env.Id(), true, nil,
env.Id(), true, []byte{},
).Write(l)
},
AuthRequired: func(