diff --git a/README.md b/README.md index 4dba3b6..4b8c704 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,10 @@ TO DO: Version Changes Control ======================= +v0.0.10 - 2020-03-08 +------------------------ +- Added know child "code" to event + v0.0.9 - 2020-03-08 ------------------------ - Correction of event node so code is into code node. diff --git a/event.go b/event.go index f445c0f..3a66775 100644 --- a/event.go +++ b/event.go @@ -5,6 +5,8 @@ type Event NodeDef func NewEvent(etype string, code string) Event { e := NewNode("event", etype) + e.RegisterKnownChildren([]string{"code"}) + c := NewNode("code", "") c.SetData(code) e.AddChild(c) diff --git a/wajaf.go b/wajaf.go index d9c58eb..6f1ecd4 100644 --- a/wajaf.go +++ b/wajaf.go @@ -7,7 +7,7 @@ package wajaf // VERSION is the used version nombre of the XCore library. -const VERSION = "0.0.9" +const VERSION = "0.0.10" // LOG is the flag to activate logging on the library. // if LOG is set to TRUE, LOG indicates to the XCore libraries to log a trace of functions called, with most important parameters.